You are not logged in.

#1 2014-01-15 21:22:59

jwhendy
Member
Registered: 2010-04-01
Posts: 621

Best practice for replacing a package with equivalent, lots of deps

I was having CPU issues, posted about a bit back in another thread, which brought up the fact that it might have been related to the nvidia version at that time (325.15). As a result, I switched to nvidia-beta and nvidia-utils-beta from AUR.

Nvidia from extra is now up to 331.20, and I was thinking of switching back so that I wouldn't always be surprised after a kernel update that no screens were found (AUR packages don't tend to flag updates just because linux updated). Not a big deal, as I just have to re-build the AUR package and I'm set. Anyway, I was going to switch back to the standard nvidia packages, but am not sure what to do about the dependencies on libgl, provided by nvidia-libgl-beta (a split-package provided by nvidia-utils-beta):

$ sudo pacman -S nvidia
resolving dependencies...
looking for inter-conflicts...
:: nvidia and nvidia-beta are in conflict. Remove nvidia-beta? [y/N] y
:: nvidia-utils and nvidia-utils-beta are in conflict. Remove nvidia-utils-beta? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)
:: nvidia-libgl-beta: requires nvidia-utils-beta

$ sudo pacman -R nvidia-libgl-beta
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: cairo: requires libgl
:: freeglut: requires libgl
:: glu: requires libgl
:: libva: requires libgl
:: qt4: requires libgl
:: webkitgtk2: requires libgl
:: xorg-xdriinfo: requires libgl

$ sudo pacman -Rc nvidia-libgl-beta
checking dependencies...
:: avahi optionally requires gtk3: avahi-discover-standalone, bshell, bssh, bvnc
:: avahi optionally requires gtk2: gtk2 bindings
:: avahi optionally requires qt4: qt4 bindings
:: avahi optionally requires pygtk: avahi-bookmarks, avahi-discover
:: boost-libs optionally requires openmpi: for mpi support
:: chromium-libpdf optionally requires chromium: default browser to use plugin in (one of the optional dependencies needs to be installed to use the library)
:: dconf optionally requires gtk3: for dconf-editor
:: ghostscript optionally requires gtk2: needed for gsx
:: gvfs optionally requires gtk3: Recent files support
:: harfbuzz optionally requires cairo: hb-view program
:: imagemagick optionally requires librsvg: for SVG support
:: jasper optionally requires freeglut: for jiv support
:: jasper optionally requires glu: for jiv support
:: jre7-openjdk optionally requires gtk2: for the Gtk+ look and feel - desktop usage
:: libtiff optionally requires freeglut: for using tiffgt
:: libwebp optionally requires freeglut: vwebp viewer
:: mjpegtools optionally requires gtk2: glav GUI
:: nvidia-utils-beta optionally requires gtk2: nvidia-settings
:: pinentry optionally requires gtk2: for gtk2 backend
:: pinentry optionally requires qt4: for qt4 backend
:: smpeg optionally requires glu: to use glmovie
:: v4l-utils optionally requires qt4
:: wicd optionally requires wicd-gtk: needed if you want the GTK interface
:: xdg-utils optionally requires exo: for Xfce support in xdg-open

