You are not logged in.

#1 2006-10-07 14:38:55

wolk
Member
From: Poland
Registered: 2006-02-16
Posts: 36

upgrading system with abs

Is there some way to upgrade system with abs in the same manner as pacman -Su does?

Offline

#2 2006-10-07 14:45:41

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: upgrading system with abs

So you want to recompile the whole system?  I can't remember how it works, but you may be interested in makeworld, which comes with pacman (makeworld -h to learn how to use it.) For more control, take a look at srcpac, which is available in [extra].

Dusty

Offline

#3 2006-10-08 00:45:45

wolk
Member
From: Poland
Registered: 2006-02-16
Posts: 36

Re: upgrading system with abs

No i don't want to recompile whole system i only want to compile the packgages that have newer versions.

Offline

#4 2006-10-08 01:52:21

bluePoet
Member
From: Düsseldorf, Germany
Registered: 2006-01-09
Posts: 38
Website

Re: upgrading system with abs

aren't the packages in current and extra build with the PKGBUILDs in abs, so if you compile them yourself, it wouldn't make any difference than sync with pacman -Syu

Offline

#5 2006-10-08 02:22:43

stonecrest
Member
From: Boulder
Registered: 2005-01-22
Posts: 1,190

Re: upgrading system with abs

bluePoet wrote:

aren't the packages in current and extra build with the PKGBUILDs in abs, so if you compile them yourself, it wouldn't make any difference than sync with pacman -Syu

They are, but it's extremely easy to change the version number and regenerate a new arch package.


I am a gated community.

Offline

#6 2006-10-08 11:00:46

detto
Member
Registered: 2006-01-23
Posts: 510

Re: upgrading system with abs

Maybe "yaourt" is something you're searching for.
It's in AUR. With it you can search fo packages in repositories and AUR at same time, in colors big_smile
Well, to upgrade packages that have newer versions (so, ye just upgrad lol ) you can do the following then

yaourt -Sybu --aur

This will upgrad your whole system to newest package versions including the AUR and with using PKGBUILDS for current,extra repositories. smile


cheers,
detto

Offline

#7 2006-10-08 17:20:03

bluePoet
Member
From: Düsseldorf, Germany
Registered: 2006-01-09
Posts: 38
Website

Re: upgrading system with abs

They are, but it's extremely easy to change the version number and regenerate a new arch package.

yes, i know, but he wants to update the system like using pacman -Su, which means to me: update to the latest official package version, which in my understanding lead to the same result...

Offline

#8 2006-10-08 19:09:28

wolk
Member
From: Poland
Registered: 2006-02-16
Posts: 36

Re: upgrading system with abs

blue poet of course i can upgrade them manually but when there is a lot of packages it's extremly uncomfortable. Beside when i execute pacman -Su it ask if i want replece devfs with udev, and abs will not ask me and i dont know how to replece it manually(pacman can change some system scripts e.g. init scripts)

Offline

#9 2006-10-08 20:18:52

bluePoet
Member
From: Düsseldorf, Germany
Registered: 2006-01-09
Posts: 38
Website

Re: upgrading system with abs

blue poet of course i can upgrade them manually but when there is a lot of packages it's extremly uncomfortable.

no, I never meant you have to update manually, but unless you manually change the PKGBUILDs in abs you get the same packages which you would get with pacman -Su

Beside when i execute pacman -Su it ask if i want replece devfs with udev, and abs will not ask me and i dont know how to replece it manually(pacman can change some system scripts e.g. init scripts)

maybe I'm wrong, but IIRC you still have to use pacman to install the packages you created using abs and it will ask you about udev and things :?

Offline

#10 2006-10-08 20:59:56

wolk
Member
From: Poland
Registered: 2006-02-16
Posts: 36

Re: upgrading system with abs

i won't gate same packages because i compile with my own flags.

Offline

#11 2006-10-09 01:05:22

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: upgrading system with abs

you could do a little bashin'

pacman -Q |awk -F" " {'print $1'} >file
srcbuild -Syb --noconfirm `cat file`

Offline

Board footer

Powered by FluxBB