LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-11-2009, 02:09 PM   #1
PhilTR
Member
 
Registered: Jun 2004
Location: Birmingham, AL
Distribution: FC6, FC8, FC11
Posts: 102

Rep: Reputation: 17
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
 
Old 09-12-2009, 07:32 AM   #2
ongte
Member
 
Registered: Jun 2009
Location: Penang, Malaysia
Distribution: Mageia, CentOS, Ubuntu
Posts: 468

Rep: Reputation: 72
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.
 
Old 09-12-2009, 08:42 AM   #3
PhilTR
Member
 
Registered: Jun 2004
Location: Birmingham, AL
Distribution: FC6, FC8, FC11
Posts: 102

Original Poster
Rep: Reputation: 17
Quote:
Originally Posted by ongte View Post
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

Last edited by PhilTR; 09-12-2009 at 09:56 AM.
 
Old 09-12-2009, 10:34 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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.
.....

Last edited by knudfl; 09-12-2009 at 10:44 AM.
 
Old 09-12-2009, 10:34 AM   #5
PhilTR
Member
 
Registered: Jun 2004
Location: Birmingham, AL
Distribution: FC6, FC8, FC11
Posts: 102

Original Poster
Rep: Reputation: 17
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

Last edited by PhilTR; 09-12-2009 at 11:02 AM.
 
  


Reply

Tags
fedora 6



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Add/Remove software & Software Updater not working timelord567 Linux - Newbie 8 06-11-2009 09:39 PM
Add/Remove Software won't close after install or update tahrenyie85 Linux - Newbie 1 01-12-2009 10:29 PM
how do install ndiswrapper?....cant use add/remove software king-o-noob Linux - Software 1 10-26-2008 01:02 AM
Add/Remove Software - Unable to retrieve software information oohyeah Linux - Newbie 7 02-17-2008 05:30 AM
Add/Remove Software amdawi Fedora 3 10-04-2007 05:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration