Running Linux, 5th Edition - Matthias Kalle Dalheimer [223]
/etc/dpkg/dselect.cfg 190f7cf843556324495ef12759b752e3
/etc/dpkg/origins/debian 24926c0576edec3e316fd9f6072b8118
Description: Package maintenance system for Debian
This package contains the programs which handle the installation and
removal of packages on your system.
.
The primary interface for the dpkg suite is the 'dselect' program;
a more low-level and less user-friendly interface is available in
the form of the 'dpkg' command.
.
In order to unpack and build Debian source packages you will need to
install the developers' package 'dpkg-dev' as well as this one.
tigger $ dpkg --inforeportbug_1.43_all.deb
new debian package, version 2.0.
size 66008 bytes: control archive= 1893 bytes.
40 bytes, 2 lines conffiles
1000 bytes, 24 lines control
986 bytes, 15 lines md5sums
1014 bytes, 41 lines * postinst #!/bin/sh
147 bytes, 5 lines * postrm #!/bin/sh
416 bytes, 19 lines * prerm #!/bin/sh
Package: reportbug
Version: 1.43
Section: utils
Priority: standard
Architecture: all
Depends: python
Recommends: python-newt
Suggests: postfix | mail-transport-agent, gnupg | pgp, python-ldap (>= 1.8-1)
Conflicts: python (>> 2.3), python-newt (= 0.50.17-7.1)
Installed-Size: 195
Maintainer: Chris Lawrence Description: Reports bugs in the Debian distribution. reportbug is a tool designed to make the reporting of bugs in Debian and derived distributions relatively painless. Its features include: . * Integration with the mutt, af, and mh/nmh mail readers. * Access to outstanding bug reports to make it easier to identify whether problems have already been reported. * Support for following-up on outstanding reports. * Optional PGP/GnuPG integration. . reportbug is designed to be used on systems with an installed mail transport agent, like exim or sendmail; however, you can edit the configuration file and send reports using any available mail server. dpkg can also list the files and directories included in a .deb archive: tigger $ dpkg --contents superfrob_4-1_i386.deb -rwxr-xr-x root/root 44951 2002-02-10 12:16:48 ./usr/bin/dothefrob -rwxr-xr-x root/root 10262 2002-02-10 12:16:48 ./usr/bin/frobhelper ... dpkg, like rpm, has numerous other options; for more details, refer to the manual pages for dpkg and dpkg-deb. In addition to dpkg, Debian and other Debian-based distributions provide the apt suite of programs.[*] apt stands for "advanced package tool," and is designed as an archive-independent system that can handle multiple package formats. Perhaps the most important feature of apt is its ability to resolve dependencies automatically; if, for example, superfrob requires Version 2 or later of frobnik, apt will try to find frobnik from the sources that are available to it (including CD-ROMs, local mirrors, and the Internet). The most useful interface to apt is the apt-get command. apt-get manages the list of available packages (the "package cache") and can be used to resolve dependencies and install packages. A typical session would start with an update of the apt cache: tigger # apt-get update Get:1 http://http.us.debian.org stable/main Packages [808kB] Get:2 http://http.us.debian.org stable/main Release [88B] Hit http://non-us.debian.org stable/non-US/main Packages Hit http://non-us.debian.org stable/non-US/main Release Get:3 http://security.debian.org stable/updates/main Packages [62.1kB] Get:4 http://security.debian.org stable/updates/main Release [93B] Fetched 870kB in 23s (37kB/s) Reading Package Lists... Done Building Dependency Tree... Done The output indicates that there have been updates to the stable distribution, so we may want to upgrade the packages already installed on the system. To do this automatically, we can use apt-get's upgrade option: tigger # apt-get upgrade The following packages have been kept back: gnumeric 17 packages upgraded, 0 newly installed, 0 to remove and 1 not upgraded. Need to get 16.3MB of archives. After unpacking 5kB will be freed. Do you want to continue? [Y/n] y Get:1 http://http.us.debian.org stable/main base-passwd