You are not logged in.

#1 2005-12-03 18:53:19

eyolf
Member
From: Copenhagen
Registered: 2005-11-29
Posts: 339
Website

Older version of gnutls needed

I have come across this problem twice already, in my short life as an Archer. I install a package with pacman, and when I try to run the program, I get this message:

gucharmap: /usr/lib/libgnutls.so.12: version `GNUTLS_1_2' not found (required by /opt/gnome/lib/libgnomevfs-2.so.0)

but if this means I need gnutls v. 1.2.something, then I already have it:

# pacman -S gnutls
:: gnutls-1.3.0-1: is up to date.  Upgrade anyway? [Y/n] n

1. is this a dependency bug?
2. if so, should I report it?
3. can I downgrade a package?
4. how many other apps will then break...?

Offline

#2 2005-12-03 19:37:39

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

Re: Older version of gnutls needed

No, it's not a bug. You have gnutls 1.3.0 installed, which is still in [testing]. The stable version in [current] is 1.2.9, and it includes the referenced file /usr/lib/libgnutls.so.12. gucharmap is in [extra], and is therefore expecting to find the stable gnutls, not the new version from [testing].

Downgrade gnutls and you'll be fine - you'll need to do

pacman -S current/gnutls

to get the right version.

Offline

#3 2005-12-03 19:42:11

stavrosg
Member
From: Rhodes, Greece
Registered: 2005-05-01
Posts: 330
Website

Re: Older version of gnutls needed

1. It is probably a bug of the other package, not the upgraded, and
2. Yes, you should report it to get fixed
3. The packages you download are stored in /var/cache/pacman/pkg , and if you didn't clean it manually, or through pacman -Sc[c] , the previous package should be there.

Downgrading is a matter of issuing pacman -U /var/cache/pacman/pkg/package-18.3.4-5.pkg.tar.gz
usually

4. Depends. Unless there was another package in the update that needed specifically the version you are downgrading from, there  shouldn't be any problem

EDIT: Oh, I didn't notice you put a package from [testing]. They stay there for a reason, you know... wink

Offline

#4 2005-12-03 20:18:46

eyolf
Member
From: Copenhagen
Registered: 2005-11-29
Posts: 339
Website

Re: Older version of gnutls needed

Thanks for your replies - I will be more careful with the versions I install hereafter :-)

Offline

#5 2005-12-04 01:36:57

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

Re: Older version of gnutls needed

You'll have to be prepared for this kind of thing if you're using the testing repo. I find the best way to do it is to put testing at the end of the repo list in pacman.conf. pacman checks them in list order, so you'll only get a testing package if you specifically ask for it.

Offline

#6 2005-12-04 13:12:40

JGC
Developer
Registered: 2003-12-03
Posts: 1,664

Re: Older version of gnutls needed

Testing is our playground. As with every major upgrade of an important lib as gnutls, things break. This time only a few packages were affected because we did Operation Libtool-slay a while ago. Without this, we should have to recompile every single package that depends on gnome-vfs. Isn't that sweet? wink

Offline

Board footer

Powered by FluxBB