Ubuntu 9.10 Aptitude Fix

I encountered the following error in Aptitude after my Ubuntu 9.10 box fubar’d during an install.  The message given by synaptic is similar.
Reading package lists… Error!
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/dpkg/status
E: The package lists or status file could not be parsed or opened.

The following sequence of commands fixed it for me.
#: cd /var/lib/dpkg
#: sudo mv status status-bad
#: sudo cp status-old status
#: sudo apt-get update

Recommended Applications

This article contains a list of free and/or open source applications I recommend for various tasks.  I use some of them, others come highly recommended.  This is current as of January 3, 2010.  I will periodically repost newer editions of this as needed.  Go to the next page for a full listing of applications. Continue reading Recommended Applications

Time Lapse Video

I completed my first ever time lapse video with my web cam today.  It didn’t turn out too bad, though you can really tell I have it on the inside looking through a window and screen.

I setup this webcam to upload an image once a minute to my linux machine.  Once I had all the images, I ran the script below.  It takes all the images generated and  names them sequentially.

ls *.jpg | nl -nrz -w4 | while read a b; do mv "$b" $a.jpg; done

Once you have all the image files named correctly, you can run ffmpeg. I’ve included my sittings here.


ffmpeg -r 10 -b 2048k -bt 768k -i %04d.jpg out.mp4

Equipment/Software:

  • D-Link DCS-920
  • ffmpeg