Spotify won’t install due to dependency with libssl0.9

libssl0.9 has moved onto version libssl1 though Spotify currently has prerequisite dependency of no more than libssl0.9 and won’t install.

You can safely install the two side by side. Download the required version from squeeze repositories and install with one of the following scripts:

32 bit:

sudo wget && sudo dpkg -i libssl0.9.8_0.9.8o-4squeeze13_i386.deb 

64 bit

sudo wget && sudo dpkg -i libssl0.9.8_0.9.8o-4squeeze13_amd64.deb

SSD Instability under Linux

SSD Instability

I was having some serious instability with my new SSD under Linux. Installation with LMDE was not possible and Ubuntu kept on locking up when copying files.

It seems that the HD is too quick and the native queuing of commands can cause instability; disabling this has made my machine more stable and I have not noticed any deterioration in performance.

Add libata.force=noncq somewhere on the Linux line of your currently kernel in the grub config file.

sudo pluma /boot/grub/grub.cfg

menuentry "Ubuntu (on /dev/sda1)" --class gnu-linux --class gnu --class os {
	insmod part_msdos
	insmod ext2
	set root='(/dev/sda,msdos1)'
	search --no-floppy --fs-uuid --set=root xxxxxxx
	linux /boot/vmlinuz-3.5.0-23-generic root=UUID=xxxxxxxx ro quiet splash libata.force=noncq $vt_handoff
	initrd /boot/initrd.img-3.5.0-23-generic

More information about libata.force-noncq can be found here.

Also you can add this into a live disc or current grub boot prompt but pressing the tab or | key. A screen shot is shown below.



Dot Net on Linux

As described here I have started a series of posts about developing .Net on Linux.

All source code can be found on GitHub here.

The posts so far:

Day 0: Setting up the .Net Development Environment
Day 1: Hello World in ASP.NET MVC 2
Day 2: Unit testing with NUnit
Day 3: Dependency Injection with Ninject
Day 4: Mocking with Rhino Mocks
Day 5: Installing and Securing MySQL
Day 6: Installing and a quick tour of Workbench
Day 7: Installing and a quick tour of MonoDevelop Database Plugin
Day 8.1:  Connecting & Consuming MySQL with ADO.NET
Day 8.2: Connecting & Consuming SQLite with ADO.NET
Day 8.3: Agnostic database connection with ADO.NET
Day 9: Generics
Day 10: Linq
Day 11: NInject
Day 12: NUnit
Day 13: Delegates and Lambdas
Day 14: Rhino Mocks