Config (apt.conf)
APT::Architecture "amd64";
forciert eine bestimmt paket-architektur
preferences (pinning)
Package: dspam
Pin: version 3.6.8-5
Pin-Priority: 999
Package: dspam-doc
Pin: version 3.6.8-5
Pin-Priority: 999
Package: *
Pin: origin www.debian-multimedia.org
Pin-Priority: 989
Package: *
Pin: release l=Backports.org archive
Pin-Priority: 988
Dies bevorzugt debian-multimedia pakete vor den Backports.
Ausserdem wird dspam in einer bestimmten version vorgeschrieben.
Keyring installieren
wget http://download.tuxfamily.org/shames/A42A6CF5.gpg -O- | apt-key add -
apt-file
# apt-file search libexpat.so.0
libexpat1: usr/lib/libexpat.so.0
apt-file gibt den paketnamen aus der das entsprechende file enthaelt
apt-get
detailt zu apt-get
apt-get source
apt-get source php8
laed das source.deb herunter packt das source.deb aus und wendet die patches an
apt-get build-dep
installiert alle benoetigten *-dev pakete die zum compilieren benoetigt werden
cd /source-root/of/package
dpkg-buildpackage
baut das paket
apt-cache
details zu apt-cache
apt-cache policy
# apt-cache policy libc6-amd64
libc6-amd64:
Installiert: 2.9-18+opp~2
Kandidat: 2.9-18+opp~2
Versions-Tabelle:
*** 2.9-18+opp~2 0
500 http://deb2.rubbish.de lenny/main Packages
100 /var/lib/dpkg/status
2.7-18lenny7 0
500 http://deb2.rubbish.de lenny/main Packages
500 http://deb2.rubbish.de lenny/updates/main Packages
500 http://ftp2.de.debian.org lenny/main Packages
500 http://ftp.de.debian.org lenny/main Packages
500 http://security.debian.org lenny/updates/main Packages
policy shows the decision process which repo is selected for a particular package
apt-cache show
# apt-cache show libc6-amd64
Package: libc6-amd64
Priority: standard
Section: libs
Installed-Size: 9952
Maintainer: GNU Libc Maintainers <debian-glibc@lists.debian.org>
Architecture: i386
Source: eglibc
Version: 2.9-18+opp~2
Depends: libc6 (= 2.9-18+opp~2)
Conflicts: amd64-libs (<= 1.2)
Filename: dists/oldstable/main/binary-i386/libs/libc6-amd64_2.9-18+opp~2_i386.deb
Size: 4171412
MD5sum: cc0437d69d803689e27c2e821349e258
SHA1: c2b240fc35139d052ffebeb0e584130e7804ba8f
SHA256: 41e641715ff1b36e772e854012cb21a6fe760cc3f2aa3da2a4cc8c8482e8a82e
Description-de: GNU C Bibliothek: Gemeinsam genutzte 64bit-Bibliotheken f�r AMD64
Dieses Paket beinhaltet die Standard-C-Laufzeitbibliothek und die
Standard-Mathematik-Laufzeitbibliothek sowie viele andere
Laufzeitbibliotheken. Dies ist die 64bit-Version der Bibliothek f�r
AMD64-Systeme.
Package: libc6-amd64
Priority: optional
Section: libs
Installed-Size: 9892
Maintainer: GNU Libc Maintainers <debian-glibc@lists.debian.org>
Architecture: i386
Source: glibc
Version: 2.7-18lenny7
Depends: libc6 (= 2.7-18lenny7)
Conflicts: amd64-libs (<= 1.2)
Filename: pool/main/g/glibc/libc6-amd64_2.7-18lenny7_i386.deb
Size: 4200216
MD5sum: 01c5430dacbe3bb55f65772df663cae3
SHA1: bb853b5c0a20f4af81a0e6d055948e076d88f2ea
SHA256: 731bc38bd797b6e804e60c9c5e2595011a428497c1825182295696bdfe243a8f
Description-de: GNU C Bibliothek: Gemeinsam genutzte 64bit-Bibliotheken f�r AMD64
Dieses Paket beinhaltet die Standard-C-Laufzeitbibliothek und die
Standard-Mathematik-Laufzeitbibliothek sowie viele andere
Laufzeitbibliotheken. Dies ist die 64bit-Version der Bibliothek f�r
AMD64-Systeme.
Tag: role::shared-lib, suite::gnu
shows detailed informations for a package