Quote:
Originally Posted by ongte
Exactly how the .repo fil would look like I can't say cuz I use Fedora anymore. But I do remember that you need to set the location of the media like this:
Code:
baseurl=file:///media/cdrom/????
You have to mount the DVD manually every time cuz yum doesn't handle that.
|
ongte, thanks for your reply. I tried that approach. First:
Code:
[core]
name=Fedora $releasever - $basearch
baseurl=file:///media/dvd-rom/
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/
#mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=core-$releasever&arch=$basearch
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
and then:
Code:
[core]
name=Fedora $releasever - $basearch
baseurl=file:///media/FC_6 i386 DVD/
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/
#mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=core-$releasever&arch=$basearch
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
"FC_6 i386 DVD" is how nautilus displays the install DVE and it's displayed by terminal as "FC/6 i386 DVD" with spaces. I tried all flavors of the above in the "file" line.
I also unmounted with "# umount /dev/cdrom" and remoundet with "# mount /dev/cdrom /media/dvd-rom/" and "# mount /dev/cdrom /media/FC_6 i386 DVD/" all w/o success. At that point i'd have pulled out my hair except that I don't have any due to chemo treatments (lymphoma).
When I tried to mount the DVD I got the error message
Code:
# mount /dev/cdrom /media/dvd-rom/
mount: mount point /media/dvd-rom/ does not exist"
and:
Code:
# mount /dev/cdrom /media/FC_6 i386 DVD/
Usage: mount -V : print version
mount -h : print this help
mount : list mounted filesystems
mount -l : idem, including volume labels
So far the informational part. Next the mounting.
The command is `mount [-t fstype] something somewhere'.
Details found in /etc/fstab may be omitted.
mount -a [-t|-O] ... : mount all stuff from /etc/fstab
mount device : mount device at the known place
mount directory : mount known device here
mount -t type dev dir : ordinary mount command
Note that one does not really mount a device, one mounts
a filesystem (of the given type) found on the device.
One can also mount an already visible directory tree elsewhere:
mount --bind olddir newdir
or move a subtree:
mount --move olddir newdir
One can change the type of mount containing the directory dir:
mount --make-shared dir
mount --make-slave dir
mount --make-private dir
mount --make-unbindable dir
One can change the type of all the mounts in a mount subtree
containing the directory dir:
mount --make-rshared dir
mount --make-rslave dir
mount --make-rprivate dir
mount --make-runbindable dir
A device can be given by name, say /dev/hda1 or /dev/cdrom,
or by label, using -L label or by uuid, using -U uuid .
Other options: [-nfFrsvw] [-o options] [-p passwdfd].
For many more details, say man 8 mount
The second error message provided too much info. Refer to hair status above.
I'm going to spend some time plowing through the second error message this morning and maybe I can find my way out of this thicket or not.
I've also disabled the 'freshrpms' and 'livna' repos.
Anyway thanks for your and anyone elses help.
phil