Debian Bug report logs - #975044
Breaks/Replaces for appstream file move are too strict

version graph

Package: gparted; Maintainer for gparted is Phillip Susi <phill@thesusis.net>; Source for gparted is src:gparted (PTS, buildd, popcon).

Reported by: Iain Lane <iain@orangesquash.org.uk>

Date: Wed, 18 Nov 2020 10:39:02 UTC

Severity: normal

Found in version 1.0.0-0.1build1

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, laney@debian.org, Phillip Susi <psusi@ubuntu.com>:
Bug#975044; Package gparted. (Wed, 18 Nov 2020 10:39:04 GMT) (full text, mbox, link).


Acknowledgement sent to Iain Lane <iain@orangesquash.org.uk>:
New Bug report received and forwarded. Copy sent to laney@debian.org, Phillip Susi <psusi@ubuntu.com>. (Wed, 18 Nov 2020 10:39:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Iain Lane <iain@orangesquash.org.uk>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: Breaks/Replaces for appstream file move are too strict
Date: Wed, 18 Nov 2020 10:27:09 +0000
Package: gparted
Version: 1.0.0-0.1build1
Severity: normal
Tags: patch

Hiya,

I'm filing this from an Ubuntu system, but it's a fix I think we should
do in Debian, to help all derivatives.

When upgrading gparted just now, I got:

> Unpacking gparted (1.1.0-0.1) over (1.0.0-0.1build1) ...
> dpkg: error processing archive /tmp/apt-dpkg-install-WEMwFJ/165-gparted_1.1.0-0.1_amd64.deb (--unpack):
>  trying to overwrite '/usr/share/metainfo/gparted.appdata.xml', which is also in package gparted-common 1.0.0-0.1build1

It's because Ubuntu performed a no-change rebuild of gparted for a
library transition (we don't have binary uploads there).

Your Breaks/Replaces matches only the exact version of the file that
shipped the appdata in Debian, so any modified downstream versions will
not match. It would be nicer to either just use `<<` for all earlier
versions, or if you want add a lower bound too. I'm happy to supply and
upload a patch if you'd like.

Cheers,

-- 
Iain Lane                                  [ iain@orangesquash.org.uk ]
Debian Developer                                   [ laney@debian.org ]
Ubuntu Developer                                   [ laney@ubuntu.com ]



Removed tag(s) patch. Request was from Iain Lane <iain@orangesquash.org.uk> to control@bugs.debian.org. (Wed, 18 Nov 2020 10:54:04 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Thu Aug 8 03:18:21 2024; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.