Go Back   Cyber Tech Help Support Forums > Operating Systems > Linux

Notices

Reply
 
Topic Tools
  #1  
Old July 19th, 2006, 10:19 AM
kissme1 kissme1 is offline
New Member
 
Join Date: Jul 2006
Posts: 28
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
Reply With Quote
  #2  
Old July 19th, 2006, 04:41 PM
kage's Avatar
kage kage is offline
Cyber Tech Help Moderator
 
Join Date: Apr 2004
O/S: Linux
Age: 19
Posts: 1,259
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.

Reply With Quote
  #3  
Old July 19th, 2006, 05:15 PM
kissme1 kissme1 is offline
New Member
 
Join Date: Jul 2006
Posts: 28
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
i removed the baseurl=file:///home/repo line but it still gives the same error i also tried inserting baseurl=file:///media/disk but still no luck errors change but the end result is the same

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
any help will be appreciated
Reply With Quote
  #4  
Old July 19th, 2006, 05:17 PM
kissme1 kissme1 is offline
New Member
 
Join Date: Jul 2006
Posts: 28
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.
Note:
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
Reply With Quote
  #5  
Old July 19th, 2006, 05:56 PM
kage's Avatar
kage kage is offline
Cyber Tech Help Moderator
 
Join Date: Apr 2004
O/S: Linux
Age: 19
Posts: 1,259
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.

Reply With Quote
Reply

Bookmarks

Topic Tools

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 On
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 03:33 AM.

[ RSS ]