[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#78042: apt ignores --ignore-hold



Package: apt
Version: 0.3.19
Severity: normal


Sometimes I use to copy someone else's woody packages to my
/var/cache/apt/archives/ folder to do a
'apt-get -m --no-download dist-upgrade'.

This time I wanted to upgrade my KDE2 packages, too, but hey are on hold.

So I tried 'apt-get -m --no-download --ignore-hold dist-upgrade' but it
didn't update any package. After changing KDE's hold status to install in
dselect everything worked as expected.

See log below, especially the descreption which packages will be upgraded.


mobile:/var/cache/apt/archives# apt-get --ignore-hold -u --no-download -m dist-upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
Calculating Upgrade... Done
The following packages have been kept back
 bibtool gcc-doc gnome-applets gnome-core gnome-help gnome-help-data gnome-panel gnome-panel-data
 gnome-session gnome-terminal imagemagick indent kdebase kdebase-doc kdebase-libs kdelibs3 kdewallpapers
 konqueror konsole kpackage leafnode libkonq3 libmagick5 libmusicbrainz1 libpanel-applet0 libqt2.2
 navigator-base-475 navigator-smotif-475 netscape-base-4 netscape-base-475 netscape-java-475 secpolicy
 svgalibg1 tcl8.3 tetex-doc xlib6g xscreensaver xscreensaver-gl
The following packages will be upgraded
 xlibmesa3
1 packages upgraded, 0 newly installed, 0 to remove and 38 not upgraded.
Need to get 325kB of archives. After unpacking 8192B will be used.
Do you want to continue? [Y/n] n
Abort.

[change packages' status from hold to install]
mobile:/var/cache/apt/archives# dselect

mobile:/var/cache/apt/archives# apt-get --ignore-hold -u --no-download -m dist-upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
Calculating Upgrade... Done
The following packages have been kept back
 bibtool gcc-doc gnome-applets gnome-core gnome-help gnome-help-data gnome-panel gnome-panel-data
 gnome-session gnome-terminal imagemagick indent leafnode libmagick5 libmusicbrainz1 libpanel-applet0
 navigator-base-475 navigator-smotif-475 netscape-base-4 netscape-base-475 netscape-java-475 secpolicy
 svgalibg1 tcl8.3 tetex-doc xscreensaver xscreensaver-gl
The following packages will be upgraded
 kdebase kdebase-doc kdebase-libs kdelibs3 kdewallpapers konqueror konsole kpackage libkonq3 libqt2.2
 xlib6g xlibmesa3
12 packages upgraded, 0 newly installed, 0 to remove and 27 not upgraded.
Need to get 325kB/16.6MB of archives. After unpacking 32.8kB will be freed.
Do you want to continue? [Y/n]                                                                                


-- System Information
Debian Release: woody
Architecture: i386
Kernel: Linux mobile 2.2.18pre18 #4 Sun Oct 29 19:33:02 GMT 2000 i686

Versions of packages apt depends on:
ii  libc6                        2.2-4       GNU C Library: Shared libraries an
hi  libstdc++2.10                1:2.95.2-14 The GNU stdc++ library            




Reply to: