[Edgy] uninstallable: 'rep' manpage is also in librep9.deb

Bug #57035 reported by Matthias Urlichs
6
Affects Status Importance Assigned to Milestone
librep (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Unpacking replacement librep9 ...
dpkg: error processing /var/cache/apt/archives/librep9_0.17-12ubuntu1_i386.deb (--unpack):
 trying to overwrite `/usr/share/man/man1/rep.1.gz', which is also in package rep
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/librep9_0.17-12ubuntu1_i386.deb

Tags: packaging
Revision history for this message
William Grant (wgrant) wrote :

Confirmed in Edgy with libr 0.17-11ubuntu2 and librep 0.17-11ubuntu2.

Changed in librep:
status: Unconfirmed → Confirmed
Revision history for this message
Sarah Kowalik (hobbsee-deactivatedaccount) wrote :

how odd. I'm getting:

root@sarah:/# apt-get install rep
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  libgmp3c2 librep9
Suggested packages:
  librep-doc
The following NEW packages will be installed:
  libgmp3c2 librep9 rep
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 371kB/794kB of archives.
After unpacking 2232kB of additional disk space will be used.
Do you want to continue [Y/n]? y
WARNING: The following packages cannot be authenticated!
  libgmp3c2 librep9 rep
Authentication warning overridden.
Get:1 http://gb.archive.ubuntu.com edgy/universe librep9 0.17-13ubuntu1 [340kB]
Get:2 http://gb.archive.ubuntu.com edgy/universe rep 0.17-11ubuntu2 [31.5kB]
Fetched 371kB in 3s (100kB/s)
Selecting previously deselected package libgmp3c2.
(Reading database ... 13770 files and directories currently installed.)
Unpacking libgmp3c2 (from .../libgmp3c2_2%3a4.2.1+dfsg-2_i386.deb) ...
Selecting previously deselected package librep9.
Unpacking librep9 (from .../librep9_0.17-13ubuntu1_i386.deb) ...
Selecting previously deselected package rep.
Unpacking rep (from .../rep_0.17-11ubuntu2_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/rep_0.17-11ubuntu2_i386.deb (--unpack):
 trying to overwrite `/usr/bin/rep', which is also in package librep9
Errors were encountered while processing:
 /var/cache/apt/archives/rep_0.17-11ubuntu2_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

was this with an upgrade of the package, or newly installed?

Revision history for this message
Matthias Urlichs (smurf) wrote : Re: [Bug 57035] Re: uninstallable: 'rep' manpage is also in librep9.deb

Hi,

Sarah Hobbs:
> how odd. I'm getting:
>
> root@sarah:/# apt-get install rep
> [...]
> dpkg: error processing /var/cache/apt/archives/rep_0.17-11ubuntu2_i386.deb (--unpack):
> trying to overwrite `/usr/bin/rep', which is also in package librep9
> Errors were encountered while processing:
> /var/cache/apt/archives/rep_0.17-11ubuntu2_i386.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
Just a different ordering of "whic package got installed first", I think.

> was this with an upgrade of the package, or newly installed?
>
dapper->edgy update, if I remember correctly.

But that's actually rather irrelevant. Shared library .debs are not
supposed to contain programs, so there is at least one bug of
- current librep and/or librep9 packages still contain /usr/bin/rep
- rep needs a Conflicts:+Replaces: on older librep* packages, so that
  replacing their binary works regardless of which installation happens
  first

--
Matthias Urlichs | {M:U} IT Design @ m-u-it.de | <email address hidden>

Revision history for this message
Sarah Kowalik (hobbsee-deactivatedaccount) wrote : Re: uninstallable: 'rep' manpage is also in librep9.deb

well, exactly.

What confuses me is to why my version in a clean edgy pbuilder didnt work either, although it failed for a different reason...i cant seem to see the reason.

Revision history for this message
Matthias Urlichs (smurf) wrote : Re: [Bug 57035] Re: uninstallable: 'rep' manpage is also in librep9.deb

Hi,

Sarah Hobbs:
> What confuses me is to why my version in a clean edgy pbuilder didnt
> work either, although it failed for a different reason...i cant seem to
> see the reason.
>
Just a different installation order, I'd suspect.

What's the problem, though? Remove /usr/bin/rep from librep, add
appropriate Replaces: and Conflichts: headers to rep, rebuild, be happy.
;-)

I can look over your current version, if you'd like; just send me the diffs.

--
Matthias Urlichs | {M:U} IT Design @ m-u-it.de | <email address hidden>

Revision history for this message
Michael Milligan (milli) wrote : Re: uninstallable: 'rep' manpage is also in librep9.deb

A "me too"... trying out Edgy Beta on an AMD64 box. I recall this happened in the past in Debian, so it's a regression. I'm guessing it snuck back into upstream.

Revision history for this message
Barry deFreese (bddebian) wrote :

Fixed in Feisty.

Changed in librep:
status: Confirmed → Fix Released
Revision history for this message
era (era) wrote :

Please fix this in Edgy too, as it prevents a dist-upgrade from Dapper to Edgy if you have rep installed.

Changed in librep:
status: Fix Released → Confirmed
Revision history for this message
era (era) wrote :

Just for emphasis and clarification, librep9 in Edgy should IMHO deserve an update with Conflicts: rep (<= [whatever is in Dapper]) in order to solve the dist-upgrade problem.

I'm not sure how this should be addressed, as this issue is not a security problem, but I hope there is a way to get stuff into "Edgy 1.01" or some such.

Revision history for this message
Leo Iannacone (l3on) wrote :

Edgy is not longer supported.

Changed in librep:
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.