Chciałem zainstalować wine na Debianie Wheezy, ale okazało się, że potrzeba paru bibliotek. Tak więc, chciałem je zainstalować, jednak jedna z nich już na początku wymagała instalacji:
Kod: Zaznacz cały
apt-get install -f
Próbowałem też je przeinstalować ale też wyskakiwały błędy.
To jest błąd, który wyświetlany jest podczas próby naprawienia paczek:
Kod: Zaznacz cały
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies
A to błąd podczas próby instalacji wine:
Kod: Zaznacz cały
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/home/cix72/Downloads/wine-1.4.1':
configure: error: C compiler cannot create executables
See `config.log' for more details
Configure failed, aborting install.
A to wyświetla się gdy próbuję zainstalować gcc:
Kod: Zaznacz cały
sudo apt-get install gcc
Reading package lists... Done
Building dependency tree
Reading state information... Done
gcc is already the newest version.
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
cpp-4.7 : Depends: gcc-4.7-base (= 4.7.1-6ubuntu1) but 4.7.1-2 is to be installed
Depends: libc6 (>= 2.14) but 2.13-33 is to be installed
g++-4.7 : Depends: gcc-4.7-base (= 4.7.1-6ubuntu1) but 4.7.1-2 is to be installed
Depends: libc6 (>= 2.14) but 2.13-33 is to be installed
gcc-4.7 : Depends: gcc-4.7-base (= 4.7.1-6ubuntu1) but 4.7.1-2 is to be installed
Depends: libgcc1 (>= 1:4.7.1-6ubuntu1) but 1:4.7.1-2 is to be installed
Depends: libc6 (>= 2.14) but 2.13-33 is to be installed
libc-dev-bin : Depends: libc6 (> 2.15) but 2.13-33 is to be installed
libc6-dev : Depends: libc6 (= 2.15-0ubuntu15) but 2.13-33 is to be installed
libc6-i386 : Depends: libc6 (= 2.15-0ubuntu15) but 2.13-33 is to be installed
libgomp1 : Depends: gcc-4.7-base (= 4.7.1-6ubuntu1) but 4.7.1-2 is to be installed
Depends: libc6 (>= 2.14) but 2.13-33 is to be installed
libitm1 : Depends: gcc-4.7-base (= 4.7.1-6ubuntu1) but 4.7.1-2 is to be installed
Depends: libc6 (>= 2.14) but 2.13-33 is to be installed
libquadmath0 : Depends: gcc-4.7-base (= 4.7.1-6ubuntu1) but 4.7.1-2 is to be installed
Depends: libc6 (>= 2.14) but 2.13-33 is to be installed
libstdc++6-4.7-dev : Depends: gcc-4.7-base (= 4.7.1-6ubuntu1) but 4.7.1-2 is to be installed
Depends: libstdc++6 (>= 4.7.1-6ubuntu1) but 4.7.1-2 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
Kod: Zaznacz cały
sudo apt-get install -f
wyświetla się to:
Kod: Zaznacz cały
sudo apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... failed.
The following packages have unmet dependencies:
cpp-4.7 : Depends: gcc-4.7-base (= 4.7.1-6ubuntu1) but 4.7.1-2 is installed
Depends: libc6 (>= 2.14) but 2.13-33 is installed
g++-4.7 : Depends: gcc-4.7-base (= 4.7.1-6ubuntu1) but 4.7.1-2 is installed
Depends: libc6 (>= 2.14) but 2.13-33 is installed
gcc-4.7 : Depends: gcc-4.7-base (= 4.7.1-6ubuntu1) but 4.7.1-2 is installed
Depends: libgcc1 (>= 1:4.7.1-6ubuntu1) but 1:4.7.1-2 is installed
Depends: libc6 (>= 2.14) but 2.13-33 is installed
libc-dev-bin : Depends: libc6 (> 2.15) but 2.13-33 is installed
libc6-dev : Depends: libc6 (= 2.15-0ubuntu15) but 2.13-33 is installed
libc6-i386 : Depends: libc6 (= 2.15-0ubuntu15) but 2.13-33 is installed
libgomp1 : Depends: gcc-4.7-base (= 4.7.1-6ubuntu1) but 4.7.1-2 is installed
Depends: libc6 (>= 2.14) but 2.13-33 is installed
libitm1 : Depends: gcc-4.7-base (= 4.7.1-6ubuntu1) but 4.7.1-2 is installed
Depends: libc6 (>= 2.14) but 2.13-33 is installed
libquadmath0 : Depends: gcc-4.7-base (= 4.7.1-6ubuntu1) but 4.7.1-2 is installed
Depends: libc6 (>= 2.14) but 2.13-33 is installed
libstdc++6-4.7-dev : Depends: gcc-4.7-base (= 4.7.1-6ubuntu1) but 4.7.1-2 is installed
Depends: libstdc++6 (>= 4.7.1-6ubuntu1) but 4.7.1-2 is installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies
Bardzo proszę o pomoc, bo nie jestem zbyt biegły w tym, a gdy tylko próbuję jakoś naprawić dany problem to zamiast tego tworzy się kolejny.
Z góry bardzo dziękuję i pozdrawiam,
mati199537