Re: apt-get source question



On Tuesday 01 August 2006 03:10, Pollywog wrote:

[...]
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?

I don't think so; AFAIK you must add the testing source repositories to
sources.list, and do apt-get update; then your command should work.

The update tells apt what packages are available in each repository in
sources.list.

If you want to keep the testing repositories, set up pinning so you have
stable as default (although most say mixing distributions is not a good
idea), otherwise remove them from sources.list and update again when you are
done.

Luck,

John


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: [opensuse] KDE Cleanup
    ... I have a snapshot of my repositories page so it's all good. ... accessible during the installation. ... To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx ... For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx ...
    (SuSE)
  • Re: Gnome?
    ... To unsubscribe: ... Whichever of the two works for you. ... there's XFCE also (on fedora ... repositories). ...
    (Fedora)
  • Re: Ati driver stopped working after update
    ... After updating the source package did you run module-assistant to ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: apt-get source picks the wrong repository
    ... > I can't believe that it would be a problem, as I imagine your ... Package: fakeroot ... why is the fakeroot source package in there 1.5.6? ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: apt-get source question
    ... On Monday July 31, 2006 5:38 pm, Stephen Cormier wrote: ... I want to get a source package from the "testing" release, ... Try apt-get source packagename=1.2.3-4 use whatever the version number is ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)