You are not logged in.

#1 2023-08-03 09:07:08

mayukhc
Member
Registered: 2023-08-03
Posts: 2

[SOLVED] Fix version mismatch for aur package

Hello,

I had updated a AUR package (miniconda3) directly to 23.5.2 via conda update, now yay thinks it's outdated. Update via yay is failing as the files for new version already exist. I would like to update the pkg version in yay db without uninstalling.

fsh ❯ conda --version
conda 23.5.2

fsh ❯ yay miniconda3
1 aur/miniconda3 23.5.2-1 (+42 1.24) (Installed: 23.3.1-1)
    Mini version of Anaconda Python distribution

Last edited by mayukhc (2023-08-04 13:28:27)

Offline

#2 2023-08-03 18:54:48

yochananmarqos
Member
Registered: 2020-02-05
Posts: 217

Re: [SOLVED] Fix version mismatch for aur package

What version mismatch? Both commands report the same version.

No idea why there are conflicting files, but uninstalling and reinstalling it should work.

Note: This should be moved to AUR Issues.

Offline

#3 2023-08-03 19:53:33

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,076

Re: [SOLVED] Fix version mismatch for aur package

Offline

#4 2023-08-03 19:58:14

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,720

Re: [SOLVED] Fix version mismatch for aur package

Afaiu the yay output, 23.5.2-1 is available, but 23.3.1-1 is installed.

I had updated a AUR package (miniconda3) directly to 23.5.2 via conda update

Yeah, that was a stupid idea…
https://wiki.archlinux.org/title/Python … management

Update via yay is failing as the files for new version already exist.

https://wiki.archlinux.org/title/Pacman … )%22_error

I would like to update the pkg version in yay db without uninstalling.

No, you'd like to update it in the pacman db, and the tool of choice is pacman, not some notoriously stuff-breaking wrapper.

Offline

#5 2023-08-04 13:30:36

mayukhc
Member
Registered: 2023-08-03
Posts: 2

Re: [SOLVED] Fix version mismatch for aur package

Fixed with uinstall/reinstall.

Offline

Board footer

Powered by FluxBB