xqbiff prevents x11-common from removing /usr/X11R6/bin

Bug #217724 reported by to be removed
0
Affects Status Importance Assigned to Milestone
xorg (Ubuntu)
Fix Released
High
Unassigned
xqbiff (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: xqbiff

As part of the QA team's testing for the hardy release, I tested an upgrade from dapper to hardy, using a virtual machine with over 7000 packages installed. This ran into a problem with x11-common and xqbiff. x11-common wants to remove the /usr/X11R6/bin directory, but it can't do that, because xqbiff has /usr/X11R6/bin/xqbiff there. The upgrade continues, but x11-common asked me to report this problem. So I did.

Related branches

Revision history for this message
Michael Vogt (mvo) wrote :

x11-common should not fail in its preinst if it can not remove /usr/X11R6/bin - anything is better than to fail during a complex upgrade like this. The user will end either with a cascade of failure or with a half installed X, both is pretty bad:

2008-04-15 13:46:39,725 ERROR got an error from dpkg for pkg: '/var/cache/apt/archives/x11-common_1%3a7.3+10ubuntu9_i386.deb': 'subprocess pre-installation script returned error exit status 1

It should move away the directory and tell the user about it, but *not* fail.

Changed in xorg:
importance: Undecided → High
milestone: none → ubuntu-8.04
status: New → Confirmed
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

xqbiff is not available in Hardy, so the package should be added as a Conflicts for x11-common (there are a lot of examples already). But that doesn't take into account all the possible 3rd party apps that were not installed with dpkg, so some transitinal hackery is needed. It can be dropped from Intrepid, like the rest of the upgrade-workarounds we have (?).

Revision history for this message
Michael Vogt (mvo) wrote :

I put a proposed fix at: http://people.ubuntu.com/~mvo/tmp/xorg_7.3+10ubuntu10.debdiff

It contains a string break unfortunately. Other ideas are welcome.

Revision history for this message
Steve Langasek (vorlon) wrote :

Note that one of the consequences of moving /usr/X11R6/bin aside is that these files will be orphaned if they were installed from a package originally.

So a conflict with xqbiff /must/ be added. Adding the debconf template in addition to this is ok with me, since the goal is that it should never be seen...

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package xorg - 1:7.3+10ubuntu10

---------------
xorg (1:7.3+10ubuntu10) hardy; urgency=low

  [ Michael Vogt ]
  * do not fail if /usr/X11R6/bin is not empty but move it
    away instead and tell the user about it (LP: #217724)

  [ Timo Aaltonen ]
  * control: Add xqbiff (<= 0.75-4) to the list of x11-common Conflicts.

 -- Timo Aaltonen <email address hidden> Wed, 16 Apr 2008 01:04:54 +0300

Changed in xorg:
status: Confirmed → Fix Released
Revision history for this message
Michael Vogt (mvo) wrote :

I mark the xqbiff fixed released as it is removed from the archive and we have the proper conflicts now.

Changed in xqbiff:
status: New → Fix Released
Revision history for this message
to be removed (liw) wrote :

I've just tested this, and the fix works for me.

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.