Please reinstall skype… Wait WUT?

Edit: This fix soon becomes obsolete…

The following packages will be upgraded
1 upgraded, 0 newly installed, 0 removed and 0 not upgraded.
Need to get 1075kB of archives.
After unpacking 25.6kB of additional disk space will be used.

Thanks Texstar for such a quick upgrade! You ROCK!

Please reinstall skype…

Please reinstall Skype...

This was a message that I was greeted with after the last upgrade. I have decided to find the solution.

Turns out its a prelink that is messing stuff up.

How to fix it?

1. Open dolphin and type in /etc/ in the address bar.
2. Find file prelink.conf
3. Right click on prelink.conf file
4. Choose Root Menu > Edit As Root
5. Give root’s password when asked for
6. Wait for the kwrite to open
7. Add this line to the file:

-b /usr/bin/skype

so it looks somewhat like this (I have embolden the added line):

# This config file contains a list of directories both with binaries
# and libraries prelink should consider by default.
# If a directory name is prefixed with `-l ‘, the directory hierarchy
# will be walked as long as filesystem boundaries are not crossed.
# If a directory name is prefixed with `-h ‘, symbolic links in a
# directory hierarchy are followed.
# Directories or files with `-b ‘ prefix will be blacklisted.
# `-c ‘ is used to source additional config file snippets.
-c /etc/prelink.conf.d/*.conf
-b *.la
-b *.png
-b *.py
-b *.pl
-b *.pm
-b *.sh
-b *.xml
-b *.xslt
-b *.a
-b *.js
-b /lib/modules
-b /usr/lib/locale
-b /usr/lib{,64}/debug
-b /usr/lib/dropbox-dist
-b /usr/bin/skype
-l /bin
-l /usr/bin
-l /sbin
-l /usr/sbin
-l /usr/kerberos/bin
-l /usr/games
-l /usr/libexec
-l /var/ftp/bin
-l /lib{,64}
-l /usr/lib{,64}
-l /var/ftp/lib{,64}
-l /opt/*/lib{,64}
-l /opt/*/bin
-l /usr/lib/perl5/5.10.1/i386-linux-thread-multi
-l /usr/lib/perl5/vendor_perl/5.10.1/i386-linux-thread-multi
-l /usr/lib/perl5/5.10.1/i386-linux-thread-multi
-l /usr/lib/perl5/vendor_perl/5.10.1/i386-linux-thread-multi

Step by step...

8. Save the file.
9. Close Kwrite and Dolphin.

Now next thing.

1. Open konsole
2. Su Yourself to root
3. Use this command:

apt-get --yes install skype && /usr/sbin/prelink -avmR

Reinstall skype and re-run prelink.

This may take a while to finish depending on You machine power but its well worth it.

After this is done You can reboot Your machine but even without a reboot skype should start without a hiccup ;).

Thanks Texstar for such a wonderfull distro. I hope all the problems will be just as tiny and easy to fix as this one :D!