Instalacja EKG2

Tematy związane z oprogramowaniem, instalacją, konfiguracją
apolloM2
Posty: 2
Rejestracja: 13 października 2008, 16:08

Instalacja EKG2

Post autor: apolloM2 »

Jestem początkującym użytkownikiem Debiana.
Jak do tej pory używałem EKG.
Postanowiłem się przesiąść na EKG2, ze względu chociażby na obsługę Jabbera.
Próbuję go zainstalować, ale jedyne co otrzymuje to:

Kod: Zaznacz cały

root@vps121:~# apt-get install ekg2
Reading package lists... Done
Building dependency tree... Done
ekg2 is already the newest version.
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
  ekg2: Depends: libatk1.0-0 (>= 1.20.0) but it is not going to be installed
        Depends: libc6 (>= 2.7-1) but 2.3.6.ds1-13etch7 is to be installed
        Depends: libgadu3 (>= 1:1.8.0+r592) but 1:1.7~rc2-1etch1+b1 is to be installed
        Depends: libgnutls26 (>= 2.4.0-0) but it is not installable
        Depends: libgpgme11 (>= 1.1.6) but it is not going to be installed
        Depends: libgpm2 (>= 1.20.4) but it is not installable
        Depends: libgtk2.0-0 (>= 2.12.0) but it is not going to be installed
        Depends: libncursesw5 (>= 5.6+20071006-3) but 5.5-5 is to be installed
        Depends: libpango1.0-0 (>= 1.20.3) but it is not going to be installed
        Depends: libperl5.10 (>= 5.10.0) but it is not installable
        Depends: libsqlite3-0 (>= 3.5.9) but 3.3.8-1.1 is to be installed
        Depends: libssl0.9.8 (>= 0.9.8f-5) but 0.9.8c-4etch3 is to be installed
        Depends: python-central (>= 0.6.7) but it is not going to be installed
        Depends: perl (>= 5.10.0-15) but 5.8.8-7etch3 is to be installed
        Depends: perlapi-5.10.0 but it is not installable
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
root@vps121:~#
Dodam tylko, że perl,czy też python był już instalowany.

Możecie pomóc w rozwiązaniu tego problemu?
Z góry dzięki ;-)
maly
Beginner
Posty: 289
Rejestracja: 03 lipca 2007, 14:52

Post autor: maly »

Ekg2 nadal jest w experimental, dla testing i stable mogą być właśnie problemy z zależnościami dla wersji unstable instalacja paczek z experimental powinna pomóc. Albo spróbuj jeszcze z źródłami.
apolloM2
Posty: 2
Rejestracja: 13 października 2008, 16:08

Post autor: apolloM2 »

No dobrze, paczka dopisana:

Kod: Zaznacz cały

root@vps121:~# aptitude update
Get:1 [url]http://ftp.pl.debian.org[/url] etch Release.gpg [386B]
Hit [url]http://ftp.pl.debian.org[/url] etch Release
Ign [url]http://ftp.pl.debian.org[/url] etch/main Packages/DiffIndex
Ign [url]http://ftp.pl.debian.org[/url] etch/contrib Packages/DiffIndex
Ign [url]http://ftp.pl.debian.org[/url] etch/main Sources/DiffIndex
Ign [url]http://ftp.pl.debian.org[/url] etch/contrib Sources/DiffIndex
Hit [url]http://ftp.pl.debian.org[/url] etch/main Packages
Hit [url]http://ftp.pl.debian.org[/url] etch/contrib Packages
Hit [url]http://ftp.pl.debian.org[/url] etch/main Sources
Hit [url]http://ftp.pl.debian.org[/url] etch/contrib Sources
Get:2 [url]http://ftp.cz.debian.org[/url] experimental Release.gpg [189B]
Get:3 [url]http://security.debian.org[/url] etch/updates Release.gpg [189B]
Get:4 [url]http://ftp.cz.debian.org[/url] experimental Release [85.6kB]
Get:5 [url]http://ftp.cz.debian.org[/url] experimental/main Packages [542kB]
Get:6 [url]http://security.debian.org[/url] etch/updates Release [37.6kB]
Get:7 [url]http://ftp.cz.debian.org[/url] experimental/contrib Packages [4146B]
Get:8 [url]http://ftp.cz.debian.org[/url] experimental/non-free Packages [3949B]
Get:9 [url]http://ftp.cz.debian.org[/url] experimental/main Sources [181kB]
Get:10 [url]http://ftp.cz.debian.org[/url] experimental/contrib Sources [1541B]
Get:11 [url]http://ftp.cz.debian.org[/url] experimental/non-free Sources [1781B]
Ign [url]http://security.debian.org[/url] etch/updates/main Packages/DiffIndex
Ign [url]http://security.debian.org[/url] etch/updates/contrib Packages/DiffIndex
Get:12 [url]http://security.debian.org[/url] etch/updates/main Packages [374kB]
Hit [url]http://security.debian.org[/url] etch/updates/contrib Packages
Fetched 1232kB in 9s (133kB/s)
Reading package lists... Done
root@vps121:~# aptitude install ekg2
Reading package lists... Done
Building dependency tree... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done
Reading task descriptions... Done
Building tag database... Done
The following packages are BROKEN:
  ekg2 libgnutls26
The following packages have been kept back:
  libapache2-mod-php5 php-pear php5 php5-cli php5-common php5-mysql
0 packages upgraded, 1 newly installed, 0 to remove and 6 not upgraded.
Need to get 471kB of archives. After unpacking 1188kB will be used.
The following packages have unmet dependencies:
  libgnutls26: Depends: libc6 (>= 2.7-1) but 2.3.6.ds1-13etch7 is installed.
               Depends: libgcrypt11 (>= 1.4.0) but 1.2.3-2 is installed.
  ekg2: Depends: libatk1.0-0 (>= 1.20.0) but it is not installable
        Depends: libc6 (>= 2.7-1) but 2.3.6.ds1-13etch7 is installed.
        Depends: libgadu3 (>= 1:1.8.0+r592) but 1:1.7~rc2-1etch1+b1 is installed.
        Depends: libgpgme11 (>= 1.1.6) but it is not installable
        Depends: libgpm2 (>= 1.20.4) which is a virtual package.
        Depends: libgtk2.0-0 (>= 2.12.0) but it is not installable
        Depends: libncursesw5 (>= 5.6+20071006-3) but 5.5-5 is installed.
        Depends: libpango1.0-0 (>= 1.20.3) but it is not installable
        Depends: libperl5.10 (>= 5.10.0) which is a virtual package.
        Depends: libsqlite3-0 (>= 3.5.9) but 3.3.8-1.1 is installed.
        Depends: libssl0.9.8 (>= 0.9.8f-5) but 0.9.8c-4etch3 is installed.
        Depends: python-central (>= 0.6.7) but it is not installable
        Depends: perl (>= 5.10.0-15) but 5.8.8-7etch3 is installed.
        Depends: perlapi-5.10.0 which is a virtual package.
Resolving dependencies...
The following actions will resolve these dependencies:

Remove the following packages:
ekg2
libc6-dev
libgpmg1-dev
tzdata
util-linux

Upgrade the following packages:
libc6 [2.3.6.ds1-13etch7 (stable, now) -> 2.8+20080809-1 (experimental)]
libgcrypt11 [1.2.3-2 (stable, now) -> 1.4.3-1 (experimental)]

Score is -111891

Accept this solution? [Y/n/q/?] Y
The following ESSENTIAL packages will be REMOVED!
  util-linux

WARNING: Performing this action will probably cause your system to break!
         Do NOT continue unless you know EXACTLY what you are doing!
To continue, type the phrase "I am aware that this is a very bad idea":
I dalej nic?
fnmirk
Senior Member
Posty: 8324
Rejestracja: 03 grudnia 2007, 06:37

Post autor: fnmirk »

apolloM2, na pewno chcesz i czujesz się na siłach mieszać dystrybucje? Masz Etcha. Nie lepiej wybrać sobie inny program do obsługi Jabbera i poczekać aż pakiet będzie np.: w backports Etch.

Kod: Zaznacz cały

deb [url]http://www.backports.org/debian[/url] etch-backports main contrib non-free
yantar
Member
Posty: 1225
Rejestracja: 07 czerwca 2007, 21:15
Lokalizacja: Rzeszów

Post autor: yantar »

Lepiej zrobic tak jak radzi fnmirk szczegolnie, ze wrzeszczy o libc6 poznije moga byc spore problemy z zaleznosciami. Swego czasu jak szukalem informacji o EKG2 trafialem na strony gdzie ludzie zamieszczali wlasne skompilowane paczki .deb dla Etcha wiec moze poszperaj troche po Googlach.

Co do Lennego to bez problemu łyknął paczke ekg2 z repo experimental.
d0man199
Posty: 28
Rejestracja: 04 października 2008, 23:17

Post autor: d0man199 »

Mam problem. Gdy chce zainstalować EKG2 to wyskakuje mi takie coś:
Następujące pakiety mają niespełnione zależności:
ekg2: Wymaga: libgcrypt11 (>= 1.4.2) ale 1.4.1-1 ma zostać zainstalowany
Wymaga: libgnutls26 (>= 2.5.9-0) ale 2.4.2-6+lenny1 ma zostać zainstalow
Jak to naprawić? Dodam, że EKG oraz Kadu zainstalowało się normalnie.
sigo
Junior Member
Posty: 501
Rejestracja: 21 marca 2009, 19:12

Post autor: sigo »

Chyba obciąłeś trochę log, który otrzymałeś.

Nie pomieszałeś wpisów różnych gałęzi w

Kod: Zaznacz cały

/etc/apt/sources.list
?
d0man199
Posty: 28
Rejestracja: 04 października 2008, 23:17

Post autor: d0man199 »

Mój sources.list
#
#deb cdrom:[Debian GNU/Linux 5.0.0 _Lenny_ - Official i386 DVD Binary-1 20090214-16:54]/ lenny contrib main

#deb cdrom:[Debian GNU/Linux 5.0.0 _Lenny_ - Official i386 DVD Binary-1 20090214-16:54]/ lenny contrib main

deb http://ftp.man.poznan.pl/pub/linux/debian/debian/ lenny main
deb-src http://ftp.man.poznan.pl/pub/linux/debian/debian/ lenny main

deb http://security.debian.org/ lenny/updates main contrib
deb-src http://security.debian.org/ lenny/updates main contrib

deb http://volatile.debian.org/debian-volatile lenny/volatile main contrib
deb-src http://volatile.debian.org/debian-volatile lenny/volatile main contrib

deb http://ftp.cz.debian.org/debian/ experimental main contrib non-free
deb-src http://ftp.cz.debian.org/debian/ experimental main contrib non-free
ArnVaker

Post autor: ArnVaker »

EKG2 nadal jest wyłącznie w gałęzi experimental. Wiem, że Twój Debian, to tylko wirtualizacja, dlatego zaproponuję takie rozwiązanie. Wpisz w konsoli:

Kod: Zaznacz cały

aptitude -t experimental install ekg2

Możliwe, że żeby spełnić wszystkie zależności będziesz musiał też dodać repozytoria wersji testowej lub niestabilnej. Jednak potem się ich pozbądź.


Edit:
Dodaj repozytoria wersji testowej i zainstaluj:

Kod: Zaznacz cały

aptitude install ekg2
Nie aktualizuj w tym czasie systemu, a po instalacji wyłącz te repozytoria. Druga możliwość to kompilacja ze źródeł.
d0man199
Posty: 28
Rejestracja: 04 października 2008, 23:17

Post autor: d0man199 »

ArnVaker pisze:Dodaj repozytoria wersji testowej i zainstaluj:

Kod: Zaznacz cały

aptitude install ekg2
Nie aktualizuj w tym czasie systemu, a po instalacji wyłącz te repozytoria. Druga możliwość to kompilacja ze źródeł.
Podziałało. Po raz kolejny bardzo dziękuję :-)

Edit: Jeszcze jedno. Czy jeśli zostawię w sources.list to co zmieniłem to Linux będzie dalej działał poprawnie? Czy zaleca się powrót do poprzedniej wersji?
ODPOWIEDZ