Archive for February, 2006

Depsolvers, Fedora Core, and the second coming of RPM Hell

Monday, February 27th, 2006

I’ve enjoyed the RHL and FC distros quite a bit. They’re popular, they put a lot of effort into the Desktop experience, and they’ve been fairly easy to install and maintain. Now a lot of users have complained about the dreaded “RPM Hell” where one package depends upon another which depends upon a third. That’s not to say I haven’t had problems with RPM, but I’ve been a pretty resourceful guy and have been able to use the resources of the net to figure out and install the dependencies fairly quickly.So to fix it, there were tools created. First Red Hat Network and then APT-RPM. Red Hat didn’t see the need for a depsolver when it could sell you a service to do it for you — Red Hat Network. And APT-RPM was, well, RPM shoe-horned into APT.

Today, in the FC community we have Yum and now Smart. Smart is very apt-like. Yum is not. Yum’s problem is that it doesn’t handle multiple repos well. It did at one point have a “pkgpolicy=last” option to give “priority” to repos in their config file. However, it was removed without a deprecation cycle, and I started noticing non base FC4 packages overwriting FC4 packages (eg…. Dovecot overriding IMAP). Instead, Yum decided to define priorities per package instead of per repo. At that point I stopped being a Yum fan and started searching for alternatives. And that’s when I found Smart which handles multiple repos well.

The second coming of RPM Hell is when new users realize that neither Fedora and Fedora Extras have what they need (like an MP3 player or maybe LiVES), so they find ATRpms, Livna, Dag, FreshRPMS and mistakenly add them to their yum config. On the next yum update, they have a broken system, and can’t figure out how to fix the dependencies in order to get, say, gnome working again.

And it will happen unless packagers (and depsolvers) realize they can’t make arbitrarily broad, sweeping decisions for the user.

Say your prayers.
–Rob

Live from PyCon 2006

Saturday, February 25th, 2006

Live from beautiful (and rainy) Addison, Texas, it’s Pycon 2006. Or as we used to say when I lived here, “Sure, it’s cold, plastic, and heartless. But it’s not bad.”

The conference is actually pretty good, with its usual high geek quotient. My talk yesterday on teaching programming to 8th graders was well received. I got laughs in the right places and had several good chats with people afterwards. A relatively huge bunch of us then went to dinner and after that stayed up late trading ideas on how to use Python in education.

This afternoon, Nathan presented on using elements from Zope 3 for desktop applications, which was good and well received.

The highlight of the afternoon for me came at the “Lightning Talks” (5 minute presentations) where one of the developers of subversion, who now works for Google (those guys were all over the place here) explained how he wrote an IRC bot in Python to replace himself on IRC… and no one noticed!

I also decided to trade in my cute, tiny, insanely thin little Sharp notebook for a Dell X1. I got to play with one a guy here had, and I’m convinced. More RAM, more hard drive, more processor, and more screen, with about the same amount of weight. Of course it’s slightly bigger and definitely thicker, but it looks like it’s worth it. I’ll miss the Sharp, but it’s starting to show some signs of age.

Hello world!

Sunday, February 5th, 2006

Welcome to the Fort Wayne LUG’s blog. This space is for members to post their comments, insights and ruminations about Open Source software and trends generally and about Linux-related matters in particular.