pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: How to install old version of a package

On Mon, Nov 28, 2011 at 12:33:29AM +0300, Aleksey Cheusov wrote:
>  >> > Is there a systematic procedure to downgrade a package to a lower 
> version?
>  >> pkg_add -U
> > Not binary. I want it to work from sources.
> The simpliest way I think is to keep binaries in $PACKAGES for some time
> after upgrade. You can also run 'cvs up -D' in pkgsrc/your/package and
> try to build older package but I don't recommend this way unless you are
> pkgsrc Guru.

Let's say I soft link /usr/pkgsrc to different directory structures such
as /usr/pkgsrc.current /usr/pkgsrc.old etc depending on what I want to

Will this work?

Even if it does, its drawback is duplication of build of dependent
packages. So instead of soft linking at pkgsrc level, can I have say
www/firefox as a soft link to www/firefox-current and www/firefox-old etc
and build either of them by switching soft links?

Is this workable?


Home | Main Index | Thread Index | Old Index