LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-21-2015, 07:33 PM   #1
Rinndalir
Member
 
Registered: Sep 2015
Posts: 733

Rep: Reputation: Disabled
confused about man pages on -current


I have this installed man-pages-3.82 but some pages seem wrong.
If I look at man 3 fprintf at the bottom of the page is this:

"Joerg Schilling 15. Juli 1988 FPRINTF(3)"

This doesn't look right to me and there is no format page at all.

man 3 format
No entry for format in section 3 of the manual

Is my install broken? Are the man pages broken or is this normal?
 
Old 10-21-2015, 11:04 PM   #2
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
I don't think your install is broken because I'm getting the same thing you did.

Code:
bash-4.2$ man 3 format
No entry for format in section 3 of the manual
bash-4.2$ man -version
man, version 1.6g

bash-4.2$
Run man --version and see what you get.
 
Old 10-22-2015, 02:09 AM   #3
MDKDIO
Member
 
Registered: Mar 2004
Location: Sweden
Distribution: Slackware 15
Posts: 521

Rep: Reputation: 187Reputation: 187
Quote:
Originally Posted by Rinndalir View Post

"Joerg Schilling 15. Juli 1988 FPRINTF(3)"
Guessing nothing changed since 1988,
as for the "Format and PRINT to File".

Version wise, you have the same versions I have.

And I also have the same version as Ztcoracat
man --version
1.6g
 
Old 10-22-2015, 03:58 AM   #4
drmozes
Slackware Contributor
 
Registered: Apr 2008
Distribution: Slackware
Posts: 1,540

Rep: Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309
Quote:
Originally Posted by Rinndalir View Post
I have this installed man-pages-3.82 but some pages seem wrong.
If I look at man 3 fprintf at the bottom of the page is this:

"Joerg Schilling 15. Juli 1988 FPRINTF(3)"

This doesn't look right to me and there is no format page at all.

It's not right:

Code:
cd ~/slackware64-current/slackware64/ap
# mkdir Q
# cd Q
# tar xf ../man-pages-3.82-noarch-1.txz
# man usr/man/man3/printf.3.gz | tail -n1
GNU                               2014-07-08                         PRINTF(3)
Quote:
Originally Posted by Rinndalir View Post
man 3 format
No entry for format in section 3 of the manual
There is no 'format' man page in the man-pages source archive.
 
Old 10-22-2015, 06:08 AM   #5
ppr:kut
Slackware Contributor
 
Registered: Aug 2006
Location: Netherlands
Distribution: Slackware
Posts: 631

Rep: Reputation: 463Reputation: 463Reputation: 463Reputation: 463Reputation: 463
Quote:
ap/cdrtools-3.01-i586-2.txz: Rebuilt.
Removed useless man pages in /usr/man/man3. Thanks to Adrien Nader.
That update removed the man page you're seeing from the cdrtools package, but upgradepkg won't remove it from the system since it is also provided by man-pages. To fix it you have to reinstall the man-pages package
 
1 members found this post helpful.
Old 10-22-2015, 01:34 PM   #6
Rinndalir
Member
 
Registered: Sep 2015
Posts: 733

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ppr:kut View Post
That update removed the man page you're seeing from the cdrtools package, but upgradepkg won't remove it from the system since it is also provided by man-pages. To fix it you have to reinstall the man-pages package
It sounds like cdrtools wrote over the programming man pages. I will reinstall man-pages.
 
1 members found this post helpful.
Old 10-22-2015, 01:44 PM   #7
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Quote:
Originally Posted by Rinndalir View Post
It sounds like cdrtools wrote over the programming man pages.
That looks weird: as ppr:kut pointed out, upgradepkg first installs the new files, then removes the files remnant of the previous version, but only if not found in another installed package. How did you make the upgrade? Are you sure that your packages' database /var/log{packages,removed_packages} has not been messed?

Last edited by Didier Spaier; 10-22-2015 at 01:47 PM.
 
Old 10-22-2015, 01:56 PM   #8
Rinndalir
Member
 
Registered: Sep 2015
Posts: 733

Original Poster
Rep: Reputation: Disabled
Just to make things clear.

The man command on slackware-current is man-1.6g but no idea where the most current version lives. man-1.6g seems to be from Jan. 2011.

Under debian there is a man-db package but the numbering is different and man-db starts at version 2.4 in 2005.
man-db contains man,whatis,apropos

The current man-pages version is at 4.02 and slackware-current is at 3.82.
 
Old 10-22-2015, 01:59 PM   #9
Rinndalir
Member
 
Registered: Sep 2015
Posts: 733

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Didier Spaier View Post
Are you sure that your packages' database /var/log{packages,removed_packages} has not been messed?
Please define messed.
 
Old 10-22-2015, 02:10 PM   #10
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Quote:
Originally Posted by Rinndalir View Post
Please define messed.
There are several ways, most often that happens when not using the Slackware package tools to install or remove packages or applications. Then the database doesn't show the files actually present in the system any more.

But maybe that is not the case and instead you just missed the upgrade of the man-pages package that occurred on Tue Apr 21 23:44:00 UTC 2015.

To check please send the output of:
Code:
ls -l /var/log/packages/man-page*
[1]In such a case actually the packages' database itself is not "messed" but ceases to reliably reflect the state of the system. I am sorry for the improper wording, English is not my native language.

Last edited by Didier Spaier; 10-22-2015 at 02:26 PM. Reason: Footnote added.
 
Old 10-22-2015, 03:10 PM   #11
Rinndalir
Member
 
Registered: Sep 2015
Posts: 733

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Didier Spaier View Post
There are several ways, most often that happens when not using the Slackware package tools to install or remove packages or applications. Then the database doesn't show the files actually present in the system any more.

But maybe that is not the case and instead you just missed the upgrade of the man-pages package that occurred on Tue Apr 21 23:44:00 UTC 2015.
Neither of these happened.

What did happen it seems is that cdrtools wrote over the man pages then upgrade didn't remove them since they are owned by another pkg. You disagree with that prognosis?



Quote:
[1]In such a case actually the packages' database itself is not "messed" but ceases to reliably reflect the state of the system. I am sorry for the improper wording, English is not my native language.
No improper wording found. Just was too broad for my knowledge. The additional context makes it clear.
 
Old 10-22-2015, 03:39 PM   #12
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Quote:
Originally Posted by Rinndalir View Post
What did happen it seems is that cdrtools wrote over the man pages then upgrade didn't remove them since they are owned by another pkg. You disagree with that prognosis?
I am doubtful, but I will try to reproduce that tomorrow, unless someone else answers before I do (I am running Slackware 14.1 not current at the moment).

Meanwhile, please provide the already requested output and also that of:
Code:
ls -l /usr/man/man3*/fprintf*
 
Old 10-22-2015, 06:20 PM   #13
stoa
Member
 
Registered: Dec 2013
Posts: 54

Rep: Reputation: Disabled
I'm having the exact same issue as OP. I always use only slackpkg for updating/upgrading. Sorry I don't have time right now to diagnose, but in response to Didier's request, here are the outputs of:

Code:
ls -l /var/log/packages/man-page*
-rw-r--r-- 1 root root 66496 Aug 17 18:11 /var/log/packages/man-pages-3.82-noarch-1
and:

Code:
ls -l /usr/man/man3*/fprintf*
-rw-r--r-- 1 root root 503 Sep 17 14:08 /usr/man/man3/fprintf.3.gz
-rw-r--r-- 1 root root 503 Sep 17 14:08 /usr/man/man3p/fprintf.3.gz
 
Old 10-22-2015, 08:35 PM   #14
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Anyhow crdtools does not include this man page so it didn't overwrite it.

Most probably it comes from another package.

If it was regularly installed, this command will tell which one:
Code:
grep  man3/fprintf /var/log/packages/*

Last edited by Didier Spaier; 10-22-2015 at 08:40 PM.
 
Old 10-22-2015, 08:46 PM   #15
stoa
Member
 
Registered: Dec 2013
Posts: 54

Rep: Reputation: Disabled
Didier:

Here's the culprit:

Code:
grep  man3/fprintf /var/log/packages/*
/var/log/packages/man-pages-3.82-noarch-1:usr/man/man3/fprintf.3.gz
 
  


Reply

Tags
man, man-pages, package



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] man pages - man command phillyfilly Linux - Newbie 4 02-10-2014 05:41 AM
man pages q. jnusa Linux - Software 6 02-03-2006 08:40 AM
man pages unreadable in current AxeZ Slackware 7 12-25-2004 10:52 AM
Man pages twantrd Solaris / OpenSolaris 5 08-16-2004 03:15 AM
man pages? southsibling Linux - Newbie 2 08-31-2003 11:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration