LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 09-15-2006, 08:08 AM   #1
michapma
Member
 
Registered: Oct 2003
Location: Zürich
Distribution: Debian
Posts: 537

Rep: Reputation: 39
question on pinning


Hi all,

I've been running Sarge for a while now and have avoided pinning for a long time, but am now seriously considering pinning Firefox and probably also Inkscape from testing. I like this idea better than backports for somewhat intangible reasons. Since I've never pinned, I'm proceeding carefully; I want to keep my system as close to stable as possible after installing these two packages, and I am hoping they don't have too many dependencies. I've added testing sources to sources.list and created a preferences file (as described at dastrike's wiki) that looks like this:
Code:
# cat preferences
Package: *
Pin: release a=stable
Pin-Priority: 700

Package: *
Pin: release a=testing
Pin-Priority: 600
Now, after modifying sources.list I ran "apt-get update", and everything looks fine. But when I then simulate an upgrade (without first installing any packages), it seems that APT wants to update one of my libraries to a version from testing:
Code:
# apt-get upgrade -s
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages have been kept back:
  acroread acroread-plugins
The following packages will be upgraded:
  libpixman1
1 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
This does make some sense -- "apt-cache show" says that the candidate is from testing. If it already exists on my system, then I got it either from stable or, more likely, from nerim-marillat (now debian-multimedia.org). The question is, how can I know whether I should let it be updated?

I have some concerns about whether this will even work as desired. "#apt-get -s install firefox" shows several library depends, so I tried instead:
Code:
# apt-get -s -t testing install firefox
Reading Package Lists... Done
Building Dependency Tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  firefox: Depends: libgtk2.0-0 (>= 2.8.0) but 2.6.4-3.1 is to be installed
           Depends: libxinerama1 but it is not going to be installed
E: Broken packages
I'm not sure how to proceed from there.

Can anyone speak from experience? Would it actually be easier to install Firefox 1.5 from a backport than to pin from testing?
 
Old 09-16-2006, 12:59 AM   #2
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Quote:
Originally Posted by michapma
Code:
The following packages have unmet dependencies:
  firefox: Depends: libgtk2.0-0 (>= 2.8.0) but 2.6.4-3.1 is to be installed
           Depends: libxinerama1 but it is not going to be installed
E: Broken packages
I'm not sure how to proceed from there.

Can anyone speak from experience? Would it actually be easier to install Firefox 1.5 from a backport than to pin from testing?
Well normally you would add the libgtk2.0-0 to your install from testing line but that is going to end up in a mess eventually with most of your install being testing with some stable sticking around just to cause problems. You should either dist-upgrade to testing or just get the packages in backports that are actually built to install on your system.
 
  


Reply



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
pinning nvidia 3.4.3 muddywaters MEPIS 0 05-27-2006 12:10 PM
apt pinning question divukman Debian 3 12-01-2005 10:49 AM
pinning packages ptawe Debian 1 07-29-2005 09:35 AM
Pinning syntax? sard Debian 2 03-02-2005 03:18 AM
apt-pinning h/w Debian 6 02-25-2004 11:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 01:18 PM.

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
Open Source Consulting | Domain Registration