You are not logged in.

#1 2009-05-13 11:05:49

the[V]oid
Member
From: Aachen, Germany
Registered: 2009-05-13
Posts: 5
Website

Problem updating a package using Yaourt [solved]

I am tryint to install Xmonad following this wiki article.
For the installation of packages from AUR I am using Yaourt. When I try to install the xmonad-contrib-darcs package I get this error:

Bad interface file: /usr/lib/utf8-string-0.3.4/ghc-6.10.2/Codec/Binary/UTF8/String.hi mismatched interface file versions (wanted "6103", got "6102")

So I performed the following to check out whether there is a newer version:

$ yaourt -Ss haskell-utf8-string
community/haskell-utf8-string 0.3.4-3 [installed] 
     Support for reading and writing UTF8 Strings
aur/haskell-utf8-string 0.3.4-4 [0.3.4-3 installed] (110)
    Support for reading and writing UTF8 Strings

So there is. But when ever I try to upgrade it by

yaourt -S -aur haskell-utf8-string

it remains the same version. What am I doing wrong?

Last edited by the[V]oid (2009-05-14 11:03:14)

Offline

#2 2009-05-13 11:18:30

blasse
Member
From: Poland
Registered: 2008-04-24
Posts: 303

Re: Problem updating a package using Yaourt [solved]

Try yaourt -Sb haskell-utf8-string (and eventually bump version yourself) or yaourt haskell-utf8-string and choose right one in interactive install.


Proud ex-maintainer of firefox-pgo

Offline

#3 2009-05-13 11:19:17

thisperishedmin
Member
Registered: 2008-11-04
Posts: 164

Re: Problem updating a package using Yaourt [solved]

I believe it would be:

yaourt -U --upgrade <file.pkg.tar.gz>

you should be able to do "yaourt -U --upgrade haskell-utf8-string" if you dont have the package on your computer. Disclaimer: Ive never updated one package before so I dont know for sure if that will work...

doing a "pacman -Syu"  would upgrade system wide.

yaourt -Su --aur

will upgrade all AUR packages.

Hope something here helps...I'm not TOO familiar with error messages and all yet - but I should be close =P

for more info:
http://bbs.archlinux.org/viewtopic.php?id=25718

Offline

#4 2009-05-13 11:19:53

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Problem updating a package using Yaourt [solved]

Firstly, yaourt is giving you wrong information. The package is in community only, not community and AUR. Secondly, if you actually checked the package details page, you would see that it has just been updated to day, so you will need to wait for your mirror to sync.

Finally, please use a more descriptive title in future. The thread title should summarise the topic under discussion.

Offline

#5 2009-05-14 05:54:10

blasse
Member
From: Poland
Registered: 2008-04-24
Posts: 303

Re: Problem updating a package using Yaourt [solved]

tomk wrote:

Firstly, yaourt is giving you wrong information. The package is in community only, not community and AUR.

Yaourt reports pkgs in community as binaries (community) and AUR (to build it yourself using attached pkgbuild).
It should be tha same version, but sometimes binary hits community a bit later than pkgbuild change


Proud ex-maintainer of firefox-pgo

Offline

#6 2009-05-14 10:56:32

the[V]oid
Member
From: Aachen, Germany
Registered: 2009-05-13
Posts: 5
Website

Re: Problem updating a package using Yaourt [solved]

blasse wrote:

Try yaourt -Sb haskell-utf8-string

Thanks, that worked for me!

Offline

Board footer

Powered by FluxBB