On Wed, Dec 12, 2001 at 01:13:50AM -0500, Justin R. Miller wrote: > Thus spake Nathan E Norman ([EMAIL PROTECTED]): > > > $ apt-get source php4/testing > > > > should work, but doesn't. It says "unable to find a source package > > for php4/testing" ... > > > > I'm looking at the pool directory and the source for 4.0.100 (the > > version in testing) is there ... so you could always download it > > manually and use dpkg-source to unpack. However, it seems like > > apt-get should be able to do it ... > > > > After reading the man page a few times, I tried > > > > $ apt-get source php4=3:4.0.100-1 > > > > and it works!! Use "apt-cache show <pkgname>" and look for the > > "Version:" tag to see what you need to put after the = char (make sure > > you're looking at the correct entry; "apt-cache show" shows info for > > all the releases it knows about. In the case of php4 with my > > sources.list this means I have 4 entries (sid, woody, potato, > > security). > > > > This is cool! I learned something today :) > > I think that the -t flag works for getting source as well. Have a look > at the man page.
It didn't. I tried that and thought I mentioned it in my email ... that bit seems to have been omitted. My bad. I've been using -t to install stuff from unstable; I use pinning to track testing by default. I don't claim to be an apt-get expert (you want Jason Gunthorpe there), but I'm not exactly inexperienced either. I've just tried it again ... "apt-get -t testing source php4" installs version 3:4.1-2. Did you actually try this, or just post based on your interpretation of the man page? If you actually read my post you'd have noticed that I did read the man page. IMO, the behavior of the -t flag combined with source matches the behavior described in the section describing the source directive. -- Nathan Norman - Staff Engineer | A good plan today is better Micromuse Ltd. | than a perfect plan tomorrow. mailto:[EMAIL PROTECTED] | -- Patton
pgpZuPYWq03NA.pgp
Description: PGP signature