Page 1 of 1

dhcp-client conflicts with bubba package in apt-get upgrade

Posted: 23 Dec 2007, 02:43
by solsson
Hi,

When I do apt-get upgrade I get the error:

Unpacking replacement dhcp-client ...
dpkg: error processing /var/cache/apt/archives/dhcp-client_2.0pl5-19.1sarge3_arm.deb (--unpack):
trying to overwrite `/etc/dhclient.conf', which is also in package bubba
Errors were encountered while processing:
/var/cache/apt/archives/dhcp-client_2.0pl5-19.1sarge3_arm.deb

This occurs after bubba-0.51.2 was installed.

/Staffan

Posted: 23 Dec 2007, 04:02
by Ubi
Somebody pleasy correct me if I'm wrong, but it seems you un-commented the debian repositories in the "sources" file and then did a global upgrade. This messes up the custom Bubba additions hence your error message. This is documented behaviour. Either re-comment the debian repositories, or reinstall the bubba package after you did the upgrade (assuming that is still possible)

Posted: 25 Dec 2007, 07:04
by tor
Ubi is completely right.

The current Bubba package is somewhat flawed in that way. It overrides some files out of other packages resulting in these conflicts.

If one do uncomment the debian sources in their apt config. They must absolutely not use the web-based update function. But rather only do it on the command line with apt-get.

If a conflict should occur the easiest way to solve it is usually to apt-get remove the bubba package. Redo the upgrade and then reinstall the bubba package ie

Code: Select all

apt-get remove bubba
apt-get upgrade
apt-get install bubba
And most importantly dont reboot without an installed bubba package In worst case you will be locked out of your unit and will have to use the rescue image to restore your unit.

/Tor

Posted: 25 Dec 2007, 11:05
by Eek
Thanks tor
That solved it.