Network Error!

If you are new to YDL and have some more or less basic questions.

Network Error!

Postby Radioactive0110 » 17 Jan 2009, 03:32

When I try to open the package manager, it says "Unable to retrieve software information. This could be caused by not having a network connection available" and in details it says "None". But the thing is, I am connected to the internet, I have Firefox running right behind it!!! It did this yesterday to only for some packages, but now its for the whole package manager. Anyone know how to fix this?
Radioactive0110
ydl newbie
ydl newbie
 
Posts: 17
Joined: 16 Jan 2009, 22:03

Re: Network Error!

Postby billb » 17 Jan 2009, 14:30

Usually this indicates there's a problem accessing a repo that you have set up. Please post the output of this command so we can help:

Code: Select all
more /etc/yum.repos.d/*
PS3 60GB [CECHA01], FW 3.15, YDL 6.2, Samsung T260HD @ 1920x1200
Powermac G4 1.25 GHz x2, 2 GB RAM, YDL 6.2
User avatar
billb
Site Admin
Site Admin
 
Posts: 5522
Joined: 24 May 2007, 20:30
Location: Eastern NC, USA

Re: Network Error!

Postby Radioactive0110 » 17 Jan 2009, 16:13

It says no such file or directory. And now my network manager won't work, it gives me a a error, but the description is blank.
Radioactive0110
ydl newbie
ydl newbie
 
Posts: 17
Joined: 16 Jan 2009, 22:03

Re: Network Error!

Postby billb » 17 Jan 2009, 17:38

Radioactive0110 wrote:It says no such file or directory. And now my network manager won't work, it gives me a a error, but the description is blank.


You have no files in /etc/yum.repos.d :?:

Code: Select all
cd /etc

Code: Select all
cd yum.repos.d

Code: Select all
ls -la
PS3 60GB [CECHA01], FW 3.15, YDL 6.2, Samsung T260HD @ 1920x1200
Powermac G4 1.25 GHz x2, 2 GB RAM, YDL 6.2
User avatar
billb
Site Admin
Site Admin
 
Posts: 5522
Joined: 24 May 2007, 20:30
Location: Eastern NC, USA

Re: Network Error!

Postby Radioactive0110 » 17 Jan 2009, 18:13

I will try that. Would this fix my network problems too?
Radioactive0110
ydl newbie
ydl newbie
 
Posts: 17
Joined: 16 Jan 2009, 22:03

Re: Network Error!

Postby billb » 17 Jan 2009, 18:17

Radioactive0110 wrote:I will try that. Would this fix my network problems too?


Just looking at your repo setup at this point ...
PS3 60GB [CECHA01], FW 3.15, YDL 6.2, Samsung T260HD @ 1920x1200
Powermac G4 1.25 GHz x2, 2 GB RAM, YDL 6.2
User avatar
billb
Site Admin
Site Admin
 
Posts: 5522
Joined: 24 May 2007, 20:30
Location: Eastern NC, USA

Re: Network Error!

Postby Radioactive0110 » 17 Jan 2009, 19:20

[Nicolas@localhost ~]$ cd /etc
[Nicolas@localhost etc]$ cd yum.repos.d
[Nicolas@localhost yum.repos.d]$ ls -la
total 32
drwxr-xr-x 2 root root 4096 Jan 15 01:38 .
drwxr-xr-x 100 root root 12288 Jan 17 15:21 ..
-rw-r--r-- 1 root root 354 Jun 28 2005 freshrpms.repo
-rw------- 1 root root 208 Jan 14 01:34 yellowdog-base.repo
-rw------- 1 root root 214 Jan 14 01:34 yellowdog-extras.repo
-rw------- 1 root root 217 Jan 14 01:34 yellowdog-updates.repo
[Nicolas@localhost yum.repos.d]$

I think freshrpms messed it up.
Radioactive0110
ydl newbie
ydl newbie
 
Posts: 17
Joined: 16 Jan 2009, 22:03

Re: Network Error!

Postby ppietro » 17 Jan 2009, 20:25

Radioactive0110 wrote:I think freshrpms messed it up.


Most likely so.

Cheers,
Paul
User avatar
ppietro
Site Admin
Site Admin
 
Posts: 4965
Joined: 13 Sep 2007, 22:18

Re: Network Error!

Postby billb » 17 Jan 2009, 21:08

Radioactive0110 wrote:I think freshrpms messed it up.


Yes, I'd get rid of that one:

Code: Select all
su -

<enter root password>

Code: Select all
rm /etc/yum.repos.d/fresh*


Code: Select all
yum clean all


Then see if Add/Remove Programs works again ...

Was anything from freshrpms ever installed? You can view your log of installed RPMs with:

Code: Select all
cat /var/log/yum.log
PS3 60GB [CECHA01], FW 3.15, YDL 6.2, Samsung T260HD @ 1920x1200
Powermac G4 1.25 GHz x2, 2 GB RAM, YDL 6.2
User avatar
billb
Site Admin
Site Admin
 
Posts: 5522
Joined: 24 May 2007, 20:30
Location: Eastern NC, USA

Re: Network Error!

Postby Radioactive0110 » 18 Jan 2009, 17:32

Thanks! I will try this whenever I can. I've tried installing snes9x from freshrpms, but that's when i started getting the errors.
Nope it still gives me the error, and the network manager still don't work. Would reinstalling YDL be easier?
Radioactive0110
ydl newbie
ydl newbie
 
Posts: 17
Joined: 16 Jan 2009, 22:03

Re: Network Error!

Postby billb » 18 Jan 2009, 20:37

Radioactive0110 wrote:Thanks! I will try this whenever I can. I've tried installing snes9x from freshrpms, but that's when i started getting the errors.
Nope it still gives me the error, and the network manager still don't work. Would reinstalling YDL be easier?


If you haven't done much with it, and since you haven't posted what was installed from freshrpms ... yes, probably easier to just re-install. Besides, snes9x-gtk from the ps3bodega repo is much better than the version from freshrpms.
PS3 60GB [CECHA01], FW 3.15, YDL 6.2, Samsung T260HD @ 1920x1200
Powermac G4 1.25 GHz x2, 2 GB RAM, YDL 6.2
User avatar
billb
Site Admin
Site Admin
 
Posts: 5522
Joined: 24 May 2007, 20:30
Location: Eastern NC, USA

Re: Network Error!

Postby Radioactive0110 » 18 Jan 2009, 20:57

OK then that's what I'll do. I never really did much on YDL yet so i won't be loosing anything.
Radioactive0110
ydl newbie
ydl newbie
 
Posts: 17
Joined: 16 Jan 2009, 22:03

Re: Network Error!

Postby Radioactive0110 » 19 Jan 2009, 04:13

OK, I reinstalled YDL, and installed the third party repositories that are posted on this forum. All the repos seem to be in working order, but I get the same error... Could it be my network, or a firewall blocking my connection?

I did all the stuff you told me to do last time too if it helps...

[Nicolas@localhost ~]$ yum list available
Loading "installonlyn" plugin
Config Error: Error accessing file for config file://///etc/yum.repos.d/yellowdog-extras.repo
[Nicolas@localhost ~]$ more /eyc/yum.repos.d/*
/eyc/yum.repos.d/*: No such file or directory
[Nicolas@localhost ~]$ more /etc/yum.repos.d/*
::::::::::::::
/etc/yum.repos.d/dribble.repo
::::::::::::::
[dribble]
name=Dribble for Fedora 7 - ppc
baseurl=http://dribble.org.uk/repo/7/ppc
enabled=1
gpgcheck=0
::::::::::::::
/etc/yum.repos.d/fedora-extras.repo
::::::::::::::
[fedora-extras]
name=Fedora Extras
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/extras/6/ppc
gpgcheck=0
::::::::::::::
/etc/yum.repos.d/livna-stable.repo
::::::::::::::
[livna-stable]
name=Livna.org Fedora Compatible Packages (stable)
baseurl=http://rpm.livna.org/fedora/6/ppc
gpgcheck=0
/etc/yum.repos.d/yellowdog-base.repo: Permission denied
/etc/yum.repos.d/yellowdog-extras.repo: Permission denied
/etc/yum.repos.d/yellowdog-updates.repo: Permission denied
[Nicolas@localhost ~]$ cd /etc
[Nicolas@localhost etc]$ cd yum.repos.d
[Nicolas@localhost yum.repos.d]$ ls -la
total 40
drwxr-xr-x 2 root root 4096 Jan 19 00:08 .
drwxr-xr-x 99 root root 12288 Jan 19 00:02 ..
-rw-r--r-- 1 root root 104 Jan 19 00:08 dribble.repo
-rw-r--r-- 1 root root 118 Jan 19 00:06 fedora-extras.repo
-rw-r--r-- 1 root root 119 Jan 19 00:07 livna-stable.repo
-rw------- 1 root root 212 Jan 19 00:09 yellowdog-base.repo
-rw------- 1 root root 208 Jan 18 19:43 yellowdog-extras.repo
-rw------- 1 root root 234 Jan 19 00:10 yellowdog-updates.repo
[Nicolas@localhost yum.repos.d]$
Radioactive0110
ydl newbie
ydl newbie
 
Posts: 17
Joined: 16 Jan 2009, 22:03

Re: Network Error!

Postby billb » 19 Jan 2009, 04:37

Radioactive0110 wrote:OK, I reinstalled YDL, and installed the third party repositories that are posted on this forum. All the repos seem to be in working order, but I get the same error... Could it be my network, or a firewall blocking my connection?

I did all the stuff you told me to do last time too if it helps...

[Nicolas@localhost ~]$ yum list available
Loading "installonlyn" plugin
Config Error: Error accessing file for config file://///etc/yum.repos.d/yellowdog-extras.repo


That error is due to the permissions being set wrong for the yellowdog repo files on YDL 6.1 for public mirror users. Either:

A) run the command as root:

Code: Select all
su -

<enter your root password>

Code: Select all
yum list available


or B) fix the permissions as described in this post

In either case, you must run yum as root to install something, but you should be able to use yum search, yum check-updates, etc. as a regular user.

[Nicolas@localhost ~]$ more /eyc/yum.repos.d/*
/eyc/yum.repos.d/*: No such file or directory


That's a typo ... should be /etc/yum.repos.d/*, not /eyc

/etc/yum.repos.d/yellowdog-base.repo: Permission denied
/etc/yum.repos.d/yellowdog-extras.repo: Permission denied
/etc/yum.repos.d/yellowdog-updates.repo: Permission denied
[Nicolas@localhost ~]$ cd /etc


Due to the permissions issue I mentioned above, regular user accounts can't read those files unless you change the permissions.

[Nicolas@localhost etc]$ cd yum.repos.d
[Nicolas@localhost yum.repos.d]$ ls -la
total 40
drwxr-xr-x 2 root root 4096 Jan 19 00:08 .
drwxr-xr-x 99 root root 12288 Jan 19 00:02 ..
-rw-r--r-- 1 root root 104 Jan 19 00:08 dribble.repo
-rw-r--r-- 1 root root 118 Jan 19 00:06 fedora-extras.repo
-rw-r--r-- 1 root root 119 Jan 19 00:07 livna-stable.repo
-rw------- 1 root root 212 Jan 19 00:09 yellowdog-base.repo
-rw------- 1 root root 208 Jan 18 19:43 yellowdog-extras.repo
-rw------- 1 root root 234 Jan 19 00:10 yellowdog-updates.repo
[Nicolas@localhost yum.repos.d]$


See the difference between the repo files you created (-rw-r--r--) and the yellowdog repos (-rw-------) ? That's the permissions issue I'm referring to.

Also, when you installed, you shouldn't enter anything during the ydl.net account configuration part unless you actually have a ydl.net account (where you pay for enhanced download service). If you did that, it would put the username and password you entered in your repo files, but wouldn't be able to access the server since you don't actually have an account. In that case, we'd just need to edit your yellowdog repo files to match the ones for YDL 6.1 as listed in the "How to Install Software (YDL 6)" guide.
PS3 60GB [CECHA01], FW 3.15, YDL 6.2, Samsung T260HD @ 1920x1200
Powermac G4 1.25 GHz x2, 2 GB RAM, YDL 6.2
User avatar
billb
Site Admin
Site Admin
 
Posts: 5522
Joined: 24 May 2007, 20:30
Location: Eastern NC, USA

Re: Network Error!

Postby Radioactive0110 » 19 Jan 2009, 21:44

So do I just use the text editor like I did earlier, but just use this info?

yellowdog-base.repo


[base]
name=Yellow Dog Linux 6.1 Base
mirrorlist=http://www.terrasoftsolutions.com/resources/yd61-base-mlist
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY


yellowdog-extras.repo

[extras]
name=Yellow Dog Linux 6.1 Extras
mirrorlist=http://www.terrasoftsolutions.com/resources/yd61-extras-mlist
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY



yellowdog-updates.repo

[updates]
name=Yellow Dog Linux 6.1 Updates
mirrorlist=http://www.terrasoftsolutions.com/resources/yd61-updates-mlist
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY
Radioactive0110
ydl newbie
ydl newbie
 
Posts: 17
Joined: 16 Jan 2009, 22:03

Next

Return to Beginner

Who is online

Users browsing this forum: No registered users and 3 guests