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

Bug#341326: More infos about this bug



After talking with my local LUG, I've added

cout << "(debug:compressor) " << Args[0] << endl;

to apt-inst/contrib/extracttar.cc (ExtractTar::StartGzip()) [1]. The
output then looks like as followed:

> ./cron.log.24722:54:write(1, "(debug:compressor) gzip\n", 24) = 24
> ./cron.log.24722-55-execve("/usr/bin/gzgzg", ["n/gzgzg", "-d"], [/* 8 vars */]) = -1 ENOENT (No such file or directory)
> ./cron.log.24722-56-execve("/bin/gzgzg", ["n/gzgzg", "-d"], [/* 8 vars */]) = -1 ENOENT (No such file or directory)
> ./cron.log.24722-57-write(2, "Failed to exec gzip ", 20)    = 20
> --
> ./cron.log.24725:52:write(1, "(debug:compressor) gzip\n", 24)      = 24
> ./cron.log.24725-53-execve("/usr/bin/gzgzgs9", ["n/gzgzgs9", "-d"], [/* 8 vars */])      = -1 ENOENT (No such file or directory)
> ./cron.log.24725-54-execve("/bin/gzgzgs9", ["n/gzgzgs9", "-d"], [/* 8 vars */])      = -1 ENOENT (No such file or directory)
> ./cron.log.24725-55-write(2, "Failed to exec gzip ", 20)                            = 20
> --
> ./cron.log.24726:52:write(1, "(debug:compressor) gzip\n", 24) = 24
> ./cron.log.24726-53-execve("/usr/bin/gzgzgn)", ["n/gzgzgn)", "-d"], [/* 8 vars */]) = -1 ENOENT (No such file or directory)
> ./cron.log.24726-54-execve("/bin/gzgzgn)", ["n/gzgzgn)", "-d"], [/* 8 vars */]) = -1 ENOENT (No such file or directory)
> ./cron.log.24726-55-write(2, "Failed to exec gzip ", 20)    = 20
> --
> ./cron.log.24729:52:write(1, "(debug:compressor) gzip\n", 24) = 24
> ./cron.log.24729-53-execve("/usr/bin/gzgzg", ["n/gzgzg", "-d"], [/* 8 vars */]) = -1 ENOENT (No such file or directory)
> ./cron.log.24729-54-execve("/bin/gzgzg", ["n/gzgzg", "-d"], [/* 8 vars */]) = -1 ENOENT (No such file or directory)
> ./cron.log.24729-55-write(2, "Failed to exec gzip ", 20)    = 20

This happens every time I try to use apt-ftparchive via cron-job. The
cron-job looks like this:

/etc/cron.d/debarchiver_ubuntu:
*/1 * * * *  debarchiver  strace -ff -o /tmp/cron.log /usr/bin/apt-ftparchive generate /var/lib/debarchiver_ubuntu/dists/.apt-ftparchive.conf

The files for (/var/lib/)debarchiver_ubuntu can be get from here:
http://debian.wgdd.de/temp/archiv.tar.gz.

On my system, the user debarchiver owns these files
(debarchiver:x:113:113:Deb archiving tool,,,:/home/debarchiver:/bin/sh).
The configuration file
(/var/lib/)debarchiver_ubuntu/dists/.apt-ftparchive.conf further
expects /var/cache/debarchiver_ubuntu as CacheDir (also owned by
debarchiver).

[1] A note beside: After adding this line and installing the rebuilt
apt-packages, apt-get install always reported: "Tar Checksum failed,
archive corrupted". Removing the debug:compressor line, makes this
message go away again.

Anyone with an idea, what is going wrong here? Can you confirm that bug?
Which packages may be corrupted.

PS: I've successfully tested my RAM with memtest86.

Regards, Daniel




Reply to: