LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 05-17-2009, 07:17 AM   #1
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Rep: Reputation: 76
removepkg left the manuals behind.


Hi there:
I ran 'removepkg foo.tgz' and he didn't remove the manuals. How can this be? Thanks for reading.
 
Old 05-17-2009, 09:58 AM   #2
samac
Senior Member
 
Registered: Mar 2004
Location: Kirkwall, Orkney
Distribution: Linux Mint 20.3 - Cinnamon
Posts: 1,425

Rep: Reputation: 139Reputation: 139
Which package did you remove?

samac
 
Old 05-17-2009, 11:26 AM   #3
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
The question is how was the package created. I'd bet that it was made using checkinstall?? It has a notorious behaviour in that regard. Either that or you have run manually compiled the sources and run 'make install' before creating a package using some other method. Another clue -the man-pages are not compressed, right?
 
Old 05-17-2009, 11:18 PM   #4
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
tHE package is sox-12.18.1-i486-1.tgz from distro 12.0. I made
# updatedb
# slocate sox
and among the output I get
/var/man/cat1/sox.1.bz2
/var/man/cat1/soxexam.1.bz2
/var/man/cat1/soxmix.1.bz2

I also see obtain
/home/semoi/audio-uninst/sox/sox-12.18.1-i486-1.tgz-contents/usr/man/man1/sox.1.gz
/home/semoi/audio-uninst/sox/sox-12.18.1-i486-1.tgz-contents/usr/man/man1/play.1.gz
/home/semoi/audio-uninst/sox/sox-12.18.1-i486-1.tgz-contents/usr/man/man1/soxexam.1.gz
But these should be transparent to the system. Thanks.
 
Old 05-18-2009, 03:03 AM   #5
samac
Senior Member
 
Registered: Mar 2004
Location: Kirkwall, Orkney
Distribution: Linux Mint 20.3 - Cinnamon
Posts: 1,425

Rep: Reputation: 139Reputation: 139
As I'm not running 12.0 I cannot confirm this, however this is not repeated in Slackware 12.2, perhaps it is just a problem with this version of Slackware / Sox. If it is not repeated for other programs within Slackware 12.0 then it should not be a problem.

samac
 
Old 05-18-2009, 05:24 AM   #6
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
samac:
the last three paths were created by me using
explodepkg just to see what the contents of the package is. So do as if the last three don't exist. It cannot be the source of trouble. Thanks for your answer.
 
Old 05-18-2009, 06:24 AM   #7
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
Usually, man-pages which are found in cat* directories are cached versions which get created when you use man to view the page. You can 'disable' the creation of cached copies by removing the dirs /var/man/cat*.
I have seen one program, though, where the sources would install man-pages in /var/man/cat.
You can cross-check the contents of the sox package by looking at the database file for it under /var/log/removed_packages.
 
Old 05-20-2009, 04:52 PM   #8
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
samac: Sorry. I didn't got you. I've now reread your post and see what it means. Thank you.
 
Old 05-20-2009, 05:17 PM   #9
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
Thanks gnashley. I now see. If they're cached, then it's a thing done by the system and not by the installer, and the uninstaller knows nothing of it. Furthermore, an installer would'nt install files in /var. Thanks very much.
 
  


Reply



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
removepkg behavior rvo Slackware 8 01-15-2009 03:19 PM
Upgradet to 12, removepkg not working Tux-Slack Slackware 11 12-23-2007 11:18 AM
src2pkg custom related question about removepkg matters Slackware 5 06-18-2007 07:56 PM
RemovePkg Recursively? Kenji Miyamoto Slackware 3 05-23-2005 08:33 AM
removepkg alternative props666999 Slackware 2 11-10-2004 12:10 AM

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

All times are GMT -5. The time now is 08:31 PM.

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