You are not logged in.

#1 2008-01-13 16:48:45

jacko
Member
Registered: 2007-11-23
Posts: 840

yaourt and packages that have been moved from AUR to community

Well first off, why does yaourt even wanna build the package if it has been removed? I did a search in the AUR and all I see is stress 1.0.0-1. I thought I read somewhere that yaourt is a wrapper for pacman and therefor would search the repositories before it searches the AUR for the program?

[jasin@kermit ~]$ yaourt -S stress

==> Downloading stress PKGBUILD from AUR...
==> WARNING: It seems like stress was removed from AUR probably for security reason. Please Abort
stress 0.18.9-1 (NOT SAFE): A tool that stress tests your system (CPU, memory, I/O, disks)

==> stress dependencies:
 - glibc (already installed)
==>  Edit the PKGBUILD (recommended) ? [Y/n] ("A" to abort)
==>   ----------------------------------------------
==>n

==>  Continue the building of 'stress'? [Y/n] 
==>   ----------------------------------------------
==>n

[jasin@kermit ~]$ sudo pacman -S stress
resolving dependencies...
looking for inter-conflicts...

Targets: stress-1.0.0-1  

Total Download Size:    0.01 MB
Total Installed Size:   0.04 MB

Proceed with installation? [Y/n] y
:: Retrieving packages from community...
 stress-1.0.0-1             9.6K   23.4K/s 00:00:00 [#####################] 100%
checking package integrity...
(1/1) checking for file conflicts                   [#####################] 100%
(1/1) installing stress

This doesn't seem right to me either... is it just me or should yaourt be informed on where stress has gone if it has been removed from AUR and not just leave yaourt open ended with a basic error?

I tried

[jasin@kermit ~]$ yaourt -S community/stress

==> Downloading community/stress PKGBUILD from AUR...
Error: community/stress not found in AUR.

but yaourt thinks it should be a package in AUR. sad But I presume this should be added functionality in yaourt to work like pacman?

Last edited by jacko (2008-01-13 16:52:56)

Offline

#2 2008-01-13 17:33:00

somairotevoli
Member
Registered: 2006-05-23
Posts: 335

Re: yaourt and packages that have been moved from AUR to community

maybe try syncing

yaourt -Sy

Offline

#3 2008-01-13 17:39:20

jacko
Member
Registered: 2007-11-23
Posts: 840

Re: yaourt and packages that have been moved from AUR to community

somairotevoli wrote:

maybe try syncing

yaourt -Sy

it didn't work, but then again according to  the documentation it shouldn't. That ^^^ command is the same as pacman -Sy. wink

I did try it though.

Offline

#4 2008-01-13 17:52:11

somairotevoli
Member
Registered: 2006-05-23
Posts: 335

Re: yaourt and packages that have been moved from AUR to community

hmm, works here.
How long ago was it added to community? Maybe the repo your using isn't updated yet?

Offline

#5 2008-01-13 19:24:50

jacko
Member
Registered: 2007-11-23
Posts: 840

Re: yaourt and packages that have been moved from AUR to community

somairotevoli wrote:

hmm, works here.
How long ago was it added to community? Maybe the repo your using isn't updated yet?

hmm, maybe I should update yaourt... I never thought about it but yaourt will not update itself.

edit:

yaourt -Su --aur

smile yes, that fixed it. never thought about updating AUR packages.

would be alright to add something like this to .bashrc to make this whole process a one time command?

alias pac-update="yaourt -Syyu | yaourt -Su --aur"

the answer to this ^^^ is NO, because the second command locks the database. U would need a way to tell it to pause until the first command finished, then issue the second command. I quite frankly do not understand enough of linux bash programming to accomplish that ATM.

Last edited by jacko (2008-01-13 19:40:44)

Offline

#6 2008-01-13 22:16:49

wain
Member
From: France
Registered: 2005-05-01
Posts: 289
Website

Re: yaourt and packages that have been moved from AUR to community

Hi jacko,

First, add this repository in pacman.conf:

[archlinuxfr]
Server = http://repo.archlinux.fr/i686

yaourt will always be up to date now smile

To update packages from AUR Unsupported automatically with -Su, you can uncomment this line in yaourtrc:

AlwaysUpgradeAur yes

see more with man yaourtrc  smile

Offline

#7 2008-01-13 22:50:30

jacko
Member
Registered: 2007-11-23
Posts: 840

Re: yaourt and packages that have been moved from AUR to community

wain wrote:

Hi jacko,

First, add this repository in pacman.conf:

[archlinuxfr]
Server = http://repo.archlinux.fr/i686

yaourt will always be up to date now smile

To update packages from AUR Unsupported automatically with -Su, you can uncomment this line in yaourtrc:

AlwaysUpgradeAur yes

see more with man yaourtrc  smile

#1: Problem: I have Arch 64 installed. That is a repository for i686. smile

#2: thanks for the heads up, I never realized config files had man pages till I started using arch. pacman.conf was the first one that surprised me. I will now read the man pages for yaourtrc.

Offline

#8 2008-01-13 23:05:19

wain
Member
From: France
Registered: 2005-05-01
Posts: 289
Website

Re: yaourt and packages that have been moved from AUR to community

jacko wrote:

#1: Problem: I have Arch 64 installed. That is a repository for i686. smile

Cool ! so you can use this one cool:

[archlinuxfr]
Server = http://repo.archlinux.fr/x86_64

Offline

Board footer

Powered by FluxBB