[Techtalk] Getting around a problem package in debian apt-get dist-upgrade

P. M. Wright pmw at norwottuck.com
Sat Dec 1 14:29:55 EST 2001


On Fri, 2001-08-17, Michelle Murrain wrote:
> I've been running Debian testing, and just did an apt-get update/apt-get 
> dist-upgrade, and ran into a problem package (gnome-panel-data). Right now, 
> I really don't care about that package - I don't even use gnome, and I can 
> go back and fix it later if I want. I just want to finish configuring the 
> rest of the upgrade. I can't figure out how to basically skip this package, 
> and have the upgrade continue - using apt-get -f install starts the process 
> again, which then fails on the problem package.
> 
> I can't seem to remove the package, or re-install it, because the same 
> dependency problem comes up. Is there a way to tell apt to skip a package? 
> I read the man pages, and can't seem to find anything that fits. Thanks!!

use dpkg instead of apt, with the force-overwrite option on.
(You will need to know the full path name for the package you are
installing)

i.e. something like this:

dpkg -i --force-overwrite
/var/cache/apt/archives/packagename_0.6-3_i386.deb

(the above is all on one line)

-- 
P. M. Wright,
Norwottuck Technology Resources
"technology made easy"




More information about the Techtalk mailing list