The following packages have unmet dependencies:
clamcour: Depends: libclamav2 (>= 0.90) but it is not installable
Depends: libgmp3 which is a virtual package.
Nie mogę ani usunąć clamcour, ani go zainstalować. Ktoś ma jakiś pomysł?
Próba usunięcia:
apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages will be REMOVED:
clamcour
0 upgraded, 0 newly installed, 1 to remove and 58 not upgraded.
After this operation, 119kB disk space will be freed.
Do you want to continue [Y/n]? Y
/bin/sh: line 1: /usr/bin/apt-listchanges: No such file or directory
(Reading database ... 55827 files and directories currently installed.)
Removing clamcour ...
Stopping ClamCour filter/var/lib/dpkg/info/clamcour.prerm: line 14: /usr/sbin/filterctl: No such file or directory
dpkg: error processing clamcour (--remove):
subprocess pre-removal script returned error exit status 1
Errors were encountered while processing:
clamcour
E: Sub-process /usr/bin/dpkg returned an error code (1)
apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
libclamav2 libgmp3c2
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
libclamav2 libgmp3c2
The following packages will be REMOVED:
clamcour
The following NEW packages will be installed:
libclamav2 libgmp3c2
0 upgraded, 2 newly installed, 1 to remove and 532 not upgraded.
Need to get 760kB of archives.
After this operation, 1389kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Get:1 [url]http://security.debian.org[/url] stable/updates/main libclamav2 0.91.2-4.0lenny1 [435kB]
Get:2 [url]http://http.us.debian.org[/url] unstable/main libgmp3c2 2:4.3.2+dfsg-1 [325kB]
Fetched 760kB in 1s (540kB/s)
/bin/sh: line 1: /usr/bin/apt-listchanges: No such file or directory
(Reading database ... 55827 files and directories currently installed.)
Removing clamcour ...
Stopping ClamCour filter/var/lib/dpkg/info/clamcour.prerm: line 14: /usr/sbin/filterctl: No such file or directory
dpkg: error processing clamcour (--remove):
subprocess pre-removal script returned error exit status 1
Errors were encountered while processing:
clamcour
E: Sub-process /usr/bin/dpkg returned an error code (1)
deb [url]http://security.debian.org/[/url] stable/updates main contrib non-free
deb [url]http://http.us.debian.org/debian/[/url] stable main contrib non-free
# ostatnia linie wrzucilem teraz na probe
deb [url]http://http.us.debian.org/debian/[/url] unstable main contrib non-free
Oryginalnie instalowany był Debian 4.0 Etch, potem potrzebowałem jakichś pakietów, które nie były dostępne w wersji stabilnej, więc źródła przełączyłem na Sida. Teraz ponoszę konsekwencje.
Wpisy odnoszą Ci się do stable czy aktualnie Lenny. To przeskok dwóch wersji z Etch'a. Zaktualizuj z głową swój system do Lennego po wcześniejszym skomentowaniu ostatniej, dodanej przez siebie linii.
Ew. mogę pomóc bezpośrednio na maszynie.
Wypadałoby teraz usunąć pakiety, które były zainstalowane na Etchu z Sida wraz z zależnościami. Następnie spróbować wykonać aktualizację dystrybucji do obecnej wersji stabilnej. Sprawdzić jak system zachowa się po restarcie. Doinstalować pakiety, które są potrzebne.
W pliku /etc/apt/sources.list jest pomieszanie z poplątaniem. Jeżeli mieszasz pakiety z różnych gałęzi Debiana używaj nazwy kodowej dystrybucji. Np. etch, lenny itp. Inaczej kiedy pojawia się nowa wersja stabilna to po aktualizacji uzyskujesz taki efekt jak obecnie.
winnetou, zamieszanie wprowadziły pakiety z Sida. Przy zmianie dystrybucji, najlepiej odinstalować wszystko z poza danej gałęzi. Prawdopodobnie pojawiło się sporo pakietów zatrzymanych i nieaktualizowanych z tego powodu.
W jaki sposób dojść, które pakiety są z Sida? Jak sprowadzić system do stanu pierwotnego, a potem zaktualizować całość do najnowszej wersji? A może lepiej będzie postawić system od nowa?
[Dodano: |17 Lut 2010|, 2010 08:06]
Postanowiłem zainstalować system ponownie, więc jeśli ktoś ma pomysł jak sensownie naprawić cały ten galimatias bez reinstalacji to jeszcze się wstrzymam. Z góry dziękuję za pomoc.