Ticket #385 (closed defect: fixed)

Opened 12 years ago

Last modified 12 years ago

debathena-misc-glue has undeclared conflict with acroread

Reported by: geofft Owned by:
Priority: blocker Milestone:
Component: -- Keywords:
Cc: Fixed in version:
Upstream bug:

Description

The debathena-misc-glue package installs a /usr/bin/acroread attachandrun script, which conflicts with installing Acrobat from the Ubuntu partner repository:

Selecting previously deselected package acroread.
(Reading database ... 400376 files and directories currently installed.)
Unpacking acroread (from .../acroread_9.1.3-1jaunty1_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/acroread_9.1.3-1jaunty1_i386.deb (--unpack):
 trying to overwrite `/usr/bin/acroread', which is also in package debathena-misc-glue

Importantly, debathena-misc-glue does not declare a conflict with the acroread package. This would be an RC bug if this were Debian/Ubuntu?...

However, even with the declared conflict, the package is a hard dependency of debathena-login-graphical, so we need to do something more:

  1. Make it a recommendation of login-graphical
  2. Make the package put the script somewhere other than /usr/bin, or create those files if they don't exist in some script (instead of packaging them)
  3. Split the package into debathena-acroread-glue etc., and make debathena-misc-glue a metapackage that depends on debathena-acroread-glue | acroread, etc.

Thoughts? See also  1019855, which could be solved with a local install of 64-bit acroread... but more generally, on systems with Debathena installed that don't have reliable AFS, we shouldn't prevent installing a local acroread.

Change History

comment:1 Changed 12 years ago by broder

I think I like (3) most.

comment:2 Changed 12 years ago by geofft

  • Status changed from new to development

Okay, I did that in r24268, leaving misc-glue as a metapackage, and took some more packages than just acroread into account. Evan and I are unsure whether we want Provide/Conflicts/Replaces? or just Conflicts, but we think we want the former because it will make things work more gracefully when installing and removing one of the actual packages.

comment:3 Changed 12 years ago by geofft

  • Status changed from development to proposed

There are some dpkg warnings in 'apt-get install acroread' but they're harmless, and the apt resolver offers the right thing.

gdebi on the RealPlayer .deb from their website doesn't work; you get an error saying that debathena-realplay-glue conflicts with the package you're about to install, and no option to go ahead and uninstall debathena-realplay-glue. But gdebi is pretty incompetent in general.

comment:4 Changed 12 years ago by geofft

  • Status changed from proposed to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.