conflict between getopt and util-linux packages
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Nexenta Operating System |
Fix Released
|
Medium
|
Jason Upton |
Bug Description
NCP2 Beta1 b104+
# cat /etc/issue
NexentaCore 2.0 Beta 1 (Hardy 8.04/b104+)
with the "getopt" package already installed, an "apt-get dist-upgrade" fails with a package conflict due to wanting to install the "util-linux" package:
# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following NEW packages will be installed:
util-linux
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 35.6kB of archives.
After this operation, 101kB of additional disk space will be used.
Do you want to continue [Y/n]?
Get:1 http://
Fetched 35.6kB in 0s (156kB/s)
(Reading database ... 24597 files and directories currently installed.)
Unpacking util-linux (from .../util-
dpkg: error processing /var/cache/
trying to overwrite `/usr/bin/getopt', which is also in package getopt
Errors were encountered while processing:
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)
This should be a quick fix for someone willing to add a diversion to the getopt package.