Re: Copy the CDs to a HD
Matthew Dalton wrote:
> Uhh.... simlink stable to slink?
>
> cd to the debian directory and type:
> ln -s slink stable
Nice try.
$ ls -l
total 1
dr-xr-xr-x 4 root root 1024 Dec 6 21:56 slink
lrwxrwxrwx 1 root root 5 Dec 6 21:56 stable -> slink
OK so let's try with "stable"
--------
fennywood:# apt-get update
Err file:/data/slink1/debian/ stable/main Packages
File not found
Ign file:/data/slink1/debian/ stable/main Release
Err file:/data/slink1/debian/ stable/contrib Packages
File not found
Ign file:/data/slink1/debian/ stable/contrib Release
Ign file:/data/slink2/debian/ stable/main Release
Ign file:/data/slink2/debian/ stable/contrib Release
Failed to fetch
file:/data/slink1/debian/dists/stable/main/binary-i386/Packages
File not found
Failed to fetch
file:/data/slink1/debian/dists/stable/contrib/binary-i386/Packages
File not found
Reading Package Lists... Done
Building Dependency Tree... Done
W: Couldn't stat source package list 'file:/data/slink1/debian/
stable/main Packages'
(/var/state/apt/lists/data_slink1_debian_dists_stable_main_binary-i386_Packages)
- stat (2 No such file or directory)
W: Couldn't stat source package list 'file:/data/slink1/debian/
stable/contrib Packages'
(/var/state/apt/lists/data_slink1_debian_dists_stable_contrib_binary-i386_Packages)
- stat (2 No such file or directory)
W: You may want to run apt-get update to correct these missing files
E: Some index files failed to download, they have been ignored, or old
ones used instead.
-----------
So I change it to slink. Nice neat update, no mess like above, but when
I select a package it complains "stable" is inaccessible.
Now, watch this for some weirdness:
-----------
fennywood:# ls
/data/slink1/debian/dists/stable/contrib/binary-i386/Packages
ls: /data/slink1/debian/dists/stable/contrib/binary-i386/Packages: No
such file or directory
fennywood:# ls
/data/slink1/debian/dists/slink/contrib/binary-i386/Packages
/data/slink1/debian/dists/slink/contrib/binary-i386/Packages
-----------
What's going on? When is a symlink not a symlink?
> Jonathan Markevich wrote:
> >
> > I got a large hard drive and it would be well worth copying the Slink
> > CDs to a location on one partition. My question is how I can set up my
> > sources.list. I tried this...
> >
> > deb file:/data/slink1/debian slink main contrib
> > deb file:/data/slink2/debian slink main contrib
> >
> > but it complains about stable not being available. If I replace slink
> > with stable, it complains slink is not available. Any ideas, or is
> > there something else I need to do?
--
Jonathan Markevich <jonathan@markevich.ourfamily.com>
http://members.xoom.com/JMarkevich
Reply to: