I just got bitten by bug 663670: empathy doesn’t connect to msn - blocked connection.
It turns out that Microsoft made changes on the server side two days ago that crashes telepathy-butterfly, the MSN connector used by Empathy.
Fortunately, the fix is simple.
# sudo nano /usr/lib/pymodules/python2.6/papyon/service/description/SingleSignOn/RequestMultipleSecurityTokens.py
Then goto line 24 and replace
CONTACTS = (“contacts.msn.com”, “?s=1&id=24000&kv=7&rn=93S9SWWw&tw=0&ver=2.1.6000.1”)
with
CONTACTS = (“contacts.msn.com”, “MBI”)
After that, hit the “reconnect” button in Empathy and it should now connect to MSN. You don’t have to restart Empathy, even. These are the times I love scripting languages.
Today, the Spotify people announced a preview of a native Spotify for Linux. I downloaded it, and tried it Ubuntu Karmic at work.
Unfortunately, it still requires some work. Exhibit #1:
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff6f3e49c in QMetaObject::indexOfSignal(char const*) const () from
/usr/lib/libQtCore.so.4
(gdb) bt
#0 0x00007ffff6f3e49c in QMetaObject::indexOfSignal(char const*) const ()
from /usr/lib/libQtCore.so.4
#1 0x00007ffff6f49a5b in QObject::connect(QObject const*, char const*,
QObject const*, char const*, Qt::ConnectionType) () from
/usr/lib/libQtCore.so.4
#2 0x00007ffff5901db9 in ?? () from /usr/lib/libQtDBus.so.4
#3 0x00007ffff58fca67 in QDBusConnection::registerObject(QString const&,
QObject*, QFlags<QDBusConnection::RegisterOption>) () from
/usr/lib/libQtDBus.so.4
#4 0x0000000000564d3c in ?? ()
#5 0x00000000009a0891 in ?? ()
#6 0x0000000000563006 in ?? ()
#7 0x00007ffff509babd in __libc_start_main () from /lib/libc.so.6
#8 0x0000000000410249 in ?? ()
#9 0x00007fffffffe3a8 in ?? ()
#10 0x000000000000001c in ?? ()
#11 0x0000000000000001 in ?? ()
#12 0x00007fffffffe6cf in ?? ()
#13 0x0000000000000000 in ?? ()
I’m sure enterprising hackers would fix this in a jiffy, if only the source code was available. Show me the code:)
Update: I can happily report that the version 0.4.8.282.gf7dc186-1 works just dandy with Ubuntu 10.04. I got it from the Linux preview download page.
When doing the usual apt-get upgrade, I had a harddrive failure which resulted in an aborted upgrade.
After a reboot, I got the usual unmet dependencies, and the friendly suggestion to run apt-get -f install to continue. Doing so gave me another friendly unable to execute installed pre-removal script all the time, even though I tried forcing dpkg to cooperate:
root@nimbus:~# dpkg --purge --force all linux-image-2.6.31-21-generic
(Reading database ... 193743 files and directories currently installed.)
Removing linux-image-2.6.31-21-generic ...
dpkg (subprocess): unable to execute installed pre-removal script: Exec format error
dpkg: error processing linux-image-2.6.31-21-generic (--purge):
subprocess installed pre-removal script returned error exit status 2
dpkg (subprocess): unable to execute installed post-installation script: Exec format error
dpkg: error while cleaning up:
subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
After mucking about with the various dpkg-* tools, I hit upon the idea of trying to install the new package “manually” using dpkg directly. Bingo!
root@nimbus:~# dpkg -i /var/cache/apt/archives/linux-image-2.6.31-21-generic_2.6.31 21.59_amd64.deb
Selecting previously deselected package linux-image-2.6.31-21-generic.
(Reading database ... 193747 files and directories currently installed.)
Preparing to replace linux-image-2.6.31-21-generic 2.6.31-21.59 (using
.../linux-image-2.6.31-21-generic_2.6.31-21.59_amd64.deb) ...
dpkg (subprocess): unable to execute old pre-removal script: Exec format error
dpkg: warning: old pre-removal script returned error exit status 2
dpkg - trying script from the new package instead ...
dpkg: ... it looks like that went OK.
Done.
Unpacking replacement linux-image-2.6.31-21-generic ...
dpkg (subprocess): unable to execute old post-removal script: Exec format error
dpkg: warning: old post-removal script returned error exit status 2
dpkg - trying script from the new package instead ...
Running postrm hook script /usr/sbin/update-grub.
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.31-21-generic
....
And now everything is back to normal.
Update: The harddrive failure was due to the SATA controller on the motherboard dying slowly.
Jeg (re)installerer Ubuntu så sjelden at dette glemmer jeg alltid ut. Huskeliste til neste gang (og for andre som har samme problemet).
Legg til språkpakkene for nynorsk og bokmål, henholdsvis:
sudo apt-get install --reinstall language-pack-nn
sudo apt-get install --reinstall language-pack-nb
Legg til følgende linjer i fila /var/lib/locales/supported.d/local:
nb_NO.UTF-8 UTF-8
nn_NO.UTF-8 UTF-8
Regenerer alle språkfilene:
sudo dpkg-reconfigure locales
Det finnes også en locale-gen som gjør deler av jobben til dpkg-reconfigure locales.