You are not logged in.
Hello, I am downgrading my version of CUDA from 12.1 to 11.8 in order to use pytorch with cuda support.
I run the following:
sudo pacman -U https://archive.archlinux.org/packages/ … kg.tar.zst
and get the following warning
warning: cannot resolve "gcc11", a dependency of "cuda"
it prompts me for y/n and either way the package doesn't install. Ok so I go ahead and downgrade gcc and gcc-lib to version 11. I still get the same prompt on trying to downgrade cuda. I also tried using the downgrade package from the AUR, hoping there was a recursive downgrade feature. How can I resolve this issue?
Offline
https://archlinux.org/packages/communit … orch-cuda/ ?
These forums aren't porn-related...
Last edited by dogknowsnx (2023-04-19 08:31:38)
If you are installing a package that depends on aur packages, you need to handle those dependencies yourself first. Downgrading is irrelevant (and a very bad idea). If you need to install the package in your first post, you need to install the package named gcc11 which is currently in the AUR.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
I've never tried to enter an URL after the -U, so I'm not sure that would work. However, as you were already told, you need to list all the dependencies. But you don't have to use pacman to downgrade a package. You can simply use the package named "downgrade" (trizen -S downgrade) and then use it like this:
sudo downgrade [packagename] [packagedependency]For instance, when I need to downgrade the nvidia driver, like the last time bc v530 is glitchy, I did it like this:
sudo downgrade nvidia-dkms nvidia-utils nvidia-settings lib32-nvidia-utilsthen manually entering the number of the package I wanted to be downgraded along with the bracket after the number. Without that bracket downgrade gets confused and downloads the wrong files.
Or, if you still insist on using pacman for the downgrade, then visit the Arch's archive here (this is the address from which Downgrade gets the packages you have requested to be downgraded): https://archive.archlinux.org/packages/ and manually download each package and its dependencies, then put them in a separate directory which doesn't contain any other files and simply do
sudo pacman -U *.zstCore i7-4770, GTX 1660 Ti, 32 GB RAM, Arch 6.x LTS, Cinnamon 5.2.7, GDM
Offline
No, you do not need to list all dependencies. You can't, really, or you're going to destroy the system. None of that, nor the downgrade package, have anything to do with the OP's issue of not having gcc11.
Online
OK, maybe I miswrote it. I meant list the main dependencies, like with the nvidia example I wrote above. The main deps will download whatever deps they need.
I didn't see that he doesn't have gcc11 but that's easily fixable. I gave him options how to downgrade. Whether or not he will install gcc11 - that's up to him.
Core i7-4770, GTX 1660 Ti, 32 GB RAM, Arch 6.x LTS, Cinnamon 5.2.7, GDM
Offline
I didn't see that he doesn't have gcc11 but that's easily fixable. I gave him options how to downgrade
Downgrading packages in base meta-package is asking for breakage. This goes double for the default compiler almost everything is built with .
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline