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

Bug#162541: apt: feature or bug? apt-get install does not clear a package's "hold" status



Package: apt
Version: 0.5.4
Severity: normal

Reproduced on two sid systems.

I can find nothing in recent apt or dpkg changelogs that explains this, at
least not in a way that is obvious to me.  Is it related to bug #45787, fixed
in dpkg 1.10?

It used to be that apt-get install would change a package's desired status from
"hold" to "install".  This "new" behavior might make more sense.

necrotic:/home/branden# dpkg --set-selections
debconf hold
necrotic:/home/branden# apt-get -u dist-upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
Calculating Upgrade... Done
The following packages have been kept back
  analog debconf
The following packages will be upgraded
  debconf-utils dput gnome-bin gnome-libs-data java-common libart-dev libart2 libdb1-compat libfreetype6 libfreetype6-dev libgnome32 libgnomesupport0 libgnomeui32 libgnorba27 libgnorbagtk0 libldap2
  linda lintian psmisc tin xfonts-100dpi xfonts-75dpi xfonts-base xfonts-cyrillic xfonts-scalable xfree86-common xlib6g xlib6g-dev xspecs
29 packages upgraded, 0 newly installed, 0 to remove and 2  not upgraded.
Need to get 22.5MB of archives. After unpacking 1115kB will be used.
Do you want to continue? [Y/n] n
Abort.
necrotic:/home/branden# dpkg -l debconf
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name                                         Version                                      Description
+++-============================================-============================================-========================================================================================================
hi  debconf                                      1.2.6                                        Debian configuration management system
necrotic:/home/branden# apt-get install debconf
Reading Package Lists... Done
Building Dependency Tree... Done
The following held packages will be changed:
  debconf
1 packages upgraded, 0 newly installed, 0 to remove and 30  not upgraded.
Need to get 121kB of archives. After unpacking 8192B will be used.
Do you want to continue? [Y/n]
Get:1 http://http.us.debian.org unstable/main debconf 1.2.7 [121kB]
Fetched 121kB in 1s (106kB/s)
Reading changelogs... Done
debconf (1.2.7) unstable; urgency=low

  * Fixed name of french debconf-getlang(1) translation file so it will be
    put into the binary package. Closes: #161879
  * Similar for debconf-copydb and debconf.1. Closes: #161878

 -- Joey Hess <joeyh@debian.org>  Mon, 23 Sep 2002 22:35:05 -0400

apt-listchanges: Do you want to continue? [Y/n]?
Preconfiguring packages ...
(Reading database ... 57693 files and directories currently installed.)
Preparing to replace debconf 1.2.6 (using .../archives/debconf_1.2.7_all.deb) ...
Unpacking replacement debconf ...
Setting up debconf (1.2.7) ...

necrotic:/home/branden# dpkg -l debconf
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name                                         Version                                      Description
+++-============================================-============================================-========================================================================================================
hi  debconf                                      1.2.7                                        Debian configuration management system


-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux apocalypse 2.4.18 #1 Fri May 3 19:03:16 EST 2002 i686
Locale: LANG=C, LC_CTYPE=en_US

Versions of packages apt depends on:
ii  libc6                        2.2.5-14.3  GNU C Library: Shared libraries an
ii  libstdc++2.10-glibc2.2       1:2.95.4-12 The GNU stdc++ library

-- no debconf information




Reply to: