[+] instalacja serwera tomcat i b

Tematy związane z oprogramowaniem, instalacją, konfiguracją
ziemianp
Posty: 2
Rejestracja: 22 września 2010, 15:15

[+] instalacja serwera tomcat i błąd libc6

Post autor: ziemianp »

Witam.

Próbuję zainstalować serwer tomcat, ale mam błąd dotyczący pakietu libc6, z którym nie umiem sobie poradzić.

Kod: Zaznacz cały

apt-get install tomcat5.5
Reading package lists... Done
Building dependency tree
Reading state information... Done
tomcat5.5 is already the newest version.
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
  libc6-xen: PreDepends: libc6 (= 2.7-18) but 2.7-18lenny7 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

Kod: Zaznacz cały

apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  libc6-xen
The following packages will be upgraded:
  libc6-xen
1 upgraded, 0 newly installed, 0 to remove and 61 not upgraded.
176 not fully installed or removed.
Need to get 0B/1282kB of archives.
After this operation, 102kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Setting up libc6 (2.7-18lenny7) ...
ldconfig: /etc/ld.so.conf.d/libc6-xen.conf:6: hwcap index 0 already defined as nosegneg
dpkg: error processing libc6 (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 libc6
E: Sub-process /usr/bin/dpkg returned an error code (1)
Bardzo proszę o pomoc.
button
Beginner
Posty: 242
Rejestracja: 04 marca 2008, 16:39

Post autor: button »

Próbowałeś tego:
http://www.vanheusden.com/Linux/tt.html pisze: Xen vm: "hwcap index 0 already defined as nosegneg"
Change /etc/ld.so.conf.d/libc6-xen.conf so that hwcap 1 nosegneg is replaced by hwcap 0 nosegneg.
Tu: http://forums.quantact.com/viewtopic.php?f=35&t=1167
oznaczone jako razwiązane więc powinno pomóc.
ziemianp
Posty: 2
Rejestracja: 22 września 2010, 15:15

Post autor: ziemianp »

Dziękuję za odpowiedź. Pomogło.

Wyłączyłem tą linijkę:

Kod: Zaznacz cały

#hwcap 1 nosegneg
w pliku /etc/ld.so.conf.d/libc6-xen.conf i instalacja poszła.

Pozdrawiam.
ODPOWIEDZ