Re: Current user friendly documentation of Debian repository structure and use???
Richard Owlett wrote:
...
ages ago i used a straight copy from the
DVDs for lenny to set up what sounds like
what you want to do. get a copy of the
DVDs onto a faster hard drive.
wish i had perfect memory, but i think
i just used a simple recursive copy
cp -ra [src] [target]
if you have USB 3 this should be faster
than what i went through.
i'm not sure if i had to link some
files/directories after that copy to get
apt-get and synaptic to be happy, but it
did work and i used those copies until
squeeze hit testing.
i had entries in /etc/apt/sources.list that
looked like:
deb file:/mb/debian/lenny/cdrom01/ lenny contrib main
deb file:/mb/debian/lenny/cdrom02/ lenny contrib main
deb file:/mb/debian/lenny/cdrom03/ lenny contrib main
deb file:/mb/debian/lenny/cdrom04/ lenny contrib main
deb file:/mb/debian/lenny/cdrom05/ lenny contrib main
i haven't had to do anything like this since
then so i'm not sure if it would work for
squeeze/wheezy.
you may need an entry in /etc/apt/apt.conf that
looks like:
APT::Get::AllowUnauthenticated "true";
to avoid having to set up authentication stuff...
[don't run normally with this option set]
if anything just try to copy the first dvd and
see what happens and what error messages come
out of apt-get or synaptic and go from there.
ls /dvd01 if you have the first dvd mounted
to /dvd01 should give you the top directories
and then you can look further down in from
there to see how it looks.
songbird
Reply to: