well, I was checking the centos5 config (also on a vm) an it's the same
configuration, nothing more than the specified proxy line in the yum.conf and
it works pretty well
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
yes, i didnt have the time to check it at that time but that's why i told you
to check, and so you tested it and none of the ip's ping. May i conclude that
you replaced with the ones that do ping?
66.35.62.166 for mirrors.fedoraproject.org
and
134.108.44.54 for rpm fuion
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
well
I've installed the vixta 2010 on a sun virtualized machine over ubuntu 9
the thing is I cannot run yum update
I set the proxy (no need for user/pass) in yum.conf
I comment all mirrors adn uncomment all base from all yum.repos.d
but I cannot update nor install anything
any ideas ?
you must comment the second line in /etc/yum.conf
you mean, comment the mirros ?
yes I did at first time, but, as soon I restart my vm I will check it out
I commented out
first the exclude... same problem
then the cache... same problem
could you try to use devel.repos and see if problem persist?
this is my yum.conf
============
exclude=kernel, kmod, fedora, anaconda, plymouth, oxygen-icon-theme
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
proxy=http://myproxyip:port/<br>
-# PUT YOUR REPOS HERE OR IN separate files named file.repo
-# in /etc/yum.repos.d
(i just include the - before the # to correct display the line)
ok, I'll try it
please send us the print screen/log of the error
(gande abraço e obrigado sinitram)
this is the /etc/yum.repos.d/fedora.repo file
================================
name=Fedora $releasever - $basearch
failovermethod=priority
-#baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/$releasever/Everything/$basearch/os/<br>
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever
&arch=$basearch
enabled=1
metadata_expire=7d
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch
name=Fedora $releasever - $basearch - Debug
failovermethod=priority
baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/$releasev
er/Everything/$basearch/debug/<br>
-#mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-debug-$releasever&arch=$basearch<br>
enabled=0
metadata_expire=7d
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch
name=Fedora $releasever - Source
failovermethod=priority
baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/$releasev
er/Everything/source/SRPMS/<br>
-#mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-source-$releasever&arch=$basearch<br>
enabled=1
metadata_expire=7d
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch
bash-4.0# yum update
Loaded plugins: refresh-packagekit
Error: Cannot retrieve repository metadata (repomd.xml) for repository:
fedora. Please verify its path and try again
bash-4.0#
this took about 15 to 20 mins
by the way, I comment the cachedir line to get this result
only commenting that line a can/cannot connect
2009-12-04 13:33:42 WET
hi, when you commented the lines didn t you forget to edit etc/hosts and put
80.239.156.215 mirrors.fedoraproject.org
213.129.242.84
mirrors.rpmfusion.org
so u should have edited theese 2 files:
/etc/yum.repos.d/fedora.repo and
/etc/yum.repos.d
/fedora-updates.repo.
un-commented all the lines that start with the
term baseurl and place a comment before all lines that start with mirrorlist.
Then edit your /etc/hosts file and append the following to it’s contents:
80.239.156.215 mirrors.fedoraproject.org
213.129.242.84 mirrors.rpmfusion.orgNow try updating your
do all that and it shoukld work just fine, its a known bug regarding fedora
project repositories
also check if ip's are correct 80.239.156.215 & 213.129.242.84
and if still doesnt work esxport http_proxy= IP:port variable
did everything. now I get this
bash-4.0# yum update
Loaded plugins: refresh-packagekit
http://download.fedoraproject.org/pub/fedora/linux/releases/11/Everything/i38
6/os/repodata/repomd.xml: Timeout: <urlopen error="" timed="" out="">
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository:
fedora. Please verify its path and try again
bash-4.0#
I do open the http://fedora.pop.com.br/linux/releases/11/Everything/i386/os/r
epodata/repomd.xml into konqueror
none of the given IPs pings
this is my /etc/hosts file
127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
80.239.156.215 mirrors.fedoraproject.org
213.129.242.84 mirrors.rpmfusion.org
70.91.168.58 download.fedora.org
152.46.7.222 download.fedoraproject.org
well, I was checking the centos5 config (also on a vm) an it's the same
configuration, nothing more than the specified proxy line in the yum.conf and
it works pretty well
yes, i didnt have the time to check it at that time but that's why i told you
to check, and so you tested it and none of the ip's ping. May i conclude that
you replaced with the ones that do ping?
66.35.62.166 for mirrors.fedoraproject.org and
134.108.44.54 for rpm fuion
this ip you have is also not correct.
although it may point to some kind of mirror it certainly doesnt point to
download.fedoraproject.org
152.46.7.222 download.fedoraproject.org
correct to: 209.132.176.120