[+] Problem z instalacj

Tematy związane z oprogramowaniem, instalacją, konfiguracją
Artrix
Posty: 8
Rejestracja: 11 listopada 2015, 01:20

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

Post 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ć...
Awatar użytkownika
Kamilko
Beginner
Posty: 238
Rejestracja: 11 stycznia 2011, 19:44
Lokalizacja: Okolice Poznania

Post 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.
giaur
Member
Posty: 1915
Rejestracja: 25 maja 2007, 22:16

Post 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?
Artrix
Posty: 8
Rejestracja: 11 listopada 2015, 01:20

Post 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
Awatar użytkownika
mati75
Junior Member
Posty: 623
Rejestracja: 30 lipca 2009, 11:19
Lokalizacja: default city

Post autor: mati75 »

to vps?
Artrix
Posty: 8
Rejestracja: 11 listopada 2015, 01:20

Post autor: Artrix »

mati75 pisze:to vps?
Tak i mam myśl czy go czasem nie zresetować i na nowo go ogarnąć.
Awatar użytkownika
mati75
Junior Member
Posty: 623
Rejestracja: 30 lipca 2009, 11:19
Lokalizacja: default city

Post autor: mati75 »

To openvz, tylko administrator serwera może zmienić wersję jądra.
Artrix
Posty: 8
Rejestracja: 11 listopada 2015, 01:20

Post autor: Artrix »

Nie chce zmieniac wersji jadra, wolalbym pozbyc sie tego komunikatu.
Awatar użytkownika
mati75
Junior Member
Posty: 623
Rejestracja: 30 lipca 2009, 11:19
Lokalizacja: default city

Post autor: mati75 »

Dałem Ci odpowiedź dlaczego jest ten komunikat. openvz nie nadaje się do nowszych wersji Debiana.
Artrix
Posty: 8
Rejestracja: 11 listopada 2015, 01:20

Post 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)
Zablokowany