[Piuparts-devel] Bug#1068312: piuparts: Error when Adding 'local diversion of /bin/sync to /bin/sync.distrib.usr-is-merged' (bullseye)

Fab Stz fabstz-it at yahoo.fr
Wed Apr 3 12:40:28 BST 2024


Package: piuparts
Version: 1.4.1
Severity: normal

Dear Maintainer,

I have a CI job on salsa running piuparts with bullseye.
Recently it started failing with this error:

0m4.3s DUMP:
  Enabling dpkg --force-unsafe-io.
  Adding 'local diversion of /bin/sync to /bin/sync.distrib.usr-is-merged'
  ln: failed to create symbolic link '/bin/sync': File exists
0m4.3s ERROR: Command failed (status=1): ['chroot', '/tmp/tmpoj1y68a1',
'eatmydata', 'tmp/scripts/post_setup_force-unsafe-io']
  Enabling dpkg --force-unsafe-io.
  Adding 'local diversion of /bin/sync to /bin/sync.distrib.usr-is-merged'
  ln: failed to create symbolic link '/bin/sync': File exists


Maybe this is somehow related to the latest changes in 1.4.1 mentioned as 
"also fix /bin/sync diversion for bookworm"?

Log is attached.


-- System Information:
Debian Release: 12.5
  APT prefers stable-updates
  APT policy: (991, 'stable-updates'), (991, 'stable-security'), (991, 
'stable'), (990, 'proposed-updates'), (390, 'oldstable-security'), (390, 
'oldstable'), (389, 'oldstable-updates'), (380, 'oldoldstable'), (379, 
'oldoldstable-updates'), (370, 'oldoldstable'), (95, 'testing'), (94, 
'unstable'), (93, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.1.0-18-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), 
LANGUAGE=fr:en_US
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages piuparts depends on:
ii  debootstrap      1.0.128+nmu2+deb12u1
pn  debsums          <none>
ii  dpkg             1.21.22
ii  libjs-sphinxdoc  5.3.0-4
ii  lsb-release      12.0-1
ii  lsof             4.95.0-1
ii  mount            2.38.1-5+deb12u1
pn  piuparts-common  <none>
pn  python           <none>
pn  python-debian    <none>
ii  python3          3.11.2-1+b1
ii  python3-debian   0.1.49

Versions of packages piuparts recommends:
pn  adequate  <none>

Versions of packages piuparts suggests:
pn  docker.io  <none>
ii  schroot    1.6.13-3+b2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: salsa-piuparts-log.gz
Type: application/gzip
Size: 5432 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/piuparts-devel/attachments/20240403/e63ede26/attachment.gz>


More information about the Piuparts-devel mailing list