LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 12-18-2007, 03:04 AM   #1
anuprch
LQ Newbie
 
Registered: Dec 2007
Posts: 3

Rep: Reputation: 0
Add/remove software link shows error in fedora 8


Hi,
I am new to linux and have installed fedora 8 on a stand-alone machine. The computer is not connected to the internet and fedora was initially installed from a DVD.

When trying to install software packages though the "Add/remove Software" link, it opens a window saying "retrieving software information". Following that, it shows an error message - Unable to retrieve software information. This could be caused by not having a network connection available. On cliking on detail- it shows:
Cannot retrieve repository metadata (repomd.xml) for repository: fedora. Please verify its path and try again

Dos this mean that this application cannot be used on computers not connected to the internet? Is there a workaround which can be used to get the application to work?

How can this application be used to install software packages from the hard disc of the computer?

Any help will be appreciated
Thanks
 
Old 12-18-2007, 03:26 AM   #2
bbfuller
Member
 
Registered: Dec 2007
Location: UK
Distribution: Fedora, CentOS, Sabayon
Posts: 209

Rep: Reputation: 35
Hello anuprch

Fedora used to be set up as you describe where it was an internet distribution and after install it expected you to have a working internet connection to install further software.

That has changed in Fedora 8 though assuming that you used the DVD to install from.

If you did, then if you look in the folder:

/etc/yum.repos.d

you will see a file there called:

Fedora-install-media.repo

If you open that in a text editor with root priveliges you should see a line:

enabled = 0

if you change the 0 to a 1 you should be able to install further programs from the DVD.

I've not actually tried the process, but it may be necessary to open the fedora.repo and fedora-updates.repo which are usually enabled and disable them by changing their 1's to 0's in enabled, otherwise they will probably cause the process to fail once more.

That won't work though for anyone who installed from one of the live cd's. They transfer the whole of their contents to the hard disk on install and there is nothing extra left to add later.

Last edited by bbfuller; 12-18-2007 at 03:28 AM.
 
Old 12-19-2007, 06:30 AM   #3
anuprch
LQ Newbie
 
Registered: Dec 2007
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks!

Thanks a lot bbfuller!
I opened fedora.repo and changed the enabled = 1 to 0, and now it does not try and connect to the internet but asks to put in the CD. All the other repo files were already "enabled = 0"
So does this mean you can only install applications already on the fedora 8 DVD? I would like to install other software which are available online as .tar files, which I transfer to the computer through a thumb drive. However, the application does not give an option to browse the computer hard disc for available packages and only shows available packages on the DVD. Can this be sorted out, or do I need to install the .tar files differently?

Thanks for the help-really appreciate it
 
Old 12-19-2007, 12:00 PM   #4
bbfuller
Member
 
Registered: Dec 2007
Location: UK
Distribution: Fedora, CentOS, Sabayon
Posts: 209

Rep: Reputation: 35
Hello anuprch

Pleased that worked.

As I said in my first post, Fedora, and indeed most distributions these days are built on the assumption of Internet Access. You can usually install software other ways but unless you are lucky it rapidly becomes such a nightmare that getting internet access is seen as a small price to pay.

However you can get software in other ways, the first problem is that some software - ndiswrapper is just one example - is packaged by the fedora maintainers in a way that is slightly different to the way you would be able to install it easily for yourself and so you may just find that using the methods below will still give you a non-functioning install.

Some but not all packages when you install them yourself will not put icons in the start menu for example and you have to add those manually.

The main other methods of getting software are:

download rpm's manually from the fedora and associated repositories. When you have you should be able to right click on them and select "open with" and "Software Installer". The problems are that packages are often not stand alone and as soon as you try to install demand some other package, so you get that, and find you need a third......... This is called "dependency hell", each package depending on another. This is automatically dealt with when you install such packages from the internet.

download other rpm's. The Opera browser is available as a stand alone rpm which is dealt with as above, but as it is stand alone there are no dependencies to worry about.

bin files. Google Earth for example can come as a bin file and for that there is generally a command to issue to install it.

tar and tar.gz files are just compressed files as is a zip file in Windows. Those you would usually right click on and select "Extract Here". There would usually be a readme file included in the extracted archive detailing what to do next. It's usually something like ./configure, ./make. and ./install issued as three separate commands but I wouldn't want to try without reading the readme.

I'm lucky enough to have an internet connection and so don't have to worry.

I can't guarantee to be able to help, but if you have trouble with a specific example post back and we'll see what we can work out.
 
Old 12-21-2007, 03:06 AM   #5
anuprch
LQ Newbie
 
Registered: Dec 2007
Posts: 3

Original Poster
Rep: Reputation: 0
Hi bbfuller,
Thanks a lot for all the information. Will post back if I get stuck with specific issues.
Really appreciate the help.
Thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
cannot Add/remove software fedora 7 a_c_g_t Linux - Newbie 1 10-25-2007 05:15 AM
ADD/REMOVE software error on Fedora Core 5 GNOME Digital Surgeon Fedora 8 11-19-2006 04:15 AM
Add/remove programs shows an error!!!!! firewiz87 Fedora 11 10-16-2006 10:04 AM
Fedora Core 5 Add/ Remove Software Help Mawerick82 Linux - Software 2 03-28-2006 02:43 AM


All times are GMT -5. The time now is 12:52 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration