Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 11
I am new to Fedora and Linux. I installed Fedora10_x86_64.iso (may not be the full filename but it is NOT the live version) on a Dell M90 Laptop (64 bit ...
  1. #1
    Just Joined! kishki's Avatar
    Join Date
    Jan 2009
    Posts
    21

    How to install software from Fedora10 CD - package list needs to be rebuit

    I am new to Fedora and Linux.
    I installed Fedora10_x86_64.iso (may not be the full filename but it is NOT the live version) on a Dell M90 Laptop (64 bit version).

    the only thing under the the menu Applications/Programming is
    Devhelp
    Glade interface Designer and
    OpenJKD Policy tool

    I need Eclipse. There are many .rpm files on my installation/bootable cd. But how do I install it and which file do I choose to install?

    When I use the menu items System/Administrative/Add-Remove Programs
    it tells me

    "No Package cache is available.
    the package list needs to be rebuilt.
    this should have been done by the backend automatically.
    Cannot retrieve repository metadat (repomd.xml) for repository: updates. Please verify it's path and try again. "

    I have been all over the web and these forums and I can't find anyone with the same exact problem and a solution.

    Can any one help?
    Thanks in advance!
    Kishki

  2. #2
    Super Moderator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,144
    Hiya kishki,
    First, you must be connected to the Internet, if so then ...Open a terminal and log in as root and then issue these commands
    Code:
    yum clean all
    Code:
    yum check-update
    if that goes fine, then try the Add/ Remove Software Tool again. If not, post back.
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

  3. #3
    Just Joined! kishki's Avatar
    Join Date
    Jan 2009
    Posts
    21
    Hi Mike,
    Thanks, but why do I have to be connected to the internet?

    Actually since this post I found some other info an tried this:
    edited .
    /etc/yum.repos.d/fedora.repos

    changed the baseurl to where my cd is mounted

    baseurl=file:///media/Fedora 10 x86_64 DVD/
    and commented out the mirror line

    and then I tried System/Administrative/AddRemove software
    and it said:

    "An internal system error has occurred. A problem that we were not expecting occurred. Error Type: <type 'exceptions. ValueError'>
    Error Value: Error parsing 'File:///meida/Fedora 10 x86_65 DVD/': URL must be http, ftp, file or https not ""
    then it spews out the YUM source code where yum parses this string.

    If I then try these yum commands it gives me the same error.

    I accidentally deleted the original fedora.repo file (arg...I backed it up and then copied over it by accident).

    so then I put in what I thought may be the original base url and uncommented the mirror line.

    the update worked but the check-update returned:
    could not retreive mirror list
    http://mirrors.fedoraproject.org/mir...10&arch-x86_64 error was
    [Errno 4] IO Error: <urlopen error (-2 'Name or service not known')>
    http://download.foedora.redhat.com/u...ta/repomd.xml: [Errno 14] HTTP Error 404: Not found
    trying other mirror
    Error: Cannot retrieve repository metatdata (repomd.xml) for repository: fedora.
    Please verify its path and try again


    Here is my fedora.repo baseurl and mirrorlist lines:

    baseurl=http://download.felora.redhat.com/ub/fedora/linux/releases/$releasever/Everything/$basearch/os/

    mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo-fedora-$releasever&arch-$basearch

    I searched around but don't know what to put in these lines to make it work (assuming this is where my problem is).

    Thanks!
    kishki

  4. #4
    Just Joined! kishki's Avatar
    Join Date
    Jan 2009
    Posts
    21
    stupid question - why do I have to connect to the internet :P - sorry.

    I guess to update YUM I have to connect to the mirrors?

    I want to install eclipse from the cd. So after I get the update and update check to work, how do I point add/remove software to the cd? it doesn't seem to like the path to where my cd is mounted. I wonder if it's because there are spaces in the directory name for FEdora?

    Please give me more step by step instructions and paths for baseurl and mirrorlist.

    Thanks!
    kishki

  5. #5
    Super Moderator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,144
    The reason I asked you to connect to the internet is simple, it just makes things a lot easier. I'm not familiar with installing packages from DVD/CD's because I let yum do it all for me. Hopefully someone else can chip in here about installing from DVD/CD's.
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

  6. #6
    Just Joined! kishki's Avatar
    Join Date
    Jan 2009
    Posts
    21
    Hi Mike,
    I figured the yum update needed the internet.

    I was told that I should install packages from the CD and not the internet. There are tons of rpm fles on the disk and I think my problem is the

    baseurl and
    mirrorlist

    in the fedora.repo file. I was told to point the baseurl to the directory where the cd is mounted but the location where it's mounted has spaces in the path. I wonder if that's the problem? I tried putting % instead of spaces and that didnt help.

    It makes sense that the baseurl should be where the path to the cd is but I don't know how to sytactically put it in here.

    the webisite I'm looking at says to comment out the mirrorlist line.

    So my problem seems to be the baseurl which should point to where the cd is mounted. Do you see anythign wrong with the path for the baseurl? The sytax ? is it wrong?

    It doesn't like these:

    baseurl=file:///media/Fedora 10 x86_65 DVD/

    mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo-fedora-$releasever&arch-$basearch

    Maybe I should move the cd to another diretory without spaces in the directory name? If so, do you know how to move it? I'm guessing it will be a dismount and mount command???

    thanks so much!

    ~K

  7. #7
    Super Moderator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,144
    I have no idea why someone would tell you to use the DVD and not the Internet, unless you are using a dial-up modem. There is quiet a few programs to install on the DVD, but that is not even in the same neighborhood as the online repos. They have hundreds if not thousands of programs to choose from. The only thing on the DVD is what the Fedora developers think you might need. I'll still suggest that you use yum to update your system and install any new packages.
    Still if you insist on installing from DVD, then see this link.
    YumRepoFromImages - Hints, Tips and HOWTOs
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

  8. #8
    Just Joined! kishki's Avatar
    Join Date
    Jan 2009
    Posts
    21
    I believe he wants me to use the cd because I am trying to create a clone of the product that he created. it is a software installation disk that installs a large amount of software on many machines and I need to install the same versions that he installed so that there are no conflicts. We can update the software in the future but for now I need to install exactly what is on the cd. I hope that makes sense.

    I guess I can try to install my compiler from the internet though... I guess I'll try that at least now until I figure out how to install everything else from the CD.

    Thanks!
    Karen

  9. #9
    Super Moderator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,144
    Yes that makes sense, try the link in y previous post, it should help a lot. Good Luck.
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

  10. #10
    Just Joined! kishki's Avatar
    Join Date
    Jan 2009
    Posts
    21
    Ok. so I did the following and I got stuck when it told me to type
    createrepo and my system couldn't find "createrepo"

    I searched all over for it and can't find it either.

    Here are my notes for what I did:

    mkdir /home/kishki/Download/FedoraIso
    cp Fedora-10-x86_64-DVD.iso /home/kishki/Download/FedoraIso
    Create mount points so that the ISO images can be loopback-mounted:
    mkdir /home/kishki/Download/FedoraIso/dvd
    chcon –t mnt_t /home/kishki/Download/FedoraIso/dvd

    Edit /etc/fstab and add entries for the DVD images to get them mounted at boot time:
    /home/kishki/Download/FedoraIso/Fedora-10-x86_64-DVD.iso /home/kishki/Download/FedoraIso/dvd
    iso9660 _netdev,ro,loop,fscontext=system_u:object_rublic_content_t:s0 0 0

    It should now be possible to mount the ISO image(s) by issuing the command:
    # service netfs start

    You can then use createrepo to build the repository metadata:
    # cd /srv/nb/distros/fc9/os/i386 (the directory with the iso file)
    # createrepo -d .

    # cd /home/kishki/Download/FedoraIso/
    # createrepo -d .

    this is where I got stuck

    createrepo not found.

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...