Re: apt and publicfile's httpd

[email protected] Tue, 26 Oct 2004 14:49:29 -0500
Newsgroups gmane.comp.djb.publicfile
Message-ID <[email protected]>
On Tue, Oct 26, 2004 at 02:47:39AM -0400, Jeff King wrote:
> On Mon, 25 Oct 2004 [email protected] wrote:
> 
> >rpm	http://djbware.csi.hu apt djbware
> >rpm-src	http://djbware.csi.hu apt djbware
> 
> Sorry, but I wasn't able to reproduce your problem. I am, however, using
> the unmodified Debian version of apt, which may behave differently (my
> apt doesn't understand 'rpm' lines nor the directory structure you
> showed).
> 
> I did run a brief test in which I used apt-get to grab a Sources list
> and successfully run a command similar to the one you gave below (though
> I obviously used a .deb and a different directory structure). The http
> server was publicfile, and everything worked fine.
> 
> ># apt-get source qmail
> >Reading Package Lists... Done
> >Building Dependency Tree... Done
> >E: Unable to find a source package for qmail
> 
> Odd that it doesn't complain about an error in the http connection. Are
> you sure you ran 'apt-get update' after changing your sources file and
> before running this command? It might simply not know where to look.

Sorry, I forgot to do that step once I changed the sources.list file
to point to the http URL.  Here is  what I get

# apt-get update
Get:1 http://djbware.csi.hu apt release
Fetched 319B in 0s (7527B/s)
Get:1 http://djbware.csi.hu apt/djbware pkglist
Get:2 http://djbware.csi.hu apt/djbware release
Get:3 http://djbware.csi.hu apt/djbware srclist
Fetched 22.0kB in 0s (266kB/s)
Reading Package Lists... Done
Building Dependency Tree... Done

# apt-get source qmail
Reading Package Lists... Done
Building Dependency Tree... Done
Need to get 343kB of source archives.
Err http://djbware.csi.hu apt/djbware qmail 1.03-111patch_14_15 (srpm)
  404 file does not exist
Failed to fetch http://djbware.csi.hu/apt/./SRPMS.djbware/qmail-1.03-111patch_14_15.src.rpm  404 file does not exist
E: Failed to fetch some archives.

Here are the logs from the http server:

@40000000417ea5712f6a2924 tcpserver: pid 26258 from 141.225.8.55
@40000000417ea5712f6a34dc tcpserver: ok 26258 0:141.225.11.87:80 :141.225.8.55::56029
@40000000417ea5712f6a447c 141.225.8.55 read ./djbware.csi.hu/apt/base/release: success
@40000000417ea5712ff3bfcc tcpserver: end 26258 status 0
@40000000417ea5712ff3d354 tcpserver: status: 0/10
@40000000417ea57130b24d0c tcpserver: status: 1/10
@40000000417ea57130b300bc tcpserver: pid 26259 from 141.225.8.55
@40000000417ea57130b30c74 tcpserver: ok 26259 0:141.225.11.87:80 :141.225.8.55::56030
@40000000417ea57130b31c14 141.225.8.55 read ./djbware.csi.hu/apt/base/pkglist.djbware.bz2: success
@40000000417ea5713155248c 141.225.8.55 read ./djbware.csi.hu/apt/base/release.djbware: success
@40000000417ea57131967b1c 141.225.8.55 read ./djbware.csi.hu/apt/base/srclist.djbware.bz2: success
@40000000417ea571354c8224 tcpserver: end 26259 status 0
@40000000417ea571354c9994 tcpserver: status: 0/10
@40000000417ea57e2bec6c44 tcpserver: status: 1/10
@40000000417ea57e2bed337c tcpserver: pid 26260 from 141.225.8.55
@40000000417ea57e2beeece4 tcpserver: ok 26260 0:141.225.11.87:80 :141.225.8.55::56031
@40000000417ea57e2c030184 141.225.8.55 read ./djbware.csi.hu/apt/:/SRPMS.djbware/qmail-1.03-111patch_14_15.src.rpm: open failed: file does not exist

What  is that : in the last path?


Mate