I know, I need to play a bit more with Ekiga and other VOIP tools. But for now I really just wanted to quickly fire up Skype, and with Ubuntu Hardy it has become quite a bit simpler than before to install it (the 32bit executable that is) on an amd64 system.
Mistrusting as I am, I didn’t at first believe that it could be as simple as this Ubuntu Forums How-To promises. Basically it says you need just three commands (and to give away the conclusion – it’s true!):
sudo apt-get install ia32-libs lib32asound2 wget -O skype-install.deb http://www.skype.com/go/getskype-linux-ubuntu sudo dpkg -i --force-all skype-install.deb
Now I’m fine with the first two; obviously, you need the skype package, and you’ll need some basic 32bit libraries to run it with. But “–force-all” is a bit drastic, and I really wanted to know what warnings and errors I’d be missing out on. So let’s see:
$ sudo dpkg -i skype-debian_184.108.40.206-1_i386.deb dpkg: error processing skype-debian_220.127.116.11-1_i386.deb (--install): package architecture (i386) does not match system (amd64) Errors were encountered while processing: skype-debian_18.104.22.168-1_i386.deb
Unsurprising. But instead of now forcing everything, let’s just force it to accept the architecture:
$ sudo dpkg -i --force-architecture skype-debian_22.214.171.124-1_i386.deb dpkg - warning, overriding problem because --force enabled: package architecture (i386) does not match system (amd64) Selecting previously deselected package skype. (Reading database ... 103178 files and directories currently installed.) Unpacking skype (from skype-debian_126.96.36.199-1_i386.deb) ... dpkg: dependency problems prevent configuration of skype: skype depends on libqt4-core (>= 4.2.1); however: Package libqt4-core is not installed. skype depends on libqt4-gui (>= 4.2.1); however: Package libqt4-gui is not installed. dpkg: error processing skype (--install): dependency problems - leaving unconfigured Errors were encountered while processing: skype
Right. I thought this was a static build? Why does it depend on that QT stuff?
Anyway, this is where I realised that when you set –force-architecture dpkg still tells you what objections it would have had otherwise. So we may as well –force-all and get on with it:
$ sudo dpkg -i --force-all skype-debian_188.8.131.52-1_i386.deb dpkg - warning, overriding problem because --force enabled: package architecture (i386) does not match system (amd64) (Reading database ... 103313 files and directories currently installed.) Preparing to replace skype 184.108.40.206-1 (using skype-debian_220.127.116.11-1_i386.deb) ... Unpacking replacement skype ... dpkg: skype: dependency problems, but configuring anyway as you request: skype depends on libqt4-core (>= 4.2.1); however: Package libqt4-core is not installed. skype depends on libqt4-gui (>= 4.2.1); however: Package libqt4-gui is not installed. Setting up skype (18.104.22.168-1) ... Configuration file `/etc/dbus-1/system.d/skype.conf', does not exist on system. Installing new config file as you request.
If I had been more trusting, that would have worked straight away… Interestingly, Skype looks and works just fine despite the missing QT libs (well yeah, that’s what a static build is for). Who configured those package dependencies??