apt-get source question

2006-07-31 Thread Pollywog
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?


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: apt-get source question

2006-07-31 Thread Andrew Sackville-West
On Mon, Jul 31, 2006 at 05:10:38PM +, 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


signature.asc
Description: Digital signature


Re: apt-get source question

2006-07-31 Thread Stephen Cormier
On Monday 31 July 2006 14:10, 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?

Try apt-get source packagename=1.2.3-4  use whatever the version number is for 
testing.

Stephen

-- 
GPG Pubic Key: http://users.eastlink.ca/~stephencormier/publickey.asc


pgpAq2GQJDpbt.pgp
Description: PGP signature


Re: apt-get source question

2006-07-31 Thread John O'Hagan
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 [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: apt-get source question

2006-07-31 Thread Pollywog
On Monday July 31, 2006 5:38 pm, Stephen Cormier wrote:
 On Monday 31 July 2006 14:10, 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?

 Try apt-get source packagename=1.2.3-4  use whatever the version number is
 for testing.

I didn't think of that one.  I have my system pinned and I have stable, 
unstable, and testing sources (deb-src) in my sources.list and also some 
unofficial sources such as backports and debian-multimedia, but 'apt-get -t 
release source package' wasn't working.  I had to remove all deb-src 
lines except those I needed and then copy from a backup file when I was done 
getting the source packages.

thanks


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



apt-get source question

2000-12-19 Thread Peter Hugosson-Miller
This is an abbreviated re-post. My original posting is in the archives
here: http://lists.debian.org/debian-user-0012/msg01267.html

Is there a way to find out exactly from where apt-get is planning to
fetch a particular package?

The reason I need to know this is because of a bug in apt-get, found
and reported by a few people before me... (see original posting).

What I want to do is to make a list of the packages that are going
to be installed, together with the intended fetch location and the
relevant dependencies. A bit like this:

foo is located on Debian 2.2r0 Binary 1
- bar is located on Debian 2.2r0 Binary 2
- bob is located on Debian 2.2r0 Binary 1

Where foo depends on bar and bob, but bob doesn't depend on bar.
Armed with this information I would do apt-get install bar then
apt-get install foo, and it would work, as foo and bob are on
the same CD.

Any script ideas gratefully received!

--
Best regards,

Peter Hugosson-Miller
Faber est suae quisque fortunae.



apt-get source question

2000-12-08 Thread Peter Hugosson-Miller
Is there a way to find out exactly from where apt-get is planning to
fetch a particular package?

The reason I need to know this is because of a bug in apt-get, found
and reported by a few people before me, that goes something like
this:

--- Begin bug description -
1) I enter apt-get install foo at the console
  * Package foo is on the first binary CD
  * Package foo depends on packages bar and bob
  * Package bar is on the second binary CD
  * Package bob is on the first binary CD
2) apt-get prompts for the first binary CD
3) I insert the first binary CD and press Enter
4) apt-get unpacks foo
5) apt-get then tries to find bar and can't
6) apt-get says Wrong CD, gives up and tries to fetch bar from
   the debian site instead. If I'm connected it works, otherwise
   it fails. Wasted bandwith if it did succeed, as I already have
   bar on the second CD.
 End bug description --

I have found one workaround, however, which would be improved if
I knew exactly where the packages would be coming from:

-- Begin workaround ---
One workaround is to find out which packages are going to be 
installed by using the -s flag with apt-get install, and then
installing them in the order when they can be installed one by one.
This means that apt-get will prompt for the correct CD each time.
--- End workaround 

What I want to do is to make a list of the packages that are going
to be installed, together with the intended fetch location and the
relevant dependencies. A bit like this:

foo is located on Debian 2.2r0 Binary 1
- bar is located on Debian 2.2r0 Binary 2
- bob is located on Debian 2.2r0 Binary 1

Where foo depends on bar and bob, but bob doesn't depend on bar.
Armed with this information I would do apt-get install bar then
apt-get install foo, and it would work, as foo and bob are on
the same CD.

Any script ideas gratefully received!

--
Best regards,

Peter Hugosson-Miller
Faber est suae quisque fortunae.



apt-get source question

2000-02-11 Thread Ron Farrer

Hello;

Is there a way to do an apt-get -f dist-upgrade but have it download
the source, build it, then install it? I can do this just fine
specifying the package I want, but is there a way to do a complete
upgrade? 


TIA,

Ron
-- 
===
=  Ronald Burnett Farrer  =
===
= mailto:[EMAIL PROTECTED] =
= http://www.farrer.net =
===
|||
|Alpha Linux Powered! |
| http://www.alphalinux.org |
||| 


Re: Apt-get source question

1999-08-26 Thread Wayne Topa

Subject: Apt-get source question
Date: Sat, Feb 12, 2000 at 09:17:18AM -0200

In reply to:Paulo Henrique Baptista de Oliveira

Quoting Paulo Henrique Baptista de Oliveira([EMAIL PROTECTED]):
 Hi Debian users,
 anyone knows if with apt-get source package I can see the new 
 avaliable packages before get sourcing to checks if the pack
 age is it or doesn't exist?
 My problem is:
 I have a slink home box. First I installed apt 0.3.11 to get source 
 potato packages to compile here. So, I have a slink bo
 x with lot of potato packages compiled.
 But, how do I check what new packages are avaliable for me to get 
 with apt-get source? Only with more /var/lib/dpkg/avalia
 ble I can do this! :(
 Thanks, Paulo Henrique
 
 
Paulo

  Could you _please_ set your editor to wrap at 70 or so columns.
Your posts a a pain to read as setup now.

Thanks

-- 
A LISP programmer knows the value of everything, but the cost of
nothing.
___
Wayne T. Topa [EMAIL PROTECTED]


Apt-get source question

1999-08-22 Thread Paulo Henrique Baptista de Oliveira
Hi Debian users,
anyone knows if with apt-get source package I can see the new avaliable 
packages before get sourcing to checks if the pack
age is it or doesn't exist?
My problem is:
I have a slink home box. First I installed apt 0.3.11 to get source 
potato packages to compile here. So, I have a slink bo
x with lot of potato packages compiled.
But, how do I check what new packages are avaliable for me to get with 
apt-get source? Only with more /var/lib/dpkg/avalia
ble I can do this! :(
Thanks, Paulo Henrique