You are not logged in.

#1 2009-11-06 22:02:31

Willem
Member
From: Wellington, NZ
Registered: 2009-10-09
Posts: 18

[SOLVED] pacman -Syu does not upgrade package installed from AUR

Hi,

I downloaded and installed the catalyst package from AUR:
makepkg -s <package>
pacman -U <package>

/etc/pacman.conf:
[community]
Server = ftp://ftp.archlinux.org/community/os/i686

The package in AUR has since been updated, and I would have expected that if I do
"pacman -Syyu" the updated the catalyst package would be upgraded since the AUR package has been updated.

Also "pacman -Ss catalyst" does not report anything.
It is as if pacman does not know the package has been installed.

Do I have to manually upgrade the package from AUR everytime it is updated?
What do I have to do to include any package installed manually from AUR to be included in normal system sync/upgrade, i.e. "pacman -Syu" ?

Last edited by Willem (2009-11-06 22:20:02)

Offline

#2 2009-11-06 22:11:11

xduugu
Member
Registered: 2008-10-16
Posts: 292

Re: [SOLVED] pacman -Syu does not upgrade package installed from AUR

There are several tools for that task. Just have a look at http://wiki.archlinux.org/index.php?title=AUR_Helpers

Offline

#3 2009-11-06 22:16:32

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

Re: [SOLVED] pacman -Syu does not upgrade package installed from AUR

AUR is not an actual repo.  therefore pacman will not (and should not) monitor it for upgrades.  it is user contributed content that you can install at your own risk.

there are many wrapper programs to automate this and notify you of upgrades.  i suggest you read up on the AUR wiki and use some wrapper: yaourt, slurpy, aurget, etc. 

i would suggest slurpy
  rson wrote it and it is awesome.
  it doesn't automate installing, just searching/downloading

or aurget
  i wrote it and it is awesome. 
  automates search/build/install
  notifies of updates
  looks like pacman but is only for the AUR

yaourt seems to be the fan favorite but
  it's buggy,
  it hides the internals of aur use from the user
  it handles all pacman and aur duties together, thus blurring the line and furthering the misconception that the AUR is an actual repo,
  it gets new users into trouble that they don't yet understand,
  i hear it's not maintained anymore.

pacman alone will never interface with the AUR in any way.

Offline

#4 2009-11-06 22:22:33

Willem
Member
From: Wellington, NZ
Registered: 2009-10-09
Posts: 18

Re: [SOLVED] pacman -Syu does not upgrade package installed from AUR

Thanks, I wrongly assumed that AUR == [community]

I was confused because when I did a pacman -Syu, it complained that I couldn't upgrade to Xorg 1.7, because catalyst requires Xorg < 1.7,
so I couldn't understand why it knows about the dependencies for catalyst, but does not know about catalyst itself if I do: "pacman -Ss catalyst".

Last edited by Willem (2009-11-06 22:28:10)

Offline

#5 2009-11-06 22:40:34

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

Re: [SOLVED] pacman -Syu does not upgrade package installed from AUR

Once the package is installed, pacman will know about it because it is no longer AUR, it is now [local]; so it will make sure you don't screw with its dependencies and it will let you uninstall it later.  i.e. it will show up with -Qs but never with -Ss

make sense?

Offline

#6 2009-11-06 22:46:32

Willem
Member
From: Wellington, NZ
Registered: 2009-10-09
Posts: 18

Re: [SOLVED] pacman -Syu does not upgrade package installed from AUR

Yes, thanks very much.

aurget is exactly what I need.

Thanks again.

Offline

Board footer

Powered by FluxBB