apt-get clean
rm -rf /var/lib/apt/lists/*
apt-get clean
apt-get update
apt-get upgrade
Schlagwort: debian
apt-get update: There is no public key available for the following key IDs
apt-get install debian-keyring debian-archive-keyring
apt-key update
Problem: Debian Upgrade – A copy of the C library was found in an unexpected directory: '/lib/ld-2.11.3.so'
Upgrade: libc6 2.13-35 amd64
apt-get upgrade
Output:
Preparing to replace libc6:amd64 2.13-33 (using …/libc6_2.13-35_amd64.deb) …
A copy of the C library was found in an unexpected directory:
‚/lib/ld-2.11.3.so‘
It is not safe to upgrade the C library in this situation;
please remove that copy of the C library or get it out of
‚/lib‘ and try again.
Analysis:
Prüfung auf die Abhängigkeiten des Systems anhand von /bin/ls:
ldd /bin/ls | grep ld-linux
Output:
/lib64/ld-linux-x86-64.so.2 (0x00007fe82018c000)
ls -ltr /lib64/ld-linux-x86-64.so.2
Output:
/lib64/ld-linux-x86-64.so.2 -> /lib/x86_64-linux-gnu/ld-2.13.so
Solution:
mv /lib/ld-2.11.3.so /root/
mv /lib/libc-2.11.3.so /root/
mv /lib/libdl-2.11.3.so /root/
mv /lib/libm-2.11.3.so /root/
mv /lib/libpthread-2.11.3.so /root/
mv /lib/librt-2.11.3.so /root/
apt-get -f install && apt-get upgrade
files list file for package 'mysql-common' is missing final newline
files list file for package ‚mysql-common‘ is missing final newline
Problem:
Aus irgendeinem Grund ist die Datei:
/var/lib/dpkg/info/mysql-common.list
in einem inkonsistenten Zustand geraten.
Lösung:
Die Datei löschen und durch apt erstellen lassen
rm /var/lib/dpkg/info/mysql-common.list
apt-get update
apt-get upgrade
Skype unter Debian 64-Bit installieren
Beim Start von Skype habe ich folgende Fehlermeldungen erhalten:
skype: error while loading shared libraries: libasound.so.2: cannot open shared object file: No such file or directory
und
skype: error while loading shared libraries: libQtDBus.so.4: cannot open shared object file: No such file or directory
Lösung des Problems ist die Installation folgender Pakete:
apt-get install lib32asound2 ia32-libs lib32gcc1 lib32ncurses5 lib32stdc++6 lib32z1 ia32-libs-gtk
FlashPlayer unter Debian installieren
Voraussetzung:
/etc/apt/source.list:
deb http://ftp2.de.debian.org/debian/ testing main contrib non-free
deb-src http://ftp2.de.debian.org/debian/ testing main contrib non-free
apt-get update
apt-get install flashplugin-nonfree
Update über:
/usr/sbin/update-flashplugin-nonfree –install