noqqe » blog | sammelsurium | photos | projects | about

apt

2012-05-21 @ apt, Software

Download sources

see sources and look at details for the package

cd /tmp/
apt-get download newrelic-daemon
ar -x newrelic-daemon_6.8.0.177_amd64.deb
ls
tar xfvz control.tar.gz
tar xfvj data.tar.bz2

apt-key

Neuen Key aus untrusted Repo importieren

gpg --keyserver pgpkeys.mit.edu --recv-key 1285491434D8786F
gpg -a --export 1285491434D8786F | apt-key add -
aptitude update
gpg --list-keys
gpg --list-sigs 34D8786F

$ gpg --list-sigs 34D8786F
pub   4096R/34D8786F 2012-03-02
uid                  Dell Inc., PGRE 2012 (PG Release Engineering Build Group
2012) <PG_Release_Engineering@Dell.com>
sig          23B66A9D 2012-03-02  [User ID not found]
sig 3        92F0FC09 2012-03-02  [User ID not found]
sig          1019CED6 2012-03-02  [User ID not found]
sig          86A10CC0 2012-03-02  [User ID not found]
sig 3        34D8786F 2012-03-02  Dell Inc., PGRE 2012 (PG Release Engineering
Build Group 2012) <PG_Release_Engineering@Dell.com>
sub   4096R/79DF80D8 2012-03-02
sig          34D8786F 2012-03-02  Dell Inc., PGRE 2012 (PG Release Engineering
Build Group 2012) <PG_Release_Engineering@Dell.com>

Key manuell von Site herunterladen

wget http://apt.example.com/squeeze.asc
apt-key
apt-key add squeeze.asc

Clean temporary data

its a little like a soft reset

sudo apt-get clean
cd /var/lib/apt
sudo mv lists lists.old
sudo mkdir -p lists/partial
sudo apt-get clean
sudo apt-get update

askubuntu.com