Discussion:
How to install old version of a package
Mayuresh
2011-11-27 16:59:56 UTC
Permalink
Is there a systematic procedure to downgrade a package to a lower version?

(Example firefox 8 to firefox 7).

Also, if possible can both current and a previous version co-exist? (May
be one of them goes to regular install path and the other remains in
pkgsrc.)

Mayuresh.
Aleksey Cheusov
2011-11-27 20:38:42 UTC
Permalink
Post by Mayuresh
Is there a systematic procedure to downgrade a package to a lower version?
pkg_add -U
--
Best regards, Aleksey Cheusov.
Mayuresh
2011-11-27 20:54:09 UTC
Permalink
Post by Aleksey Cheusov
Post by Mayuresh
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.

Mayuresh.
Aleksey Cheusov
2011-11-27 21:33:29 UTC
Permalink
Post by Mayuresh
Post by Aleksey Cheusov
Post by Mayuresh
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.
--
Best regards, Aleksey Cheusov.
Mayuresh
2011-11-27 21:50:18 UTC
Permalink
Post by Aleksey Cheusov
Post by Mayuresh
Post by Aleksey Cheusov
Post by Mayuresh
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
build.

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?

Mayuresh.
Aleksej Saushev
2011-11-28 21:50:10 UTC
Permalink
Post by Mayuresh
Is there a systematic procedure to downgrade a package to a lower version?
(Example firefox 8 to firefox 7).
No, there's no systematic procedure.
Post by Mayuresh
Also, if possible can both current and a previous version co-exist? (May
be one of them goes to regular install path and the other remains in
pkgsrc.)
The easiest way is to bootstrap from past snapshot of pkgsrc into
another PREFIX and install packages you want there. This also has
advantage that you don't mess with versions of libraries needed.
--
HE CE3OH...
Loading...