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

Bug#78042: marked as done (apt ignores --ignore-hold)



Your message dated Mon, 4 Jan 2021 01:01:56 +0200
with message-id <CADL4C9=3pg8_g_9BkS_zHhNrNiwAnOXfmwSJFE_YX35uUFrzTw@mail.gmail.com>
and subject line Updates
has caused the Debian Bug report #78042,
regarding apt ignores --ignore-hold
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
78042: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=78042
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
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            



--- End Message ---
--- Begin Message ---
Control: notfound -1 2.1.12+deb11u1
Dear Maintainer
After Some testing this bug has a weird behavior
it chooses to ignore two held package but not update all held package
but when use apt instead of apt-get update held packages
i am not sure but i think that's apt is frontend to apt-get iam not sure if apt implement more flags or something maybe this is misunderstanding from me i tried with dist-upgrade and it worked and also removed some packages which isn't happened in apt i think  apt just implemented some flags underlying and this was miss understanding from me i will close this bug according to this new information and return it into archive 

Thank you
Happy New Year
Mina M farage
==============================================
this my held packages
------------------------------------------------
$ sudo apt-mark showhold
cinnamon
cinnamon-common
cinnamon-control-center
cinnamon-control-center-data
cinnamon-core
cinnamon-desktop-data
cinnamon-desktop-environment
cinnamon-l10n
cinnamon-screensaver
cinnamon-session
cinnamon-session-common
cinnamon-settings-daemon
dbus
linux-base
linux-headers-5.9.0-4-amd64
linux-headers-5.9.0-4-common
linux-headers-amd64
linux-image-4.19.0-13-amd64
linux-image-5.9.0-4-amd64
linux-image-amd64
systemd
xserver-common
xserver-xephyr
xserver-xorg
xserver-xorg-core
xserver-xorg-input-all
xserver-xorg-input-libinput
xserver-xorg-input-wacom
xserver-xorg-legacy
xserver-xorg-video-all
xserver-xorg-video-amdgpu
xserver-xorg-video-ati
xserver-xorg-video-fbdev
xserver-xorg-video-intel
xserver-xorg-video-nouveau
xserver-xorg-video-qxl
xserver-xorg-video-radeon
xserver-xorg-video-vesa
xserver-xorg-video-vmware
----------------------------------------
when try to upgrade it held this packages it should

$ sudo apt upgrade
[sudo] password for mina:
Reading package lists... Done
Building dependency tree      
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  libbotan-2-9 libevent-2.1-6 libglade2-0 libtspi1
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
  libbpf0 libges-1.0-0
The following packages have been kept back:
  cinnamon cinnamon-common gcc-8-base libpython2-stdlib linux-headers-amd64
  linux-image-amd64 python2 python2-minimal
The following packages will be upgraded:
  apparmor aspell fonts-symbola geoclue-2.0 gir1.2-geoclue-2.0 gir1.2-goa-1.0
  gnome-online-accounts grub-common grub-pc grub-pc-bin grub2-common
  gtk2-engines-pixbuf intel-microcode iproute2 iso-flags-png-320x240 kio
  libapparmor1 libapr1 libasm-java libaspell15 libaudio2
  libclutter-imcontext-0.1-0 libclutter-imcontext-0.1-bin
  libdata-validate-domain-perl libfm-extra4 libfont-ttf-perl libgail-common
  libgail18 libgeoclue-2-0 libgoa-1.0-0b libgoa-1.0-common
  libgoa-backend-1.0-1 libgtk2.0-0 libgtk2.0-bin libgtk2.0-common
  libhtml-html5-entities-perl libhttp-parser2.9 libkf5kexiv2-15.0.0
  libkf5kiocore5 libkf5kiofilewidgets5 libkf5kiogui5 libkf5kiontlm5
  libkf5kiowidgets5 libmoox-aliases-perl libmozjs-78-0 libnumber-compare-perl
  libpentaho-reporting-flow-engine-java libpython3-stdlib libtirpc-common
  libtirpc-dev libtirpc3 libwww-perl libzstd1 lxmenu-data mailcap
  mobile-broadband-provider-info python3 python3-distutils python3-lib2to3
  python3-minimal python3-pkg-resources python3-pychromecast
  python3-setuptools runit-helper rygel rygel-playbin rygel-tracker ssl-cert
  tilda xscreensaver xscreensaver-data xterm
