Tuesday, February 12, 2013

Lazy setup of Skype 4.1 on Debian 7 amd64

Today I tried the last version of Skype on Debian amd64 but I had some issues on dependencies, with messages such as:
dpkg: error processing libqtgui4:amd64 (--configure):
 package libqtgui4:amd64 4:4.8.2-2+b1 cannot be configured because
libqtgui4:i386 is at a different version (4:4.8.2+dfsg-1)
dpkg: error processing libqtcore4:i386 (--configure):
 package libqtcore4:i386 4:4.8.2-2+b1 cannot be configured because
libqtcore4:amd64 is at a different version (4:4.8.2+dfsg-1)
dpkg: error processing libqtgui4:i386 (--configure):
 package libqtgui4:i386 4:4.8.2+dfsg-1 cannot be configured because
libqtgui4:amd64 is at a different version (4:4.8.2-2+b1)
First thing, uninstall skype:
 #dpkg --purge Skype
 Next, enable the i386 architecture:
 #pkg --add-architecture i386 && apt-get update
Now, install again Skype:
 #dpkg -i  skype-debian_4.1.0.20-1_i386.deb
It will fail again, but then we run:
#dpkg -i skype-debian_4.1.0.20-1_i386.deb
[...]
dpkg: error processing libqtgui4:amd64 (--configure): package libqtgui4:amd64 4:4.8.2-2+b1 cannot be configured because
[...]
#apt-get -f install
Then all the dependencies (i386) will be installed. It could happen that some package will fail with this message:
dpkg: error: --configure needs a valid package name but 'libqtcore4' is not: ambiguous package name 'libqtcore4' with more than one installed instance
We basically need to specify the package name to configure:
# dpkg --configure libqtcore4:amd64
Setting up libqtcore4:amd64 (4:4.8.2+dfsg-11) ...
And keep configuring the rest:
# dpkg --pending --configure
Now we can use Skype 4.1


No comments:

Post a Comment