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 23rd February 2012
daemonfowl daemonfowl is offline
bsdstudent
 
Join Date: Jan 2012
Location: DaemonLand
Posts: 834
Thanked 0 Times in 0 Posts
Default pkg_delete

Hi All !

what's a more 'radical' way of deleting a package ? /var/db/pkg/ ?

Thank you .

Last edited by daemonfowl; 23rd February 2012 at 11:25 AM. Reason: irrelevance
Reply With Quote
  #2   (View Single Post)  
Old 23rd February 2012
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 2,906
Thanked 190 Times in 160 Posts
Default

Quote:
Originally Posted by daemonfowl View Post
does this imply someone is remotely exploiting it ?
No.
Quote:
when I kill the process . it says no such ..
This is not a complete sentence. I have no idea what you are talking about.
Quote:
when I do pkg_delete .. I suppose it does not delete everything .. because opera seemed to recompile anew quickly ..
Here, reading the description of the pkg_delete(1) manpage & Section 15.3.1 of the FAQ will answer your question.

The end product of building any port is to create packages. pkg_delete(1) only deletes packages, not the object files created when building the port. If you did not run some variation of:

# make clean

...following building, all object files & any other intermediate file will still exist in /usr/ports/pobj. Subsequent attempts to build with make will find that the timestamps of any object file and/or any other intermediate file is still newer than the source, so there is no need to recompile. Linking, though, may still occur at the end.
Reply With Quote
  #3   (View Single Post)  
Old 23rd February 2012
daemonfowl daemonfowl is offline
bsdstudent
 
Join Date: Jan 2012
Location: DaemonLand
Posts: 834
Thanked 0 Times in 0 Posts
Default

Thanks Ocicat! that's well explained !!
* I lways do a 'make install clean' .. is it the same as when doing 'make install' then 'make clean' , afterwards ?
* I still have stuff in pobj .. is it safe to remove it ?
Thanks so much

Last edited by daemonfowl; 23rd February 2012 at 06:53 AM.
Reply With Quote
  #4   (View Single Post)  
Old 23rd February 2012
daemonfowl daemonfowl is offline
bsdstudent
 
Join Date: Jan 2012
Location: DaemonLand
Posts: 834
Thanked 0 Times in 0 Posts
Default

Opera doesn't start .. is it because I'm compiling webkit/xxxterm ??? I deinstalled it many times though ..
Reply With Quote
  #5   (View Single Post)  
Old 23rd February 2012
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,814
Thanked 214 Times in 189 Posts
Default

Quote:
when I do pkg_delete .. I suppose it does not delete everything .. because opera seemed to recompile anew quickly ..
As I mentioned in two other threads, Opera is not compiled. The "make" you are performing merely extracts the binary and configuration files from a tarball archive.
Reply With Quote
  #6   (View Single Post)  
Old 23rd February 2012
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,814
Thanked 214 Times in 189 Posts
Default

Quote:
Opera doesn't start .. is it because I'm compiling webkit/xxxterm ???
We do not have enough information to answer the question.
Reply With Quote
  #7   (View Single Post)  
Old 25th February 2012
backrow backrow is offline
Real Name: Anthony J. Bentley
Shell Scout
 
Join Date: Jul 2009
Location: Albuquerque, NM
Posts: 116
Thanked 10 Times in 4 Posts
Default

Quote:
Originally Posted by daemonfowl View Post
Thanks Ocicat! that's well explained !!
* I lways do a 'make install clean' .. is it the same as when doing 'make install' then 'make clean' , afterwards ?
* I still have stuff in pobj .. is it safe to remove it ?
Yes. /usr/ports/pobj contains the extracted source code and any generated files from a port build. These files can also be deleted via “make clean”.
__________________
Many thanks to the forum regulars who put time and effort into helping others solve their problems.
Reply With Quote
  #8   (View Single Post)  
Old 25th February 2012
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 2,906
Thanked 190 Times in 160 Posts
Default

Most applications in the ports tree create and/or depend on a network of other packages. make clean will only clean the working directory of the primary package being built. Section 15.3.6 of the FAQ discusses a number of other make targets which clean other parts of the /usr/ports/pobj subdirectory. Reading the ports(7) manpage is also advised.
Reply With Quote
  #9   (View Single Post)  
Old 25th February 2012
daemonfowl daemonfowl is offline
bsdstudent
 
Join Date: Jan 2012
Location: DaemonLand
Posts: 834
Thanked 0 Times in 0 Posts
Default

Thank you all !!!
woud it be safe to just do #rm -R /usr/ports/pobj/* ?
I've got 1.9g of pobj/* so far ..
Reply With Quote
Old 25th February 2012
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,814
Thanked 214 Times in 189 Posts
Default

certainly.
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
Build Process Warnings IronForge OpenBSD Installation and Upgrading 9 22nd January 2010 11:21 AM
Loader, MBR and the boot process Jago FreeBSD Installation and Upgrading 1 22nd January 2010 04:52 AM
See what process is generating DNS traffic? Bruco FreeBSD General 3 2nd July 2009 05:57 PM
shell script-start another process bsdnewbie999 Programming 2 23rd April 2009 07:48 PM
Daemon Process not starting on boot map7 FreeBSD General 4 11th September 2008 04:24 PM


All times are GMT. The time now is 04:28 AM.


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