You are not logged in.

#1 2023-02-28 11:25:23

izbushka
Member
From: Ukraine
Registered: 2022-08-25
Posts: 6

Ignore packages on system update

Is there any way to ignore some package versions during the update?
I'm aware of IgnorePkg in pacman.conf but it ignores package completely.
What I want is to ignore package until it reaches new version.
For example, there is a broken SecretService in keepassxc-3.7.2+. I have version 3.7.1 installed and want it to be automatically updated when 3.7.5 is out.
So I want something like IgnorePkg = keepassxc<3.7.5
Is it possible?

Offline

#2 2023-02-28 11:27:39

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,466

Re: Ignore packages on system update

no

Offline

#3 2023-02-28 18:44:42

teckk
Member
Registered: 2013-02-21
Posts: 518

Re: Ignore packages on system update

For example, there is a broken SecretService in keepassxc-3.7.2+.

The way to do that is make yourself a PKGBUILD, build the version that you want, and be responsible for it. Modify the source if you want.
https://github.com/archlinux/svntogit-c … k/PKGBUILD

Source for 2.7.4

wget --spider https://github.com/keepassxreboot/keepassxc/releases/download/2.7.4/keepassxc-2.7.4-src.tar.xz
...
Connecting to objects.githubusercontent.com (objects.githubusercontent.com)|185.199.109.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 8957372 (8.5M) [application/octet-stream]
Remote file exists.

Build keepassxc against the libraries that you have on your machine. Then you won't be partially updated, or broken.

When you IgnorePkg you are partially updated. You can probably get away with it, just depends on what it is.

Also there is this:
https://aur.archlinux.org/packages?O=0&K=keepassxc

Offline

#4 2023-03-01 14:19:29

izbushka
Member
From: Ukraine
Registered: 2022-08-25
Posts: 6

Re: Ignore packages on system update

teckk wrote:

Build keepassxc against the libraries that you have on your machine. Then you won't be partially updated

That's a good point, thanks

teckk wrote:

The way to do that is make yourself a PKGBUILD...
https://github.com/archlinux/svntogit-c … k/PKGBUILD

How have you got that url? I mean, where could I get it for another package?

Offline

#5 2023-03-01 16:01:36

seth
Member
Registered: 2012-09-03
Posts: 50,008

Re: Ignore packages on system update

https://archlinux.org/packages/communit … keepassxc/ - upper right corner, "source files" link

Offline

Board footer

Powered by FluxBB