Strona 1 z 2

[+] Problem z instalacją nowych pakietów.

: 11 listopada 2015, 01:31
autor: Artrix
Szukając po Google nie mogłem znaleźć odpowiedzi na mój problem, a mianowicie próbowałem zmusić Spotify do działania i w sumie udało się niestety chyba użyłem zbyt brutalnej siły ponieważ teraz nie mogę zainstalować nic z repo...
Konsola mi pluje takie coś:

Kod: Zaznacz cały

# apt-get install <byle jaki pakiet>
Reading package lists... Done
Building dependency tree
Reading state information... Done
nano is already the newest version.
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 libc-dev-bin : Depends: libc6 (> 2.21) but 2.19-22 is to be installed
 libc6-dev : Depends: libc6 (= 2.21-0experimental2) but 2.19-22 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
Po wpisaniu apt-get -f install
Dostaje praktycznie to samo...

Kod: Zaznacz cały

# apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... failed.
The following packages have unmet dependencies:
 libc-dev-bin : Depends: libc6 (> 2.21) but 2.19-22 is installed
 libc6-dev : Depends: libc6 (= 2.21-0experimental2) but 2.19-22 is installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies
Instalacja libc6 w wersji 2.21 kończy się na:

Kod: Zaznacz cały

# dpkg -i libc6_2.21-0experimental2_amd64.deb
(Reading database ... 152143 files and directories currently installed.)
Preparing to replace libc6:amd64 2.19-22 (using libc6_2.21-0experimental2_amd64.deb) ...
Checking for services that may need to be restarted...
Checking init scripts...
WARNING: this version of the GNU libc requires kernel version
3.2 or later. Please upgrade your kernel before installing
glibc.

The installation of a 2.6 kernel _could_ ask you to install a new libc
first, this is NOT a bug, and should *NOT* be reported. In that case,
please add lenny sources to your /etc/apt/sources.list and run:
  apt-get install -t lenny linux-image-2.6
Then reboot into this new kernel, and proceed with your upgrade
dpkg: error processing libc6_2.21-0experimental2_amd64.deb (--install):
 subprocess new pre-installation script returned error exit status 1
Errors were encountered while processing:
 libc6_2.21-0experimental2_amd64.deb
Liczę na Waszą pomoc, bo sam już nie daję rady tego naprawić...

: 11 listopada 2015, 06:17
autor: Kamilko
"Then reboot into this new kernel, and proceed with your upgrade"


Jak możesz podaj wynik i od razu jaka dystrybucja.

Kod: Zaznacz cały

uname -a

A tak na szybko uważam, że masz za stary kernel.

: 11 listopada 2015, 09:12
autor: giaur
Czemu upierasz się na libc6 z experimental? Chcesz koniecznie rozwalić sobie system? Jeśli nie masz Sida to nawet nie podchodź a i tak to ryzykowne.

Masz kernel starszy niz 3.2? To na czym ty siedzisz, na oldstable?

: 11 listopada 2015, 11:02
autor: Artrix
giaur pisze:Czemu upierasz się na libc6 z experimental? Chcesz koniecznie rozwalić sobie system? Jeśli nie masz Sida to nawet nie podchodź a i tak to ryzykowne.
Nie chce rozwalać systemu... nawet nie chce instalować libc6 z experminetal, po prostu nastukałem zbyt wiele komend i teraz chcę to uratować...
Jak możesz podaj wynik i od razu jaka dystrybucja.
Kernel: 2.6.32-042stab111.12
Distro: Wheezy

: 11 listopada 2015, 13:56
autor: mati75
to vps?

: 11 listopada 2015, 18:42
autor: Artrix
mati75 pisze:to vps?
Tak i mam myśl czy go czasem nie zresetować i na nowo go ogarnąć.

: 11 listopada 2015, 23:04
autor: mati75
To openvz, tylko administrator serwera może zmienić wersję jądra.

: 12 listopada 2015, 09:36
autor: Artrix
Nie chce zmieniac wersji jadra, wolalbym pozbyc sie tego komunikatu.

: 15 listopada 2015, 17:34
autor: mati75
Dałem Ci odpowiedź dlaczego jest ten komunikat. openvz nie nadaje się do nowszych wersji Debiana.

: 15 listopada 2015, 18:03
autor: Artrix
Właśnie dałeś mi opowiedzieć czemu jest ten komunikat, ale nie napisałeś czy jest też jakiś inny sposób na uniknięcie go. Bo skoro wcześniej nie potrzebowałem libc6 w wersji 21 to czemu teraz potrzebuje? (w sensie czemu system potrzebuje)