[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Creating local package cache with apt-move



Lo, on Saturday, March 30, Simon Hepburn did write:

> Richard Cobbe wrote:
> 
> > No, the three slashes are in fact correct.
> 
> Hrmm.. just to add to the confusion. I just checked my sources.list
> and saw I was using single slash. I did man sources.list to see if I
> was going out of my mind. I'm not.

No; it's apparently variable.  Still, the apt-move manpage did say to
use a file: URI, and every time I've seen those on a Unix system to
date, they've started with three slashes.  That, however, may be a
netscape/mozilla peculiarity; I believe the kernel considers multiple
consecutive slashes to be superfluous and throws away all but one.

> >  Turns out you have to write the Release files by hand.
> 
> I have never had to do that. If I comment out all lines in sources.list 
> except my local mirror and do dselect|update I get to see everything in 
> there.

> I'm not sure this is the problem. I just checked your apt-move.conf
> again and noticed a couple of problems:
> 
> ARCHS="alpha arm hurd-i386 i386 m68k powerpc sparc"
> Do you really have all these installed ;-)

Yeah, I realized that only *after* I did a `apt-move sync' and pulled
down all sorts of random crud.  This is now "i386" only.

> DIST=potato
> This should be testing. At least, that's what your sources.list points to. 
> They need to be the same.

Yeah; saw that at the same time; it's now `woody'.

> However...
> 
> > Things are fine now; apt-get and dselect see the package files in my
> > local mirror.  (I found found this after a little bit more careful
> > digging through the debian-user archives.)

...where `now' is defined to mean `after I fixed the above two settings.'
 
> ....If it ain't broke don't fix it :-) 

In general, I agree, but I would like to understand exactly what's going
on here.  I may try moving the Release files outside the mirror,
commenting everything out of sources.list, and trying again.

> > > BTW when I reply to your message only part of it shows up in my
> > > mailer. Not sure if that is my problem or yours.
> >
> > I doubt this is a problem; it's probably just the way KMail works.  I
> > included the sources.list and apt-move.conf files as MIME attachments
> > (text/plain); a lot of mailers tend to display that MIME type inline but
> > not include it in replies.  I know VM works that way, ISTR that
> > Netscape's mailer does also.
> 
> I guessed they were attachments #1 and #2, what I was referring to was this:
> 
> "Any advice would be very welcome.
> 
> Thanks,
> 
> Richard"

Oh.  More attachment stuff; this is just how VM handles attachments
interposed into the body of the message.  I'd attached the two config
files, then kept typing; VM basically considers everything after the
first attachment to be an attachment, possibly of type text/plain with
inline content disposition.

On a related note, how come /var/lib/dpkg/available keeps getting hosed?
It's happened to me twice now.  The first time, I figured I was SOL and
re-installed from scratch (fortunately I didn't lose much).  It happened
again about an hour ago, but I recovered by blowing away the existing
copy (on the grounds that I didn't have anything to lose) and rerunning
`dselect update', which recreated it correctly.  What's going on here?

Thanks much for your advice,

Richard


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: