Invalid symbolic links in /usr/share/doc/libsane

Bug #370620 reported by Alexander Gieg
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
sane-backends
Invalid
Undecided
Unassigned
sane-backends (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

The following symbolic link, installed by the libsane package (1.0.19-23ubuntu7), is invalid unless libsane-dev is also installed:

/usr/share/doc/libsane/supported.html -> html/sane-mfgs.html

So, IMHO it would be a good idea to either let libsane-dev create it when installed, or to move the html/sane-mfgs.html file into libsane itself.

My system: Ubuntu 9.04 (upgraded from 8.10)

tags: added: bitesize packaging
Revision history for this message
David Stansby (dstansby-deactivatedaccount) wrote :

According to the upstream bug, this is a problem created downsream in ubuntu and debian.

Changed in sane-backends:
importance: Unknown → Undecided
status: Unknown → New
status: New → Invalid
Revision history for this message
David Stansby (dstansby-deactivatedaccount) wrote :

Please could you see if this bug still exists in karmic (libsane version 1.0.20-4ubuntu3)

Changed in sane-backends (Ubuntu):
status: New → Incomplete
Revision history for this message
Peter Cordes (peter-cordes) wrote :

I filed bug #472919 while going through the output of cruft(8), but it's a dup of this.

$ find -L $(dpkg -L libsane) -maxdepth 0 -type l -ls
22258000 0 lrwxrwxrwx 1 root root 19 Oct 31 16:11 /usr/share/doc/libsane/supported.html -> html/sane-mfgs.html
$ apt-file search /usr/share/doc/libsane/html
(no result, path not found in the archive)

up to date karmic, debsums -c is clean.
ii libsane 1.0.20-4ubuntu3 API library for scanners

However, the problem may be worse now than when this bug was opened.
from apt-file list libsane-dev:
libsane-dev: /usr/share/doc/libsane-dev/html/sane-mfgs.html

 So unless one of /usr/share/doc/libsane{,-dev} is a symlink to the other, the supported.html symlink needs to be to
../libsane-dev/...

Changed in sane-backends (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Jani Uusitalo (uusijani) wrote :

This has been fixed in Precise (if not earlier): libsane depends on libsane-common, which now provides html/sane-mfgs.html.

jani@saegusa:~$ dlocate sane-mfgs.html
libsane-common: /usr/share/doc/libsane/html/sane-mfgs.html
jani@saegusa:~$ LC_ALL=C apt-cache depends libsane | grep libsane
libsane
  Depends: libsane-common
    libsane-common:i386
  Suggests: libsane-extras
  Replaces: libsane-extras
  Replaces: libsane-extras:i386
  Replaces: libsane:i386
  Breaks: libsane:i386

Changed in sane-backends (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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