LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices



Reply
 
Search this Thread
Old 04-25-2007, 06:03 PM   #1
neoAKiRAz
Member
 
Registered: Jan 2006
Location: Uruguay
Distribution: Kubuntu
Posts: 48

Rep: Reputation: 15
Preventing a Package from being Upgraded


Hi. I compiled ffmpeg with mp3 support, and this produced the following packages:

Code:
ffmpeg_0.cvs20060823-3.1ubuntu1_i386.deb
libavcodec0d_0.cvs20060823-3.1ubuntu1_i386.deb
libavcodec-dev_0.cvs20060823-3.1ubuntu1_i386.deb
libavformat0d_0.cvs20060823-3.1ubuntu1_i386.deb
libavformat-dev_0.cvs20060823-3.1ubuntu1_i386.deb
libpostproc0d_0.cvs20060823-3.1ubuntu1_i386.deb
libpostproc-dev_0.cvs20060823-3.1ubuntu1_i386.deb
I installed them and made ffmpeg work succesfully (at the 37th attempt...).
The problem is that now adept_updater offers me to upgrade libavcodec0d. The strange thing is that the candidate version is the same as the installed version as adept_updater reports.

I tried adding the following to /etc/apt/preferences:

Package: *
Pin: version 0.cvs20060823-3.1ubuntu1
Pin-Priority: 1001

With and without a '3:' before '0.cvs...' (which I'm not sure what it means) but it didn't work, it keeps asking me to upgrade.
The output to "apt-cache policy libavcodec0" is:

Code:
neoakiraz@fcksys:~/linux/paquetes/ffmpeg$ apt-cache policy libavcodec0d
libavcodec0d:
  Installed: 3:0.cvs20060823-3.1ubuntu1
  Candidate: 3:0.cvs20060823-3.1ubuntu1
  Version table:
     3:0.cvs20060823-3.1ubuntu1 0
        500 http://uy.archive.ubuntu.com edgy/universe Packages
 *** 3:0.cvs20060823-3.1ubuntu1 0
        100 /var/lib/dpkg/status
W: Did not understand pin type version
I haven't let it upgrade yet because I'm afraid to screw this up (don't want to go for 38th...), so I was looking for some advice. As you can see I just have a vague idea of what I'm doing, so if somebody can help me, it would be great. Greetz!
 
Old 04-25-2007, 06:12 PM   #2
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 4
Posts: 4,305

Rep: Reputation: 205Reputation: 205Reputation: 205
A short and to the point answer: "If it ain't broke, don't fix it!" I hope that helps you to decide.
 
Old 04-25-2007, 07:36 PM   #3
neoAKiRAz
Member
 
Registered: Jan 2006
Location: Uruguay
Distribution: Kubuntu
Posts: 48

Original Poster
Rep: Reputation: 15
Yes, that's why I don't want that package to be upgraded But is quite annoying that each time adept_updater finds updates for other components, I have to manually selecting "don't upgrade" to libavcodec0d... so my question was if there's any way I can't stop Kubuntu from offering me that. Is it?
 
Old 04-25-2007, 07:51 PM   #4
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 4
Posts: 4,305

Rep: Reputation: 205Reputation: 205Reputation: 205
Quote:
Originally Posted by neoAKiRAz
Yes, that's why I don't want that package to be upgraded But is quite annoying that each time adept_updater finds updates for other components, I have to manually selecting "don't upgrade" to libavcodec0d... so my question was if there's any way I can't stop Kubuntu from offering me that. Is it?
I'm not that familiar with how Kubuntu works, but I use a package manager called 'Smart Package Manager' and with that I can permanently select components that I don't want updating and it will remember that selection.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Preventing aptitude installing a package that I have built manually Simon Fisher Debian 3 06-30-2006 05:48 AM
Preventing Deadlocks bfavreman04 Mandriva 1 12-06-2005 05:01 PM
sysv-rc error preventing package installations - help... yekibud Linux - General 2 04-22-2005 02:39 AM
Preventing Changes To Desktop xenic501 Linux - Security 1 05-03-2004 02:36 PM
preventing from attack vcheah Linux - Security 1 01-15-2002 03:43 AM


All times are GMT -5. The time now is 05:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration