LINUX LITE 7.2 FINAL RELEASED - SEE RELEASE ANNOUNCEMENTS SECTION FOR DETAILS


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Version Lock Does Not Work With a dist-upgrade
#1
Hi,

In Synaptic Software manager I lock a version of gqview, it appears red in Synaptic and seems to indicate it's locked. But when I do a dist-upgrade it updates to geeqie and newer version of gqview.

Is there away when I run upgrade to skip the "upgrade" for gqview or block anything named geeqie?
Reply
#2
From what I gather, Synaptic only affects things done with Synaptic -- it won't stop other package handlers from doing things.  (Why?  I don't know.)  The better way seems to be by doing either of these two commands:

Code:
sudo apt-mark hold gqview

Or

Code:
echo gqview hold | dpkg --set-selections
(Note: some sets of instructions have quotations around "gqview hold"; others don't -- so I don't think it matters which way you choose.)

There is also something called "Pinning" packages, but I'm not entirely clear on the usage of it.  Here's some further info to look through:

https://help.ubuntu.com/community/AptGet/Howto
https://help.ubuntu.com/community/PinningHowto
http://askubuntu.com/questions/18654/how...ic-package
http://linuxaria.com/pills/how-to-stop-p...ux?lang=en
Try Linux Beginner Search Engine for answers to Linux questions.
Reply
#3
Thanks for this Smile
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)