The "man" command is an "alternate"? Why?
After applying the latest round up updates to Tumbleweed yesterday, noticed that some things were broken: "man" for one. There was no "man" command available. I issued "file $( which man )" and found that it was supposed to be a symbolic link to "/etc/alternatives/man" but it was broken. The object under "/etc/alternatives" was, in turn, a symbolic link to "/usr/libexec/man-db/wrapper". Outside of a few messages regarding permissions changes that always show up during update installations, I saw no error messages related to the updates to the "man" packages.
(Leaving the system without a working "man" is something of a show stopper so I give these updates a grade of "F".) Fortunately, YaST was not broken by the updates and I was able to remove "man" and the "manpage" packages and re-install them. Q: Why has "man" been relegated to "alternate" status? I suppose a related question would be when was this was done as I noticed it's also "alternate" on a Leap 15.1 system. (I likely wouldn't have noticed had the Tumbleweed updates not borked the command.) Ultimately, the question is: Alternate to what exactly?My internet searches aren't finding anything and I would expect there'd have been a lot of discussion about this change. Does nobody read manpages any more? Anyone have information about this? Cheers... |
Does "alternate" mean something like "optional" in SUSE-speak?
It would be strange indeed if distro maintainers considered man pages (and a program to access them) optional. OTOH, this is rather common on e.g. mobile device distros. |
Quote:
Anyway, I can't see mucking around with "man" being a positive thing... especially when an update silently breaks it. Cheers... |
Quote:
|
Quote:
E.g. on openSUSE, /usr/bin/man is provided both by man (from the man-db project) and mandoc (from OpenBSD). |
For what it's worth, I just tried man in a VM of OpenSUSE Leap v. 15.2 and was unable to duplicate OP's issue. Instead, I got this (replicated several times on different topics):
Code:
:~> man ls A web search for "MAN_POSIXLY_CORRECT" led me to this in the OpenSUSE v. 11.1 release notes. Code:
Displaying Man-Pages With the Same Name |
|
Quote:
I've never noticed man timing out and deciding to jump to a page if you weren't quick enough to answer that question about sections. But... I still have that environment variable set to "1". Is that the reason it became an alternative? Shees. Still doesn't explain how the update managed to break man to the point where I had to uninstall/re-install to get it working again. I appreciate the replies... thanks all. |
Quote:
I noticed that sshd was moved to /usr/libexec, too, though it left /usr/sbin/sshd alone. That broke sftp connections to that system but, oddly, not ssh connections. Minor tweak to /etc/ssh/sshd_config fixes that. I noticed that "sshd_config.rpmnew" file has PermitRootLogin defaulting to "Yes". Ugh. Cheers... |
All times are GMT -5. The time now is 01:14 AM. |