Packages (102): anycoloryoulike-icon-theme-0.9.4-2  arpack-3.1.2-2  bleachbit-1.0-1  cairo-1.12.16-1  chromium-31.0.1650.63-1  chromium-pepper-flash-stable-2:11.9.900.170-1
                cups-1.7.0-2  cups-filters-1.0.43-1  cups-pdf-2.6.1-2  darktable-1.4-2  dia-0.97.2-5  dropbox-2.6.2-1  emacs-24.3-4  enblend-enfuse-4.1.1-5  evince-gtk-3.10.3-1
                exo-0.10.2-2  farstream-0.1-0.1.2-3  ffmpeg-1:2.1.1-3  finch-2.10.7-4  firefox-26.0-2  flashplugin-11.2.202.332-1  foomatic-db-engine-2:4.0.9_20131201-1
                freeglut-2.8.1-1  geeqie-1.1-2  gegl-0.2.0-10  gimp-2.8.10-1  girara-gtk3-0.1.9-1  glew-1.10.0-2  glu-9.0.0-2  gmtp-1.3.4-1  gnome-icon-theme-3.10.0-1
                gnome-icon-theme-symbolic-3.10.1-1  gnome-themes-standard-3.10.0-1  gstreamer0.10-bad-plugins-0.10.23-7  gtk-engine-murrine-0.98.2-1  gtk-engines-2.21.0-1
                gtk2-2.24.22-1  gtk3-3.10.6-1  gtkspell-2.0.16-3  guvcview-1.7.2-1  hplip-3.13.11-2  hugin-2013.0.0-5  hwloc-1.8-1  impressive-0.10.3-8  jumanji-20110811-1
                libglade-2.6.4-5  libgxps-0.2.2-3  libpurple-2.10.7-4  libreoffice-base-4.1.4-1  libreoffice-calc-4.1.4-1  libreoffice-common-4.1.4-1  libreoffice-draw-4.1.4-1
                libreoffice-gnome-4.1.4-1  libreoffice-impress-4.1.4-1  libreoffice-writer-4.1.4-1  librsvg-1:2.40.1-3  libtiger-0.3.4-3  libunique-1.1.6-5  libva-1.2.1-1
                libva-vdpau-driver-0.7.4-1  libxfce4ui-4.10.0-1  libxfcegui4-4.10.0-1  lxappearance-0.5.5-1  meshlab-1.3.2-4  mpd-0.18.6-1  obconf-2.0.4-1  octave-3.6.4-6
                openbox-3.5.2-6  openmpi-1.6.5-1  pango-1.36.1-1  pangox-compat-0.0.2-1  pdf2svg-0.2.1-7  pidgin-2.10.7-4  poppler-0.24.5-1  poppler-glib-0.24.5-1
                pygtk-2.24.0-3  python2-cairo-1.10.0-1  python2-gconf-2.28.1-8  python2-opengl-3.0.2-5  qt4-4.8.5-7  qtwebkit-2.3.3-1  r-3.0.2-1  rstudio-desktop-bin-0.98.490-1
                screenkey-0.2-5  scribus-1.4.3-2  thunar-1.6.3-1  tint2-svn-652-3  truecrypt-1:7.1a-2  vlc-2.1.2-1  webkitgtk2-1.10.2-8  wicd-gtk-1.7.2.4-9  wxgtk-3.0.0-2
                wxgtk2.8-2.8.12.1-1  xfburn-0.4.3-6  xorg-utils-7.6-8  xorg-xdriinfo-1.0.4-3  xscreensaver-arch-logo-5.26-3  zathura-0.2.6-1  zathura-pdf-mupdf-0.2.5-3
                zukitwo-theme-openbox-20111021-3  zukitwo-themes-20131210-1  nvidia-libgl-beta-331.38-1

Total Removed Size:   1756.12 MiB

:: Do you want to remove these packages? [Y/n]

As you might imagine, I'd prefer not to remove all of those packages just to switch my libgl providing package and then re-install.

In digging around, I found this entry on downgrading packages without respecting dependencies.

Is that the best method for doing what I describe above as well? Would I do something like `pacman -Rd nvidia-utils-beta` (without X running) and then install the packages from extra?

Offline

#2 2014-01-15 21:36:41

dodo3773
Member
Registered: 2011-03-17
Posts: 818

Re: Best practice for replacing a package with equivalent, lots of deps

It should be similar to switching to nouveau driver https://wiki.archlinux.org/index.php/Nouveau
Just:

# pacman -Rdds nvidia-beta nvidia-utils-beta
# pacman -S nvidia nvidia-utils

Offline

#3 2014-01-15 22:35:27

jwhendy
Member
Registered: 2010-04-01
Posts: 621

Re: Best practice for replacing a package with equivalent, lots of deps

@dodo3773: thanks for the quick reply, and that squares with the instructions for downgrading -- I just wanted to make sure before borking my setup!

I'll give this a whirl next time I reboot and post back, hopefully to also mark this as solved.

Offline

Board footer

Powered by FluxBB