Upgrade to SRU candidate fails due to file conflict
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Landscape Client |
Fix Released
|
High
|
Chris Glass |
Bug Description
In saucy, upgrading from the current 12.12 release to the 13.07.1 SRU candidate fails due to a file conflict:
root@server-
ii landscape-client 12.12-0ubuntu3 amd64 The Landscape administration system client
ii landscape-client-ui 12.12-0ubuntu3 amd64 The Landscape administration system client - UI configuration
ii landscape-
ii landscape-common 12.12-0ubuntu3 amd64 The Landscape administration system client - Common files
root@server-
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
landscape-client landscape-client-ui landscape-
7 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 872 kB/1,174 kB of archives.
After this operation, 286 kB of additional disk space will be used.
Do you want to continue [Y/n]? n
Abort.
root@server-
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
gir1.2-gudev-1.0
Use 'apt-get autoremove' to remove it.
The following packages will be upgraded:
landscape-client landscape-client-ui landscape-
4 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
Need to get 0 B/301 kB of archives.
After this operation, 184 kB disk space will be freed.
Preconfiguring packages ...
(Reading database ... 57551 files and directories currently installed.)
Preparing to replace landscape-client-ui 12.12-0ubuntu3 (using .../landscape-
Unpacking replacement landscape-client-ui ...
dpkg: error processing /var/cache/
trying to overwrite '/etc/dbus-
Preparing to replace landscape-
Unpacking replacement landscape-
Preparing to replace landscape-client 12.12-0ubuntu3 (using .../landscape-
* Stopping landscape-client daemon [fail]
Unpacking replacement landscape-client ...
Preparing to replace landscape-common 12.12-0ubuntu3 (using .../landscape-
Unpacking replacement landscape-common ...
Processing triggers for mime-support ...
Processing triggers for hicolor-icon-theme ...
Processing triggers for ureadahead ...
Processing triggers for man-db ...
Errors were encountered while processing:
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@server-
I suspect the SRU upgrade test that was done did not consider the two extra UI packages and only used landscape-
tags: | removed: kanban |
Changed in landscape-client: | |
status: | Fix Committed → Fix Released |
State afterwards: client- ui-install 13.07.1-0ubuntu1 amd64 The Landscape administration system client - UI installer
# dpkg -l|grep landscape-c
iU landscape-client 13.07.1-0ubuntu1 amd64 The Landscape administration system client
ii landscape-client-ui 12.12-0ubuntu3 amd64 The Landscape administration system client - UI configuration
iU landscape-
iU landscape-common 13.07.1-0ubuntu1 amd64 The Landscape administration system client - Common files
A subsequent apt-get -f install fixes it, but if you are using landscape to manage this computer you are in trouble, because the client isn't running anymore. client- ui client- ui client- ui_13.07. 1-0ubuntu1_ amd64.deb) ... client- ui-install (13.07.1-0ubuntu1) ... 1/system. d/landscape. conf ...
# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following package was automatically installed and is no longer required:
gir1.2-gudev-1.0
Use 'apt-get autoremove' to remove it.
The following extra packages will be installed:
landscape-
The following packages will be upgraded:
landscape-
1 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
3 not fully installed or removed.
Need to get 0 B/21.6 kB of archives.
After this operation, 3,072 B of additional disk space will be used.
Do you want to continue [Y/n]?
(Reading database ... 57548 files and directories currently installed.)
Preparing to replace landscape-client-ui 12.12-0ubuntu3 (using .../landscape-
Unpacking replacement landscape-client-ui ...
Processing triggers for libglib2.0-0:amd64 ...
Setting up landscape-common (13.07.1-0ubuntu1) ...
Setting up landscape-client (13.07.1-0ubuntu1) ...
landscape-client is not configured, please run landscape-config.
Setting up landscape-
Setting up landscape-client-ui (13.07.1-0ubuntu1) ...
Installing new version of config file /etc/dbus-