You are not logged in.
Hi all,
I don't understand why the below upgrade isn't working. I exclude the kernel from my normal upgrade command as it prevents me from loading any modules until I reboot, so I typically only upgrade the kernel when I'm about to reboot.
In this case failure to upgrade the kernel is preventing the nVidia driver from being updated also, which is fine, but I don't understand why it then says it can't install 'nvidia' because 'nvidia-utils' is the wrong version - I thought 'nvidia' was going to be skipped? Why is it trying to install it anyway?
Is there a way to get around this without having to manually exclude all these packages?
$ pacman -Su
:: Starting full system upgrade...
:: Replace dbus-python with extra/python2-dbus? [Y/n]
warning: linux: ignoring package upgrade (3.3.8-1 => 3.4.2-2)
warning: linux-headers: ignoring package upgrade (3.3.8-1 => 3.4.2-2)
resolving dependencies...
warning: ignoring package linux-3.4.2-2
warning: cannot resolve "linux>=3.4", a dependency of "nvidia"
warning: ignoring package linux-3.4.2-2
warning: cannot resolve "linux>=3.4", a dependency of "virtualbox-modules"
:: The following packages cannot be upgraded due to unresolvable dependencies:
nvidia virtualbox-modules
Do you want to skip the above packages for this upgrade? [y/N] y
looking for inter-conflicts...
error: failed to prepare transaction (could not satisfy dependencies)
:: nvidia: requires nvidia-utils=295.53Last edited by Malvineous (2012-06-17 05:23:21)
Offline
Look at the deps of nvidia, then the deps of nvidia-utils, which requires which?
So when a new nvidia-utils is released, it expects a matching nvidia, in your case it found a new nvidia-utils but can't upgrade because ...
:: nvidia: requires nvidia-utils=295.53Offline
Ohhh, so you're saying it ignored nvidia, but tried to upgrade nvidia-utils. nvidia-utils requires nvidia, but nvidia needs a specific version of nvidia-utils which would be broken by upgrading nvidia-utils, so it refuses to upgrade nvidia-utils because of the existing dependency. Right.
So then the second part of my question - how can I get around this without adding nvidia-utils as an IgnorePkg? Can I tell pacman to just ignore it if the deps couldn't be satisfied and keep going with whatever's left?
Offline
Once you start digging in that hole... that's why partial upgrades are unsupported.
-Syu and reboot.
Offline
Haha drat, fair enough then.
Offline