RE: Yum and caching by a proxy server

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

 



Yes, we have to use the wget hack to make it work, as well.  But it does
work reliably.

---

# Hack for forcing non-cached data for fetching header data
/usr/bin/wget -q --cache=off -P /tmp
http://www.domainname.com/yum/updates/headers/header.info
rm -rf /tmp/header.inf*

if [ -f /var/lock/subsys/yum ]; then
/usr/bin/yum -y update
fi

---

Trevor

-----Original Message-----
From: fedora-list-bounces@xxxxxxxxxx
[mailto:fedora-list-bounces@xxxxxxxxxx]On Behalf Of STYMA, ROBERT E
(ROBERT)
Sent: Thursday, May 26, 2005 9:07 AM
To: For users of Fedora Core releases
Subject: Yum and caching by a proxy server


My FC3 machine at work has been having issues
using yum.  It's the old "metadata does not
match checksum" issue which has been discussed before.
In my case I believe I have tracked it down to
caching on the part of the company proxy server.

The wget command has a feature to tell the server
to turn off caching for a particular request.  I
have been searching the documentation and internet
and cannot find a way of having yum do the same thing.

If not, an alternative would be to find a way to
algorithmically derive the url for each checksum file
and use wget to try to recache the value.

Robert E. Styma
Principal Engineer (DMTS)
Lucent Technologies, Phoenix
Email: stymar@xxxxxxxxxx / styma@xxxxxxxxxx
Phone: 623-582-7323
Company:  http://www.lucent.com
Personal: http://www.swlink.net/~styma

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux