[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#467063: apt-setup doesn't provide release files for localn



Mirroring lenny right now so I don't have to modify the mirror configs. I'll see how that goes.

After an install I have to apt-get update before packages are authenticated. Tar file in the following paste is before the apt-get update, 'ls -l' is after. notice that the Release.gpg moves from '/var/lib/apt/lists/partial' to '/var/lib/apt/lists'

debtest:/var/lib/apt/lists# ls -l
total 26360
-rw-r--r-- 1 root root 19328438 2008-02-26 02:12 debian.widemile.com_debian_dists_etch_main_binary-i386_Packages -rw-r--r-- 1 root root 6085849 2008-02-16 05:11 debian.widemile.com_debian_dists_etch_main_source_Sources -rw-r--r-- 1 root root 5310 2008-02-22 11:48 debian.widemile.com_debian_dists_etch_Release -rw-r--r-- 1 root root 65 2008-02-22 11:48 debian.widemile.com_debian_dists_etch_Release.gpg -rw-r--r-- 1 root root 1472090 2008-02-21 12:59 debian.widemile.com_security_dists_etch_updates_main_binary-i386_Packages -rw-r--r-- 1 root root 37583 2008-02-21 12:59 debian.widemile.com_security_dists_etch_updates_Release -rw-r--r-- 1 root root 189 2008-02-21 12:59 debian.widemile.com_security_dists_etch_updates_Release.gpg
-rw-r----- 1 root root        0 2008-02-26 10:28 lock
drwxr-xr-x 2 root root     4096 2008-02-26 10:28 partial

debtest:/var/lib/apt/lists# tar -tvzf /root/aptlib.tgz
drwxr-xr-x root/root         0 2008-02-26 02:15 var/lib/apt/
drwxr-xr-x root/root         0 2008-02-26 02:16 var/lib/apt/lists/
-rw-r--r-- root/root 19328438 2008-02-26 02:12 var/lib/apt/lists/debian.widemile.com_debian_dists_etch_main_binary-i386_Packages
drwxr-xr-x root/root         0 2008-02-26 02:16 var/lib/apt/lists/partial/
-rw-r--r-- root/root 65 2008-02-22 11:48 var/lib/apt/lists/partial/debian.widemile.com_debian_dists_etch_Release.gpg -rw-r--r-- root/root 5310 2008-02-22 11:47 var/lib/apt/lists/debian.widemile.com_debian_dists_etch_Release -rw-r--r-- root/root 189 2008-02-21 12:59 var/lib/apt/lists/debian.widemile.com_security_dists_etch_updates_Release.gpg
-rw-r----- root/root         0 2008-02-26 02:18 var/lib/apt/lists/lock
-rw-r--r-- root/root 37583 2008-02-21 12:59 var/lib/apt/lists/debian.widemile.com_security_dists_etch_updates_Release -rw-r--r-- root/root 6085849 2008-02-16 05:11 var/lib/apt/lists/debian.widemile.com_debian_dists_etch_main_source_Sources -rw-r--r-- root/root 1472090 2008-02-21 12:59 var/lib/apt/lists/debian.widemile.com_security_dists_etch_updates_main_binary-i386_Packages
drwxr-xr-x root/root         0 2007-02-26 13:21 var/lib/apt/periodic/

Quoting Frans Pop <elendil@planet.nl>:

On Friday 22 February 2008, btm@loftninjas.org wrote:
Apt-setup can install a key for a localn mirror using "d-i
apt-setup/localn/key" but only downloads the key and installs it with
apt-key in /target. On first boot of the machines, this mirror is
still considered unauthenticated as apt wants the release and
release.gpg files locally, requiring an 'apt-get update'.

Suggest adding either 'apt-get update' or wgetting these files and
putting them them in target as part of apt-setup/generators/60local.

Isn't that last exactly what already happens now?

Can you please check try this again using a Lenny installation image [1] and
check if this issue is still present there?

Cheers,
FJP

[1] http://www.debian.org/devel/debian-installer/




----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.




Reply to: