DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 27th March 2012
daemonfowl daemonfowl is offline
bsdstudent
 
Join Date: Jan 2012
Location: DaemonLand
Posts: 834
Default removing unneeded (orphaned) packages .. is it possible ?

Hi Everybody !!

Manytimes , as we install/delete packages , it becomes a necessity to remove those orphaned -so to speak- packages which were dependencies to a deleted package .. sorry to phrase it badly , but is there a way to autoremove those unneeded orphans? think ubuntu's {apt-get autoremove} way of doing it .. or somethng closer ..
Thank you !
Reply With Quote
  #2   (View Single Post)  
Old 27th March 2012
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,318
Default

Quote:
Originally Posted by daemonfowl View Post
...but is there a way to autoremove those unneeded orphans?
Per the pkg_delete(1) manpage:
Code:
 -a              Delete unused dependencies (packages that are not needed
                     by anything tagged as installed manually).  Can be used
                     without pkgnames.  If used with pkgnames, it will only
                     delete non manual installs in the list.
Reply With Quote
  #3   (View Single Post)  
Old 27th March 2012
daemonfowl daemonfowl is offline
bsdstudent
 
Join Date: Jan 2012
Location: DaemonLand
Posts: 834
Default

thank you Ocicat ! .. for your help + the amount of patience to bear enough of my newb foolishness .. sorry
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Question about removing ports/packages Daffy OpenBSD Packages and Ports 2 16th October 2010 09:06 AM
I have 18 GB rpm packages mfaridi Programming 5 15th April 2010 09:41 PM
Can't Add Packages due to intl.4.0 jrs665 OpenBSD Packages and Ports 4 20th October 2008 10:44 AM
Packages vs. Ports guitarscn OpenBSD Packages and Ports 3 1st October 2008 04:43 AM
Where have all the packages gone? PatrickBaer FreeBSD Ports and Packages 6 12th June 2008 11:03 PM


All times are GMT. The time now is 12:00 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick