dotfiles icon indicating copy to clipboard operation
dotfiles copied to clipboard

[BUG] libcava dependency blocks update

Open MrEcksX opened this issue 1 year ago • 4 comments

Describe the bug

Bug desription:

The libcava dependency blocks complete update. It can for now be "fixed" by omitting the libcava package, but isn't a long term solution. I searched Arch Forums but it only has an unresolved issue regarding this.

/usr/share/consolefonts/cava.psf seems to be the culprit, but I found no solution. In the libcava package issues there are two suggestions. The first doesn't work, so switching to waybar-cava, might do the trick..?

As I suspected this might resolve it self with the new hyprland update I have been resting on my laurels for a few days before posting this.

So TL;DR: Waybar problem. libcava and /usr/share/consolefonts/cava.psf contradict.

Steps to reproduce

Runig update installer, or yay i Kitty.

Expected behavior

Does block update.

Screenshots

:: 1 paket att uppgradera/installera. 1 aur/libcava 0.10.3-1 -> 0.10.3-2 ==> Paket att hoppa över: (t.ex: "1 2 3", "1-3", "^4" eller centralkatalogsnamn) -> Att exkludera paket kan orsaka partiella uppgraderingar och ha sönder system ==> AUR Dependency (1): libcava-0.10.3-2 Sync Make Dependency (1): autoconf-archive-1:2024.10.16-2 Sync Dependency (1): cava-0.10.4-3 :: PKGBUILD uppdaterad, hoppar över nedladdning: libcava 1 libcava (Installerad) (Byggfiler finns) ==> Bygg paket rent (cleanBuild)? ==> [N]Inga [A]lla [Ab]Avbryt [I]nstallerade [No]EjInstallerade eller (1 2 3, 1-3, ^4) ==> 1 libcava (Installerad) (Byggfiler finns) ==> Visa diff? ==> [N]Inga [A]lla [Ab]Avbryt [I]nstallerade [No]EjInstallerade eller (1 2 3, 1-3, ^4) ==> ==> Skapar paket: libcava 0.10.3-2 (tis 25 mar 2025 15:08:22) ==> Hämtar källor... -> Hittade libcava-0.10.3.tar.gz ==> VARNING: Hoppar över verifiering av källfilernas PGP-signaturer. ==> Validerar source filer med sha256sums... libcava-0.10.3.tar.gz ... Godkänd :: Ta bort byggberoenden efter installation? [j/N] :: (1/1) Tolkar SRCINFO: libcava :: Synkroniserar katalogdatabaserna... core är ajour extra är ajour multilib är ajour DEB_Arch_Extra 10,1 KiB 47,2 KiB/s 00:00 [------------------------------] 100% :: Påbörjar fullständig uppgradering... Reder ut beroenden... Letar efter krockar mellan paket...

Paket (2) Ny version Nettoskillnad

extra/autoconf-archive 1:2024.10.16-2 2,29 MiB extra/cava 0.10.4-3 0,18 MiB

Storlek efter installation: 2,46 MiB

:: Vill du fortsätta till installationen? [J/n] (2/2) Kontrollerar nycklarna i nyckelringen [------------------------------] 100% (2/2) Kontrollerar paketintegriteten [------------------------------] 100% (2/2) Läser in paketfiler [------------------------------] 100% (2/2) Letar efter krockar mellan filer [------------------------------] 100% fel: Kunde inte påbörja transaktionen (motstridiga filer) cava: /usr/share/consolefonts/cava.psf finns redan i filsystemet (ägs av libcava) Fel uppstod, inga paket uppgraderades. -> Misslyckades att installera lager, rullar upp till nästa lager.error:error installing repo packages :: Synkroniserar katalogdatabaserna... core är ajour extra är ajour multilib är ajour DEB_Arch_Extra 10,1 KiB 48,3 KiB/s 00:00 [------------------------------] 100% :: Påbörjar fullständig uppgradering... Reder ut beroenden... Letar efter krockar mellan paket...

Paket (2) Ny version Nettoskillnad

extra/autoconf-archive 1:2024.10.16-2 2,29 MiB extra/cava 0.10.4-3 0,18 MiB

Storlek efter installation: 2,46 MiB

:: Vill du fortsätta till installationen? [J/n] (2/2) Kontrollerar nycklarna i nyckelringen [------------------------------] 100% (2/2) Kontrollerar paketintegriteten [------------------------------] 100% (2/2) Läser in paketfiler [------------------------------] 100% (2/2) Letar efter krockar mellan filer [------------------------------] 100% fel: Kunde inte påbörja transaktionen (motstridiga filer) cava: /usr/share/consolefonts/cava.psf finns redan i filsystemet (ägs av libcava) Fel uppstod, inga paket uppgraderades. -> error installing repo packages error installing repo packages

╭─mr_ecks  󰉖 ~ ╰─ ❯❯

Distribution

Arch Linux

If Other, specify

No response

Additional context

No response

Code of Conduct

  • [x] I agree to follow this project's Code of Conduct

MrEcksX avatar Mar 25 '25 14:03 MrEcksX

Can confirm this happened to me too

andre94castro avatar Mar 26 '25 10:03 andre94castro

Hi, Same matter for me since few weeks with libcava :

pactree -r libcava

libcava
└─libastal-cava-git
  └─libastal-meta
    └─aylurs-gtk-shell

In advance, Ty

mferuglio avatar Mar 26 '25 12:03 mferuglio

I don't consider this an issue with dotfiles, but this did happen to me too. There's some discussion about it here: https://aur.archlinux.org/packages/libcava

My understanding is that '/usr/share/consolefonts/cava.psf' was being delivered by the libcava package we use. The cava package then began to distribute the file, so the libcava package was updated to no longer include the package, but to use the cava package as a dependency.

The result being that we try to update libcava and now need to install cava as it's now a depedency. But we can't install cava as there is that file conflict.

I moved '/usr/share/consolefonts/cava.psf' to a temporary location and then updated. But it's been a little time so I can't remember if I had to move the file back, or if the file was placed through that process.

I've updated all many times without issue since.

jasonbarrow avatar Mar 26 '25 12:03 jasonbarrow

@jasonbarrow: That did the trick. It is placed automatically through the process.

Thanks!


Topic can be marked as solved

MrEcksX avatar Mar 27 '25 10:03 MrEcksX