LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Add/Remove software on FC 6 with Install disc only (https://www.linuxquestions.org/questions/linux-software-2/add-remove-software-on-fc-6-with-install-disc-only-754464/)

PhilTR 09-11-2009 02:09 PM

Add/Remove software on FC 6 with Install disc only
 
I really need some help with and older version of Fedora. I want to add and remove software from my FC_6 i386 DVD install disc.

I'm hanging on to it because I've set it up to run dvd::rip v0.98.7. It took some time getting it to work and I'm old and crepetus and I really don't want to fight with FC11. Not only that my puter is about three years old. Also I've grown quite fond of the release as it does everything I want except allow me to pull software pgms from the install DVD.

I tried following the instruction at the "Linux Windows Install Setup Configuration Project/ install software from Fedora installation DVD" but no luck.

So, I'd really appreciate it if someone could help me or point me in the right direction. I can post a copy of my 'fedora-core.repo' file as needed. Thanks in advance. phil

ongte 09-12-2009 07:32 AM

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.

PhilTR 09-12-2009 08:42 AM

Quote:

Originally Posted by ongte (Post 3679901)
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

knudfl 09-12-2009 10:34 AM

I don't know any option to set up a repo with a DVD in Fedora.
( yum relies on <url>repodata/<files>.xml** )
EDIT EDIT : I can see, you solved it, post # 5 ..:)
.. didn't know the repo files were usable ....

.. Please see : man yum
... localinstall can be used for specified packages :
Example ( Fedora 10 )
# yum localinstall \
/media/Fedora\ 10\ i386\ DVD/Packages/<package> <package> <package>

If you want to use the original repo :
.. change the URL's to the "archive" address :
http://archives.fedoraproject.org/pu...ore/6/i386/os/
It works, I have used the 'archive' for Fedora 8, also obsolete.
.....

.. The Dries repo has 4,400 packages for Fedora 6 :
http://dries.ulyssis.org/rpm/
http://dries.ulyssis.org/rpm/mirrors.html
.....
.....

How about a long term supported version of Fedora 6 ? ?
There are two :
CentOS 5.3 and Scientific Linux SL 5.3, free versions of Redhat
Enterprise Linux EL5, which is based on Fedora 6.
You would probably not notice any difference.
.....

PhilTR 09-12-2009 10:34 AM

Ah! Ha! the commands:
Code:

# umount /dev/cdrom
# mount /dev/cdrom /media/cdrom/
mount: block device /dev/cdrom is write-protected, mounting read-only

did it. I used the lines:
Code:

baseurl=file:///media/cdrom/
in the fedora-core.repo while still connected to the internets and the 'freshrpms' and 'livna' repos disabled. The mount command placed the contents of the install disk in the '/media/cdrom/' dir. Thank god I don't have any hair to pull out! phil


All times are GMT -5. The time now is 06:00 AM.