You are not logged in.
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
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
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...
Offline
Thanks for your replies - I will be more careful with the versions I install hereafter :-)
Offline
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
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?
Offline