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 http://ftp.de.debian.org/debian/pool/main/o/openssl/libssl0.9.8_0.9.8o-4squeeze13_i386.deb && sudo dpkg -i libssl0.9.8_0.9.8o-4squeeze13_i386.deb 

64 bit

sudo wget http://ftp.de.debian.org/debian/pool/main/o/openssl/libssl0.9.8_0.9.8o-4squeeze13_amd64.deb && sudo dpkg -i libssl0.9.8_0.9.8o-4squeeze13_amd64.deb
[/sourcecode]

Advertisements

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.

 

 

Installing non repository software in Debian (including from source)

<pre>#DEB FILES
su
dpkg -i foo.deb #install
dpkg -r foo #uninstall

# RPM
su
alien -i foo.rpm #install

# SOURCE
sudo aptitude install build-essential # install prerequisites

tar -xvzf foo.tar.gz #unpack
cd foo

./configure #or
./configure --bindir=/usr/bin #will install to /user/bin and not residing dir

# run make or dh_make
make
dh_make
# The later formats the package to be in line with Debian standards and is encouraged over make

su
install #or
sudo checkinstall -D   # This install a deb package manageable in Symantec.

#UNINSTALL (INSTALLED FROM SOURCE CODE)
su
cd <app dir>
make uninstall
cd ..
rm -rf

 

Upgrade Debian Lenny to Squeeze

To update from debian lenny to squeeze (currently testing) you simply need to change your sources list to read squeeze for the distribution version.

cp /etc/apt/sources.list /etc/apt/sources.list.old

gedit /etc/apt/sources.list

Replace stable/lenny with squeeze. Best to have squeeze as aposed to testing so you don’t upgrade to the new testing when squeeze is made stable.  Then perform the following commands.
aptitude update

aptitude install apt dpkg aptitude

aptitude full-upgrade

aptitude clean

aptitude autoclean