Re: Remove a port without removing files
- Reply: Tatsuki Makino : "Re: Remove a port without removing files"
- In reply to: Per olof Ljungmark : "Remove a port without removing files"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 06 Oct 2021 07:46:17 UTC
On Tue, Oct 05, 2021 at 07:03:30PM +0200, Per olof Ljungmark wrote: > As the subject says, I need to remove a port so pkg etc does not care about > it, but keeping all the ports files intact. > > Thanks, > Per > Install it with pkg, then echo 'delete from packages where name="mypkgname";' | pkg shell This should do it. with recent ports tree, NO_PKG_REGISTER has been fixed so make NO_PKG_REGISTER=yes install will do it as well. Best regards, Bapt