My Linux Broke -- Is It My Fault?My Linux Broke -- Is It My Fault?

One of the adages about Linux that gets passed around a lot goes something like, "It's a great system, but you really have to know what you're doing." The other day, I got a firsthand example of that -- I got bitten by a bug in a package that's readily available in Ubuntu's software repository.

Serdar Yegulalp, Contributor

September 25, 2007

3 Min Read
information logo in a gray background | information

One of the adages about Linux that gets passed around a lot goes something like, "It's a great system, but you really have to know what you're doing." The other day, I got a firsthand example of that -- I got bitten by a bug in a package that's readily available in Ubuntu's software repository.First, a word of praise: I do like the way most of the Linux distributions handle software via a package manager -- it's often far easier to figure out what's installed and what's not installed than it is in Windows. (Windows does have standardized mechanisms for adding and removing things, but it's too easy for a programmer to not use them.)

Within Ubuntu's software repository, you'll often find multiple packages for the same basic function, so you can try out a few different ones and stick with the one closest to what you need. For instance, after working a bit with Google Desktop Search for Linux, I decided to remove it and try something else. One of the other options for indexed search is a package called, simply, Search, based on the Beagle search engine project.

I didn't know that Beagle was a tad buggy, although I guess the revision number -- 0.2.16.3 -- should have been a hint. I installed Search, and soon noticed that whenever I attempted to search Ubuntu's help system, I got results that didn't match at all with my search terms. After some digging, I found that this is a known problem with Beagle -- or, rather, it's a problem with the way Beagle and the help system in Ubuntu talk to each other. It's also apparently a known issue (see here and here), so at least I wasn't alone in having been bitten by it. Removing Search and reinstalling the help system (which took all of five minutes) fixed the problem, so at least it was not that hard to back out.

Out of curiosity, I checked to see if there was an updated version of Beagle available directly from the project's Web site. There was, but there were no current binaries available for Ubuntu Feisty -- and if I have to compile a given item from source, that's a major strike against its usability.

What I'm worried about here is how a relative newcomer could install the Beagle Search package (something provided by Ubuntu's own software repository, which is why this is a little upsetting), not have much of a way to know about this issue, and then wonder what they did that broke the search function in help. That's a function they're likely to use a great deal; the more experienced users don't touch it as much and therefore might not see it as being a show-stopper.

Yes, I'm willing to accept blame for not doing as much homework as I might have -- but at the same time, I don't think it's asking too much for at least some warning that installing a package from Ubuntu's own software repository could cause something of that scope to break. Is it?

Read more about:

20072007

About the Author

Serdar Yegulalp

Contributor

Follow Serdar Yegulalp and BYTE on Twitter and Google+:

Never Miss a Beat: Get a snapshot of the issues affecting the IT industry straight to your inbox.

You May Also Like


More Insights