Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Dec 2005 14:31:54 -0000
From:      "Peter Cranmer" <peterj.cranmer@virgin.net>
To:        "FreeBSD" <freebsd-questions@freebsd.org>
Subject:   Re: Purge all removed packages ?
Message-ID:  <080401c5fccd$4e791320$0100a8c0@peter>
References:  <eed667140512090439y7cc0d1a8wd6939129339d4d59@mail.gmail.com><e572718c0512090454t7c8d0ba4x31c2f203ca8f8c48@mail.gmail.com><eed667140512090506t570b544ega697594834c2721c@mail.gmail.com> <e572718c0512090515q65b656acs6c3c1e7d3448b0f5@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@gmail.com>
To: "Mehmet Fatih AKBULUT" <mfatihakbulut@gmail.com>; "FreeBSD" 
<freebsd-questions@freebsd.org>
Sent: Friday, December 09, 2005 1:15 PM
Subject: Re: Purge all removed packages ?


On 12/9/05, Mehmet Fatih AKBULUT <mfatihakbulut@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@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@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?080401c5fccd$4e791320$0100a8c0>