|
#1
|
|||
|
|||
|
Fedora core 5 rpm installation problem
i am having a stange problem i have installed fedora core 5 and i have mounted the dvd on the os but when i try to install a software from the add/remove software or the package manager it goes to the internet to download all the dependencies and sometimes it even downloads the software. When i double click the rpm from the Fedora\rpm folder it also does the same thing but this way it only downloads the dependencies.
Any help will be appreciated |
|
#2
|
||||
|
||||
|
Not sure how to fix this specific problem, it probably has something to do with sources not pointing to your dvd (similar to how apt would work on debian). Check the Unofficial Fedora Faq.
__________________
Tips for Linux Newcommers If we have helped you, please consider supporting Cyber Tech Help with a subscription.
|
|
#3
|
|||
|
|||
|
i have some problems when installing mplayer with yum here they are
i wanted to install yum to access local system rpm's(on a system folder) so i follwed a guide on internet to do this i did the following as root Created a repository directory called "repo": # mkdir -p /home/repo 2.)Created a RPMS directory inside repo: # mkdir -p /home/repo/rpms 3.)Changed to the "repo" directory: # cd /home/repo 4.)Copied all rpm's from my DVD into the RPMS directory: # cp /media/disk/Fedora/RPMS/* rpms 5.)Copied the "comps.xml" file to the repo directory: # cp media/disk/repodata/comps.xml . 6.)Created the repository metadata: # rpm -Uvh RPMS/createrepo* # createrepo -g comps.xml . 7.)Configured yum to use my new repository: commented out(added # to the start of) all lines starting with "baseurl" and "mirrorlist" in the [core] repository section at the top of the /etc/yum.repos.d/fedora-core.repo file 8.)Added the following line to the same section in the same file: baseurl=file:///home/repo 9.)I also disabled all the other repositories to prevent problems by changing enabled=1 to enabled=0 in all of them(I don't know if this was necessary, but I didn't want to screw it up) now the problem is that when i tried to install mplayer via yum -y install mplayer mplayer-skins mplayer-fonts it shows this Code:
Loading "installonlyn" plugin Setting up Install Process Setting up repositories dries [1/3] core [2/3] macromedia [3/3] Reading repository metadata in from local files Parsing package install arguments No Match for argument: mplayer No Match for argument: mplayer-skins No Match for argument: mplayer-fonts Nothing to do my fedora-core.repo file looks like this now Code:
[core] name=Fedora Core $releasever - $basearch baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/ mirrorlist=http://fedora.redhat.com/download/mirrors/fedora-core-$releasever enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY [core-debuginfo] name=Fedora Core $releasever - $basearch - Debug baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/debug/ enabled=0 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY [core-source] name=Fedora Core $releasever - Source baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/source/SRPMS/ enabled=0 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
|
|
#4
|
|||
|
|||
|
another thing i would like to tell you ppl so u can have a bit more info in my case is that i followed this guide to enable yum and it was due to this guide that i wanted yum to run locally as when i started to update yum in the last line it showed me that it will download 650 mb from internet so i skipped the last part when it downloaded 8 files out of 250 here is the guide
Code:
* Open the terminal. Type:
su -
Hit enter. Type your root password. Hit enter.
* Type:
rpm -ivh http://ftp.freshrpms.net/pub/freshrpms/fedora/linux/5/freshrpms-release/freshrpms-release-1.1-1.fc.noarch.rpm
Hit enter and wait for the installation to complete.
* Type:
gedit /etc/yum.repos.d/macromedia.repo
Hit enter and gedit will open.
* Type or copy and paste the following in gedit:
[macromedia]
name=Macromedia for i386 Linux
#baseurl=http://macromedia.rediris.es/rpm/
#baseurl=http://macromedia.mplug.org/rpm/
baseurl=http://sluglug.ucsc.edu/macromedia/rpm/
enabled=1
gpgcheck=1
gpgkey=http://sluglug.ucsc.edu/macromedia/FEDORA-GPG-KEY
Be sure there is a carriage return (blank line) at the bottom of the file. Click the "save" icon in gedit and then close gedit.
* Type:
gedit /etc/yum.repos.d/dries.repo
Hit enter and gedit will open.
* Type or copy and paste the following in gedit:
[dries]
name=Extra Fedora rpms dries - $releasever - $basearch
baseurl=http://ftp.belnet.be/packages/dries.ulyssis.org/fedora/linux/$releasever/$basearch/dries/RPMS/
enabled=1
gpgcheck=1
Be sure there is a carriage return (blank line) at the bottom of the file. Click the "save" icon in gedit and then close gedit.
* While still in the root terminal type:
rpm --import http://freshrpms.net/packages/RPM-GPG-KEY.txt
Hit enter. You have just imported the GPG key for the freshrpms repository.
* Also type:
rpm --import http://apt.sw.be/dries/RPM-GPG-KEY.dries.txt
Hit enter. You have just imported the GPG key for the dries repository.
* Type:
yum -y update
Hit enter. Your system will be updated. Reboot your machine.
as i mentioned i skipped the last part ( yum -y update)when it downloaded 8 files out of 250 Also i have only 3 repositories files enabled dries.repo macromedia.repo fedora-core.repo |
|
#5
|
||||
|
||||
|
The problem is there is no mplayer package on your hard disk for yum to install. Yum is not intended to be used as you are using it, it works much better if you follow the guide in the faq and install packages + deps via the internet.
__________________
Tips for Linux Newcommers If we have helped you, please consider supporting Cyber Tech Help with a subscription.
|
![]() |
| Bookmarks |
«
Previous Topic
|
Next Topic
»
| Topic Tools | |
|
|
All times are GMT +1. The time now is 03:33 AM.
[
RSS ]









