cannot remove package on Feisty

Bug #80544 reported by Matti Lindell
10
Affects Status Importance Assigned to Milestone
fish (Ubuntu)
Fix Released
Medium
Unassigned
gnome-panel (Ubuntu)
Fix Released
Low
Ubuntu Desktop Bugs

Bug Description

Binary package hint: fish

There's seems to be a docid collision or something with fish and gnome-applets-data package's docs.
As a result, purging fish removes file installed by gnome-applets-data (/usr/share/omf/fish/fish-C.omf) and chockes when trying to remove a whole directory installed by gnome-applets-data.

$ install-docs -s fish
---document-information---
Document: fish
Abstract: This guide documents fish, a shell
 geared towards interactive use.
Author: Axel Liljencrantz <email address hidden>
Section: Apps/Shells
Title: Debian fish Manual

---format-description---
Format: html
Files: /usr/share/doc/fish/*.html
Index: /usr/share/doc/fish/index.html

---status-information---
Control-File: /usr/share/doc-base/fish
Registered-to-dhelp: 1
Registered-to-dwww: 1
Registered-to-scrollkeeper: 1
Scrollkeeper-omf-file: /usr/share/omf/fish/fish-C.omf

$ sudo aptitude purge fish
.
.
Removing fish ...
/usr/share/omf/fish/fish-C.omf: could not delete file: No such file or directory at /usr/sbin/install-docs line 640.
dpkg: error processing fish (--purge):
 subprocess pre-removal script returned error exit status 2
Errors were encountered while processing:
 fish
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:

Tags: bitesize
Matti Lindell (mlind)
Changed in fish:
importance: Undecided → Medium
Revision history for this message
Daniel Holbach (dholbach) wrote :

daniel@bert:~$ dlocate usr/share/omf/fish/fish-C.omf
gnome-panel-data: /usr/share/omf/fish/fish-C.omf
daniel@bert:~$

Revision history for this message
Daniel Holbach (dholbach) wrote :

Some investigations:

fish doesn't install anything into *omf*:
daniel@bert:~$ grep omf /var/lib/dpkg/info/fish.list
daniel@bert:~$

The fish.prerm script merely runs:
        install-docs -r fish

from install-docs(8):
       -r docid | --remove docid
           Remove the documentation identified by the document identifier docid. Document identifiers are tags which are set in the control file, and usually correspond to the package name.

./debian/fish.doc-base contains:
Document: fish
Title: Debian fish Manual
Author: Axel Liljencrantz <email address hidden>
Abstract: This guide documents fish, a shell
 geared towards interactive use.
Section: Apps/Shells

Format: HTML
Index: /usr/share/doc/fish/index.html
Files: /usr/share/doc/fish/*.html

To be honest, I suspect a problem in either doc-base (install-docs) or fish.doc-base

Revision history for this message
Sebastien Bacher (seb128) wrote :

Daniel, the problem is that fish and gnome-applets use the name "fish" namespace, one of the packages need to have its documentation renamed

Revision history for this message
Matti Lindell (mlind) wrote :

I somehow reported it against wrong package, s/applets/data/.
I'll vote for fish-applet in gnome-panel-data package to change its docid.

Changed in gnome-panel:
assignee: nobody → desktop-bugs
importance: Undecided → Low
status: Unconfirmed → Confirmed
Revision history for this message
Dereck Wonnacott (dereck) wrote :

I was able to install and remove this package in Hardy.

Changed in fish:
status: New → Fix Released
Changed in gnome-panel:
status: Confirmed → Fix Released
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.