dpkg-query -l
nainstalovat přes dpkg
dpkg -i downloaded_package.deb
dpkg jako takové neřeší závislosti, a napíše chybu při instalaci. to snadno pak opraví spuštění příkazu
apt-get -f install
Pokud při
apt-get update
naskočí chyba
Reading package lists... Done W: GPG error: http://ftp.cz.debian.org etch Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9AA38DCD55BE302B W: GPG error: http://security.debian.org etch/updates Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9AA38DCD55BE302B W: You may want to run apt-get update to correct these problems following signatures couldn't be verified because the public key is not
řešení
apt-get install debian-archive-keyring apt-get update
Preparing to replace debianutils 2.8.4 (using …/debianutils_2.23.1_i386.deb) … Unpacking replacement debianutils … dpkg: error processing /var/cache /apt/archives/debianutils_2.23.1_i386.deb (--unpack): trying to overwrite `/usr/sbin/add-shell’, which is also in package passwd Errors were encountered while processing: /var/cache/apt/archives/debianutils_2.23.1_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1)
řešení
dpkg -r --force all passwd apt-get -f install