Discussion:
Bug#880900: irony-server: fails to upgrade from 'testing' - trying to overwrite /usr/bin/irony-server
(too old to reply)
Andreas Beckmann
2017-11-05 14:20:01 UTC
Permalink
Package: irony-server
Version: 1.2.0-1
Severity: serious
User: debian-***@lists.debian.org
Usertags: piuparts

Hi,

during a test with piuparts I noticed your package fails to upgrade from
'testing'.
It installed fine in 'testing', then the upgrade to 'sid' fails
because it tries to overwrite other packages files without declaring a
Breaks+Replaces relation.

See policy 7.6 at
https://www.debian.org/doc/debian-policy/ch-relationships.html#s-replaces

From the attached log (scroll to the bottom...):

Selecting previously unselected package irony-server.
Preparing to unpack .../irony-server_1.2.0-1_amd64.deb ...
Unpacking irony-server (1.2.0-1) ...
dpkg: error processing archive /var/cache/apt/archives/irony-server_1.2.0-1_amd64.deb (--unpack):
trying to overwrite '/usr/bin/irony-server', which is also in package irony-mode 0.2.0-1+b3
Errors were encountered while processing:
/var/cache/apt/archives/irony-server_1.2.0-1_amd64.deb


cheers,

Andreas
Nicholas D Steeves
2017-11-08 18:30:03 UTC
Permalink
Hi Andreas,

Thanks for the bug report, and sorry I missed this serious issue.
It's fixed in git. I will wait to upload until I hear your opinion of
#880669 and #880670. Summary of those bugs: Self-tests that were not
run for irony-mode-0.2.0-1+b3 fail for mips64el and arm64.

Do you think that uploading a 1.2.0-2 that fixes this bug and
downgrading the severity those other two provides the greatest benefit
to the greatest number of users? eg: most users are amd64, and the
new package is validated on amd64 by self-tests that didn't exist
before. The easiest thing to do is to just disable self-tests and
restore behaviour of the old package, but I don't think that's the
best approach...

Cheers,
Nicholas
Post by Andreas Beckmann
Hi,
during a test with piuparts I noticed your package fails to upgrade from
'testing'.
It installed fine in 'testing', then the upgrade to 'sid' fails
because it tries to overwrite other packages files without declaring a
Breaks+Replaces relation.
See policy 7.6 at
https://www.debian.org/doc/debian-policy/ch-relationships.html#s-replaces
Selecting previously unselected package irony-server.
Preparing to unpack .../irony-server_1.2.0-1_amd64.deb ...
Unpacking irony-server (1.2.0-1) ...
trying to overwrite '/usr/bin/irony-server', which is also in package irony-mode 0.2.0-1+b3
/var/cache/apt/archives/irony-server_1.2.0-1_amd64.deb
cheers,
Andreas
Debian Bug Tracking System
2017-11-09 20:00:01 UTC
Permalink
Your message dated Thu, 09 Nov 2017 19:49:12 +0000
with message-id <E1eCsp6-000IMP-***@fasolo.debian.org>
and subject line Bug#880900: fixed in irony-mode 1.2.0-2~exp1
has caused the Debian Bug report #880900,
regarding irony-server: fails to upgrade from 'testing' - trying to overwrite /usr/bin/irony-server
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ***@bugs.debian.org
immediately.)
--
880900: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=880900
Debian Bug Tracking System
Contact ***@bugs.debian.org with problems
Debian Bug Tracking System
2017-11-14 23:10:01 UTC
Permalink
Your message dated Tue, 14 Nov 2017 23:05:04 +0000
with message-id <E1eEkGO-0002jY-***@fasolo.debian.org>
and subject line Bug#880900: fixed in irony-mode 1.2.0-2
has caused the Debian Bug report #880900,
regarding irony-server: fails to upgrade from 'testing' - trying to overwrite /usr/bin/irony-server
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ***@bugs.debian.org
immediately.)
--
880900: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=880900
Debian Bug Tracking System
Contact ***@bugs.debian.org with problems
Loading...