|
Texstar
|
 |
« 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 TwitterHelp fund the PCLinuxOS project! "I'm not so good on advice, can I interest you in a sarcastic reply?"
|
|
|
Old-Polack
Administrator
Hero Member
   
Offline
Posts: 9067
----IOFLU----
|
 |
« Reply #1 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? Lest we forget... 
|
|
|
|
margarita
|
 |
« Reply #2 on: September 19, 2009, 07:43:08 AM » |
|
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. If they get the older package and ... Then we need in the repositories, the last and the penultimate version. saludos
|
|
|
|
|
Logged
|
2.6.38.8-pclos3.pae.bsf - KDE: 4.6.5 Intel(R) Core(TM)2 Quad CPU Q8400 @ 2.66GHz - RAM: 4 GB - GForce 8400 GS
|
|
|
Old-Polack
Administrator
Hero Member
   
Offline
Posts: 9067
----IOFLU----
|
 |
« Reply #3 on: September 19, 2009, 09:33:05 AM » |
|
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. 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. 
|
|
|
|
|
Logged
|
Old-Polack Of what use be there for joy, if not for the sharing thereof? Lest we forget... 
|
|
|
|
frazelle09
|
 |
« Reply #4 on: October 12, 2009, 08:10:26 PM » |
|
Anyway of pinning Tex? Have a great evening! 
|
|
|
|
|
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
|
 |
« Reply #5 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 swissjabber dot ch - IRC #pclinuxos-fr sur freenode
|
|
|
|
stealth
|
 |
« Reply #6 on: November 08, 2009, 02:27:32 AM » |
|
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. 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
|
 |
« Reply #7 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  [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 
|
|
|
|
|
Logged
|
When Nothing is Certain, Anything is Possible.
|
|
|
|
couponmole
Guest
|
 |
« Reply #8 on: March 20, 2010, 04:26:35 PM » |
|
Was searching this. Glad I found it
|
|
|
|
|
Logged
|
|
|
|
marcin82
Full Member
 
Offline
Posts: 95
Metal is forever! // Yoda Królem Polski!
|
 |
« Reply #9 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: /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: RPM::Ignore {audacious} RPM::Ignore {audacious-plugins} Now, file /etc/apt/apt.conf looks like this: APT::Get::Show-Upgraded "true"; APT::Get::Reinstall "true"; RPM::Ignore {audacious} RPM::Ignore {audacious-plugins} It works, that's all 
|
|
|
|
|
Logged
|
 marcin82
|
|
|
|
|
|
Jag
|
 |
« Reply #11 on: August 09, 2010, 01:38:41 PM » |
|
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.
Total nOObs ,pl. note what I learned in 2 hours...... 1] Note the blank line [space] between details of two packages,if it is not there,then only last package will be ignored by synaptic. 2]Don't give extn '.txt'to the file i.e. create a text file without extension. 3] There is a space after ':' in every line and also after word 'version'.
My earlier 'mylivecd script' with which I made a remaster successfully was mylivecd --nodir=^/home/<user1> --nodir=^/home/<user2> --nofile=^/var/cache/apt/archives/*.* pclos10kde20100807.iso Now I am going to modify the script to exclude the file 'preferences' by adding mylivecd --nodir=^/home/<user1> --nodir=^/home/<user2> --nofile=^/var/cache/apt/archives/*.* --nofile=^/etc/apt/preferences pclos10kde20100807.iso The persons installing with this remaster will be able to update the concerned packages. Replace <user1> and <user2> in above scripts by the actual user names [ which means their home directories] you want to exclude. I have ticked in syneptic to keep the downloaded packages at 'archives',hence the line '--nofile=^/var/cache/apt/archives/*.*' in the script.
|
|
|
|
|
Logged
|
-J.L.Deshpande. Registered Linux User #492893
|
|
|
|
aguila
|
 |
« Reply #12 on: January 04, 2011, 04:20:16 PM » |
|
Hi Tex,
What about dependencies?
E.g. if I wanted to upgrade Firefox but not Thunderbird, how to deal with the libs they depend upon?
Could I keep old KDE apps over a major upgrade without breaking something (the old or the new apps that depend on the same libs)?
|
|
|
|
|
Logged
|
All that is is good. PCLinuxOS is.
Thinkpad X61 Tablet, Core2Duo 1.66 MHz, 4 GB Ram, Intel onboard Graphics, 160 GB HDD; Thinkpad R61i, Core2Duo 1.66 MHz, 2 GB Ram, Intel onboard graphics, 120 GB HDD
|
|
|
|
marcopl
|
 |
« Reply #13 on: January 08, 2011, 12:05:11 PM » |
|
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: /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: RPM::Ignore {audacious} RPM::Ignore {audacious-plugins} Now, file /etc/apt/apt.conf looks like this: APT::Get::Show-Upgraded "true"; APT::Get::Reinstall "true"; RPM::Ignore {audacious} RPM::Ignore {audacious-plugins} good tip. thanx.
|
|
|
|
|
Logged
|
|
|
|
anbraca
Jr. Member

Offline
Posts: 48
ok
|
 |
« Reply #14 on: January 17, 2011, 02:05:24 PM » |
|
i find that "pclos" is the only linux that loads my printer/scanner waithout any problems ,??? would any future updates effect the normal running of my printer, many thanks
|
|
|
|
|
Logged
|
pclos 2010 firefox, clamav,,amd phenom 8450,3gb ram,640 gb hd,nivida geforce 8200
|
|
|
|