PDA

View Full Version : problem with yum!


dreamerchawla
21st February 2008, 03:42 PM
I am getting this error after my university gave an authentication for accessing the internet through proxy....
Before this authentication condition was given by my university ..there was no problem downloading and installing packages from yum ..... these are the contents of my yum.conf file


[main]
cachedir=/var/cache/yum
keepcache=1
debuglevel=2
logfile=/var/log/yum.log
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
metadata_expire=1800
installonly_limit=2

# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d

proxy=http://172.16.1.4:8080/

proxy_username=10810171
proxy_password=123456


This is the output given by yum repolist

[root@localhost etc]# yum repolist
Loading "presto" plugin
Loading "downloadonly" plugin
Loading "priorities" plugin
repo id repo name status
InstallMedia Fedora 8 enabled
adobe Adobe Systems Incorporated enabled
fedora Fedora 8 - i386 enabled
freshrpms RPMForge: Freshrpms enabled
kde-redhat KDE-Redhat: Fedora-Specific enabled
kde-redhat-all KDE-Redhat: General Packages enabled
livna Livna for Fedora Core 8 - i386 - Base enabled
updates Fedora 8 - i386 - Updates enabled



When i try give some command through the following error comes


[root@localhost etc]# yum list available
Loading "presto" plugin
Loading "downloadonly" plugin
Loading "priorities" plugin
Setting up and reading Presto delta metadata
adobe 100% |=========================| 951 B 00:00
No Presto metadata available for adobe
livna 100% |=========================| 2.1 kB 00:00
No Presto metadata available for livna
ftp://fedora.glug-nith.org/linux/releases/8/Everything/i386/os/repodata/repomd.xml: [Errno 14] HTTP Error 502: Bad Gateway
Trying other mirror.
fedora 100% |=========================| 2.1 kB 00:00
No Presto metadata available for fedora
kde-redhat-all 100% |=========================| 951 B 00:00
No Presto metadata available for kde-redhat-all
kde-redhat 100% |=========================| 1.1 kB 00:00
No Presto metadata available for kde-redhat
freshrpms 100% |=========================| 2.1 kB 00:00
No Presto metadata available for freshrpms
ftp://fedora.glug-nith.org/linux/updates/8/i386/repodata/repomd.xml: [Errno 14] HTTP Error 502: Bad Gateway
Trying other mirror.
updates 100% |=========================| 2.3 kB 00:00
No Presto metadata available for updates
primary.sqlite.bz2 2.2 kB 00:00
http://rpm.livna.org/fedora/8/i386/repodata/primary.sqlite.bz2: [Errno -1] Metadata file does not match checksum
Trying other mirror.
primary.sqlite.bz2 2.1 kB 00:00
http://livna.cat.pdx.edu/fedora/8/i386/repodata/primary.sqlite.bz2: [Errno -1] Metadata file does not match checksum
Trying other mirror.
primary.sqlite.bz2 2.2 kB 00:00
http://wftp.tu-chemnitz.de/pub/linux/livna/fedora/8/i386/repodata/primary.sqlite.bz2: [Errno -1] Metadata file does not match checksum
Trying other mirror.
primary.sqlite.bz2 2.2 kB 00:00
http://ftp-stud.fht-esslingen.de/pub/Mirrors/rpm.livna.org/fedora/8/i386/repodata/primary.sqlite.bz2: [Errno -1] Metadata file does not match checksum
Trying other mirror.
primary.sqlite.bz2 2.2 kB 00:00
http://mirror.atrpms.net/livna/fedora/8/i386/repodata/primary.sqlite.bz2: [Errno -1] Metadata file does not match checksum
Trying other mirror.
primary.sqlite.bz2 2.2 kB 00:00
ftp://mirrors.tummy.com/pub/rpm.livna.org/fedora/8/i386/repodata/primary.sqlite.bz2: [Errno -1] Metadata file does not match checksum
Trying other mirror.
Error: failure: repodata/primary.sqlite.bz2 from livna: [Errno 256] No more mirrors to try.

Please tell me what i can do to sort this out ......

THANKS A LOT!!!!!

leigh123linux
21st February 2008, 04:52 PM
Try



su
yum clean all
yum clean metadata
yum clean dbcache

dreamerchawla
22nd February 2008, 09:05 AM

I found out that the problem is that my university has blocked downloading of files with extension
.bz2
Thats why i think yum is not able to download sqlite.bz2 files!!!!

meh101
23rd March 2008, 10:26 PM
I'm having a similar problem, but I'm not using a proxy server. I've done your yum clean commands but still can't seem to connect to the freshrpms update site. Here's some output:

[mhenry@pavilion ~]$ sudo yum -y install yum-presto
Loading "presto" plugin
Loading "protectbase" plugin
Setting up and reading Presto delta metadata
livna 100% |=========================| 2.1 kB 00:00
No Presto metadata available for livna
fedora 100% |=========================| 2.1 kB 00:00
No Presto metadata available for fedora
adobe-linux-i386 100% |=========================| 951 B 00:00
No Presto metadata available for adobe-linux-i386
updates 100% |=========================| 2.3 kB 00:00
No Presto metadata available for updates
Could not retrieve mirrorlist http://ayo.freshrpms.net/fedora/linux/8/mirrors-freshrpms error was
[Errno 4] IOError: <urlopen error (110, 'Connection timed out')>
No Presto metadata available for freshrpms
Error: Cannot retrieve repository metadata (repomd.xml) for repository: freshrpms. Please verify its path and try again

[root@pavilion mhenry]# yum repolist
Loading "presto" plugin
Loading "protectbase" plugin
repo id repo name status
adobe-linux-i386 Adobe Systems Incorporated enabled
fedora Fedora 8 - i386 enabled
freshrpms Fedora Core 8 - i386 - Freshrpms enabled
livna Livna for Fedora Core 8 - i386 - Base enabled
updates Fedora 8 - i386 - Updates enabled


I get the same error message when I use the FC8 Package Updater. I've made no changes to my system that I'm aware of. Any ideas?

jnvilo
24th March 2008, 01:11 AM
this is a different problem. ayo.freshrpms.net is down.

http://forums.fedoraforum.org/showthread.php?p=984226#post984226

meh101
27th March 2008, 03:10 AM
Right you are jnvilo. The problem fixed itself. Thanks for the post.