Re: apt with smbmount
On Thu, 19 Aug 1999 09:08:07 -0700, you wrote:
>I'm installing slink on a friend's old '486, with a CD rom which is
>smbmounted from a drive on his win98 box.
>I can access the .deb files okay, and can do 'dpkg -i file.deb', but
>'apt-get install <package>' is broken because the symlinks on the CD
>aren't followed.
>Is there any way to get apt-get to work on an smbmounted CD rom?
You need a recent apt (for example apt-0.3.6.1 which by no doubt is
outdated by now) and apt.conf:
|mh@torres[4/121]:~$ cat /etc/apt/apt.conf
|Acquire
|{
| CDRom
| {
| Mount "/mnt/cdrom";
| "/mnt/cdrom/"
| {
| Mount "smbmount //janeway/cdrom /mnt/cdrom -U user -P password";
| UMount "umount /mnt/cdrom";
| }
| }
|}
|
|mh@torres[5/122]:~$
The smbmount command line is for a 2.0.x style kernel, that line must
mount the cd-rom without doing and interactive things like asking for
a password.
Greetings
Marc
--
-------------------------------------- !! No courtesy copies, please !! -----
Marc Haber | " Questions are the | Mailadresse im Header
Karlsruhe, Germany | Beginning of Wisdom " | Fon: *49 721 966 32 15
Nordisch by Nature | Lt. Worf, TNG "Rightful Heir" | Fax: *49 721 966 31 29
Reply to: