“Freezing” layered package version?

I installed borgbackup using rpm-ostree install borgbackup. It installed v1.2.8 which I want to stay on.

That is, when 1.4.0 is available I still want to stay on 1.2.8.

How do “freeze” v1.2.8?

you can use the rpm-ostree --override replace PACKAGE command to keep a package from upgrading.

PACKAGE would be the link to borgbackup from the Koji build website.
https://koji.fedoraproject.org/koji/

On the website search for the package you want to pin and rightclick to copy link.

so in your case the command would be:

rpm-ostree override replace https://koji.fedoraproject.org/koji/buildinfo?buildID=2429410

YMMV of course and please double check the package link to make sure its the one you want.

Thanks @Plyply! I’ll give that a try? Do I need reinstall the app to make this work?

Yuppers I think it needs to be installed first.

:+1: I have it installed. My question was if it needs to be uninstalled amd installed again with your line to make it work.

1 Like

Oh sorry. :slight_smile:

Just run the command as is. It will pin that version.
If you need to unpin run:

rpm-ostree override reset borgbackup
1 Like