[Yum] what does this error mean?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



linux:/opt/finishing/rpms/yum-x86_64 # yum update
Error: Bad repository file ///etc/yum.repos.d/main.repo, no repo stanzas.
Setting up Update Process
Setting up repositories
No Repositories Available to Set Up
Reading repository metadata in from local files
No Packages marked for Update/Obsoletion

My repo file looks like this:

linux:/opt/finishing/rpms/yum-x86_64 # cat /etc/yum.repos.d/main.repo
[main]
gpgcheck=0
name=SuSE Linux 9.3
baseurl=ftp://192.168.0.1/suse

and I can reach the  repomd.xml file easily

linux:/opt/finishing/rpms/yum-x86_64 # /usr/bin/wget 
ftp://192.168.0.1/suse/repodata/repomd.xml
--14:07:30--  ftp://192.168.0.1/suse/repodata/repomd.xml
            => `repomd.xml'
Connecting to 192.168.0.1:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD /suse/repodata ... done.
==> PASV ... done.    ==> RETR repomd.xml ... done.
Length: 951 (unauthoritative)

100%[====================================>] 951           --.--K/s

14:07:30 (17.11 MB/s) - `repomd.xml' saved [951]

(that is, I can reach the repository via anonymous ftp without problems).

What is strange is that this same config works on another machine using 
a different repository without this error

/root# yum list |& less

Setting up repositories
Reading repository metadata in from local files
Installed Packages
3ddiag.i586                              0.724-3                installed
844-ksc-pcf.noarch                       19990207-594           installed
BigClerk.noarch                          0.07-1                 installed

...

zsh.i586                                 4.2.4-5                installed
zvbi.i586                                0.2.13-3               installed
Available Packages
3dpong.i586                              0.4-650                autoinst
3dto3d.i586                              3.5-21                 autoinst
AtaAuto.i586                             1.5.0-173              autoinst

Both repositories were created in the same way.

-- 
Joe Landman
email: landman@xxxxxxxxxxxxxxxxxxxxxxx
web  : http://www.scalableinformatics.com

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux