#1065334 pbuilder create failed due to decompressing file exists

#1065334#5
Date:
2024-03-03 02:51:58 UTC
From:
To:
Dear maintainers,

I’m trying to use pbuilder to create a pure building environment for sid with the following command:
```
sudo pbuilder create --configfile ~/.pbuilderrc --distribution sid --basetgz /var/cache/pbuilder/base.sid.tgz --debootstrapopts --keyring=/usr/share/keyrings/debian-archive-keyring.gpg
```

However, the error occurs due to duplicated files exist when decompressing .deb packages:
```
I: Extracting libuuid1...
I: Extracting libuuid1t64...
E: Tried to extract package, but file already exists. Exit...
E: debootstrap failed
E: Tail of debootstrap.log:
2024-03-03 10:38:21 URL:http://ftp.cn.debian.org/debian/dists/sid/InRelease [197847/197847] -> "/var/cache/pbuilder/build/495072/
var/lib/apt/lists/partial/ftp.cn.debian.org_debian_dists_sid_InRelease" [1]
gpgv: Signature made Sun Mar  3 04:18:52 2024 CST
gpgv:                using RSA key A7236886F3CCCAAD148A27F80E98404D386FA1D9
gpgv: Good signature from "Debian Archive Automatic Signing Key (11/bullseye) <ftpmaster@debian.org>"
gpgv: Signature made Sun Mar  3 04:18:55 2024 CST
gpgv:                using RSA key 4CB50190207B4758A3F73A796ED0E7B82643E131
gpgv: Can't check signature: No public key
2024-03-03 10:38:30 URL:http://ftp.cn.debian.org/debian/dists/sid/main/binary-amd64/by-hash/SHA256/9833b113b4c1eff5553f1c06d687ae
f4c7aae1e1a869cb9de96a49e95a092cba [9930964/9930964] -> "/var/cache/pbuilder/build/495072/var/lib/apt/lists/partial/ftp.cn.debian
.org_debian_dists_sid_main_binary-amd64_Packages.xz" [1]
2024-03-03 10:38:39 URL:http://ftp.cn.debian.org/debian/pool/main/u/util-linux/bsdutils_2.39.3-8_amd64.deb [97212/97212] -> "/var
/cache/pbuilder/aptcache/bsdutils_1%3a2.39.3-8_amd64.deb" [1]
2024-03-03 10:38:41 URL:http://ftp.cn.debian.org/debian/pool/main/u/util-linux/libblkid1_2.39.3-8_amd64.deb [159520/159520] -> "/
var/cache/pbuilder/aptcache/libblkid1_2.39.3-8_amd64.deb" [1]
2024-03-03 10:38:42 URL:http://ftp.cn.debian.org/debian/pool/main/u/util-linux/libmount1_2.39.3-8_amd64.deb [190616/190616] -> "/
var/cache/pbuilder/aptcache/libmount1_2.39.3-8_amd64.deb" [1]
2024-03-03 10:38:44 URL:http://ftp.cn.debian.org/debian/pool/main/u/util-linux/libsmartcols1_2.39.3-8_amd64.deb [116796/116796] -
2024-03-03 10:38:45 URL:http://ftp.cn.debian.org/debian/pool/main/u/util-linux/libuuid1_2.39.3-8_amd64.deb [30080/30080] -> "/var
/cache/pbuilder/aptcache/libuuid1_2.39.3-8_amd64.deb" [1]
2024-03-03 10:38:46 URL:http://ftp.cn.debian.org/debian/pool/main/u/util-linux/mount_2.39.3-8_amd64.deb [143360/143360] -> "/var/
cache/pbuilder/aptcache/mount_2.39.3-8_amd64.deb" [1]
2024-03-03 10:38:48 URL:http://ftp.cn.debian.org/debian/pool/main/u/util-linux/util-linux_2.39.3-8_amd64.deb [1230156/1230156] ->
 "/var/cache/pbuilder/aptcache/util-linux_2.39.3-8_amd64.deb" [1]
tar: ./usr/lib/x86_64-linux-gnu/libuuid.so.1.3.0: Cannot open: File exists
tar: ./usr/lib/x86_64-linux-gnu/libuuid.so.1: Cannot create symlink to 'libuuid.so.1.3.0': File exists
tar: Exiting with failure status due to previous errors
E: End of debootstrap.log
W: Aborting with an error
```
The full building log is attached.

#1065334#10
Date:
2024-03-03 03:33:59 UTC
From:
To:
close 1065334
thanks

Xuanteng Huang dixit:

You cannot currently bootstrap sid; it’s in the mids of a
transition involving some 6000 packages which will take a
week or so; see #d-devel on IRC or d-devel@l.d.o for more
information.

bye,
//mirabilos