LBDonovan / image-builder

Image builder
http://beagleboard.org/source
MIT License
0 stars 0 forks source link

No man pages #4

Open LBDonovan opened 7 years ago

giuliomoro commented 7 years ago

I think the pages may be there, but man is not installed! crazy uh?

giuliomoro commented 7 years ago

fix with

apt-get install man-db
giuliomoro commented 7 years ago

but then man pages are not there, as you originally suggested. You can re-install all the packages with this one-liner which reinstalls exactly the same version

dpkg -l | grep '^ii ' | sed 's/  */\t/g' |cut -f 2,3 | sed 's/\t/=/' | xargs apt-get install --reinstall -y --ignore-missing

(courtesy of https://unix.stackexchange.com/questions/79028/debian-install-missing-man-pages)

Although the real solution is really to install man-db before any other package, so that they all get installed with their own manpage. (also because the oneliner above stops when it reinstalls sshd)