You are not logged in.

#1 2010-04-25 04:09:07

aaron.kilbride
Member
Registered: 2009-08-25
Posts: 65

how to downgrade via yaourt

for web browsing, i use the firefox-nightly package in AUR, and i recently updated to 3.7a5pre and most of my extentions quit working,
how can i downgrade to 3.7a1pre (which i previously had installled)?
do i use the -U thing as with pacman? if so where do i find the old packages?

Offline

#2 2010-04-25 04:16:54

bruce
Member
Registered: 2008-11-27
Posts: 57

Re: how to downgrade via yaourt

Old packages are normally kept in: /var/cache/pacman/pkg/
So you should just be able to pacman -U /var/cache/pacman/pkg/firefox-nightly$oldpkgver....
This is the easiest way, and should work most of the time smile

Offline

#3 2010-04-25 04:20:45

aaron.kilbride
Member
Registered: 2009-08-25
Posts: 65

Re: how to downgrade via yaourt

what if i used yaourt to install it, and the packages are not in /var/cache/pacman/pkg?

Offline

#4 2010-04-25 04:28:49

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: how to downgrade via yaourt

I think yaourt keeps the built packages in /tmp ...


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#5 2010-04-25 06:47:24

aaron.kilbride
Member
Registered: 2009-08-25
Posts: 65

Re: how to downgrade via yaourt

meaning it gets erased after every reboot right?
so how do if i can't use the local copy, where can i install a previous AUR package from?

Offline

#6 2010-04-25 06:51:47

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 28,905
Website

Re: how to downgrade via yaourt

You could amend the PKGBUILD to point at an earlier version (provided it is still hosted on the source site).


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#7 2010-04-25 06:54:40

aaron.kilbride
Member
Registered: 2009-08-25
Posts: 65

Re: how to downgrade via yaourt

how would one do that?
and what websites host previous packages?

Offline

#8 2010-04-25 06:57:46

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 28,905
Website

Re: how to downgrade via yaourt

Just change pkgver to the version that you require. If it is still hosted on the source site, the PKGBUILD will download that version. Most open source projects continue to host previous versions....


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#9 2010-04-25 07:02:47

aaron.kilbride
Member
Registered: 2009-08-25
Posts: 65

Re: how to downgrade via yaourt

i know i'm gonna sound like a noob...
but what part of the pkg build do i edit exactly?

Offline

#10 2010-04-25 07:06:52

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 28,905
Website

Re: how to downgrade via yaourt

pkgver (the package version)...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#11 2010-04-25 07:21:19

aaron.kilbride
Member
Registered: 2009-08-25
Posts: 65

Re: how to downgrade via yaourt

for some reason i get a 404 error from the mozilla website whenever i change that line in the PKGBUILD.
like i can see the file when i look online, but for whatever reason it won't build it.
suggestion?

Offline

#12 2010-04-25 08:39:23

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: how to downgrade via yaourt

Nightly is always going to be the latest. You'll have to change the url as well. Have you considered learning shell scripting?


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#13 2010-04-26 03:37:13

aaron.kilbride
Member
Registered: 2009-08-25
Posts: 65

Re: how to downgrade via yaourt

i definitely have not! but i'd love to learn!
where should i start to learn how to do this fsckd?

Offline

#14 2010-04-26 05:58:59

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: how to downgrade via yaourt

You should also read the PKGBUILD man page and the wiki pages about package building. All the questions you have asked here are answered in the documentation.

For future reference, you should consider keeping a copy of locally installed packages for situations like this.

Offline

Board footer

Powered by FluxBB