Wayne Topa([EMAIL PROTECTED]) is reported to have said:
> Eduard Bloch([EMAIL PROTECTED]) is reported to have said:
> > 
> > Maybe mixed up with Ubuntu packages? Hard to debug. Enable the debug
> > logging and look for suspicious things. Unfortunately, I cannot work
> > on apt-cacher's successor now. See
> > http://www.rootfs.net/jaws/?gadget=StaticPage&id=3 for details.
> > 
> No, Eduard, I wish it was that easy.  :-)  I don't use Ubuntu or any
> of their packages.  I do have sqlite3 enabled and, as part of the the
> debug, I'll see if that might be causing some of my problems.
> 
> I have noticed some odd behavior, even without the cacher, with both
> apt-get and aptitude.  While updating, the downloads go all the way
> to the end and then say the package list isn't there and I have to
> update again and sometime 3-4 times.  I found that a lot with
> ftp.us.debian.org so am trying some others to see if that (pain)
> stops.
> 
> I'll post back on the results.
> 
> As I had to use lynx to see your page I 'think' your going to be a bit
> busy for awhile.  Good luck on the exams and forget about cacher for a
> while.  Thanks much for the reply!
> 

Results of the debug run.
(1) I disabled the /etc/apt-cacher/checksumming.conf line
    # require '/usr/share/apt-cacher/apt-cacher-lib-cs.pl'; WHICH i
      had enabled.
(2) Changed debug=0 to debug=1 in apt-cacher.conf
(3) Changed the sources.list to 
    deb http://127.0.0.1:3142/mirrors.kernel.org/debian/ testing main contrib 
non-free
    for testing.
(4) Did an aptitude update and then an aptitude upgrade yada yada-doc
    which worked for the first time!  Alas, the client did not work.
    Error was can't find the package file.  Yes I changed the client 
    sources.list to point to the server.

The error log showed no entries for 3 or 4.
The access log entries for 3 were:

Mon Nov 27 22:28:18
2006|127.0.0.1|EXPIRED|4248792|mirrors.kernel.org_debian_dists_testing_main_binary-i386_Packages.bz2
Mon Nov 27 22:28:35
2006|127.0.0.1|EXPIRED|50915|mirrors.kernel.org_debian_dists_testing_contrib_binary-i386_Packages.bz2
Mon Nov 27 22:28:36
2006|127.0.0.1|HIT|77836|mirrors.kernel.org_debian_dists_testing_non-free_binary-i386_Packages.bz2
Mon Nov 27 22:36:17 2006|127.0.0.1|MISS|47828|yada_0.51_all.deb
Mon Nov 27 22:37:47 2006|127.0.0.1|MISS|276970|yada-doc_0.51_all.deb

I don't understand the last 2 entries as the download 'did' work?
There were no entries for the client machine in the access log.

In the apt-cacher.conf I have "cache_dir=/album/apt-cacher" (a 9G
partition) which has all of the required dirs as made by the
install.pl script.  I found three yada deb files. 

/var/cache/apt/archives/yada_0.51_all.deb
/album/apt-cacher/headers/yada_0.51_all.deb
/album/apt-cacher/packages/yada_0.51_all.deb


ls -l /var/cache/apt/archives/yada_0.51_all.deb 
/album/apt-cacher/packages/yada_0.51_all.deb 
/album/apt-cacher/headers/yada_0.51_all.deb
-rw-r--r-- 1 www-data www-data 339 2006-11-27 22:36 
/album/apt-cacher/headers/yada_0.51_all.deb
-rw-r--r-- 1 www-data www-data 47K 2006-11-27 22:36 
/album/apt-cacher/packages/yada_0.51_all.deb
-rw-r--r-- 1 root     root     47K 2006-11-15 21:32 
/var/cache/apt/archives/yada_0.51_all.deb

I expected the /album/apt-cacher/packages/ to be a link to 
/var/cache/apt/archives 
instead of having 2 files.

Thats about all I found Eduard.  Hope the exams go well.

Wayne


-- 
Basic, n.:
        A programming language.  Related to certain social diseases in
that those who have it will not admit it in polite company.
_______________________________________________________


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

Reply via email to