You are not logged in.

#1 2022-07-27 11:52:41

karenmcd
Member
Registered: 2022-07-27
Posts: 2

anyway to freeze a package and its dependencies?

I'm just new to arch vanilla from manjaro

after fresh installing from scratch arch on x11/gnome using this guide (itsfoss.com/install-arch-linux)

I followed this guide https://techhut.tv/how-to-install-davin … nd-fedora/ to install yay, amdgpu-pro drivers and resolve. It still wasn't without errors. I had to manually download from mirrors linked at both https://archlinux.org/packages/multilib … -libpng12/ and https://archlinux.org/packages/multilib … ib32-zlib/ to get the application I wanted to build/install (davinci resolve). I'm worried about updates breaking this as 1) I manually installed via pacman -U foo..pkg.tar.zst for both the above dependencies,  2) it's rolling release and i've experienced broken packages before and 3) I'm pretty sure this is an unsupported albeit working for now installation/setup.

Is there anyway for me to freeze just davinci-resolve and it's dependencies the way it is right now other than never running pacman again? (lulz), I suspect it might be possible in /etc/pacman.conf or some such but not really sure.

kind regards

Offline

#2 2022-07-27 12:01:33

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 16,718

Re: anyway to freeze a package and its dependencies?

Neither libpng12 (that already is an older version of libpng precisely because there's quite a bit of other software that still needs the older version) nor zlib are going to break ABI easily, so no this isn't trivially possible (the reason for why this isn't trivially possible is explained in: https://wiki.archlinux.org/title/System … nsupported )  but should also not be necessary for this particular example.

Please also note that neither of these guides you mention here are supported methods of Arch installation.

Follow https://wiki.archlinux.org/title/Installation_guide and https://wiki.archlinux.org/title/DaVinci_Resolve

Last edited by V1del (2022-07-27 12:02:27)

Offline

#3 2022-07-27 21:56:27

karenmcd
Member
Registered: 2022-07-27
Posts: 2

Re: anyway to freeze a package and its dependencies?

Thanks for the quick reply. I kinda figured with a rolling release this would be the reply. I understand as packages update/change/evolve that given enough time I'll end up in dependency hell and borked packages and OS. Thanks for detailing why it was a trivial question aswell. I feel much better about that.

I checked out the official links, and they (*for the time being - but things change which is why official documenation is usually better) appear to be roughly the same methods you linked me to, but seemed much more accessible for me at the time as one even had a video tutorial to walk me through the steps and have the text to refer to as I worked through it. After reading your links carefully and having already followed the ones I linked (for clarity while asking for help), I better understand what I did following their unofficial guides now and would feel more comfortable using the official documentation in the future.

davinci-resolve is from the AUR and is by default unsupported anyway according to this: https://wiki.archlinux.org/title/Genera … Repository. It's clear that I was doing the same things you linked me to here aswell but those two libraries just wouldn't work for me. I'm wondering if I need to unhash both of these lines or just the one? Perhaps that's why it didn't work. It was going on 5am for me when I was at the end of this... I was pretty tired... perhaps overlooking this was all the problem was for DR not working right out of the AUR from the get-go. While I was looking it up last night I had found this: https://bbs.archlinux.org/viewtopic.php … 0#p1981960 and it totally says to remove the # for both lines... *facepalm*

#[multilib]
Include = /etc/pacman.d/mirrorlist

It's too bad DR does not release a working iso/application at the moment, and also too bad that propietary microcode is even a thing, but here we are... daring the adventures of unsupported repos, software and microcode at our own peril https://en.wikipedia.org/wiki/Pegasus_(spyware) , https://en.wikipedia.org/wiki/PRISM etc...

Anyway, got this off the 'bucket list' and finally installed Arch on my own instead of Manjaro. It's not in a LUKs LVM yet, but maybe more time in the CLI/terminal emulator configuring LVM partitions and learning to mount encrypted containers and i'll be able to do that too!

Kind regards and thanks again!

Offline

Board footer

Powered by FluxBB