Showing posts with label yum fedora. Show all posts
Showing posts with label yum fedora. Show all posts

Sunday, July 01, 2007

How to update to Fedora 7

This is how I updated my FC6 to F7:

wget ftp://download.fedora.redhat.com/pub/fedora/linux/releases/7/Fedora/i386/os/Fedora/fedora-release-7-3.noarch.rpm
wget ftp://download.fedora.redhat.com/pub/fedora/linux/releases/7/Fedora/i386/os/Fedora/fedora-release-notes-7.0.0-1.noarch.rpm
rpm -U fedora-release-7-3.noarch.rpm fedora-release-notes-7.0.0-1.noarch.rpm
yum update

In theory that’s the only thing you need to do, in practice it’s not that easy. I had some dependency issues with pidgin and liferea so I just removed them:

rpm -e pidgin liferea

Then yum complained about libexif being “not signed”. I tried to edit /etc/yum.conf and setting gpgcheck=0, that didn’t work, yum was still checking it. So I had to manually set gpgcheck=0 in all the repos on /etc/yum.repos.d/. Then it worked.

That’s it!

Friday, September 22, 2006

Faster yum?

it’s a ~10 times faster yum metadata parser that is reported to also use a lot less memory. This might make fedora suddenly useable on a whole bunch of my machines. I look forward to trying it out.

Should be really easy:
python setup.py build
sudo python setup.py install --prefix=/usr

(Assuming you python prefix is /usr).This implementation should be ~10 times faster, parsing the
primary.xml file under 1 second usually, filelists.xml under 3 seconds and
other.xml under 4 seconds. It uses a lot less memory as well, some testings
I have done show it uses ~4mb instead of 40mb standard YUM uses.