[opensuse] howto: zypper lock
How do I apply a lock in zypper to only use packman for a particular package/group of packages, libxine1-* ?? zypper al -r Packman -t package libxine1 does not work ??? tks, -- Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://counter.li.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 2010/04/09 20:01 (GMT-0400) Patrick Shanahan composed:
How do I apply a lock in zypper to only use packman for a particular package/group of packages, libxine1-* ??
zypper al -r Packman -t package libxine1 does not work ???
...or to prevent every update from removing afga-fonts? :-( -- "Suppos [sic] a nation in some distant region, should take the Bible for their only law book, and every member should regulate his conduct by the precepts there exhibited. . . . What a Eutopa, What a paradise would this region be!" John Adams, 2nd US President Team OS/2 ** Reg. Linux User #211409 Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 04/10/2010 02:07 AM, Felix Miata wrote:
On 2010/04/09 20:01 (GMT-0400) Patrick Shanahan composed:
How do I apply a lock in zypper to only use packman for a particular package/group of packages, libxine1-* ??
zypper al -r Packman -t package libxine1 does not work ???
This works, but it does quite the opposite - it ensures that libxine1 from Packman does not get onto your system. I.e. it can only be installed/updated from other repos than those you have locked. As Peter mentioned in the other mail in this thread, you should be fine with vendor locks (unless you use 'dup'). 'zypper up' won't change the vendor of an installed package.
...or to prevent every update from removing afga-fonts? :-(
That's where locks come in handy. Just do 'zypper al agfa-fonts', and they'll be safe. But note they will be protected also from update this way, in which case you need to do 'zypper in/up agfa-fonts' and you will be prompted to ignore the lock to proceed. -- cheers, jano Ján Kupec YaST team ---------------------------------------------------------(PGP)--- Key ID: 637EE901 Fingerprint: 93B9 C79B 2D20 51C3 800B E09B 8048 46A6 637E E901 ---------------------------------------------------------(IRC)--- Server: irc.freenode.net Nick: jniq Channels: #zypp #yast #suse #susecz ---------------------------------------------------------(EOF)---
Patrick Shanahan wrote:
How do I apply a lock in zypper to only use packman for a particular package/group of packages, libxine1-* ??
zypper al -r Packman -t package libxine1 does not work ???
Hmm, Locks are intended to prevent changes to a package, i.e., even if there's an update available, don't install it. You just want the package to stay with a vendor, and this is the default. Vendor changes only occur when you do a 'zypper dup' - and that is one reason why you should not use that by default. That said, if you install the packman xines, and only use 'up' they should stay with packman. Pit -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (4)
-
Felix Miata
-
Jano Kupec
-
Patrick Shanahan
-
Peter Suetterlin