Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rpm package: adds dependencies #4089

Open
5 tasks done
gucio321 opened this issue Sep 17, 2023 · 7 comments
Open
5 tasks done

rpm package: adds dependencies #4089

gucio321 opened this issue Sep 17, 2023 · 7 comments
Labels
question Further information is requested

Comments

@gucio321
Copy link

Welcome

Description of the problem

Hi, I've just updated to latest release (I'm lazy so I'm using rpm package for fedora)
When installing via dnf, it wants to add some extra packages:

===============================================================================
 Package             Architecture Version             Repository          Size
===============================================================================
Installing:
 golangci-lint       x86_64       1.54.2-1            @commandline       9.9 M
Installing dependencies:
 libgo               x86_64       13.2.1-1.fc38       updates            7.5 M
 libgo-devel         x86_64       13.2.1-1.fc38       updates            490 k
Installing weak dependencies:
 gcc-go              x86_64       13.2.1-1.fc38       updates             13 M

(it tries to install dnf's version of golang)
Its a problem, because I'm not using fedora's go (its 3 minor rleases behind upstream).

Version of golangci-lint

$ golangci-lint --version
golangci-lint has version v1.50.1 built from (unknown, mod sum: "h1:C829clMcZXEORakZlwpk7M4iDw2XiwxxKaG504SZ9zY=") on (unknown)

Configuration

not applicable

Go environment

not applicable

Verbose output of running

not applicable

A minimal reproducible example or link to a public repository

not applicable

Validation

  • Yes, I've included all information above (version, config, etc.).
@gucio321 gucio321 added the bug Something isn't working label Sep 17, 2023
@ldez ldez added question Further information is requested and removed bug Something isn't working labels Sep 17, 2023
@ldez
Copy link
Member

ldez commented Sep 17, 2023

Hello,

We don't maintain rpm repositories, you can contact the maintainer of this package (I don't know who is it).

@ldez ldez closed this as completed Sep 17, 2023
@gucio321
Copy link
Author

@ldez so how this golangci-lint.rpm gets to yoUr releases?

@ldez
Copy link
Member

ldez commented Sep 17, 2023

We create a RPM package but we don't provide it through an RPM repository.
I don't know how dnf handles that.

@gucio321
Copy link
Author

We create a RPM package but we don't provide it through an RPM repository.
I don't know how dnf handles that.

so yes, I mean this package.
I download it and install using sudo dnf install ./golangci-lint.rpm and it installs golang as dependency for some reason (and it ditn't do that in previous releases)

@gucio321
Copy link
Author

@ldez so there is no repository

@ldez
Copy link
Member

ldez commented Sep 18, 2023

outside of RPM, Go is required (diff too).

Inside the definition of the RPM:

recommends:
- /usr/bin/go

It's just a recommendation, and not related to another package, so I don't understand how this become a requirement inside the RPM.

@ldez ldez reopened this Sep 18, 2023
@denisvmedia

This comment was marked as off-topic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants