You are not logged in.

#1 2013-10-26 17:56:00

tandycorp
Member
Registered: 2007-07-01
Posts: 65

[SOLVED] Strange conflict cannot upgrade

Basically, I had switched driver from nvidia to nouveau then to nvidia again. It worked flawless but look now:

[fco@archost ~]$ sudo pacman -Su
:: Starting full system upgrade...
resolving dependencies...
:: There are 3 providers available for libgl:
:: Repository extra
   1) mesa-libgl  2) nvidia-304xx-utils  3) nvidia-libgl

Enter a number (default=1): 
looking for inter-conflicts...
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: nvidia-libgl and mesa-libgl are in conflict
[fco@archost ~]$ sudo pacman -Rdd nvidia-libgl
error: target not found: nvidia-libgl
[fco@archost ~]$ sudo pacman -Rdd mesa-libgl
error: target not found: mesa-libgl
[fco@archost ~]$ 

So there was a conflict between mesa-libgl and nvidia-libgl when switching to nvidia. I needed to use pacman -Rdd, which is problably not the best command. But using only -Rd would have removed way too much dependencies... So I removed mesa and installed and keep only nvidia-libgl.. for a while and everything went fine...
But in the code posted up here, I cannot upgrade even if the two of them are removed. (I just removed nvidia-libgl)

With nvidia-libgl installed I get this

[fco@archost ~]$ sudo pacman -S nvidia-libgl
resolving dependencies...
looking for inter-conflicts...

Packages (1): nvidia-libgl-325.15-1

Total Installed Size:   0.02 MiB

:: Proceed with installation? [Y/n] 
(1/1) checking keys in keyring                     [######################] 100%
(1/1) checking package integrity                   [######################] 100%
(1/1) loading package files                        [######################] 100%
(1/1) checking for file conflicts                  [######################] 100%
(1/1) checking available disk space                [######################] 100%
(1/1) installing nvidia-libgl                      [######################] 100%
[fco@archost ~]$ sudo pacman -Su
:: Starting full system upgrade...
resolving dependencies...
looking for inter-conflicts...
:: mesa-libgl and nvidia-libgl are in conflict (libgl). Remove nvidia-libgl? [y/N] 

Last edited by tandycorp (2013-10-26 18:17:22)

Offline

#2 2013-10-26 18:01:17

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Strange conflict cannot upgrade

What's the output of 'checkupdates'?

Offline

#3 2013-10-26 18:03:44

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,654

Re: [SOLVED] Strange conflict cannot upgrade

pacman -Q | grep -- -dri
pacman -Q glamor-egl

Anything that shows up from either command needs removed.

Offline

#4 2013-10-26 18:07:02

tandycorp
Member
Registered: 2007-07-01
Posts: 65

Re: [SOLVED] Strange conflict cannot upgrade

karol wrote:

What's the output of 'checkupdates'?

[fco@archost ~]$ checkupdates
a52dec
aalib
accountsservice
acl
afpfs-ng
aria2
at-spi2-core
banshee
boost
boost-libs
bzip2
c-ares
cairo-dock
cairo-dock-plugins
celt
cheese
cloog
cpupower
cups
cups-filters
cups-pdf
curl
dbus
dialog
dnsmasq
dosfstools
e2fsprogs
elfutils
enca
evolution-data-server
exempi
exiv2
expat
faac
faad2
ffmpeg
fftw
file-roller
fuse
gcc
gcc-libs
gcr
gd
geoip
git
glib-networking
glib2
glibc
gmp
gmtk
gnome-color-manager
gnome-menus
gnome-online-accounts
gnutls
gsettings-desktop-schemas
gst-plugins-bad
gstreamer0.10-bad
gstreamer0.10-bad-plugins
gtk3
harfbuzz
harfbuzz-icu
hplip
hunspell
ilmbase
imagemagick
imlib2
isl
jasper
lame
lcms
lcms2
lib32-acl
lib32-dbus
lib32-fontconfig
lib32-gcc-libs
lib32-glibc
lib32-libdrm
lib32-mesa
lib32-mesa-libgl
libarchive
libass
libasyncns
libavc1394
libbsd
libcaca
libcdaudio
libcddb
libcups
libdc1394
libdca
libdrm
libdv
libevent
libexif
libftdi
libgdm
libglade
libgnome-keyring
libgweather
libical
libice
libid3tag
libidn
libimobiledevice
libjpeg-turbo
liblrdf
libltdl
libmad
libmikmod
libmng
libmpc
libmtp
libnfs
libogg
libpciaccess
libpng
libquvi-scripts
libraw1394
libreoffice-common
libreoffice-fr
libreoffice-gnome
libreoffice-impress
libreoffice-writer
librsvg
libsamplerate
libshairport
libshout
libsm
libsndfile
libsoup
libtaginfo
libtasn1
libtiff
libtool
libutempter
libvpx
libwbclient
libxau
libxinerama
libxml2
libxrandr
libxslt
libxss
linux
lirc-utils
logrotate
lua51-socket
make
mpfr
mplayer
musicbrainz
mutter-wayland
ncurses
nouveau-dri
nvidia
openbox
openexr
openssl
opus
pacman
pam
parole
pcre
pkgstats
pygobject-devel
python-gobject
python2-gobject
python2-pillow
python2-sip
python2-wnck
qpdf
qt4
qtwebkit
raptor
readline
rtmpdump
s-nail
schroedinger
sdl
sg3_utils
shadow
shared-mime-info
sip
smbclient
soprano
speex
sqlite
startup-notification
systemd
systemd-sysvcompat
sysvinit-tools
t1lib
taglib
unixodbc
upower
util-linux
v4l-utils
virtuoso-base
vte-common
vte3
wavpack
webkitgtk
webkitgtk2
wine
xkeyboard-config
xmlrpc-c
xorg-xauth
xvidcore
xz
yajl
zenity
zlib

Offline

#5 2013-10-26 18:07:58

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Strange conflict cannot upgrade

Why do you still have nouveau-dri installed?
Do what Scimmia says.

Offline

#6 2013-10-26 18:09:39

tandycorp
Member
Registered: 2007-07-01
Posts: 65

Re: [SOLVED] Strange conflict cannot upgrade

Scimmia wrote:

pacman -Q | grep -- -dri
pacman -Q glamor-egl

Anything that shows up from either command needs removed.

[fco@archost ~]$ pacman -Q | grep -- -dri
nouveau-dri 9.2.1-1
[fco@archost ~]$ pacman -Q glamor-egl
error: package 'glamor-egl' was not found

Found it thanks!
Removed nouveau-dri

Upgrade works thanks

Offline

Board footer

Powered by FluxBB