error upgrading landscape-sysinfo package
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Landscape Client |
Fix Committed
|
Undecided
|
Eric Snow |
Bug Description
== What I was trying to do ==
Upgrade landscape-client from:
17.02~bzr970-
to
the lds-trunk version:
17.04+bzr1002~
on xenial
Keep in mind I might have unreleased packages and stuff, since I have done a lot of landscape-
== What I expected to happen ==
The upgrade to go smoothly.
== What Happened ==
Unpacking landscape-sysinfo (17.04+
dpkg: error processing archive /var/cache/
trying to overwrite '/usr/share/
Preparing to unpack .../landscape-
Full log:
dpb@helo:old[0]$ sudo apt-get install landscape-client
[sudo] password for dpb:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
landscape-
Suggested packages:
python-
The following NEW packages will be installed:
landscape-
The following packages will be upgraded:
landscape-client
1 upgraded, 5 newly installed, 0 to remove and 229 not upgraded.
Need to get 650 kB of archives.
After this operation, 3,177 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://
Get:2 http://
Get:3 https:/
Get:4 https:/
Get:5 https:/
Get:6 https:/
Fetched 650 kB in 2s (271 kB/s)
Preconfiguring packages ...
Selecting previously unselected package landscape-
(Reading database ... 838301 files and directories currently installed.)
Preparing to unpack .../landscape-
Unpacking landscape-
Selecting previously unselected package python3-configobj.
Preparing to unpack .../python3-
Unpacking python3-configobj (5.0.6-2) ...
Selecting previously unselected package python3-passlib.
Preparing to unpack .../python3-
Unpacking python3-passlib (1.6.5-4) ...
Selecting previously unselected package python3-
Preparing to unpack .../python3-
Unpacking python3-
Selecting previously unselected package landscape-sysinfo.
Preparing to unpack .../landscape-
Unpacking landscape-sysinfo (17.04+
dpkg: error processing archive /var/cache/
trying to overwrite '/usr/share/
Preparing to unpack .../landscape-
Unpacking landscape-client (17.04+
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for systemd (229-4ubuntu16) ...
Processing triggers for ureadahead (0.100.0-19) ...
ureadahead will be reprofiled on next reboot
Errors were encountered while processing:
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)
Changed in landscape-client: | |
status: | In Progress → Fix Committed |
https:/ /github. com/CanonicalLt d/landscape- client/ pull/7