Searching for packages with apt

Apparently, it is possible to search for packages with apt. Here is it works:

apt-cache search mplayer

Masks are also supported. Consider the difference (package descriptions were removed for cleaner output):

[leonid@ltsp ~]$ apt-cache search lad
glade2
intltool
libglade
libglade
libglade2
libglade2-devel
pygtk2-libglade
qt-designer
Gtk-Perl
ladspa
ladspa-devel
mplayer
xine-lib

[leonid@ltsp ~]$ apt-cache search '^lad'
ladspa
ladspa-devel

Timer fix

My new office workstation was behaving very strangely. Once in a while it would slow down to a crawl and hang doing something. I checked the processlist, but nothing was going wrong. I disabled all the services. I checked my scheduled tasks. Nothing. I left it with top running, but it showed that 100% of CPU was idle and more than 500 MBytes of RAM was free. Nothing was eating up resources. Neither was there any significant network traffic. The machine wasn’t swapping or anything. Non-the-less the load average would go up as high as 4.0 or even 7.0!

Continue reading Timer fix

Fedora Linux Core 4 is out!

I know that everyone is waiting for it, so I’ll break out the good news – Fedora Linux Core 4 is out. I am currently downloading it from one of the mirrors, but the speed is dicreasing. Hopefully I’ll have it before everything stops completely. I will upload all 4 CDs to Thunderworx FTP as soon as I have them. Meanwhile, you can read the Release Notes.

Update: Fedora Linux Core 4 is available via bittorrent.

Update: Official announcement.

Update: Fedora Linux Core 4 ISOs are uploaded to Thunderworx FTP. You can get them from here.

find2perl

I think I’ve heard about find2perl before, but I never used it. Today I was trying to invent a wheel once again and somehow remembered about this useful tool. Here is a quote from the man 1 find2perl:

NAME
find2perl – translate find command lines to Perl code

SYNOPSIS
find2perl [paths] [predicates] │ perl

DESCRIPTION
find2perl is a little translator to convert find command lines to equivalent Perl code. The resulting code is typically faster
than running find itself.

This utlity usually comes together with perl.