Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 09-06-2005, 12:13 PM   #1
Registered: Sep 2004
Distribution: Debian Etch
Posts: 179

Rep: Reputation: 30
Apt-get build-dep and Pinning


I'm running Debian Etch at the moment and want to install Mozilla-Firefox. My sources list contains the folllowing:
deb testing main contrib non-free
deb-src testing main contrib non-free

deb unstable main contrib non-free
deb-src unstable main contrib non-free

deb testing/updates main contrib non-free

deb stable non-free

#extra software
deb etch main
I've set up Pinning which points to the testing repository as default (I needed the udev package from unstable in order to be able to install alsa in testing). Now I want to get the build-dependencies for mozilla-firefox in testing. However, 'apt-get build-dep mozilla-firefox' seems to ignore my pinning set-up as it tries to get the build-deps from unstable.

I want to get the build-deps from testing. Next I want to get the source from unstable. I will have to remove some things in the debian/rules to get it too compile on testing, but that won't be a problem.

Does anybody know how I can tell 'apt-get build-dep' which repository to use???
Old 09-07-2005, 05:38 AM   #2
Registered: Aug 2003
Location: Britain
Distribution: AntiX, Debian, Gentoo
Posts: 65

Rep: Reputation: 18
Hi McCloud,

This apt-pinning guide has some info.

Based on that, I'd try apt-get build-dep mozilla-firefox/unstable, which should fill dependencies from your pin-priority repository, i.e. testing.

I've not tried it myself, though.

Old 09-07-2005, 06:36 AM   #3
Registered: Sep 2004
Distribution: Debian Etch
Posts: 179

Original Poster
Rep: Reputation: 30
That doesn't work, I tried that before I even opened this topic.

'apt-get buil-dep mozilla-firefox/testing' tells me that it can't find a package called 'mozilla-firefox/testing'.

I think that the build-dependencies part of apt doesn't support pinning. I've solved the problem by manually installing the build-dependencies. I have now Mozilla Firefox 1.0.6-3 running in testing


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
apt pinning question divukman Debian 3 12-01-2005 11:49 AM
Does apt-get/aptitude's purge option removed required dep of other packages? Akhran Debian 1 09-05-2005 07:52 PM
Apt-build RobNyc Debian 1 02-22-2005 03:14 PM
Partial upgrade with APT pinning (debian)? MaulingMonkey Linux - Software 1 01-21-2005 07:11 AM
apt-pinning h/w Debian 6 02-25-2004 12:57 PM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 06:45 AM.

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