You are not logged in.

#1 2010-05-11 16:43:24

Fingel
Member
Registered: 2009-02-28
Posts: 98

[SOLVED] Question about package updates and ABS

Hello,
I have manually compile my kernel in order to apply a patch my laptop needs to suspend. So I use abs and customize the pkgbuild. A few days ago when the update for kernel26-2.6.33.3-2 came out, I thought I'd just refresh abs, rebuild, and then I'd be up to date. But instead now pacman -Syu tells me that there is still an update for the kernel.
Does building from ABS not get you the latest package update?
Also, what exactly is the package update compared to a software update? I'm guessing that it is an arch only update to the package but the software itself is the same version. Or am I totally off?
Thanks for the help!

Last edited by Fingel (2010-05-12 03:42:38)

Offline

#2 2010-05-11 17:06:29

brisbin33
Member
From: boston, ma
Registered: 2008-07-24
Posts: 1,796
Website

Re: [SOLVED] Question about package updates and ABS

When building via ABS, the package installed gets its version from the PKGBUILD ($pkgver-$pkgrel).  Pacman just looks at available version vs installed version to tell if you should upgrade.

Your abs tree was probably just not up to date; just because pacman -Syu says your mirror has a package, doesn't mean building via abs _at that moment_ will get that version.

Be sure to run `abs` to update your tree, then when you're editing the PKGBUILD, check which version it's building.  In some cases, you can simply increment those numbers right in the PKGBUILD before building as source files are often fetched based on those variables, etc. -- but I don't know if I'd recommend that when building something like the kernel.

Last edited by brisbin33 (2010-05-11 17:08:12)

Offline

#3 2010-05-11 22:45:26

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,427
Website

Re: [SOLVED] Question about package updates and ABS

The ABS tree updates onces a day.

Offline

#4 2010-05-11 22:50:24

Fingel
Member
Registered: 2009-02-28
Posts: 98

Re: [SOLVED] Question about package updates and ABS

Thanks guys. I refreshed ABS and rebuilt the kernel today, and I notice the pkgrel number went up. Worked like a charm.
Still curious though, what exactly is a package release update? Are there changelogs somewhere I can read?

Offline

#5 2010-05-11 22:52:26

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,356

Re: [SOLVED] Question about package updates and ABS

Read the PKGBUILD, it gives url="somewebsiteorother". Basically, check upstream.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#6 2010-05-11 22:55:07

Fingel
Member
Registered: 2009-02-28
Posts: 98

Re: [SOLVED] Question about package updates and ABS

ngoonee wrote:

Read the PKGBUILD, it gives url="somewebsiteorother". Basically, check upstream.

Package releases as opposed to software releases seem to be independent (afaik) of upstream development. I was curious if there was a place to see what has changed in the package releases.

Offline

#7 2010-05-11 22:57:25

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: [SOLVED] Question about package updates and ABS

sure:
http://www.archlinux.org/packages/

go to svn/trunk, "view log":

upgpkg: kernel26 2.6.33.3-2
bump to new aufs2 release

Last edited by hokasch (2010-05-11 22:59:06)

Offline

Board footer

Powered by FluxBB