Purge all removed packages ?

Peter Cranmer peterj.cranmer at virgin.net
Fri Dec 9 06:31:44 PST 2005


Afaik pkg_delete has a switch (maybe n) that will just tell you what it 
would do.  I've never tried it but i've seen it in man pages, you might be 
able to script something with that to pkg_delete -n/copy the files somewhere 
else/pkg_delete.

peter

----- Original Message ----- 
From: "Pietro Cerutti" <pietro.cerutti at gmail.com>
To: "Mehmet Fatih AKBULUT" <mfatihakbulut at gmail.com>; "FreeBSD" 
<freebsd-questions at freebsd.org>
Sent: Friday, December 09, 2005 1:15 PM
Subject: Re: Purge all removed packages ?


On 12/9/05, Mehmet Fatih AKBULUT <mfatihakbulut at gmail.com> wrote:
>
>
> hi Pietro,

Hi!

>  do i need to focus on anything like above apt remove and apt 
> remove --purge
> ?
>
>  or pkg_delete deletes everything? and leaves nothing behing ?

pkg_delete also deletes configuration files, alerting you when a file
has been modified by the user, ex:

pkg_delete: '/path/to/the/file/to/remove' fails original MD5 checksum
- deleted anyway.

but as you can see, it deletes the file anyway!

Hope this helps!

>
> Regards.
>
> Bye
>

Best regards,

--
Pietro Cerutti
<pietro.cerutti at gmail.com>

Beansidhe - SwiSS Death / Thrash Metal
<www.beansidhe.ch>

Windows: "Where do you want to go today?"
Linux: "Where do you want to go tomorrow?"
FreeBSD: "Are you guys coming or what?"
_______________________________________________
freebsd-questions at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org" 



More information about the freebsd-questions mailing list