LinuxQuestions.org
Support LQ: Use code LQCO20 and save 20% on CrossOver Office
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
 
LinkBack Search this Thread
Old 03-18-2010, 09:22 AM   #61
vdemuth
Member
 
Registered: Oct 2003
Location: West Midlands, UK
Distribution: Slackware (current), Mepis on the wifes lappy
Posts: 580

Rep: Reputation: 61

OK, so ran your latest script and it tells me that I have 4,869 orphaned libs, and the resultant --verify log file is 11.6 Mb in size, whilst the verify.log.pkgs would suggest that I have 638 pkgs not installed. FYI, this is a multilib system running AlienBob's KDE4.4.1 build. Looking through the log file would suggest that the missing pkgs are those that were originally installed when Slack13 64bit was first put on my laptop. Any suggestions why this might be and how to correct as it does not seem right somehow.
 
Old 03-18-2010, 11:51 AM   #62
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Original Poster
Rep: Reputation: 536Reputation: 536Reputation: 536Reputation: 536Reputation: 536Reputation: 536
First:
Packages shown using --verify are not "not installed" -- but they are detected because *some* file that is included in the slack-package, is not present on the system.
The missing file(s) could be as simple as even a README file, which you knowingly & intentionally deleted from /usr/doc or whatever (in other words, a false positive)

As for this "multi-lib" situation, I have never used multi-lib, and don't plan to try it out since I have no need to. HOWEVER, solely based on the fact that Eric (Alien Bob) probably by now has a really good idea what he's doing when it comes to putting slackware packages together, I would *think* that a properly installed multi-lib system using his packages, *should* be able to be scanned using my script, just the same as a NON-multi-lib system can be scanned; and the results should be meaningful-- provided that you have cleanly replaced/upgraded package ABC with package XYZ, and not simply installed packages on top of one another.

HOWEVER: If by design, the multi-lib packages knowingly & deliberately overwrite or replace pre-existing pieces of another package which is already installed, then the --verify output from my script will indeed contain a lot of mis-information. It would likely help a lot if somebody with a fresh, clean, working multi-lib system, were to try the script and let us know what kind of results THEY get, because going by your results alone, there's nothing to compare it to.

To start fixing your system, I would be starting `pkgtool` and looking for any NON-multi-lib packages that claim to be still installed, but which you know (SHOULD) have been replaced with newer (multi-lib) packages, and remove them. That should trim down the output of the --verify operation.

I can't really say what may or may not be messed up on your machine; I don't know what upgrade method you used, and I don't know how the process of switching to multi-lib went for you. But, cleaning up your system requires manual labor -- there's no automated method of doing it, and if there were, truthfully, I would not really trust it to get the job done correctly. You gotta do it yourself.

This script is intended to provide "a source of information" which you need to evaluate (determine its value) and use as you see fit. But ultimately, YOU have to decide what to do with the information it provides.

Sasha
 
1 members found this post helpful.
Old 03-18-2010, 02:23 PM   #63
vdemuth
Member
 
Registered: Oct 2003
Location: West Midlands, UK
Distribution: Slackware (current), Mepis on the wifes lappy
Posts: 580

Rep: Reputation: 61
Hi Sasha,

Well some more digging and it looks like I have serious problems with my packages database. Not sure how, but at least your script is a starting point to putting it right.

Thanks

Vic
 
Old 03-18-2010, 07:47 PM   #64
rmjohnso
Member
 
Registered: Mar 2006
Location: Wisconsin
Distribution: Slackware64-Current
Posts: 294

Rep: Reputation: 42
Sasha,

I just tested the new version on my installation, and it looks good on my end.


Matt
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Moved ALL libraries from /lib to /local/ teaser Linux - Newbie 10 07-25-2008 08:19 AM
Broken symlinks aren't red anymore LocoMojo Slackware 21 11-19-2007 09:24 AM
Removing .a libraries in /usr/lib/ kunkie Linux - General 1 08-27-2005 11:44 PM
Broken symlinks in '/' dir after compile and checkinstall Haiyadragon Slackware 3 02-08-2005 10:55 AM
Broken symlinks technopasta Linux - Software 1 05-29-2004 07:13 AM


All times are GMT -5. The time now is 09:58 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration