You are not logged in.

#1 2021-08-27 13:22:40

TheArchieBunker
Member
Registered: 2015-09-07
Posts: 10

How do I get around dependency problem for upgrade?

I have a problem due to apparently needing an older version of pulseaudio than I have. The old version doesn't seem to be online.

Can I tell it to ignore the discrepancy somehow and see if that works?


[user@archlinux ~]$ sudo pacman -Suu
:: Starting full system upgrade...
:: Replace jack with extra/jack2? [Y/n] Y
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing pulseaudio (15.0-1) breaks dependency 'pulseaudio<14.3' required by qubes-vm-pulseaudio

Offline

#2 2021-08-27 13:25:07

loqs
Member
Registered: 2014-03-06
Posts: 17,372

Re: How do I get around dependency problem for upgrade?

Uninstall qubes-vm-pulseaudio perform the system upgrade/downgrade,  build the latest version of qubes-vm-pulseaudio and install if you still need the package.

Offline

#3 2021-08-27 14:28:29

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,864
Website

Re: How do I get around dependency problem for upgrade?

Mod note: moving to AUR Issues


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Online

#4 2021-08-27 17:06:50

TheArchieBunker
Member
Registered: 2015-09-07
Posts: 10

Re: How do I get around dependency problem for upgrade?

Thanks for the suggestion. Unfortunately that entails another problem. I am concerned that Arch will stop working within Qubes if I cut out "qubes-vm-dependencies"

Is there any way to get the older version of pulseaudio or to change the dependency requirements?

[user@archlinux ~]$ sudo pacman -R qubes-vm-pulseaudio
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: removing qubes-vm-pulseaudio breaks dependency 'qubes-vm-pulseaudio' required by qubes-vm-dependencies

Offline

#5 2021-08-27 17:54:25

Ammako
Member
Registered: 2021-07-16
Posts: 267

Re: How do I get around dependency problem for upgrade?

Rebuild your qubes packages and upgrade it first. It was updated at the beginning of August to require pulseaudio<=15.0 instead of <14.3, so you should be able to install the updated version of the package, then pacman -Syu to get the rest of your packages up-to-date. Assuming that this is your only dependency issue, that is.

If your system went this long without an upgrade though then you might want to re-rebuild your AUR packages against newest upgraded build dependencies afterwards, just to ensure that everything's on the same page.

Last edited by Ammako (2021-08-27 17:55:16)

Offline

#6 2021-08-27 18:09:21

progandy
Member
Registered: 2012-05-17
Posts: 5,195

Re: How do I get around dependency problem for upgrade?

Here's another way to resolve the problem: Build the AUR packages in a chroot and add them to a local repository. Then you can update all packages at once in your arch installation without dependency conflicts, but you'll need space to store the chroot.


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Online

#7 2021-08-29 13:00:07

TheArchieBunker
Member
Registered: 2015-09-07
Posts: 10

Re: How do I get around dependency problem for upgrade?

I made a local repository using chroot as suggested. I followed these online instructions

mkdir ~/chroot
CHROOT=$HOME/chroot
mkarchroot $CHROOT/root base-devel
arch-nspawn $CHROOT/root pacman -Syu

How do I enable this new repository as a local repository?

Offline

#8 2021-08-29 13:31:34

progandy
Member
Registered: 2012-05-17
Posts: 5,195

Re: How do I get around dependency problem for upgrade?

You did not create a repository, you created a chroot where you can build packages. After the package has been built you can copy it to a local repository.
https://wiki.archlinux.org/title/Pacman … repository
https://wiki.archlinux.org/title/Develo … ean_chroot (the classic way shows best how it works).


There is also an aur helper called aurutils that uses a local repository and can build the packages in a chroot as well. (You should understand how it works without the helper, though)

Last edited by progandy (2021-08-29 13:33:15)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Online

#9 2021-08-29 16:21:00

TheArchieBunker
Member
Registered: 2015-09-07
Posts: 10

Re: How do I get around dependency problem for upgrade?

progandy wrote:

You did not create a repository, you created a chroot where you can build packages. After the package has been built you can copy it to a local repository.
https://wiki.archlinux.org/title/Pacman … repository
https://wiki.archlinux.org/title/Develo … ean_chroot (the classic way shows best how it works).


There is also an aur helper called aurutils that uses a local repository and can build the packages in a chroot as well. (You should understand how it works without the helper, though)

Thanks.

Where do I get the necessary PKGBUILD?

Offline

#10 2021-08-29 17:22:25

zpg443
Member
Registered: 2016-12-03
Posts: 271

Re: How do I get around dependency problem for upgrade?

Getting into help vampire territory....

Offline

#11 2021-08-29 20:10:52

loqs
Member
Registered: 2014-03-06
Posts: 17,372

Re: How do I get around dependency problem for upgrade?

Did you install qubes-vm-pulseaudio from an unofficial repository or using an AUR helper that you do not know where it placed the PKGBUILD?

Offline

#12 2021-08-29 20:23:42

progandy
Member
Registered: 2012-05-17
Posts: 5,195

Re: How do I get around dependency problem for upgrade?

Looks like qubes is basically providing an arch derivate with custom build scripts:
https://github.com/QubesOS/qubes-builde … l_qubes.sh

I have no idea how that stuff works or if they provide an easy update method for the custom packages...

Last edited by progandy (2021-08-29 20:28:40)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Online

#13 2021-08-30 09:44:49

TheArchieBunker
Member
Registered: 2015-09-07
Posts: 10

Re: How do I get around dependency problem for upgrade?

I will have a go at building Qubes archlinux from scratch. This time around I used a binary which someone had already built.

Previously I built it myself, but I lost the install when I re-installed Qubes.

Thanks for your help. It has helped me to get a better feeling for arch.

Offline

Board footer

Powered by FluxBB