Broken man after 21.04 update

Walt Mankowski waltman at pobox.com
Fri Apr 30 21:30:06 UTC 2021


I upgraded to 21.04 over the weekend. I discovered today that man is
now broken:

$ man man
man: command exited with status 1: (cd /usr/share/man && /usr/lib/man-db/zsoelim) | (cd /usr/share/man && /usr/lib/man-db/manconv -f UTF-8:ISO-8859-1 -t UTF-8//IGNORE) | (cd /usr/share/man && preconv -e UTF-8) | (cd /usr/share/man && tbl) | (cd /usr/share/man && nroff -mandoc -rLL=218n -rLT=218n -Tutf8)

I was running very low on space in /usr after the update, so I moved
/usr/share to a different drive and symlinked it under /usr. I don't
really know how to go about debugging this though. The error looks
like it came from a shell script, but /usr/bin/man is just a regular
executable.

Possible related problem -- file(1) is also broken. Whenever I run it,
it says

/etc/magic, 4: Warning: using regular magic file `/usr/share/misc/magic'

and then it says the file is either data or ASCII text.

I've tried reinstalling man and file but I'm still having the
problems. Do I need to move /usr/share back to the same partition as
/usr?

Thanks.

Walt




More information about the ubuntu-users mailing list