View previous topic :: View next topic |
Author |
Message |
dragonlinux n00b
Joined: 21 Nov 2006 Posts: 16
|
Posted: Thu Jan 25, 2007 6:23 pm Post subject: cups 1.2.7 man |
|
|
after I installed cups 1.2.7, all of the man pages of cups are
./man1/cupstestdsc.1.gz.bz2
./man1/cupstestppd.1.gz.bz2
./man1/lp.1.gz.bz2
./man1/lpoptions.1.gz.bz2
./man1/lppasswd.1.gz.bz2
./man1/lpq.1.gz.bz2
./man1/lpr.1.gz.bz2
./man1/lpstat.1.gz.bz2
./man1/cancel.1.gz.bz2
./man1/cups-config.1.gz.bz2
./man1/lprm.1.gz.bz2
./man7/backend.7.gz.bz2
./man7/filter.7.gz.bz2
./man8/reject.8.gz.bz2
./man8/cupsdisable.8.gz.bz2
./man8/cups-deviced.8.gz.bz2
./man8/cups-driverd.8.gz.bz2
./man8/cups-lpd.8.gz.bz2
./man8/cups-polld.8.gz.bz2
./man8/cupsd.8.gz.bz2
./man8/lpadmin.8.gz.bz2
./man8/lpinfo.8.gz.bz2
./man8/lpmove.8.gz.bz2
./man8/lpc.8.gz.bz2
./man8/accept.8.gz.bz2
./man8/cupsaddsmb.8.gz.bz2
./man8/cupsenable.8.gz.bz2
./man5/client.conf.5.gz.bz2
./man5/cupsd.conf.5.gz.bz2
./man5/mailto.conf.5.gz.bz2
./man5/mime.convs.5.gz.bz2
./man5/mime.types.5.gz.bz2
./man5/printers.conf.5.gz.bz2
./man5/classes.conf.5.gz.bz2
./man5/cups-snmp.conf.5.gz.bz2
./man5/subscriptions.conf.5.gz.bz2
I can't man it because it is .gz.bz2, it is supposed to run bzip + unzip to see the info and I modify /etc/man.conf it can't recognize the suffix: .gz.bz2.
what is the problem?
19035 pts/4 S+ 0:00 man lpinfo
19050 pts/4 S+ 0:00 sh -c /bin/bzip2 -c -d /var/cache/man/cat8/lpinfo.8.gz.bz2 | /usr/bin/less
Is it a bug? |
|
Back to top |
|
|
darkphader Veteran
Joined: 09 May 2002 Posts: 1217 Location: Motown
|
Posted: Thu Jan 25, 2007 6:41 pm Post subject: |
|
|
Same problem here. It's some kind of bug. And there are other .gz.bz2 man files (not cups related) that can't be man'd as well.
Chris _________________ WYSIWYG - What You See Is What You Grep |
|
Back to top |
|
|
darkphader Veteran
Joined: 09 May 2002 Posts: 1217 Location: Motown
|
Posted: Thu Jan 25, 2007 7:15 pm Post subject: |
|
|
Looks like the ebuild install process needs to not bzip2 a man file already gzip'd by the compiling stage of the application. Or man must be taught how to deal with a file twice compressed - I played around a little with /etc/man.conf but couldn't discover a way.
As a workaround the following will eliminate the extra bz2 process: Code: | find /usr/share/man/ -type f -iname '*.gz.bz2' -execdir bunzip2 -d '{}' \; |
Before running the above do: Code: | find /usr/share/man/ -type f -iname '*.gz.bz2' > ~/badmanlist | as you will probably have to manually remove the resulting files (minus the .bz2 extention) once you file your bugreport and the problem gets resolved (updates and unmerges will probably not delete files it didn't install).
Chris _________________ WYSIWYG - What You See Is What You Grep |
|
Back to top |
|
|
tobr Guru
Joined: 29 May 2006 Posts: 330
|
Posted: Thu Jan 25, 2007 8:25 pm Post subject: |
|
|
To me this is clearly a bug. Compressing the man page twice seems stupid. Either gzip or bzip2, not both. Best report it on https://bugs.gentoo.org/. |
|
Back to top |
|
|
dragonlinux n00b
Joined: 21 Nov 2006 Posts: 16
|
Posted: Thu Jan 25, 2007 10:29 pm Post subject: ok. I submited a bug to gentoo bugzilla. |
|
|
tobr wrote: | To me this is clearly a bug. Compressing the man page twice seems stupid. Either gzip or bzip2, not both. Best report it on https://bugs.gentoo.org/. |
|
|
Back to top |
|
|
|