LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Zenwalk
User Name
Password
Zenwalk This forum is for the discussion of Zenwalk Linux.

Notices


Reply
  Search this Thread
Old 02-14-2016, 06:23 AM   #1
rng
Senior Member
 
Registered: Aug 2011
Posts: 1,198

Rep: Reputation: 47
Removing packages in Zenwalk


If I uninstall some package using xnetpkg, will it also remove its dependencies which are not needed by any other package? Can I do similar operation with netpkg? How can I otherwise find and remove orphan packages on a Zenwalk system? Thanks for your guidance.

Last edited by rng; 02-14-2016 at 06:27 AM.
 
Old 02-14-2016, 06:29 AM   #2
H1p8r10n
Member
 
Registered: Feb 2016
Location: on the border of milky way
Distribution: Slackware
Posts: 159

Rep: Reputation: Disabled
for an installed package : right-click "Select installed dependencies"

It's up to you to check for any other installed package which would need them

JP
 
Old 02-14-2016, 08:17 PM   #3
rng
Senior Member
 
Registered: Aug 2011
Posts: 1,198

Original Poster
Rep: Reputation: 47
Can I find orphan library packages (those which are not needed by any other package) on a Zenwalk installation?
 
Old 02-15-2016, 01:40 AM   #4
H1p8r10n
Member
 
Registered: Feb 2016
Location: on the border of milky way
Distribution: Slackware
Posts: 159

Rep: Reputation: Disabled
I can easily add the feature

Netpkg used to have this feature, and I removed it because it's unreliable : some packages are needed by no other package, but if you remove them : system is dead.

jp
 
Old 02-15-2016, 08:30 AM   #5
rng
Senior Member
 
Registered: Aug 2011
Posts: 1,198

Original Poster
Rep: Reputation: 47
It would be much better to have this feature there with a warning rather than not having it at all. Did your program work by checking dependencies of installed packages or by checking requirements listed in package detail files?
 
Old 02-15-2016, 09:05 AM   #6
H1p8r10n
Member
 
Registered: Feb 2016
Location: on the border of milky way
Distribution: Slackware
Posts: 159

Rep: Reputation: Disabled
by checking requirements in package dep files, with fallback to an embedded global database.

Scanning the system for actual libraries deps takes too long to be performed each time a package is selected (would make netpkg unusable).

JP
 
  


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
[SOLVED] Update and install packages in Zenwalk offgridguy Zenwalk 3 02-04-2016 01:31 PM
Removing packages mariostg Slackware 4 09-25-2012 08:14 PM
How to install and uninstall packages in zenwalk/slackware deathalele Linux - Software 2 11-15-2008 03:07 AM
removing certain packages Smokey Red Hat 1 10-02-2004 07:55 PM
removing packages..??? mhd_Ahmed Linux - Newbie 4 08-22-2003 12:46 PM

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

All times are GMT -5. The time now is 03:48 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