You are not logged in.

#1 2022-11-20 18:02:30

emgaron
Member
Registered: 2018-03-31
Posts: 22

SOLVED: Upgrade fails on gcr vs. gcr-4

I just tried to run an upgrade on my EeePC for the first time in a few weeks and the upgrade fails while trying to install gcr-4:

(171/171) checking keys in keyring                                                                            [##################################################################] 100%
(171/171) checking package integrity                                                                          [##################################################################] 100%
(171/171) loading package files                                                                               [##################################################################] 100%
(171/171) checking for file conflicts                                                                         [##################################################################] 100%
error: failed to commit transaction (conflicting files)
gcr-4: /usr/lib/gcr-ssh-agent exists in filesystem (owned by gcr)
gcr-4: /usr/lib/systemd/user/gcr-ssh-agent.service exists in filesystem (owned by gcr)
gcr-4: /usr/lib/systemd/user/gcr-ssh-agent.socket exists in filesystem (owned by gcr)
Errors occurred, no packages were upgraded.

Could this be caused by gcr  3.41.1-3.0 still being in staging? When I look the the file list of 3.41.1-3 upstream, the offending files don't seem to be part of that package...

Last edited by levi (2022-12-29 09:42:58)

Offline

#2 2022-11-20 23:01:11

levi
Moderator
From: Yorkshire, UK
Registered: 2018-06-16
Posts: 1,197

Re: SOLVED: Upgrade fails on gcr vs. gcr-4

Are you meant to have both gcr and gcr-4 installed at the same time? They don't list any conflicting packages, but neither's marked as a shim.  It is a fairly well used library oh my system,but perhaps the idea is you take one of the other. Seems I have gcr (no 4) on my system because I have shotwell and gvfs installed.

Edit: But yes, it might be gcr lagging that causes the issue here. I wonder what you're using that's dragged gcr-4 in?

Last edited by levi (2022-11-20 23:05:32)


Architecture: pentium4, Testing repos: Yes, Hardware: EeePC 901+2GB RAM+OS half on the SD card.

Offline

#3 2022-11-20 23:27:08

emgaron
Member
Registered: 2018-03-31
Posts: 22

Re: SOLVED: Upgrade fails on gcr vs. gcr-4

I honestly don't know - gcr-4 is currently not installed... When I look at the list of required by here: https://www.archlinux32.org/packages/pe … tra/gcr-4/ I do see gnome-keyring, which I have indeed installed, also libmna.

On the other hand, if I try to uninstall gcr, I get this:

[emgaron@hamish ~]$ sudo pacman -R gcr
[sudo] password for emgaron: 
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: removing gcr breaks dependency 'gcr' required by gnome-keyring
:: removing gcr breaks dependency 'gcr' required by gvfs
:: removing gcr breaks dependency 'gcr' required by libnma

Offline

#4 2022-11-21 00:09:04

levi
Moderator
From: Yorkshire, UK
Registered: 2018-06-16
Posts: 1,197

Re: SOLVED: Upgrade fails on gcr vs. gcr-4

Yes that required by table is probably looking as the names gcr-4 provides which as far as I''ve seen are the same as those for gcr.  We need to find something that identifies grk-4 package explicitly as a dependency. I think.


Architecture: pentium4, Testing repos: Yes, Hardware: EeePC 901+2GB RAM+OS half on the SD card.

Offline

#5 2022-12-11 23:27:55

zozoserieux
Member
Registered: 2022-12-11
Posts: 3

Re: SOLVED: Upgrade fails on gcr vs. gcr-4

Hi, I'm new here. I just found this thread since I have the same issue.
I installed archlinux 32 on my eeepc1000H 2 months ago with xfce and few softwares like Abiword for instance. I was enthousiastic having my old laptop fluid and "fast"  and updated again with this great distro.
I didnt't update my system since few weeks and today, impossible to achieve

sudo pacman -Syu

nor with

-Syyu

I get the same error:

erreur : la validation de la transaction a échoué (conflit de fichiers )
gcr-4 : /usr/lib/gcr-ssh-agent est déjà présent dans le système de fichiers (appartenant à gcr)
gcr-4 : /usr/lib/systemd/user/gcr-ssh-agent.service est déjà présent dans le système de fichiers (appartenant à gcr)
gcr-4 : /usr/lib/systemd/user/gcr-ssh-agent.socket est déjà présent dans le système de fichiers (appartenant à gcr)
Des erreurs se sont produites, aucun paquet n’a été mis à jour.

I don't even know what this package is.

Few weeks ago, it was ok on each update attempt.
Any idea? Thanks a lot, regards.

Last edited by zozoserieux (2022-12-11 23:40:14)

Offline

#6 2022-12-12 00:30:33

rossboulet
Member
Registered: 2017-12-13
Posts: 49

Re: SOLVED: Upgrade fails on gcr vs. gcr-4

levi wrote:

Yes that required by table is probably looking as the names gcr-4 provides which as far as I''ve seen are the same as those for gcr.  We need to find something that identifies grk-4 package explicitly as a dependency. I think.

I think you meant gcr-4 instead of grk-4.

It looks like gnome-keyring has both gcr and gcr-4 listed as dependencies.

Offline

#7 2022-12-13 14:25:56

rossboulet
Member
Registered: 2017-12-13
Posts: 49

Re: SOLVED: Upgrade fails on gcr vs. gcr-4

As I mentioned, gnome-keyring depends on both gcr and gcr-4 and it's the same in 64-bit. But in gcr 3.41.1-3, the ssh agent was moved to gcr-4. In the package list, gcr-3.41.1-3 is in production for i686, but still in staging for over a month in i486 and pentium4.

Offline

#8 2022-12-14 09:56:01

zozoserieux
Member
Registered: 2022-12-11
Posts: 3

Re: SOLVED: Upgrade fails on gcr vs. gcr-4

Sorry but i'm not a specialist. I don't understand what is the consequence and the fix if possible. Should I wait before a new attempt or is there any way to update my system except  gcr… or is it impossible for now?  Could you, if you accept, propose a command line to fix/update.
Thanks smile I'm not afraid of command line but just a user with limitations smile
Have a good day!

Offline

#9 2022-12-14 11:02:43

levi
Moderator
From: Yorkshire, UK
Registered: 2018-06-16
Posts: 1,197

Re: SOLVED: Upgrade fails on gcr vs. gcr-4

Well, you could uninstall anything that drags in gcr4, but given that list includes gnome-keyring I'd guess you'd better leaving that installed if you have it, and waiting for a proper fix instead.


Architecture: pentium4, Testing repos: Yes, Hardware: EeePC 901+2GB RAM+OS half on the SD card.

Offline

#10 2022-12-15 09:57:18

abaumann
Administrator
From: Zurich
Registered: 2019-11-14
Posts: 1,042
Website

Re: SOLVED: Upgrade fails on gcr vs. gcr-4

I pushed both packages to stable, maybe the conflict went away..

Offline

#11 2022-12-15 15:36:00

abaumann
Administrator
From: Zurich
Registered: 2019-11-14
Posts: 1,042
Website

Re: SOLVED: Upgrade fails on gcr vs. gcr-4

Could easily be I just overwrote the files when updating my test machines and was ignoring the problem.. :-)

Offline

#12 2022-12-16 00:31:50

zozoserieux
Member
Registered: 2022-12-11
Posts: 3

Re: SOLVED: Upgrade fails on gcr vs. gcr-4

Hi, thanks a lot! updating succeded tonight :-)

Offline

#13 2022-12-29 09:25:54

chekyl43
Member
From: NYC USA
Registered: 2022-12-29
Posts: 1

Re: SOLVED: Upgrade fails on gcr vs. gcr-4

useful information

Last edited by chekyl43 (2022-12-29 09:26:21)

Offline

Board footer

Powered by FluxBB