Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Nov 2016 10:45:28 -0700
From:      Gary Aitken <freebsd@dreamchaser.org>
To:        Tijl Coosemans <tijl@coosemans.org>
Cc:        FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: cups problems on 10.3 release both Epson and HP
Message-ID:  <fb24721f-eb97-415f-0f0e-905be32c7d07@dreamchaser.org>
In-Reply-To: <20161108120632.31037497@kalimero.tijl.coosemans.org>
References:  <2134837b-14ed-a35e-aec0-2490e268659d@dreamchaser.org> <20161105233720.586fd471@kalimero.tijl.coosemans.org> <0d2306ad-8f96-c9bc-78ed-af0aea4daf50@dreamchaser.org> <20161106121440.221ba2e8@kalimero.tijl.coosemans.org> <e6ac5133-613a-1546-39bc-56030521640e@dreamchaser.org> <20161107124357.1d278104@kalimero.tijl.coosemans.org> <bcc924aa-5a7f-4368-037c-8380ab9cabcd@dreamchaser.org> <20161107211429.7acb7e6b@kalimero.tijl.coosemans.org> <32481b91-6d29-7bea-6376-9a4c1b61016e@dreamchaser.org> <20161108120632.31037497@kalimero.tijl.coosemans.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 11/08/16 04:06, Tijl Coosemans wrote:

>> Is there an easy way to discover and remove all "no longer existing" ports?
>> Or do I have to remove /usr/ports/* and rebuild everything?
<snip>
> I haven't used portsnap in a long while and I don't know the details of
> how it works, but I believe it doesn't check if your ports tree matches
> upstream.  It simply downloads updates and applies them.  So if there was
> a problem during one of these updates you're stuck with them.  One source
> of trouble that I know of is when /var is a separate partition and
> portsnap runs out of disk space there.  If you think that can happen on
> your machine you can make portsnap use a different directory by setting
> WORKDIR in /etc/portsnap.conf to a different value.
> 
> You can get a list of ports that should be gone with this command:
> /bin/sh -c 'awk -F\| "/^[^#]/{print \$1}" MOVED | xargs ls -d 2>/dev/null'

thanks, that helped in more ways than one

> But the only way to be sure you have all changes is to delete everything
> under /usr/ports and /var/db/portsnap and run 'portsnap fetch extract'.
> I don't think you have to rebuild all packages.  A regular check for
> updates with portmaster/portupgrade/... should be enough.

thanks again!

Gary



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?fb24721f-eb97-415f-0f0e-905be32c7d07>