LinuxQuestions.org
Help answer threads with 0 replies.
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 07-07-2009, 10:59 PM   #1
manorina
LQ Newbie
 
Registered: Jan 2008
Location: Eastern Australia
Distribution: Mint 6, 7, Ubuntu 9.04
Posts: 18

Rep: Reputation: 1
add/remove software problem on Fedora 9 - workaround for no internet connection?


Dear All,

I have an irritating problem with a standalone Fedora 9 box which I am not allowed to connect to the internet due to the IT department at my work having a very strict policy for "non-standard" machines not having internet access.

Under GNOME, I go to System > Administration > Add/Remove Software. When I try to do anything I get this error:

"Problem connecting to a software source. Cannot retrieve repository metadata (repomd.xml) for repository: fedora. Please verify its path and try again"

I assume this error occurs because there's no internet connection. Is it possible to install packages without an internet connection, like via a USB thumb drive?

My goal is to be able to install packages without needing to have a direct internet connection.

I would like to retrieve the relevant information about the software packages already installed on the standalone Fedora 9 box and use that information to download new packages using a separate windows machine (the only way I can get internet at work).

Any suggestions, clues, workarounds would be gratefully appreciated.
 
Old 07-07-2009, 11:38 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,817

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
you will need to make your OWN software repository or install by hand using rpm .with NO net connection you might as well uninstall yum . It will be of no use .
also seeing as fedora 9 is now past it's END OF LIFE there are NO further updates . NONE AT ALL .


Quote:
(1)I would like to retrieve the relevant information about the software packages already installed on the standalone Fedora 9 box (2)and use that information to download (3)new packages using a separate windows machine (the only way I can get internet at work).
1) this terminal command might work with no net connection
Code:
su -
yum list installed > /list_installed.txt
there will know be a file in / called "list_installed.txt " with a list of all installed code

2) download the rpm AND ALL of the required dependencies ( that might be only one extra file -- or 50 extra files -- ) and burn them to dvd or to a usb drive

3) There IS NO NEW CODE for fedora 9 it is past End Of Life
 
Old 07-07-2009, 11:55 PM   #3
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,362

Rep: Reputation: 172Reputation: 172
You can use yum. Look at the man yum under localinstall. If you build your own repo (createrepo package) you can use yum just like everybody else. In order to do this you will have to rsync (copy) the entire F9 repo to local storage.
 
Old 07-07-2009, 11:58 PM   #4
manorina
LQ Newbie
 
Registered: Jan 2008
Location: Eastern Australia
Distribution: Mint 6, 7, Ubuntu 9.04
Posts: 18

Original Poster
Rep: Reputation: 1
Thanks John VV.

The yum list installed command worked. Would you be able to point me in the right direction for me to do part 2 of your response:

Quote:
2) download the rpm AND ALL of the required dependencies ( that might be only one extra file -- or 50 extra files -- ) and burn them to dvd or to a usb drive
I looked on fedoraproject.org under the "get help" section in the hope I might get to the RPMs ... Is there an "official" Fedora web address for rpms??
 
Old 07-08-2009, 12:05 AM   #5
manorina
LQ Newbie
 
Registered: Jan 2008
Location: Eastern Australia
Distribution: Mint 6, 7, Ubuntu 9.04
Posts: 18

Original Poster
Rep: Reputation: 1
Is something like this the right place to be for repos (I have an i386 architecture)?

http://mirrors.fedoraproject.org/pub...Fedora/9/i386/
 
Old 07-08-2009, 12:37 AM   #6
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,817

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
that would be one of the mirrors
a full list is here
http://mirrors.fedoraproject.org/publiclist/Fedora/9/

but the fedora 9 files will be moving to the archives SOON
"Repository configuration for older Fedora releases."
http://forums.fedoraforum.org/showthread.php?t=221471

fedora 8 is there already
http://archive.fedoraproject.org/pub...inux/releases/
 
Old 07-14-2009, 02:47 AM   #7
manorina
LQ Newbie
 
Registered: Jan 2008
Location: Eastern Australia
Distribution: Mint 6, 7, Ubuntu 9.04
Posts: 18

Original Poster
Rep: Reputation: 1
I've given up - I cannot download the *^**ENTIRE**^* repo from the mirror ... it's just not possible on the connection I have. Ah well ...
 
Old 07-14-2009, 03:37 PM   #8
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,817

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
manorina this is what happens with fedora's 13 month life cycle
you MUST install the NEW version .
or install something like CentOS that has a 5 year life cycle
 
Old 08-04-2009, 09:24 PM   #9
manorina
LQ Newbie
 
Registered: Jan 2008
Location: Eastern Australia
Distribution: Mint 6, 7, Ubuntu 9.04
Posts: 18

Original Poster
Rep: Reputation: 1
Quote:
I've given up - I cannot download the *^**ENTIRE**^* repo from the mirror ... it's just not possible on the connection I have. Ah well ...
Since then I have downloaded fedora 11 got it installed and things are running nicely.

To follow up, I did manage to download the entire repository for my appropriate architecture (x86_64) from one of the ftp mirrors for fc11. It was huge (about 20GiB).
I transferred the 20GiB directory with all the downloaded packages via an external USB drive to the target box with no internet connection. let's say I put it here:

/home/ben/fc11repo

I then followed the instructions at
http://yum.baseurl.org/wiki/RepoCreate

After creating a file at /etc/yum.repo.d/fc11repo.repo as per the instructions at the above address, I added the line enabled=1

I turned off the other software sources (that I couldn't connect to) via System > Administration > Software Sources and made sure that my locally created repo appeared in the sources list and was checked.

Now when I go to update, yum only looks at my local repo and finally it works *yay*
 
Old 08-04-2009, 10:23 PM   #10
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,817

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
Quote:
Now when I go to update, yum only looks at my local repo and finally it works *yay*
you do know that with in a week or two your local copy of the fedora 11 repo will be out of date !
you will need to keep it updated ( that could be "fun") . the easiest way for a non connected box is to just download and burn to dvd or usb is the software you want to install and it's dependencies .
 
  


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
Problem with Add Remove Software in fedora 10? nasr-noor Linux - Software 1 05-18-2009 03:00 AM
Add/Remove Software claims there is no network connection pantheist Linux - Desktop 10 01-26-2009 04:05 PM
Add/Remove Software claims there is no network connection pantheist Linux - Desktop 2 12-09-2008 03:00 PM
Fedora 9 add/remove software griping about "no network connection" but firefox works khbkhb Fedora 2 07-04-2008 03:28 PM
add/remove software problem in fedora art.love Linux - Software 6 05-12-2006 01:46 PM


All times are GMT -5. The time now is 10:36 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration