Re: fetch souce packages
On Mon, Mar 07, 2005 at 01:58:57AM +0100, Rakotomandimby (R12y) Mihamina wrote:
> I have a sparc box
> I want to recompile some packages only available for x86 to make
> packages for sparc.
> If I just try to fetch the source package with 'apt-get source
> package_name' from the sparc it doesn't work, because the package is not
> available for sparc.
Interesting; I wouldn't have expected that. Most packages work,
> Is the only solution to go to packages.debian.org and manually fetch the
> sources for x86?
There is always a better way. I just grabbed these with ethereal:
GET /debian/pool/main/a/aa3d/aa3d_1.0-2.dsc HTTP/1.1
GET /debian/pool/main/a/aa3d/aa3d_1.0.orig.tar.gz HTTP/1.1
GET /debian/pool/main/a/aa3d/aa3d_1.0-2.diff.gz HTTP/1.1
If you parse the version numbers or grep the ls-lR file you can easily
automate it. I don't know that this is preferable to using
packages.d.o, but it shows what's happening, anyway.