Bug#1065469: Can't upgrade: trying to overwrite '/usr/share/doc/qemu-system-common/system/arm/aspeed.html'

2024-03-04 Thread Andrey Rahmatullin
On Tue, Mar 05, 2024 at 09:22:37AM +0300, Michael Tokarev wrote:
> > Package: qemu-system-data
> > Version: 1:8.2.2+ds-1
> > Severity: serious
> > 
> > 
> > Preparing to unpack .../qemu-system-data_1%3a8.2.2+ds-1_all.deb ...
> > Unpacking qemu-system-data (1:8.2.2+ds-1) over (1:8.2.1+ds-2) ...
> > dpkg: error processing archive /var/cache/apt/archives/qemu-system-
> > data_1%3a8.2.2+ds-1_all.deb (--unpack):
> >   trying to overwrite '/usr/share/doc/qemu-system-
> > common/system/arm/aspeed.html', which is also in package qemu-system-common
> > 1:8.2.1+ds-2
> 
> Hmm.
> 
> In 8.2.2 I moved common docs from arch-dependent package qemu-system-common
> to arch-indep package qemu-system-data.  Current control fields for the
> latter, among others, has:
> 
>  Breaks: qemu-system-common (<< 8.2.1+ds-3~),
>  Replaces: qemu-system-common (<< 8.2.1+ds-3~),
> 
> so... what's going on here?  q-s-d 8.2.2 replaces files from q-s-c 8.2.1
Can it be simply because the package has an epoch and relations should
include it?

-- 
WBR, wRAR


signature.asc
Description: PGP signature


Bug#1065469: Can't upgrade: trying to overwrite '/usr/share/doc/qemu-system-common/system/arm/aspeed.html'

2024-03-04 Thread Michael Tokarev

05.03.2024 10:03, Andrey Rahmatullin wrote:


  Breaks: qemu-system-common (<< 8.2.1+ds-3~),
  Replaces: qemu-system-common (<< 8.2.1+ds-3~),

so... what's going on here?  q-s-d 8.2.2 replaces files from q-s-c 8.2.1

Can it be simply because the package has an epoch and relations should
include it?


AAARGH!  Yes, you're exactly right.  Sigh :)

Fixing it now, thank you!

/mjt



Bug#1065469: Can't upgrade: trying to overwrite '/usr/share/doc/qemu-system-common/system/arm/aspeed.html'

2024-03-04 Thread Michael Tokarev

05.03.2024 09:10, Andrey Rahmatullin wrote:

Package: qemu-system-data
Version: 1:8.2.2+ds-1
Severity: serious


Preparing to unpack .../qemu-system-data_1%3a8.2.2+ds-1_all.deb ...
Unpacking qemu-system-data (1:8.2.2+ds-1) over (1:8.2.1+ds-2) ...
dpkg: error processing archive /var/cache/apt/archives/qemu-system-
data_1%3a8.2.2+ds-1_all.deb (--unpack):
  trying to overwrite '/usr/share/doc/qemu-system-
common/system/arm/aspeed.html', which is also in package qemu-system-common
1:8.2.1+ds-2


Hmm.

In 8.2.2 I moved common docs from arch-dependent package qemu-system-common
to arch-indep package qemu-system-data.  Current control fields for the
latter, among others, has:

 Breaks: qemu-system-common (<< 8.2.1+ds-3~),
 Replaces: qemu-system-common (<< 8.2.1+ds-3~),

so... what's going on here?  q-s-d 8.2.2 replaces files from q-s-c 8.2.1

Yes, the version it replaces is a bit off (I planned to upload another
8.2.1 but uploaded 8.2.2 instead), but it should work.

WTF?

/mjt



Bug#1065469: Can't upgrade: trying to overwrite '/usr/share/doc/qemu-system-common/system/arm/aspeed.html'

2024-03-04 Thread Andrey Rahmatullin
Package: qemu-system-data
Version: 1:8.2.2+ds-1
Severity: serious


Preparing to unpack .../qemu-system-data_1%3a8.2.2+ds-1_all.deb ...
Unpacking qemu-system-data (1:8.2.2+ds-1) over (1:8.2.1+ds-2) ...
dpkg: error processing archive /var/cache/apt/archives/qemu-system-
data_1%3a8.2.2+ds-1_all.deb (--unpack):
 trying to overwrite '/usr/share/doc/qemu-system-
common/system/arm/aspeed.html', which is also in package qemu-system-common
1:8.2.1+ds-2


-- System Information:
Debian Release: trixie/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500, 
'unstable'), (500, 'testing'), (101, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.7.7-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.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

-- debconf-show failed