Menu ▾ ▴

#27 defaults.list makes debian pkg not installable

v1.0_(example)
open
nobody
debian (1)
5
2016-10-20
2016-10-20
No

On a standard Ubuntu 16.04 x64 desktop, /usr/share/applications/defaults.list is a symbolic link on /etc/gnome/defaults.list, provided by desktop-file-utils package and should not be overwritten by other packages.

$ sudo dpkg -i ../snmpb_1.0_amd64.deb
Selecting previously unselected package snmpb.
(Reading database ... 233988 files and directories currently installed.)
Preparing to unpack ../snmpb_1.0_amd64.deb ...
Unpacking snmpb (1.0) ...
dpkg: error processing archive ../snmpb_1.0_amd64.deb (--install):
trying to overwrite '/usr/share/applications/defaults.list', which is also in package desktop-file-utils 0.22-1ubuntu5
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Processing triggers for hicolor-icon-theme (0.15-0ubuntu1) ...
Processing triggers for shared-mime-info (1.5-2ubuntu0.1) ...
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20160824-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu5) ...
Processing triggers for mime-support (3.59ubuntu1) ...
Errors were encountered while processing:
../snmpb_1.0_amd64.deb

if I comment the 3 lines about "defaults.list" in the Makefile, I can install snmpb without problems.
Thanks

Discussion


Log in to post a comment.