You are not logged in.
Pages: 1
Hi. New convert here! I'm having a slight problem. I need glib2 2.31 (or later) for a program I'm working on, but the glib2 version in the official repositories is 2.30. I installed the glib2-unstable package from AUR (which replaced the official version). Now I want to upgrade my packages and pacman tells me I need to remove glib2-unstable. Is there a way I can keep the 2.31 version and upgrade my system without breaking it?
Last edited by homayoon (2012-04-11 21:30:58)
Offline
if you need gnome 3.4 we have it in testing. Just enable [testing] repository and do pacman -Syu
Give what you have. To someone, it may be better than you dare to think.
Offline
No, I don't need gnome. It's a program I'm writing myself that uses a couple of the newly introduced functions in glib 2.31. I started developing it when I was still using Ubuntu and things started to break when I switched to Arch. I could change those for some other functions, but they've been deprecated and some are not as efficient as the newer alternatives.
Offline
No, I don't need gnome. It's a program I'm writing myself that uses a couple of the newly introduced functions in glib 2.31. I started developing it when I was still using Ubuntu and things started to break when I switched to Arch. I could change those for some other functions, but they've been deprecated and some are not as efficient as the newer alternatives.
glib2 version is correctlated with gnome. So if you need glib 2.32,enable testing and do pacman -Syu
Give what you have. To someone, it may be better than you dare to think.
Offline
glib2 version is correctlated with gnome. So if you need glib 2.32,enable testing and do pacman -Syu
Okay. So I did that. This is what I get:
looking for inter-conflicts...
:: glib2 and glib2-unstable are in conflict. Remove glib2-unstable? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)
:: gcc: requires gcc-libs=4.7.0-3And this is what I get by running "pacman -Q gcc-libs":
gcc-libs 4.7.0-3Last edited by homayoon (2012-04-11 20:38:22)
Offline
that's a pacman bug, do pacman -S pacman && pacman -Su
Give what you have. To someone, it may be better than you dare to think.
Offline
Thanks. That got things rolling. My Internet connection is very slow, so it'll take a while to download ~120MB of packages. I see a glib-networking-2.32.0-1 among the packages being downloaded, but no glib. Still, it's a good sign! Meanwhile, until I make sure that everything is all right, may I ask what the pacman bug you are referring to is and how I can recognize it later, if I run into it again?
Offline
you won't run into bug again. was fixed in pacman 4.0.3
Give what you have. To someone, it may be better than you dare to think.
Offline
So the upgrade completed. I then ran "pacman -S glib2" and replied "yes" when it asked me if I want to replace glib2-unstable. Everything's fine. Thank you.
Offline
Pages: 1