Matthew Garrett: Ultamatix
First, let me make one thing clear. This isn't constructive criticism. This is just criticism. It's directed at software that's so wrong-headed that there's no way to make it significantly better, and everyone involved would be much better spending their time doing something else instead of trying to fix any of what I'm about to describe. It's not worth it. Sit in a park or something instead. Meet new and interesting people. Take up a hobby that doesn't involve writing shell scripts for Linux. You'll be happier. I'll be happier. Everyone wins.Anyway. I wrote about Automatix some time ago. It died and the world became a better place. More recently it's been resurrected as something called Ultamatix. In summary, don't bother. It's crap. And dangerous. But mostly crap. Again, I'm going to utterly ignore the UI code and just concentrate on what it runs.
function cleanup echo "Cleaning up..." sudo apt-get autoremove --assume-yes --force-yes
In other words, "Remove a bunch of packages that might have nothing to do with anything Ultamatix has installed, and don't ask the user first. Oh, and assume yes when asked whether to do anything potentially damaging". This gets called 103 times in various bits of Ultamatix.- Oh, notice the sudo in there? Ultamatix is running as root already. Despite this, there are 429 separate calls to sudo.
#Test O/S 64 or 32 bit... architecture= uname -m targetarch="x86" #Set 64-bit machines to download 32-bit if no options are set if [ "$architecture" != "x86_64" ] && [ "$architecture" != "ia64" ]; then architecture="x86" else architecture="x86_64" fiIt turns out that ia64 is not especially good at running x86_64 binaries. Never mind, eh?rm -rf $AXHOME/.gstreamer-0.10 gst-inspect sudo gst-inspect
Which translates as "Delete any self-installed plugins, run gst-inspect as root in an attempt to regenerate the plugin database, really run gst-inspect as root in an attempt to regenerate the plugin database". The flaws in this are left as an exercise for the reader.sudo apt-get --assume-yes --force-yes remove --purge
Used 111 times. Will remove the packages it installed, but also any other packages the user has installed that happen to depend on them. Without asking.sudo cp /etc/apt/sources.list /etc/apt/sources.bak sudo echo "deb http://ppa.launchpad.net/project-neon/ubuntu hardy main" >> /etc/apt/sources.list sudo apt-get update if ! sudo apt-get install --assume-yes --force-yes amarok-nightly amarok-nightly-tools amarok-nightly-taglib then AX_fatal "An apt-based error occurred and installation was unsuccessful"; fi echo "Restoring sources." sudo cp /etc/apt/sources.bak /etc/apt/sources.list sudo apt-get updateThe good news is that it backs up your sources.list before breaking things. The bad news is that it's still utterly horrifying.#since we have root we need to discover normal username so we can create the shortcut & set proper permissions NU=$(cat /etc/passwd grep 1000 cut -d: -f1) sudo chown $NU:$NU "legends_linux-0.4.1.43.deb" sudo chmod +x legends_linux-0.4.1.43.deb sudo dpkg -i legends_linux-0.4.1.43.deb
List of fail:- Assuming that the user has uid 1000
- Chowning a deb to the user for no obvious reason (hint: a user can delete root owned files that are in the user's home directory)
- Making a deb executable for no reason whatsoever
- Assuming that user information will be in /etc/passwd
- Not just, say, passing the user's name to the application IN THE FIRST PLACE
sudo apt-get --assume-yes --force-yes install f-spot dvgrab kino devede gtkpod-aac ipod gnupod-tools libgpod-common libipod-cil libipoddevice0 libipodui-cil libhfsp0 hfsplus hfsutils libipod0
If only we had some way of saying that libraries used by programs should automatically be installed when a program is. Wouldn't that be great?echo "Adding mediabuntu repository" sudo cp /etc/apt/sources.list /etc/apt/sources.bak sudo wget http://www.medibuntu.org/sources.list.d/hardy.list -O /etc/apt/sources.list.d/medibuntu.list ... echo "Restoring sources." sudo cp /etc/apt/sources.bak /etc/apt/sources.list
Yeah. that'll help.- The Swiftweasel install that checks your CPU type and then has some insane number of cut and paste code chunks that differ only by the filename of the tarball it grabs. Rather than, say, using a variable and writing the code once.
- The cutting and pasting of the same code in order to install swiftdove.
- Code that installs packages differently depending on whether they happened to be in your home directory to start with or whether it had to download them for you
if ! DEBIAN_FRONTEND=kde sudo apt-get --assume-yes --force-yesinstall virtualbox
No, I didn't remove any spaces from that.#create directory incase they installed it elsewhere, no sense in scraping all thier games sudo mkdir /usr/local/games/WoP/ 2>/dev/null ... sudo rm -R /usr/local/games/WoP/ 2>/dev/null
What, create a directory and then immediately delete it? How is this useful in any way whatsoever?
There's almost certainly more. I got bored. The worrying thing about this is that the Ultamatix author read my criticisms of Automatix and appears to have attempted to fix all of them. The problem with this is that there's clearly a complete lack of understanding of the fundamental problem in several cases. For example, one of my criticisms of Automatix:
sudo sed -i "s/^vboxusers\(.*\):$/vboxusers\1:$AXUSER/" /etc/group
- assumes that the system isn't using some sort of user directory service.
and the Ultamatix response:
Fixed...Got rid of Virtualbox
Except exactly the same problem is present at other points in Ultamatix, as noted above. Taking a bug list and slavishly fixing or deleting all the bugs isn't helpful if you then proceed to add the same bug back in 24 other places. In that respect, it's even worse than Automatix - the author's managed to produce a huge steaming pile of shite despite having been told how to avoid doing so beforehand. He may be no newbie to programming, but if not it's a perfect example of how experience doesn't imply competence.
Don't install this package. Don't let anyone else install this package. If you see anyone advocating the installation of this package, call them a fool. There's absolutely no excuse whatsoever for the existence of this kind of crap.
Minor update:
The above was looking at 1.8.0-4. It turns out that there's a 1.8.0-5 that's not linked off the website. There's no substantive difference, but some of the numbers may be slightly different.
John Goerzen
Windows XP's mouse pointer, then, doesn't look like the one John Goerzen got.
They look like a bent version of the normal X11 pointers with inverted colors.
Windows Vista's mouse cursors do look like GNOME's (via
For this reason, Windows Vista feels like a cheap knock-off of GNOME to me whenever I use it.
Today everyone in the Netherlands received a letter about the new national electronic health record (EPD) and the possibility to object against registration. EPD aims to provide access to one's patient data to every care provider through a central information broker. I have submitted the form to disallow my data to be accessed through this system.
First of all, there's no clear benefit for me, and I think that goes for the large majority of people. The possible situation where someone has a critical condition and isn't treated by his regular doctor and is unable to inform the stand-in of this and the stand-in has the time to delve through the entire EPD and actually finds and correctly interprets the necessary information seems extremely small for anyone, let alone the big majority that doesn't suffer such critical conditions in the first place. Hence, making it the default for everyone seems very inappropriate. See also this 


...for maintaining bacula and maintaining it well.
I adopted Bacula as backup solution for my local machines, at home, after I went very close to a complete disaster on my home server, last summer.
As of now, my home server and my laptop are now backed up with it. The backup is done on a dedicated disk of the server (until I setup a dedicated server, probably in the house's ceiling).
And things are just...working. Of course, Bacula is a fairly compilcated beast but, well, as I managed to make it work, I consider that anybody can do it.
This morning, I finally setup the bacula graphical console on my laptop. As the laptop is running unstable, with Bacula 2 packages, I indeed had to upgrade bacula packages on the server (which runs Etch, where Bacula version is 1.*).
I just went to backports.org, found backported packages there, kindly prepared by John (and Rhonda, apparently).
One "apt-get install -t etch-backports" after, I'm just running Bacula 2.
John, you deserve a full tank of beers... I'll think about it next time I happen to come in the middle of Kansas..:-)
It was about time, xscreensaver 5.07-1 is ready and is being uploaded right now to experimental (for sanity check with kde components) and available as well from
I apologize for inadvertently password protecting
Autotools can be nice, but they can be pretty ugly too, sometimes.
Especially when you're trying to do something that the autotools weren't
originally meant to do.
I was trying to generate scripts using autotools, in such a way
that they'd be able to use variables that I've AC_SUBST'ed. At first,
that did not seem possible, unless I wouldn't mind doing what
autoconf.info suggests:
In response to the comments left on my
Today’s the last day for
“I can understand, accept and respect that there are people with different sexual trends, but that they feel proud to be gay? That they go out on parades and demonstrations?” , 
As you can see in the second image, using ps2pdf results in some
quality loss. Ghostscript apparently doesn't understand the letter 'A'
very well, and (more importantly) loses the anti-aliasing that is part
of the pdf file. Converting this file back to PDF and storing it on the
hanlin results in an unreadable text.
But it gets worse. Once I had converted all those PDF files to
postscript using pdf2ps and merged them with psmerge, the output was
gibberish. Or Klingon, take your pick:
In case you were wondering, yes, that is the exact same fragment
(counting lines sucks) at the exact same zoom level. Clearly this was a
dead end.
I found that there was a second pdf-to-ps converter, called
'pdftops', which uses the xpdf code base to do its thing. This converter
produced clearly better PDF output; I could not see any difference
between the Xpdf rendering of the original file, and the gv rendering of
the pdftops output. Also, the psmerge output does not garble things as
badly:
Sadly, it still loses anti-aliasing, and thereby the readability of
the document on my ebookreader device. Moreover, the pdftops output
seems to confuse psmerge, to the extent that it hangs on some pages.
Another approach I tried was to import the pdftops output into
scribus, and create a multi-page PDF file with that program.
Unfortunately, however, scribus does not seem to like the pdftops
output.
Xpdf also has a 'pdftoppm' converter. With that, I was able to create
a multi-page .pdf file that was not garbled, and did still
contain anti-aliasing. Unfortunately, since the PPM format is a raster
image format, the PDF file that is created in this way does not scale
very well, resulting in artifacts and, again, an unreadable PDF file on
the hanlin device.
So it appears that for now I'll be stuck with storing multiple files
on my device. Sigh. I wish that wouldn't be necessary...
Update: So I needed pdftk.