Re: apt-get source question



On Mon, Jul 31, 2006 at 05:10:38PM +0000, Pollywog wrote:
I looked in the APT tutorial and also in a book but I could not find an answer
to this problem.

I want to get a source package from the "testing" release, not from "stable",
so I did this:

apt-get -t testing source <packagename>

It does not seem to work. Is there a way to do this without temporarily
modifying the sources.list in order to get the desired sources?

without putting the testing repositories in your sources.list and
apt-get updating, you cannot get the package through apt. You could,
however, use wget or something similar to get the package, if its a
one time deal. wget <repositoryaddress>/path/to/package/<Package
file.deb> and then dpkg -i it.

That said, there is no harm in adding repositories to your
sources.list. It will slow down your apt-get update. Otherwise, provided your
apt is set up correctly, it should cause no problems. You'll probably
want to set

APT::Default Release "<your preferred release here>"

in your apt_preferences.

A

Attachment: signature.asc
Description: Digital signature



Relevant Pages

  • Re: Debian
    ... Both apt and dpkg are package tools, as are aptitude, synaptic, ... Which is ultimately why Ubuntu, and via Ubuntu, Debian, is basically ... There have been lots of efforts to "improve" Debian before now, ...
    (Ubuntu)
  • APT -- if I do this will I screw the pooch?
    ... I typically use aptitude in command-line mode as a front-end to APT. ... I was thinking of setting up the notebook by doing a basic install off my old woody CDs I originally set up my desktop off of, getting a working net connection in place, then immediately upgrading everything via the net to current stable before building out the system any further. ... I don't want the notebook to have to download them all again, especially since security.debian.org, which has a lot of the latest versions of stable packages, seems to get overloaded and be very slow to download at times. ... This is because although I want them both to use the same repository of downloaded package files, I want the two machines to independently track what's installed, so I don't have to keep installed packages identical on both machines. ...
    (Debian-User)
  • Re: eclipse-pydev: New upstream release 1.3.13 avaible
    ... [general package management] ... I strongly disagree with having maven listed in a row with apt and rpm ... lot of internal java dev teams I know of still deal with dependencies by ... other package needs a newer version. ...
    (Ubuntu)
  • Re: smart package mgr question?
    ... resolving broken package deps inside of an installed system. ... apt and smart diagnose them and try to resolve them, ... I.e. the fact yum doesn't complain, ... I have run into problems where apt tries to fix the repository issues ...
    (Fedora)
  • Re: [SLE] apt-get questions
    ... > each have some duplicates of packages of the others. ... Unless they made some changes to apt in the past few months, ... written to see that it can get the same package at another place. ...
    (SuSE)