Broken man after 21.04 update
Walt Mankowski
waltman at pobox.com
Sat May 1 01:18:14 UTC 2021
I'll answer my own question. I did some more searching discovered this page:
https://serverfault.com/questions/485815/usr-lib-usr-share-and-usr-bin-symlinked-to-directories-on-another-partition
I added a line to /etc/fstab as suggested there, mounted /usr/share,
and that fixed it!
On Fri, Apr 30, 2021 at 05:30:06PM -0400, Walt Mankowski wrote:
> 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
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
More information about the ubuntu-users
mailing list