LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-07-2007, 03:10 PM   #1
jamessp007
Member
 
Registered: Aug 2002
Location: Highland, UT
Distribution: Linux Mint 9
Posts: 44

Rep: Reputation: 15
YUM Repository problem


I have installed PCLOS, CentOS and Fedora 7 on my AMD x86-64 dual core machine.
I have also configured the LAN and successfully connect to the internet.
In each of the affore mentioned distros I have not been able to get apt or yum to update or successfully connect to repository servers.
Errors vary but the latest attempt, in Fedora, is:

# yum update

Setting up Install Process

Everything stalls at this point.

I have been able to confirm that YUM is in the background and trying to update auto-magically. I have killed this process so I can see what's going on via the terminal but yum update is not giving any clues.

Any ideas are appreciated.
THX.
 
Old 09-07-2007, 07:20 PM   #2
davesmith
Member
 
Registered: Sep 2007
Location: Near Dallas, TX
Distribution: Debain and Ubuntu
Posts: 36

Rep: Reputation: 15
try upping the debug level to see what it's doing.
Code:
       -d [number]
              Sets the debugging level to [number] -  turns  up  or  down  the
              amount of things that are printed. Practical range: 0 - 10
Code:
# yum -d10 update
 
Old 09-17-2007, 11:36 PM   #3
jamessp007
Member
 
Registered: Aug 2002
Location: Highland, UT
Distribution: Linux Mint 9
Posts: 44

Original Poster
Rep: Reputation: 15
Stalled, but with more detail

I tried your recommendation and got the following:
# yum -d10 update
Loading "installonlyn" plugin
Running "config" handler for "installonlyn" plugin
Yum Version: 3.2.0
COMMAND: yum -d10 update
Installroot: /
Setting up Update Process
Reading Local RPMDB
Building updates object
Setting up Package Sacks

Any ideas why stalling at this point is appreciated.
 
Old 09-18-2007, 01:31 AM   #4
shivkiyer
Member
 
Registered: Jun 2007
Location: India
Distribution: Ubuntu, Slackware
Posts: 162

Rep: Reputation: 15
It appears that yum can't find the internet. How are you connected to the internet? Is it through a proxy server? If so before using yum try out:
export http_proxy=<proxyserver>

I had the similar problem and I use a proxy server. Also you could try pinging a website in a terminal.
 
Old 09-18-2007, 11:14 AM   #5
jamessp007
Member
 
Registered: Aug 2002
Location: Highland, UT
Distribution: Linux Mint 9
Posts: 44

Original Poster
Rep: Reputation: 15
I connecting via wireless home router to DSL. Firefox connects fine. Since I'm using as / I can't imagine it being a permission issue. The problem is occurring in 3 flavors of linux though.
 
Old 09-18-2007, 11:43 AM   #6
shivkiyer
Member
 
Registered: Jun 2007
Location: India
Distribution: Ubuntu, Slackware
Posts: 162

Rep: Reputation: 15
But have you tried pinging a website in a terminal?

Getting firefox to connect is not too tough. I had an incredibly difficult time in getting a VHDL software to connect to the net even though internet connectivity was fine.
 
Old 09-19-2007, 01:17 AM   #7
jamessp007
Member
 
Registered: Aug 2002
Location: Highland, UT
Distribution: Linux Mint 9
Posts: 44

Original Poster
Rep: Reputation: 15
ping

ping yahoo.com
PING yahoo.com (216.109.112.135) 56(84) bytes of data.
64 bytes from yahoo.com (216.109.112.135): icmp_seq=1 ttl=49 time=122 ms
64 bytes from yahoo.com (216.109.112.135): icmp_seq=2 ttl=49 time=121 ms
64 bytes from yahoo.com (216.109.112.135): icmp_seq=3 ttl=49 time=120 ms
64 bytes from yahoo.com (216.109.112.135): icmp_seq=4 ttl=49 time=122 ms
 
Old 09-21-2007, 10:02 PM   #8
jamessp007
Member
 
Registered: Aug 2002
Location: Highland, UT
Distribution: Linux Mint 9
Posts: 44

Original Poster
Rep: Reputation: 15
Still get above errors

I have now wiped the hard drive and installed PCLOS and tried again.
I have PCLOS as the sole OS and continue to have rouble installing.
I can surf and ping through terminal but synaptic and apt at the term will not connect to any of the listed repositories.

Anybody have any ideas?
Please ...
 
Old 09-23-2007, 10:40 AM   #9
shivkiyer
Member
 
Registered: Jun 2007
Location: India
Distribution: Ubuntu, Slackware
Posts: 162

Rep: Reputation: 15
Oops .... I've been away on a long weekend so I couldn't answer. Have you sorted out your problem jamessp007?
 
Old 09-23-2007, 08:07 PM   #10
jamessp007
Member
 
Registered: Aug 2002
Location: Highland, UT
Distribution: Linux Mint 9
Posts: 44

Original Poster
Rep: Reputation: 15
I have not. I have installed PCLOS in 1 last final attempt. Still, the system will not connect with any of the repos listed in synaptic. I have installed VM Ware through the tar ball method and installed windows on top of that. Windows is doing fine.
I had an unusual notice pop up that said trend micro was trying to block a pop up once when I opened firefox in PCLOS and closed the notice. Then later got the same message in vmware windows. It appeared to be an application for my home router but I didn't know what the app was and uninstalled the app via the standard control panel method.
Is it possible that an application from a previous windows install is trying to run or block pop up's? Have you heard of a virus that will run in Linux?
 
Old 09-23-2007, 11:29 PM   #11
shivkiyer
Member
 
Registered: Jun 2007
Location: India
Distribution: Ubuntu, Slackware
Posts: 162

Rep: Reputation: 15
There is a rather lengthy debate in progress on the possibilities of a virus in linux:

http://www.linuxquestions.org/questi...d.php?t=584836

I however do not think that should affect apt or synaptic from connecting to the net. Have you looked at the settings in Synaptic. There are details that you need to enter if you are behind a proxy server.

As for apt, did you run apt-setup?

Can you provide the config file in /etc/apt?
 
Old 09-24-2007, 09:05 PM   #12
jamessp007
Member
 
Registered: Aug 2002
Location: Highland, UT
Distribution: Linux Mint 9
Posts: 44

Original Poster
Rep: Reputation: 15
APT::Get::Show-Upgraded "true";
APT::Get::Reinstall "true";

This is all /etc/apt/apt.conf contained.
I don't know anything about the config method of apt. Unfortunately, I seem to be in a Windows black hole.
 
Old 09-24-2007, 11:43 PM   #13
shivkiyer
Member
 
Registered: Jun 2007
Location: India
Distribution: Ubuntu, Slackware
Posts: 162

Rep: Reputation: 15
I don't think that should be enough. I remember when I used Debian Sarge a couple of years back that I had a pretty legthy .conf file. Also in my recently removed Ubuntu system, I had a .conf file that had a lot of info of repositories etc.

I suggest that you post a fresh thread in Ubuntu forums and ask someone for their .conf file. Maybe a few alterations will get you results.

You could always run apt-setup as root. It will ask you about choosing repos and stuff. I remember running that when I used Debian Sarge.
 
  


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
Yum Repository nitrohuffer2001 Linux - General 7 04-23-2013 03:23 AM
yum and repository problem ALUOp Linux - Software 1 08-21-2007 05:38 AM
Problem creating local Yum Repository DirkDiggler Linux - Software 1 05-25-2007 12:04 AM
Having a problem with the dries repository and yum squall1986 Linux - Software 2 11-21-2006 04:22 AM
Yum repository for 10.1 mijohnst SUSE / openSUSE 6 04-11-2006 08:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:48 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
Open Source Consulting | Domain Registration