Friday, April 30, 2010

"The package 'ubuntu-desktop' is marked for removal but it is in the removal blacklist."

While upgrading from Ubuntu 9.10 to 10.04, faced "The package 'ubuntu-desktop' is marked for removal but it is in the removal blacklist.".
Turns out this was because I had both ubuntu-desktop and xubuntu-desktop.
Solution: Removed xubuntu-desktop with

sudo apt-get remove xubuntu-desktop

Upgrade continued without any problem after that.

Friday, March 19, 2010

svn: Expected FS format between '1' and '3'; found format '4'

Ok, in brief. Needed to create a local subversion repository. Used
"svnadmin create /home/nikhil/.svndata"
to create one locally. Tried to link this repo from Eclipse by entring
"file:///home/nikhil/.svndata"
as the repo location. Failed with the error
"svn: Expected FS format between '1' and '3'; found format '4'"

The reason for this is that my Ubuntu subversion client was version 1.6* and the Eclipse plugin was 1.5* compliant. The real fix is to either downgrade the Ubuntu client or upgrade Eclipse client. However a quick and dirty fix worked. Made the file
"/home/nikhil/.svndata/db/format"
editable from its original read only mode and changed the first line in the file from 4 to 3. Eclipse was able to read and write with the older client since then. Your Mileage May Vary.

UPDATE: A month later, no problems faced so far.