[buildd-tools-devel] Bug#801141: sbuild: Failed to lock chroot: /var/lib/sbuild/unstable-i386.tar.gz: File is not owned by user root

picca picca at synchrotron-soleil.fr
Tue Oct 6 17:26:56 UTC 2015


Package: sbuild
Version: 0.66.0-2
Severity: important

Dear Maintainer,

Hello, When I try to use sbuild, I get this error message

E: unstable-i386-sbuild-22146117-8358-467e-a857-9e8d4c79e747: Failed to lock chroot: /var/lib/sbuild/unstable-i386.tar.gz: File is not owned by user root
Chroot setup failed

as you can see

$ ls -l /var/lib/sbuild/
total 440420
drwxrws---  2 sbuild sbuild      4096 juil.  6 16:35 apt-keys
drwxrws---  2 sbuild sbuild      4096 oct.   5 08:40 build
drwxr-xr-x 21 sbuild sbuild      4096 oct.   3 10:44 unstable-i386
-rw-r--r--  1 sbuild sbuild 450976170 oct.   3 10:50 unstable-i386.tar.gz


So what is the properway to fix this.
The .tar.gz chroot was created using sbuild-creatchroot


Cheers

Frederic

-- System Information:
Debian Release: stretch/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 4.2.0-1-586
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages sbuild depends on:
ii  adduser         3.113+nmu3
ii  apt-utils       1.0.10.2
ii  libsbuild-perl  0.66.0-2
ii  perl            5.20.2-6

Versions of packages sbuild recommends:
ii  debootstrap  1.0.72
ii  fakeroot     1.20.2-1

Versions of packages sbuild suggests:
pn  deborphan  <none>
ii  wget       1.16.3-3

-- no debconf information



More information about the Buildd-tools-devel mailing list