Package: tini
Version: 0.19.0-5
Severity: important
X-Debbugs-Cc: [email protected]

When "upgrading" from tini 0.19.0-4 to tini-static 0.19.0-5, the installation 
breaks because /usr/bin/tini-static is in both packages.

I think this is due to a missing

Breaks:   tini (<< 0.19.0-5)
Replaces: tini (<< 0.19.0-5)

in tini-static that would enforces a certain order of installation.

Update log:

$ sudo apt upgrade
Upgrading:                      
  docker-cli  docker.io  tini

Installing dependencies:
  tini-static

Summary:
  Upgrading: 3, Installing: 1, Removing: 0, Not Upgrading: 0
  Download size: 10.1 kB / 31.2 MB
  Space needed: 2,122 kB / 41.6 GB available

Continue? [Y/n] 
Get:1 http://ftp.de.debian.org/debian sid/main amd64 tini amd64 0.19.0-5 [10.1 
kB]
Fetched 10.1 kB in 0s (29.7 kB/s)
(Reading database ... 245660 files and directories currently installed.)
Preparing to unpack .../docker.io_27.5.1+dfsg4-1_amd64.deb ...
Unpacking docker.io (27.5.1+dfsg4-1) over (26.1.5+dfsg1-9+b9) ...
Preparing to unpack .../docker-cli_27.5.1+dfsg4-1_amd64.deb ...
Unpacking docker-cli (27.5.1+dfsg4-1) over (26.1.5+dfsg1-9+b9) ...
Selecting previously unselected package tini-static.
Preparing to unpack .../tini-static_0.19.0-5_amd64.deb ...
Unpacking tini-static (0.19.0-5) ...
dpkg: error processing archive 
/var/cache/apt/archives/tini-static_0.19.0-5_amd64.deb (--unpack):
 trying to overwrite '/usr/bin/tini-static', which is also in package tini 
(0.19.0-4)
Preparing to unpack .../tini_0.19.0-5_amd64.deb ...
Unpacking tini (0.19.0-5) over (0.19.0-4) ...
Errors were encountered while processing:
 /var/cache/apt/archives/tini-static_0.19.0-5_amd64.deb
needrestart is being skipped since dpkg has failed
Error: Sub-process /usr/bin/dpkg returned an error code (1)


-- System Information:
Debian Release: forky/sid
  APT prefers unstable
  APT policy: (550, 'unstable'), (550, 'stable'), (500, 'stable-updates'), 
(500, 'stable-security'), (500, 'oldstable-updates'), (500, 
'oldstable-security'), (500, 'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

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

Versions of packages tini depends on:
ii  libc6  2.41-12

tini recommends no packages.

tini suggests no packages.

-- no debconf information

Reply via email to