Hi,

thanks for the code.

I'm a bit stuck right now. Not sure whether there is still something wrong in my config (or something missing in my directory structure), or whether ia32-apt-get is still missing something.

This is what I see right now with the 22 version of ia32-apt-get:

My config is still

Dir
{
 Cache "/myaptetc/cache";
 Cache::archives "/myaptetc/archives/";

 Etc "/myaptetc";

 State "/myaptetc/state";
};


Now, if I run apt-get update, I get

Updating for amd64...
Get:1 http://ftp.de.debian.org sid Release.gpg [835B]
Get:2 http://ftp.de.debian.org sid Release [99.8kB]
Ign http://ftp.de.debian.org sid Release
Get:3 http://ftp.de.debian.org sid/main Packages [5967kB]
Get:4 http://ftp.de.debian.org sid/contrib Packages [59.7kB]
Get:5 http://ftp.de.debian.org sid/non-free Packages [105kB]
99% [3 Packages bzip2 0]

and it is stuck at this point.


ps shows for the apt-get:

root 5258 0.0 0.1 22684 2708 pts/2 S+ 22:12 0:00 apt-get.real -o Dir::Etc::sourcelist=//myaptetc/amd64/sources.list -o Dir::Etc::sourceparts=//myaptetc/amd64/sources.list.d -o Dir::State=//myaptetc/state/amd64 -o Dir::State::lists=//myaptetc/state/amd64/lists -o Dir::Cache=//myaptetc/cache/amd64 -o Dir::Cache::archives=//myaptetc/cache/amd64/archives -o Apt::Architecture=amd64 update


strace on the stuck apt-get.real shows:

gettimeofday({1246652081, 539363}, NULL) = 0
rt_sigprocmask(SIG_BLOCK, [WINCH], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
write(1, "\r99% [3 Packages bzip2 0]", 25) = 25
select(8, [5 6 7], [], NULL, {0, 500000}) = 0 (Timeout)
stat("//myaptetc/state/amd64/lists/partial/ftp.de.debian.org_debian_dists_sid_main_binary-amd64_Packages.decomp", 0x7fff071ec0d0) = -1 ENOENT (No such file or directory)

in a loop, so I guess it is stuck somewhere in unpacking.


At this point in the update process, I have ftp.de.debian.org_debian_dists_sid_Release in state/amd64/lists, and the other files in state/amd64/lists/partial. To me, it seems to hang somewhere in unpacking from partial. Don't know why. (do I get this right, this is within apt-get.real, not in the wrapper code? Why?)


Well, something seems to be wrong here. Right now, I don't see what. If my /myaptetc/state corresponds to /var/lib/apt, it should work if I just copy its contents into /myaptetc/state... However, if I do so and then remove all downloaded files from the $IA32_DIR_STATE/$ARCH/lists directories, I am back at the above loop.

If I just copy /var/lib/apt/* into $IA32_DIR_STATE, keeping all downloaded lists, and then run apt-get update, I get

Updating for amd64...
Get:1 http://ftp.de.debian.org sid Release.gpg [835B]
Hit http://ftp.de.debian.org sid Release
Err http://ftp.de.debian.org sid Release
Get:2 http://ftp.de.debian.org sid Release [99.8kB]
Ign http://ftp.de.debian.org sid Release
Hit http://ftp.de.debian.org sid/main Packages/DiffIndex
Hit http://ftp.de.debian.org sid/contrib Packages/DiffIndex
Hit http://ftp.de.debian.org sid/non-free Packages/DiffIndex
Fetched 101kB in 0s (106kB/s)
Reading package lists... Done
W: GPG error: http://ftp.de.debian.org sid Release: Unknown error executing gpgv
W: You may want to run apt-get update to correct these problems
Ignoring ftp.de.debian.org_debian_dists_sid_contrib_binary-amd64_Packages.IndexDiff Ignoring ftp.de.debian.org_debian_dists_sid_main_binary-amd64_Packages.IndexDiff Ignoring ftp.de.debian.org_debian_dists_sid_non-free_binary-amd64_Packages.IndexDiff
Updating for i386...
[...]

I don't see this gpg warning using the default config. Maybe unrelated.


Maybe you see something from this that I do not... Guess it's just some tiny bit...

Back Tuesday...

Regards,

Ole



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to