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

Bug#483067: Require development of an apt-hold utility to mark packages as held



Package: apt
Version: 0.7.12
Severity: wishlist


It would be useful to have an apt-hold tool which could mark packages as 
held within the package database. Currently this has to be done through 
dselect, aptitude, or by manually manipulating the /var/lib/dpkg/status 
file. For example, it would be nice to mark a package as held by typing:

 apt-hold foobar

A corresponding release facility could be used to free the package:

 apt-free foobar

A couple of awk scripts could probably be used to provide this 
functionality.

-- Package-specific info:

-- (no /etc/apt/preferences present) --
-- (/etc/apt/sources.list present, but not submitted) --


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-486
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages apt depends on:
ii  debian-archive-keyring   2008.04.16+nmu1 GnuPG archive keys of the Debian a
ii  libc6                    2.7-11          GNU C Library: Shared libraries
ii  libgcc1                  1:4.3.0-4       GCC support library
ii  libstdc++6               4.3.0-4         The GNU Standard C++ Library v3

apt recommends no packages.

-- no debconf information



Reply to: