portdowngrade and meta ports
Chris Rees
crees at FreeBSD.org
Thu May 24 21:43:41 UTC 2012
On 24 May 2012 21:15, Chris Rees <crees at freebsd.org> wrote:
> On 24 May 2012 19:43, Lars Eighner <portsuser at larseighner.com> wrote:
>>
>> I *must* revert xorg to a point at which changing ttys works.
>>
>> portdowngrade does not seem to work with metaports -- apparently it does not
>> revert the dependencies - which is what a metaport is all about. So when the
>> metaport is built, it may put it's own (old) version number on the port, but
>> actually has not changed anything.
>>
>> Any suggestion on how to get xorg back and how far back it was that
>> switching ttys worked.
>
> Easiest way is to just checkout an old ports tree. This will get you
> one two hours before xorg-new was committed.
>
> Delete all your xorg- related ports:
>
> # pkg_delete -x xorg xf86-
>
> (and any other patterns I've forgotten)
>
> # <<EOF cat > supfile
>
> *default host=ftp.FreeBSD.org
> *default prefix=/tmp/beforenewxorg
> *default base=/tmp/beforenewxorg
> *default release=cvs delete use-rel-suffix
>
> ports-all date=2012.04.21.15.00.00
> EOF
>
> # csup supfile
> # mv /etc/make.conf /etc/make.conf.bak && echo
> "PORTSDIR=/tmp/beforenewxorg/ports"
For the archive-- just thought-- even though I did a typo there, DON'T use:
mv file file.bak && echo something > file
at least with csh, file will be clobbered before mv gets to it....
Instead,
mv file file.bak
echo something > file
Sorry for giving bad advice!
Chris
More information about the freebsd-ports
mailing list