Ok, seem to get the problem:
nxvl [~] Sylvester$ apt-get -o Dir=/tmp/apt-test/ update [...] W: GPG error: http://archive.canonical.com maverick Release: No keyring installed in /tmp/apt-test/etc/apt/trusted.gpg.d/. W: GPG error: http://security.ubuntu.com maverick-security Release: No keyring installed in /tmp/apt-test/etc/apt/trusted.gpg.d/. W: GPG error: http://extras.ubuntu.com maverick Release: No keyring installed in /tmp/apt-test/etc/apt/trusted.gpg.d/. W: GPG error: http://archive.ubuntu.com maverick Release: No keyring installed in /tmp/apt-test/etc/apt/trusted.gpg.d/. W: GPG error: http://archive.ubuntu.com maverick-updates Release: No keyring installed in /tmp/apt-test/etc/apt/trusted.gpg.d/. W: GPG error: http://archive.ubuntu.com maverick-backports Release: No keyring installed in /tmp/apt-test/etc/apt/trusted.gpg.d/. W: GPG error: http://archive.ubuntu.com maverick-proposed Release: No keyring installed in /tmp/apt-test/etc/apt/trusted.gpg.d/.
Shouldn't apt try to use the system keyring here? Or at least create "/tmp/apt-test/etc/apt/trusted.gpg.d/."?
Ok, seem to get the problem:
nxvl [~] archive. canonical. com maverick Release: No keyring installed in /tmp/apt- test/etc/ apt/trusted. gpg.d/. security. ubuntu. com maverick-security Release: No keyring installed in /tmp/apt- test/etc/ apt/trusted. gpg.d/. extras. ubuntu. com maverick Release: No keyring installed in /tmp/apt- test/etc/ apt/trusted. gpg.d/. archive. ubuntu. com maverick Release: No keyring installed in /tmp/apt- test/etc/ apt/trusted. gpg.d/. archive. ubuntu. com maverick-updates Release: No keyring installed in /tmp/apt- test/etc/ apt/trusted. gpg.d/. archive. ubuntu. com maverick-backports Release: No keyring installed in /tmp/apt- test/etc/ apt/trusted. gpg.d/. archive. ubuntu. com maverick-proposed Release: No keyring installed in /tmp/apt- test/etc/ apt/trusted. gpg.d/.
Sylvester$ apt-get -o Dir=/tmp/apt-test/ update
[...]
W: GPG error: http://
W: GPG error: http://
W: GPG error: http://
W: GPG error: http://
W: GPG error: http://
W: GPG error: http://
W: GPG error: http://
Shouldn't apt try to use the system keyring here? Or at least create "/tmp/apt- test/etc/ apt/trusted. gpg.d/. "?