You are not logged in.
Pages: 1
Many of my manpages are missing, including a lot of core packages. For example:
$ man grep
No manual entry for grep
$ man man
No manual entry for manMy manpage directory is /usr/share/man and I've noticed that some of the numbered subdirectories are empty (eg. man2, man6). Below are some things I've tried without success.
$ sudo pacman -S grep
$ manpath
/usr/local/man:/usr/local/share/man:/usr/share/man:/usr/lib/jvm/default/man
$ manpath -g
/usr/man:/usr/share/man:/usr/local/man:/usr/local/share/man:/usr/X11R6/man:/opt/man:/var/lib/snapd/snap/man
$ sudo mandb
............. [snip]
Processing manual pages under /usr/share/man/nl...
Purging old database entries in /usr/share/man/zh_CN...
Processing manual pages under /usr/share/man/zh_CN...
Purging old database entries in /usr/share/man/de...
Processing manual pages under /usr/share/man/de...
Processing manual pages under /usr/local/man...
0 man subdirectories contained newer manual pages.
0 manual pages were added.
0 stray cats were added.
0 old database entries were purged.
$ sudo mandb -c
............. [snip]
Checking for stray cats under /var/cache/man/es...
Processing manual pages under /usr/share/man/nl...
Updating index cache for path `/usr/share/man/nl/man8'. Wait...done.
Checking for stray cats under /usr/share/man/nl...
Checking for stray cats under /var/cache/man/nl...
Processing manual pages under /usr/share/man/zh_CN...
Updating index cache for path `/usr/share/man/zh_CN/man8'. Wait...done.
Checking for stray cats under /usr/share/man/zh_CN...
Checking for stray cats under /var/cache/man/zh_CN...
Processing manual pages under /usr/share/man/de...
Updating index cache for path `/usr/share/man/de/man8'. Wait...done.
Checking for stray cats under /usr/share/man/de...
Checking for stray cats under /var/cache/man/de...
Processing manual pages under /usr/local/man...
80 man subdirectories contained newer manual pages.
863 manual pages were added.
0 stray cats were added.Last edited by JimDeadlock (2020-04-24 11:36:38)
Offline
Do you have the man-pages package installed?
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Yes, man-db and man-pages are both installed and up to date.
Offline
Offline
$ pacman-conf
[options]
RootDir = /
DBPath = /var/lib/pacman/
CacheDir = /var/cache/pacman/pkg/
HookDir = /etc/pacman.d/hooks/
GPGDir = /etc/pacman.d/gnupg/
LogFile = /var/log/pacman.log
HoldPkg = pacman
HoldPkg = glibc
NoExtract = usr/share/man/*
NoExtract = usr/share/locale/*
NoExtract = !usr/share/locale/locale.alias
NoExtract = !usr/share/locale/en/*
NoExtract = !usr/share/locale/en_GB/*
NoExtract = !usr/share/locale/en_US/*
Architecture = x86_64
CheckSpace
CleanMethod = KeepInstalled
SigLevel = PackageRequired
SigLevel = PackageTrustedOnly
SigLevel = DatabaseOptional
SigLevel = DatabaseTrustedOnly
LocalFileSigLevel = PackageOptional
LocalFileSigLevel = PackageTrustedOnly
[core]
Usage = All
Server = http://mirror.netweaver.uk/archlinux/core/os/x86_64
Server = http://archlinux.uk.mirror.allworldit.com/archlinux/core/os/x86_64
Server = http://www.mirrorservice.org/sites/ftp.archlinux.org/core/os/x86_64
Server = http://mirrors.ukfast.co.uk/sites/archlinux.org/core/os/x86_64
Server = http://arch.serverspace.co.uk/arch/core/os/x86_64
Server = http://mirror.bytemark.co.uk/archlinux/core/os/x86_64
Server = https://archlinux.uk.mirror.allworldit.com/archlinux/core/os/x86_64
Server = https://mirror.netweaver.uk/archlinux/core/os/x86_64
Server = https://www.mirrorservice.org/sites/ftp.archlinux.org/core/os/x86_64
Server = http://lon.mirror.rackspace.com/archlinux/core/os/x86_64
Server = https://lon.mirror.rackspace.com/archlinux/core/os/x86_64
Server = https://mirror.bytemark.co.uk/archlinux/core/os/x86_64
Server = https://mirrors.ukfast.co.uk/sites/archlinux.org/core/os/x86_64
Server = http://mirrors.manchester.m247.com/arch-linux/core/os/x86_64
Server = http://archlinux.mirrors.uk2.net/core/os/x86_64
[extra]
Usage = All
Server = http://mirror.netweaver.uk/archlinux/extra/os/x86_64
Server = http://archlinux.uk.mirror.allworldit.com/archlinux/extra/os/x86_64
Server = http://www.mirrorservice.org/sites/ftp.archlinux.org/extra/os/x86_64
Server = http://mirrors.ukfast.co.uk/sites/archlinux.org/extra/os/x86_64
Server = http://arch.serverspace.co.uk/arch/extra/os/x86_64
Server = http://mirror.bytemark.co.uk/archlinux/extra/os/x86_64
Server = https://archlinux.uk.mirror.allworldit.com/archlinux/extra/os/x86_64
Server = https://mirror.netweaver.uk/archlinux/extra/os/x86_64
Server = https://www.mirrorservice.org/sites/ftp.archlinux.org/extra/os/x86_64
Server = http://lon.mirror.rackspace.com/archlinux/extra/os/x86_64
Server = https://lon.mirror.rackspace.com/archlinux/extra/os/x86_64
Server = https://mirror.bytemark.co.uk/archlinux/extra/os/x86_64
Server = https://mirrors.ukfast.co.uk/sites/archlinux.org/extra/os/x86_64
Server = http://mirrors.manchester.m247.com/arch-linux/extra/os/x86_64
Server = http://archlinux.mirrors.uk2.net/extra/os/x86_64
[community]
Usage = All
Server = http://mirror.netweaver.uk/archlinux/community/os/x86_64
Server = http://archlinux.uk.mirror.allworldit.com/archlinux/community/os/x86_64
Server = http://www.mirrorservice.org/sites/ftp.archlinux.org/community/os/x86_64
Server = http://mirrors.ukfast.co.uk/sites/archlinux.org/community/os/x86_64
Server = http://arch.serverspace.co.uk/arch/community/os/x86_64
Server = http://mirror.bytemark.co.uk/archlinux/community/os/x86_64
Server = https://archlinux.uk.mirror.allworldit.com/archlinux/community/os/x86_64
Server = https://mirror.netweaver.uk/archlinux/community/os/x86_64
Server = https://www.mirrorservice.org/sites/ftp.archlinux.org/community/os/x86_64
Server = http://lon.mirror.rackspace.com/archlinux/community/os/x86_64
Server = https://lon.mirror.rackspace.com/archlinux/community/os/x86_64
Server = https://mirror.bytemark.co.uk/archlinux/community/os/x86_64
Server = https://mirrors.ukfast.co.uk/sites/archlinux.org/community/os/x86_64
Server = http://mirrors.manchester.m247.com/arch-linux/community/os/x86_64
Server = http://archlinux.mirrors.uk2.net/community/os/x86_64
[multilib]
Usage = All
Server = http://mirror.netweaver.uk/archlinux/multilib/os/x86_64
Server = http://archlinux.uk.mirror.allworldit.com/archlinux/multilib/os/x86_64
Server = http://www.mirrorservice.org/sites/ftp.archlinux.org/multilib/os/x86_64
Server = http://mirrors.ukfast.co.uk/sites/archlinux.org/multilib/os/x86_64
Server = http://arch.serverspace.co.uk/arch/multilib/os/x86_64
Server = http://mirror.bytemark.co.uk/archlinux/multilib/os/x86_64
Server = https://archlinux.uk.mirror.allworldit.com/archlinux/multilib/os/x86_64
Server = https://mirror.netweaver.uk/archlinux/multilib/os/x86_64
Server = https://www.mirrorservice.org/sites/ftp.archlinux.org/multilib/os/x86_64
Server = http://lon.mirror.rackspace.com/archlinux/multilib/os/x86_64
Server = https://lon.mirror.rackspace.com/archlinux/multilib/os/x86_64
Server = https://mirror.bytemark.co.uk/archlinux/multilib/os/x86_64
Server = https://mirrors.ukfast.co.uk/sites/archlinux.org/multilib/os/x86_64
Server = http://mirrors.manchester.m247.com/arch-linux/multilib/os/x86_64
Server = http://archlinux.mirrors.uk2.net/multilib/os/x86_64Offline
NoExtract = usr/share/man/*If you want man pages you should remove or comment that line .
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Thanks! Now, is there a way to get all my manpages back without reinstalling all the packages?
Offline
You could reduce the re-installation to only those files that use /usr/share/man/
pacman -Fy
pacman -S $(pacman -Qq $(pacman -Fq /usr/share/man/ | cut -d/ -f2) 2> /dev/null)Offline
That's very useful thanks!
Offline
That could be a lot simpler - there's no reason to scan the repos for ownership, just local:
pacman -Qqo /usr/share/man | pacman -S -"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
That could be a lot simpler - there's no reason to scan the repos for ownership, just local:
pacman -Qqo /usr/share/man | pacman -S -
I thought the pacman database does not contain files it did not install due to noextract.
Offline
True, but /usr/share/man does not match the noextract rule. The contents of that directory would not be extracted, but the directory is still there and owned by every package that would have had files in it.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Trilby wrote:That could be a lot simpler - there's no reason to scan the repos for ownership, just local:
pacman -Qqo /usr/share/man | pacman -S -I thought the pacman database does not contain files it did not install due to noextract.
$ pacman -Qo /usr/share/man/pl/man1/rview.1.gz
/usr/share/man/pl/man1/rview.1.gz is owned by gvim 8.2.0510-1
$ ls /usr/share/man/pl/man1/rview.1.gz
ls: cannot access '/usr/share/man/pl/man1/rview.1.gz': No such file or directoryWhy doesn't it exist? Because of the following contents of pacman.conf, with all non-English manpages NoExtracted:
# poor man's localepurge
# See: https://wiki.archlinux.org/index.php/Pacman/Tips_and_tricks#Installing_only_content_in_required_languages
NoExtract = usr/share/help/* !usr/share/help/en*
NoExtract = usr/share/gtk-doc/html/*
NoExtract = usr/share/locale/* usr/share/X11/locale/* usr/share/i18n/* opt/google/chrome/locales/* !usr/share/X11/locale/C/*
NoExtract = !*locale*/en*/* !usr/share/i18n/charmaps/UTF-8.gz !usr/share/*locale*/locale.*
NoExtract = !usr/share/*locales/en_?? !usr/share/*locales/i18n* !usr/share/*locales/iso*
NoExtract = !usr/share/*locales/trans*
NoExtract = usr/share/qt4/translations/*
NoExtract = usr/share/man/* !usr/share/man/man*
NoExtract = usr/share/vim/vim*/lang/*
NoExtract = usr/lib/libreoffice/help/en-US/*Managing AUR repos The Right Way -- aurpublish (now a standalone tool)
Offline
Pages: 1