Opened 10 years ago

Closed 10 years ago

#91 closed defect (duplicate)

debirf make fails because of a "permission denied" on `/usr/bin/md5sum.textutils`

Reported by: dkg Owned by: jrollins
Priority: major Component: debirf
Keywords: debirf Cc:
Sensitive:

Description

On a sid amd64 xen domU, running debirf 0.18-2, i get a failure of debirf make.

The make was invoked like this:

http_proxy=http://proxy.lair.fifthhorseman.net:3128/ debirf make rescue

And it terminated (after trying five times to unpack the base packages) like this:

I: Unpacking tzdata...
I: Unpacking util-linux...
I: Unpacking zlib1g...
W: Failure while unpacking required packages.  This will be attempted up to five times.
1 dkg@chester:~/debirf$ 

Looking through the resultant log, i see the problem appears to be with coreutils for some reason:

0 dkg@chester:~/debirf$ tail rescue/root/debootstrap/debootstrap.log
dpkg: regarding .../util-linux_2.13.1-2_amd64.deb containing util-linux, pre-dependency problem:
 util-linux pre-depends on zlib1g (>= 1:1.1.4)
  zlib1g is unpacked, but has never been configured.
dpkg: warning - ignoring pre-dependency problem !
Preparing to replace util-linux 2.13.1-2 (using .../util-linux_2.13.1-2_amd64.deb) ...
Unpacking replacement util-linux ...
Preparing to replace zlib1g 1:1.2.3.3.dfsg-11 (using .../zlib1g_1%3a1.2.3.3.dfsg-11_amd64.deb) ...
Unpacking replacement zlib1g ...
Errors were encountered while processing:
 var/cache/apt/archives/coreutils_6.10-3_amd64.deb
0 dkg@chester:~/debirf$ grep -C1 -i permission rescue/root/debootstrap/debootstrap.log  
Unpacking coreutils (from .../coreutils_6.10-3_amd64.deb) ...
rm: cannot remove `/usr/bin/md5sum.textutils': Permission denied
dpkg: error processing var/cache/apt/archives/coreutils_6.10-3_amd64.deb (--unpack):
--
Unpacking coreutils (from .../coreutils_6.10-3_amd64.deb) ...
rm: cannot remove `/usr/bin/md5sum.textutils': Permission denied
dpkg: error processing var/cache/apt/archives/coreutils_6.10-3_amd64.deb (--unpack):
--
Unpacking coreutils (from .../coreutils_6.10-3_amd64.deb) ...
rm: cannot remove `/usr/bin/md5sum.textutils': Permission denied
dpkg: error processing var/cache/apt/archives/coreutils_6.10-3_amd64.deb (--unpack):
--
Unpacking coreutils (from .../coreutils_6.10-3_amd64.deb) ...
rm: cannot remove `/usr/bin/md5sum.textutils': Permission denied
dpkg: error processing var/cache/apt/archives/coreutils_6.10-3_amd64.deb (--unpack):
--
Unpacking coreutils (from .../coreutils_6.10-3_amd64.deb) ...
rm: cannot remove `/usr/bin/md5sum.textutils': Permission denied
dpkg: error processing var/cache/apt/archives/coreutils_6.10-3_amd64.deb (--unpack):
0 dkg@chester:~/debirf$ 

Change History (2)

comment:1 Changed 10 years ago by jrollins

So I think this problem must be the same one as in #90. Should we refer this ticket to that one?

comment:2 Changed 10 years ago by dkg

  • Resolution set to duplicate
  • Status changed from new to closed

Yeah, i suspect it's the same bug with a flakey interaction between /bin/rm from coreutils and fakechroot. We can track that through #90.

Note: See TracTickets for help on using tickets.