man pages not showing up for commands affected by update-alternatives
Bug #544332 reported by
Peter Matulis
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Manpage Repository |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
The update-alternatives system uses symlinks to find man pages. With 'netcat', for instance:
/etc/alternativ
This needs to be taken account of. Right now, manpages.ubuntu.com only shows results for 6.06 for 'nc' or 'netcat'.
To post a comment you must log in.
Confirming, marking wishlist.
This is really hard to solve, as these symlinks are installed at postinst.
The manpage repository generator basically just untars the .deb archive.
$ cat debian/ netcat- openbsd. postinst alternatives \ man/man1/ nc.1.gz nc.1.gz \
/usr/ share/man/ man1/nc_ openbsd. 1.gz \ man/man1/ netcat. 1.gz netcat.1.gz \
/usr/ share/man/ man1/nc_ openbsd. 1.gz
if [ "$1" = "configure" ]; then
update-
--install /bin/nc nc /bin/nc.openbsd 50 \
--slave /bin/netcat netcat /bin/nc.openbsd \
--slave /usr/share/
--slave /usr/share/
fi
I don't know the best way to solve this. I'm open to suggestions and patches ...