|
apt-get i aptitude - instalacja przez aptitude błędy
Bartek_em - 30-08-2008 16:41
Witam mam taki problem gdy chcę zainstalować jakiś pakiet czy zaktualizować system za pomocą aptitude to on chce mi usunąć kilka pakietów. O co mu chodzi? Na polecenie
aptitude update && aptitude upgrade
jest
The following NEW packages will be installed: liba52-0.7.4{a} libamrnb3{a} libamrwb3{a} libdirac0{a} libfaac0{a} libmp3lame0{a} libschroedinger-1.0-0{a} libx264-60{a} libxvidcore4{a} linux-image-2.6.26-1-686{a} The following packages will be REMOVED: dcoprss{u} dirmngr{u} kdenetwork-kfile-plugins{u} kdnssd{u} kget{u} knewsticker{u} kpf{u} kppp{u} krdc{u} krfb{u} kwifimanager{u} libgadu3{u} libgpgme11{u} libgsmme1c2a{u} libkleopatra1{u} libksba8{u} libmeanwhile1{u} libpcap0.8{u} libpth20{u} librss1{u} ppp{u} The following packages will be upgraded: acpi-support-base cpp-4.3 ed g++-4.3 gcc-4.3 gcc-4.3-base grub-common hal libavcodec51 libavutil49 libgcc1 libgfortran3 libgomp1 libhal-storage1 libhal1 libmudflap0 libpostproc51 libselinux1 libsmbclient libstdc++6 libstdc++6-4.3-dev libwbclient0 libwrap0 libxml2 linux-image-2.6-686 linux-libc-dev nano netbase python-selinux rsyslog swfdec-mozilla tcpd The following packages are RECOMMENDED but will NOT be installed: libsmbios-bin xml-core 32 packages upgraded, 10 newly installed, 21 to remove and 0 not upgraded. Need to get 40.9MB of archives. After unpacking 40.9MB will be used. Do you want to continue? [Y/n/?]
W ogóle ostatnio przestałem już używać aptitude i muszę używać apt-get bo coś się zepsuło i nie chce on instalować, sypie takim błędem:
debian:/home/bartek# aptitude install digikam Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done Writing extended state information... Done Reading task descriptions... Done The following NEW packages will be installed: digikam exiv2{a} graphicsmagick{a} graphicsmagick-imagemagick-compat{a} kaddressbook{a} kipi-plugins{a} libexiv2-4{a} libgpgme11{a} libgpod3-nogtk{a} libgraphicsmagick1{a} libkcal2b{a} libkdcraw3{a} libkdepim1a{a} libkexiv2-3{a} libkipi0{a} libkleopatra1{a} libktnef1{a} The following packages will be REMOVED: dirmngr{u} 0 packages upgraded, 17 newly installed, 1 to remove and 20 not upgraded. Need to get 0B/20.5MB of archives. After unpacking 56.7MB will be used. Do you want to continue? [Y/n/?] Y Writing extended state information... Done (Reading database ... 90075 files and directories currently installed.) Removing dirmngr ... Stopping DirMngr: dirmngr/usr/sbin/invoke-rc.d: line 446: 3808 Terminated "${INITDPREFIX}${INITSCRIPTID}" "${saction}" "$@" invoke-rc.d: initscript dirmngr, action "stop" failed. dpkg: error processing dirmngr (--remove): subprocess pre-removal script returned error exit status 143 Starting DirMngr: dirmngr/usr/bin/dirmngr: error while loading shared libraries: libksba.so.8: cannot open shared object file: No such file or directory chgrp: cannot access `/var/run/dirmngr/socket': No such file or directory failed! invoke-rc.d: initscript dirmngr, action "start" failed. dpkg: error while cleaning up: subprocess post-installation script returned error exit status 1 Errors were encountered while processing: dirmngr E: Sub-process /usr/bin/dpkg returned an error code (1) A package failed to install. Trying to recover: Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done Writing extended state information... Done Reading task descriptions... Done
Co zrobić by aptitude działało jak za dawnych czasów? Normalnie instalował i nie chciał usuwać nie wiadomo skąd tych pakietów kiedy zamierzam coś instalować. I jeszcze mam pytanie dotyczące aktualizacji systemu. Usuwa mi tam jakieś pakiety jak chcę kontynuować to mówi mi takie coś:
Do you want to continue? [Y/n/?] y WARNING: untrusted versions of the following packages will be installed!
Untrusted packages could compromise your system's security.
You should only proceed with the installation if you are certain that this is what you want to do.
libavutil49 libpostproc51 libmp3lame0 libdirac0 libavcodec51
Do you want to ignore this warning and proceed anyway? To continue, enter "Yes"; to abort, enter "No":
Kontynuować?
Problemy z tym aptiujde się zaczęły kiedy raz coś zainstalowałem apt-getem.
Edit: Puściłem tą instalacje dalej no i nie zainstalował tego.
Fetched 40.9MB in 5min14s (130kB/s) Extracting templates from packages: 100% Preconfiguring packages ... (Reading database ... 89663 files and directories currently installed.) Removing dcoprss ... Removing dirmngr ... Stopping DirMngr: dirmngr/usr/sbin/invoke-rc.d: line 446: 14890 Terminated "${INITDPREFIX}${INITSCRIPTID}" "${saction}" "$@" invoke-rc.d: initscript dirmngr, action "stop" failed. dpkg: error processing dirmngr (--remove): subprocess pre-removal script returned error exit status 143 Starting DirMngr: dirmngr. Removing kdenetwork-kfile-plugins ... Removing kdnssd ... Removing kget ... Removing knewsticker ... Removing kpf ... Removing kppp ... Removing krdc ... Removing krfb ... Removing kwifimanager ... Removing libgadu3 ... Removing libkleopatra1 ... Removing libgpgme11 ... Removing libgsmme1c2a ... Removing libmeanwhile1 ... Removing ppp ... Stopping all PPP connections...done. Removing libpcap0.8 ... Removing librss1 ... dpkg: libpth20: dependency problems, but removing anyway as you request: dirmngr depends on libpth20 (>= 2.0.7-8). Removing libpth20 ... dpkg: libksba8: dependency problems, but removing anyway as you request: dirmngr depends on libksba8 (>= 1.0.2). Removing libksba8 ... Processing triggers for menu ... Processing triggers for man-db ... Errors were encountered while processing: dirmngr E: Sub-process /usr/bin/dpkg returned an error code (1) A package failed to install. Trying to recover: Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done Writing extended state information... Done Reading task descriptions... Done
Current status: 1 broken [+1].
Pomóż ktoś, proszę.
Muchomorr - 30-08-2008 22:09
U mnie na klopoty z Dirmngr pomoglo to
Link
tam masz patch'a dirmngr-killproc.patch
Pozdrawiam.
Bartek_em - 30-08-2008 22:52
I co mam z tym zrobić? Bo nie bardzo wiem...
Akkon - 31-08-2008 23:22
O co mu chodzi? Na polecenie [...] Need to get 40.9MB of archives. After unpacking 40.9MB will be used. Do you want to continue? [Y/n/?]
Pyta czy ma zaktualizować Ci system i co w tym celu Ci ściągnie i doinstaluje. Dajesz oczywiście "Y" i klepiesz enter.
Kontynuować. Pakiety są po prostu nie podpisane, ale są w porządku. Samo się zepsuło ? :P Nie jest zalecane jednoczesne używanie apt-get'a i aptitude, bo można sobie zrobić krzywdę.
Bartek_em - 31-08-2008 23:34
No właśnie ale za późno już. Teraz jedynie wszytko robię z apt-geta bo aptitude nie działa. Tamto już zainstalowałem ale z apt bo instalacja przez aptitude się wykrzaczyła.
zanotowane.pldoc.pisz.plpdf.pisz.plminister.pev.pl
|