Date: Thu, 24 May 2012 15:46:20 -0500 (CDT) From: Lars Eighner <portsuser@larseighner.com> To: Chris Rees <crees@freebsd.org> Cc: freebsd-ports <freebsd-ports@freebsd.org> Subject: Re: portdowngrade and meta ports Message-ID: <alpine.BSF.2.00.1205241540030.57603@abbf.ynefrvtuareubzr.pbz> In-Reply-To: <CADLo838ER8kAS276HTyEBFsW=UmjbcBKMrAjfzyJ%2B=JZt-F%2BtA@mail.gmail.com> References: <alpine.BSF.2.00.1205241335190.22032@abbf.ynefrvtuareubzr.pbz> <CADLo838ER8kAS276HTyEBFsW=UmjbcBKMrAjfzyJ%2B=JZt-F%2BtA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 24 May 2012, Chris Rees wrote: > On 24 May 2012 19:43, Lars Eighner <portsuser@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 Bingo! That's what I was vaguely disremembering... > EOF > > # csup supfile > # mv /etc/make.conf /etc/make.conf.bak && echo > "PORTSDIR=/tmp/beforenewxorg/ports" > # cd /tmp/beforenewxorg/ports/ > > Then reinstall the xorg port. Make sure your portupgrade/portmaster > tools ignore them for updating purposes-- you can safely rm -rf > /tmp/beforenewxorg. > > Feel free to subsitute /tmp if you don't have enough space (you'll > need ~5G at least to be safe, or redefine WRKDIRPREFIX). Generally what I do in similar situations is mv the real ports tree until after the carnage. I can count on myself to remember where I left it better than I can remember to reset the environment, use the right flags, etc. > > Hope that helps, > > Chris > > -- Lars Eighner http://www.larseighner.com/index.html 8800 N IH35 APT 1191 AUSTIN TX 78753-5266
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1205241540030.57603>