LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-06-2005, 12:13 PM   #1
McCloud
Member
 
Registered: Sep 2004
Distribution: Debian Etch
Posts: 179

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


Hello,

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

#unstable
deb ftp://ftp.nl.debian.org/debian/ unstable main contrib non-free
deb-src ftp://ftp.nl.debian.org/debian/ unstable main contrib non-free

#security
deb http://security.debian.org/ testing/updates main contrib non-free

#Skype
deb http://download.skype.com/linux/repos/debian/ stable non-free

#extra software
deb ftp://ftp.nerim.net/debian-marillat/ 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
FrankP
Member
 
Registered: Aug 2003
Location: Britain
Distribution: Debian, MacOSX, FreeBSD
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.

Frank
 
Old 09-07-2005, 06:36 AM   #3
McCloud
Member
 
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
 
  


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
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


All times are GMT -5. The time now is 07:53 AM.

Main Menu
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