72 upgraded, 2 newly installed, 0 to remove and 8 not upgraded.
Need to get 35.7 MB/36.9 MB of archives.
After this operation, 2,080 kB of additional disk space will be used.
Do you want to continue? [Y/n]
-------------------
$ sudo apt-get upgrade --ignore-hold
Reading package lists... Done
Building dependency tree      
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  libbotan-2-9 libevent-2.1-6 libglade2-0 libtspi1
Use 'sudo apt autoremove' to remove them.
The following packages have been kept back:
  gcc-8-base iproute2 libpython2-stdlib linux-headers-amd64 linux-image-amd64
  python2 python2-minimal rygel rygel-playbin rygel-tracker
The following held packages will be changed:
  cinnamon cinnamon-common
The following packages will be upgraded:
  apparmor aspell cinnamon cinnamon-common fonts-symbola geoclue-2.0
  gir1.2-geoclue-2.0 gir1.2-goa-1.0 gnome-online-accounts grub-common grub-pc
  grub-pc-bin grub2-common gtk2-engines-pixbuf intel-microcode
  iso-flags-png-320x240 kio libapparmor1 libapr1 libasm-java libaspell15
  libaudio2 libclutter-imcontext-0.1-0 libclutter-imcontext-0.1-bin
  libdata-validate-domain-perl libfm-extra4 libfont-ttf-perl libgail-common
  libgail18 libgeoclue-2-0 libgoa-1.0-0b libgoa-1.0-common
  libgoa-backend-1.0-1 libgtk2.0-0 libgtk2.0-bin libgtk2.0-common
  libhtml-html5-entities-perl libhttp-parser2.9 libkf5kexiv2-15.0.0
  libkf5kiocore5 libkf5kiofilewidgets5 libkf5kiogui5 libkf5kiontlm5
  libkf5kiowidgets5 libmoox-aliases-perl libmozjs-78-0 libnumber-compare-perl
  libpentaho-reporting-flow-engine-java libpython3-stdlib libtirpc-common
  libtirpc-dev libtirpc3 libwww-perl libzstd1 lxmenu-data mailcap
  mobile-broadband-provider-info python3 python3-distutils python3-lib2to3
  python3-minimal python3-pkg-resources python3-pychromecast
  python3-setuptools runit-helper ssl-cert tilda xscreensaver
  xscreensaver-data xterm
70 upgraded, 0 newly installed, 0 to remove and 10 not upgraded.
Need to get 36.4 MB of archives.
After this operation, 1,952 kB of additional disk space will be used.
Do you want to continue? [Y/n]
--------------------------------------------
$ sudo apt upgrade --ignore-hold
Reading package lists... Done
Building dependency tree      
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  libbotan-2-9 libevent-2.1-6 libglade2-0 libtspi1
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
  libbpf0 libges-1.0-0 linux-headers-5.9.0-5-amd64
  linux-headers-5.9.0-5-common linux-image-5.9.0-5-amd64
The following packages have been kept back:
  gcc-8-base libpython2-stdlib python2 python2-minimal
The following held packages will be changed:
  cinnamon cinnamon-common linux-headers-amd64 linux-image-amd64
The following packages will be upgraded:
  apparmor aspell cinnamon cinnamon-common fonts-symbola geoclue-2.0
  gir1.2-geoclue-2.0 gir1.2-goa-1.0 gnome-online-accounts grub-common grub-pc
  grub-pc-bin grub2-common gtk2-engines-pixbuf intel-microcode iproute2
  iso-flags-png-320x240 kio libapparmor1 libapr1 libasm-java libaspell15
  libaudio2 libclutter-imcontext-0.1-0 libclutter-imcontext-0.1-bin
  libdata-validate-domain-perl libfm-extra4 libfont-ttf-perl libgail-common
  libgail18 libgeoclue-2-0 libgoa-1.0-0b libgoa-1.0-common
  libgoa-backend-1.0-1 libgtk2.0-0 libgtk2.0-bin libgtk2.0-common
  libhtml-html5-entities-perl libhttp-parser2.9 libkf5kexiv2-15.0.0
  libkf5kiocore5 libkf5kiofilewidgets5 libkf5kiogui5 libkf5kiontlm5
  libkf5kiowidgets5 libmoox-aliases-perl libmozjs-78-0 libnumber-compare-perl
  libpentaho-reporting-flow-engine-java libpython3-stdlib libtirpc-common
  libtirpc-dev libtirpc3 libwww-perl libzstd1 linux-headers-amd64
  linux-image-amd64 lxmenu-data mailcap mobile-broadband-provider-info python3
  python3-distutils python3-lib2to3 python3-minimal python3-pkg-resources
  python3-pychromecast python3-setuptools runit-helper rygel rygel-playbin
  rygel-tracker ssl-cert tilda xscreensaver xscreensaver-data xterm
76 upgraded, 5 newly installed, 0 to remove and 4 not upgraded.
Need to get 97.7 MB/98.9 MB of archives.
After this operation, 347 MB of additional disk space will be used.
Do you want to continue? [Y/n] n
----------------------------------------------------------------------
$ sudo apt-get  --ignore-hold dist-upgrade
[sudo] password for mina:
Reading package lists... Done
Building dependency tree      
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  libbotan-2-9 libevent-2.1-6 libglade2-0 libpython2-stdlib libtspi1 python2 python2-minimal
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  libpython-stdlib python python-minimal
The following NEW packages will be installed:
  libbpf0 libges-1.0-0 linux-headers-5.9.0-5-amd64 linux-headers-5.9.0-5-common linux-image-5.9.0-5-amd64
The following packages have been kept back:
  gcc-8-base
The following held packages will be changed:
  cinnamon cinnamon-common linux-headers-amd64 linux-image-amd64
The following packages will be upgraded:
  apparmor aspell cinnamon cinnamon-common fonts-symbola geoclue-2.0 gir1.2-geoclue-2.0 gir1.2-goa-1.0 gnome-online-accounts grub-common grub-pc
  grub-pc-bin grub2-common gtk2-engines-pixbuf intel-microcode iproute2 iso-flags-png-320x240 kio libapparmor1 libapr1 libasm-java libaspell15
  libaudio2 libclutter-imcontext-0.1-0 libclutter-imcontext-0.1-bin libdata-validate-domain-perl libfm-extra4 libfont-ttf-perl libgail-common
  libgail18 libgeoclue-2-0 libgoa-1.0-0b libgoa-1.0-common libgoa-backend-1.0-1 libgtk2.0-0 libgtk2.0-bin libgtk2.0-common
  libhtml-html5-entities-perl libhttp-parser2.9 libkf5kexiv2-15.0.0 libkf5kiocore5 libkf5kiofilewidgets5 libkf5kiogui5 libkf5kiontlm5
  libkf5kiowidgets5 libmoox-aliases-perl libmozjs-78-0 libnumber-compare-perl libpentaho-reporting-flow-engine-java libpython2-stdlib
  libpython3-stdlib libtirpc-common libtirpc-dev libtirpc3 libwww-perl libzstd1 linux-headers-amd64 linux-image-amd64 lxmenu-data mailcap
  mobile-broadband-provider-info python2 python2-minimal python3 python3-distutils python3-lib2to3 python3-minimal python3-pkg-resources
  python3-pychromecast python3-setuptools runit-helper rygel rygel-playbin rygel-tracker ssl-cert tilda xscreensaver xscreensaver-data xterm
79 upgraded, 5 newly installed, 3 to remove and 1 not upgraded.
Need to get 97.7 MB/98.9 MB of archives.
After this operation, 347 MB of additional disk space will be used.



--- End Message ---

Reply to: