PDA

View Full Version : This is how we get old kernels in Arch.


handy
October 21st, 2008, 08:58 AM
*** Please if you notice the following needs editing due to changes upstream, please PM/email me with the details so I can keep the information current? Thankyou. ***
_______________


Here is some very valuable information that I have lifted from a reply to my questions in the Arch forum (http://bbs.archlinux.org/), asking why recent kernels aren't in AUR & I stated that we need easy access to superseded kernels:
_______________

It is clearly stated in the AUR guidelines:

Check [core], [extra], , and [community] for the package. If it is inside any of those repositories in ANY form, DO NOT submit the package (if the current package is broken or is lacking an included feature then please file a bug report in FlySpray).

However, since all official packages are maintained in a SVN repository, accessing previous kernel versions is as simple as:


. /etc/makepkg.conf
svn export -r[REV] svn://svn.archlinux.org/srv/svn-packages/kernel26/repos/core-$CARCH kernel26

Where [REV] is the revision you want to export. To find out which revision corresponds to which kernel, have a look at: [U]i686 (http://repos.archlinux.org/viewvc.cgi/kernel26/repos/core-i686/PKGBUILD?view=log) or x86_64 (http://repos.archlinux.org/viewvc.cgi/kernel26/repos/core-x86_64/PKGBUILD?view=log).

For example, if I were to get the 2.6.26.x kernel (latest was 2.6.26.5) for the i686 architecture, I'd proceed like this:


. /etc/makepkg.conf
svn export -r12086 svn://svn.archlinux.org/srv/svn-packages/kernel26/repos/core-$CARCH kernel26

will1911a1
October 21st, 2008, 09:28 AM
Very informative, thanks!

handy
October 21st, 2008, 09:35 AM
Very informative, thanks!

I'm so happy to have finally got that knowledge.

The problem is that there is just so much to know, & I keep on forgetting stuff too! :lolflag:

It's like filling a leaky bucket.

will1911a1
October 21st, 2008, 09:37 AM
I'm so happy to have finally got that knowledge.

The problem is that there is just so much to know, & I keep on forgetting stuff too! :lolflag:

It's like filling a leaky bucket.

I have that same problem. I keep meaning to write things like this down and keeping them on file but I never do.

handy
October 21st, 2008, 09:41 AM
I have that same problem. I keep meaning to write things like this down and keeping them on file but I never do.

I've currently got about 800 well organised Bookmarks. They really help me to be able to access information. But it is a far from comprehensive method & I forget what I have Bookmarked as well. :lolflag:

Majorix
October 21st, 2008, 10:05 AM
I haven't come across any problems due to a kernel upgrade (maybe because I never turn on Testing), but if I ever do I will make sure to check those instructions. Thanks.

handy
October 21st, 2008, 05:26 PM
I haven't come across any problems due to a kernel upgrade (maybe because I never turn on Testing), but if I ever do I will make sure to check those instructions. Thanks.

I never turn on testing either.

There is a current problem that has affected quite a few Arch & anyone else who updates there kernel quickly. It has caused the less skilled to be jumping about a bit trying to understand what is wrong, & how to fix it. It has settled down now, though anyone who is prone to it who does an -Syu will still get into trouble, they will find solutions quickly here & on the Arch forum, though I don't think there has been anything mentioned on the Arch main page yet.

crimesaucer
October 21st, 2008, 06:11 PM
Good info on the back up kernels, thanks.


I had no problem with the testing repository on my i686 celeron m.... but I've had bad luck with testing packages and the x86_64 (AMD Turion 64x2), and my nvidia driver (GeForce 7150M / nForce 630M).....


Now that I build my system completely from source, I don't want to ruin it with any testing breakages.

handy
October 21st, 2008, 11:00 PM
Good info on the back up kernels, thanks.


I had no problem with the testing repository on my i686 celeron m.... but I've had bad luck with testing packages and the x86_64 (AMD Turion 64x2), and my nvidia driver (GeForce 7150M / nForce 630M).....


Now that I build my system completely from source, I don't want to ruin it with any testing breakages.

:lolflag: I can certainly understand that!

K.Mandla
October 22nd, 2008, 09:20 AM
Stickied. This is great information, and something every Archer should at least be aware of ... and pray they never need to use. ;)

mrunion
January 24th, 2009, 12:33 AM
Just a note, the "home" in the path above should now be "srv".

wolfvorkian1
January 27th, 2009, 08:44 PM
Just a note, the "home" in the path above should now be "srv".

Thanks very much for your post. I was pulling my hair trying to get Handy's commands to work being some were having the new kernel do nasty things to their system and the terminal kept telling me to get bent when I copied and pasted even his example into it.

Now it works like a charm. But so does the new kernel .

handy
January 28th, 2009, 03:56 AM
I just spotted this, sorry I haven't kept it up to date, I'll edit it now, let me know if I got it wrong please? :-)

A PM/email is ideal as it will get me moving quicker.