You are not logged in.

#1 2014-06-29 09:49:48

JamieKitson
Member
From: UK
Registered: 2010-10-18
Posts: 161
Website

Pin packages with yaourt

Hi,

is it possible to pin (the term that apt uses in Debian) packages with yaourt so that yaourt will skip upgrading them?

Thanks, Jamie

Offline

#2 2014-06-29 10:16:01

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Pin packages with yaourt

There's IgnorePkg in pacman.conf, maybe there's also a similar setting in yaourt's config - have you checked the man page?
Partial upgrades are not supported though.

Offline

#3 2014-06-29 10:34:25

diffycat
Member
Registered: 2011-06-18
Posts: 26

Re: Pin packages with yaourt

yaourt using IgnorePkg from pacman.conf too. Add your packages there.

Offline

#4 2014-06-29 10:39:16

diffycat
Member
Registered: 2011-06-18
Posts: 26

Re: Pin packages with yaourt

Hmm, it seems that yaourt also has undocumented options for package ignore: https://github.com/archlinuxfr/yaourt/s … ef=cmdform

Offline

#5 2014-06-29 10:49:21

JamieKitson
Member
From: UK
Registered: 2010-10-18
Posts: 161
Website

Re: Pin packages with yaourt

Thanks guys.

Offline

#6 2014-06-29 11:14:22

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Pin packages with yaourt

We have https://wiki.archlinux.org/index.php/Pacman_Rosetta but there's no mention of a 'pin' command, as the comparison uses dpkg, not apt:

echo "$PKGNAME hold" | dpkg --set-selections

Offline

Board footer

Powered by FluxBB