goose icon indicating copy to clipboard operation
goose copied to clipboard

Failed to install, conflict with latest Lens

Open admun opened this issue 1 month ago • 8 comments

Goose 1.12.1 rpm installed failed with the follow error.

sudo dnf install ./Goose-1.12.1-1.x86_64.rpm Updating and loading repositories: Repositories loaded. Package Arch Version Repository Size Installing: Goose x86_64 1.12.1-1 @commandline 407.3 MiB

Transaction Summary: Installing: 1 package

Total size of inbound packages is 119 MiB. Need to download 0 B. After this operation, 407 MiB extra will be used (install 407 MiB, remove 0 B). Is this ok [y/N]: y Running transaction Transaction failed: Rpm transaction failed. Warning: skipped OpenPGP checks for 1 package from repository: @commandline

  • file /usr/lib/.build-id/0f/29d6c2dfb6d4f33e75298c2493b77504fb6d9a from install of Goose-1.12.1-1.x86_64 conflicts with file from package lens-2025.10.230725~latest-1.x86_64

Steps to reproduce the behavior:

  1. sudo dnf install ./Goose-1.12.1-1.x86_64.rpm

OS: Fedora 43 Lens: https://k8slens.dev/

admun avatar Oct 29 '25 02:10 admun

hmm, this seems strange

can you run something like this:

/usr/lib/.build-id/0f/29d6c2dfb6d4f33e75298c2493b77504fb6d9a

to get more info about that file?

and then:

rpm2cpio ./Goose-1.12.1-1.x86_64.rpm | cpio -idmv
find . -path "*/usr/lib/.build-id/0f/29d6c2dfb6d4f33e75298c2493b77504fb6d9a"

DOsinga avatar Oct 29 '25 13:10 DOsinga

thinking about this, it could just be uvx that we bundle.

DOsinga avatar Oct 29 '25 13:10 DOsinga

Here's the output

 ~/Downloads> sudo dnf install ./Goose-1.12.1-1.x86_64.rpm
Place your finger on the fingerprint reader
Updating and loading repositories:
 Fedora 43 - x86_64 - Updates                                   100% |  46.2 KiB/s |  30.9 KiB |  00m01s
Repositories loaded.
Package                          Arch     Version                           Repository              Size
Installing:
 Goose                           x86_64   1.12.1-1                          @commandline       407.3 MiB

Transaction Summary:
 Installing:         1 package

Total size of inbound packages is 119 MiB. Need to download 0 B.
After this operation, 407 MiB extra will be used (install 407 MiB, remove 0 B).
Is this ok [y/N]: y
Running transaction
Transaction failed: Rpm transaction failed.
Warning: skipped OpenPGP checks for 1 package from repository: @commandline
  - file /usr/lib/.build-id/0f/29d6c2dfb6d4f33e75298c2493b77504fb6d9a from install of Goose-1.12.1-1.x86_64 conflicts with file from package lens-2025.10.230725~latest-1.x86_64
 
 ~/Downloads> /usr/lib/.build-id/0f/29d6c2dfb6d4f33e75298c2493b77504fb6d9a
Usage: /usr/lib/.build-id/0f/29d6c2dfb6d4f33e75298c2493b77504fb6d9a <renderer process> <args...>
./usr/bin/Goose
./usr/lib/.build-id
./usr/lib/.build-id/0f
./usr/lib/.build-id/0f/29d6c2dfb6d4f33e75298c2493b77504fb6d9a
...
...
...

find . -path "*/usr/lib/.build-id/0f/29d6c2dfb6d4f33e75298c2493b77504fb6d9a"

./usr/lib/.build-id/0f/29d6c2dfb6d4f33e75298c2493b77504fb6d9a

admun avatar Oct 29 '25 21:10 admun

I get around it with this for now

sudo rpm -i ./Goose-1.12.1-1.x86_64.rpm --replacefiles   

admun avatar Nov 01 '25 16:11 admun

thinking about this, it could just be uvx that we bundle.

I checked lens, it does not have uvx installed

I check and I have it installed on Federa

> which uvx 
/usr/bin/uvx
> rpm -qf /usr/bin/uvx 
uv-0.8.11-4.fc43.x86_64

But that's not what causing the issue, anyway

admun avatar Nov 01 '25 16:11 admun

BTW, if this is an issue related to bundled node/npx/uvx, maybe Goose should use the system installed one?

I am running into https://github.com/block/goose/issues/2351#issuecomment-3478659967 ended up replace all of the bundled tools

admun avatar Nov 03 '25 01:11 admun

see also: https://github.com/lensapp/lens/issues/8181

jamadeo avatar Nov 03 '25 21:11 jamadeo

@jamadeo thank you for finding the cause...

admun avatar Nov 03 '25 22:11 admun