Re: yum via DVD iso

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

 



On Sun, 2005-02-13 at 08:03 +0100, THUFIR HAWAT (thufir) wrote: 
> Paul Howarth wrote:
> [..]
> Three steps (FC3 i386 version):
> 
> 1. Create a yum repository from your DVD
> 
> # mkdir -p /path/to/your/repo/dvd
> # mount -r -o loop /path/to/FC3-i386-DVD.iso /path/to/your/repo/dvd
> [..]
> 
> Here's a script of me trying to do this, sorry for the ^G and so on:

Please edit out the unprintable characters in future.

> Script started on Sun 13 Feb 2005 10:43:42 AM PST
> [root@localhost heidelberg-i386-DVD]# pwd
> /mnt/hda2/dvd/heidelberg-i386-DVD
> [root@localhost heidelberg-i386-DVD]# ll
> total 2408608
> -rwxr-xr-x  1 thufir root 2466410496 Feb 11 17:25 FC3-i386-DVD.iso
> -rwxr-xr-x  1 thufir root        791 Feb 11 17:25 md5sum
> root@localhost heidelberg-i386-DVD]# mkdir -p /,

Are these unprintable characters the name of the directory you want your repository to be in?

> [root@localhost heidelberg-i386-DVD]# mkdir -p /mnt/hda2/dvd/heidelberg-i386-DVD
> [root@localhost heidelberg-i386-DVD]# mkdir -p /mnt/hda2/dvd/heidelberg-i386-DVD
> [root@localhost heidelberg-i386-DVD]# mount -r -o loop /mnt/hda2/dvd/heidelberg-ii386-DVD/FC3-i386-DVD.iso 
> mount: can't find /mnt/hda2/dvd/heidelberg-i386-DVD/FC3-i386-DVD.iso in /etc/fstab or /etc/mtab
> [root@localhost heidelberg-i386-DVD]# mount -r -o loop /mnt/hda2/dvd/heidelberg-i
> i386-DVD/FC3-i386-DVD.iso 
> mount: can't find /mnt/hda2/dvd/heidelberg-i386-DVD in /etc/fstab or /etc/mtab
> [root@localhost heidelberg-i386-DVD]# mount -r -o loop /mnt/hda2/dvd/heidelberg-i
> i386-DVD/
> mount: can't find /mnt/hda2/dvd/heidelberg-i386-DVD in /etc/fstab or /etc/mtab

You are not following the instructions I gave.

1. Make a directory to hold your new repository. Let's call that
"/path/to/your/repo". Make a further subdirectory of that, called "dvd".
Command needed to do these:

# mkdir -p /path/to/your/repo/dvd

2. Mount your DVD ISO image on this "dvd" directory. Command needed to
do this:

# mount -r -o loop /path/to/FC3-i386-DVD.iso /path/to/your/repo/dvd

Then follow the rest of the instructions I have in the previous email.

Paul.
-- 
Paul Howarth <paul@xxxxxxxxxxxx>


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux