PCLinuxOS-Forums
 
*
Welcome, Guest. Please login or register. July 29, 2010, 01:21:29 PM


Login with username, password and session length


Pages: [1]   Go Down
  Print  
Author Topic: How to pin a package in Synaptic.  (Read 3243 times)
Texstar
Administrator
Hero Member
*****
Offline Offline

Posts: 8196



« on: July 13, 2009, 05:36:28 AM »

If you have an installed app and for whatever reason you don't want Synaptic to ever upgrade it with a new version. Here is how you do it.

Create a text file called preferences and add the following as an example:

Package: e2fsprogs
Pin: version 1.40.2-1pclos*
Pin-Priority: 1001

Package: libext2fs2
Pin: version 1.40.2-1pclos*
Pin-Priority: 1001

Save the file and copy it into the /etc/apt folder. Now Synaptic will forever ignore it when doing updates.
Logged

Follow the development of PCLinuxOS on Twitter
Help fund the PCLinuxOS project!
AndrzejL
Hero Member
*****
Online Online

Posts: 2243


Registered Linux User #490933


WWW
« Reply #1 on: August 27, 2009, 02:51:34 AM »

Thank You Boss...

Andy
Logged

old-polack
Administrator
Hero Member
*****
Offline Offline

Posts: 6045


----IOFLU----


« Reply #2 on: September 19, 2009, 06:36:09 AM »

Old-Polack - great idea to pin it!

Andy

I few people are having problems with new packages, where the old ones worked. If they get the older package and it cures their problem with their hardware, they might as well be able to find this easily, rather than dig for it.
Logged

Old-Polack

Of what use be there for joy, if not for the sharing thereof?

 
margarita
Sr. Member
****
Offline Offline

Posts: 306


Margarita es un lugar, no mi nombre


« Reply #3 on: September 19, 2009, 07:43:08 AM »

Quote
I few people are having problems with new packages, where the old ones worked.
If we determine that a package causes problems, it is too late. We have always only the latest packages in the repositories.

Quote
If they get the older package and ...
Then we need in the repositories, the last and the penultimate version.


saludos
Logged
old-polack
Administrator
Hero Member
*****
Offline Offline

Posts: 6045


----IOFLU----


« Reply #4 on: September 19, 2009, 09:33:05 AM »

Quote
I few people are having problems with new packages, where the old ones worked.
If we determine that a package causes problems, it is too late. We have always only the latest packages in the repositories.

Quote
If they get the older package and ...
Then we need in the repositories, the last and the penultimate version.


saludos

The good thing about bad servers is that they don't upgrade in sync with the others, thereby giving a user a chance to find the old package that worked, install it, then pin it. Wink
Logged

Old-Polack

Of what use be there for joy, if not for the sharing thereof?

 
frazelle09
Hero Member
*****
Offline Offline

Posts: 1017



WWW
« Reply #5 on: October 12, 2009, 08:10:26 PM »

Anyway of pinning Tex?

Have a great evening!  Smiley
Logged

"The earth is one country and mankind its citizens."
Baha'u'llah
"La tierra es un solo pais y la humanidad sus ciudadanos."

melodie
Hero Member
*****
Offline Offline

Posts: 2131


XMMP=Jabber, free instant messaging protocol !


WWW
« Reply #6 on: October 29, 2009, 08:22:18 AM »

Hi,

This is nice. Is it possible to forbid a config file to be updated, too ?

Logged

melodie at im.apinc.org - IRC #pclinuxos-fr sur freenode
stealth
Sr. Member
****
Offline Offline

Posts: 354


« Reply #7 on: November 08, 2009, 02:27:32 AM »

Quote
I few people are having problems with new packages, where the old ones worked.
If we determine that a package causes problems, it is too late. We have always only the latest packages in the repositories.

Quote
If they get the older package and ...
Then we need in the repositories, the last and the penultimate version.


saludos

Another way is if you have your own repo and you don't clean out the old rpms then you will have any version from the time you filled your repo up to the present version.
Logged
TheQuest
Full Member
***
Offline Offline

Posts: 144



« Reply #8 on: December 14, 2009, 03:40:56 PM »

Hi Texstar

Please can you help with this.

How would I pin Thunderbird .2.0.0.23  [history name::-  mozilla-thunderbird (2.0.0.23-1pclos2009) to 2.0.0.23-4pclos2010] so that it does not update,

The reason is because after the update to Thunderbird 3, for some reason it keeps asking me to Please enter the master password for the Software Security Device, I have never used a Master Password in thunderbird.

After trying four reinstatement's  with my last remaster  [just as well I do one every four weeks  Wink [dated 17 Nov 09]] and re-updating  since then 162MB x4 still keeps asking  for the mystery password.

I only use a Master Password in Firefox because many different forums I use, and use a different password  with and each forum.

Thanks you in advance for any time you can give to help me with this.

Take Care
TheQuest Cool
Logged

When Nothing is Certain, Anything is Possible.
couponmole
New Friend
*
Offline Offline

Posts: 1


WWW
« Reply #9 on: March 20, 2010, 04:26:35 PM »

Was searching this.  Glad I found it
Logged

Printable Coupons http://www.couponmole.com
marcin82
New Friend
*
Offline Offline

Posts: 1



« Reply #10 on: July 09, 2010, 04:06:48 AM »

Hello, I'm a new user of the forum.
There is one more way to hold packages upgrade. All to do this we must edit file:
Code:
/etc/apt/apt.conf
For example; if I don't want to upgrade Audacious and hold it's 1.3.2 version I add to the above file two lines:
Code:
RPM::Ignore {audacious}
RPM::Ignore {audacious-plugins}
Now, file /etc/apt/apt.conf looks like this:
Code:
APT::Get::Show-Upgraded "true";
APT::Get::Reinstall "true";
RPM::Ignore {audacious}
RPM::Ignore {audacious-plugins}

It works, that's all  Smiley
Logged

marcin'82
genomega
Full Member
***
Offline Offline

Posts: 106


WWW
« Reply #11 on: July 09, 2010, 11:05:05 PM »

Quote
The reason is because after the update to Thunderbird 3, for some reason it keeps asking me to Please enter the master password for the Software Security Device, I have never used a Master Password in thunderbird.



http://support.mozillamessaging.com/en-US/kb/Master+password+requested+but+not+set
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM