Fórum Ubuntu CZ/SK
Ubuntu pro osobní počítače => Instalace, aktualizace a spouštění => Téma založeno: Kuba001 02 Října 2012, 22:10:30
-
Zdravím, nainstaloval jsem si cuneiform, abych mohl zkusit OCR (http://archive.ubuntu.com/ubuntu/pool/multiverse/c/cuneiform/cuneiform_0.7.0+dfsg.1-1_i386.deb a nasledne http://archive.ubuntu.com/ubuntu/pool/multiverse/c/cuneiform/cuneiform-common_0.7.0+dfsg.1-1_all.deb spolu s http://archive.getdeb.net/ubuntu/pool/apps/y/yagf/yagf_0.8.7-1~getdeb1_i386.deb).
Kdyz ted chci upgradovat cuneinform, tak nemohu, protoze "Depends: libmagick++3 (>= 7:6.6.2.6) but it is not installed". Ale libmagic++3 nemohu nainstalovat, Software Center hlasi: "installArchives() failed: dpkg: dependency problems prevent configuration of cuneiform: cuneiform depends on libmagick++3 (>= 7:6.6.2.6); however: Package libmagick++3 is not installed."
Pokud tomu spravne rozumim, nemohu aktualizovat, protoze nemam nainstalovane libmagick++3, ale libmagick++3 nemohu nainstalovat, protoze nemam nainstalovane libmagick++3 ...
Jak ten kruh rozseknout? Diky za pomoc ...
-
Jakou máš verzi Ubuntu, neplánuješ povýšení?
-
Ubuntu 12.04 (precise), Kernel Linux 3.2.0-31-generic-pae
Asi se neumím pořádně vyjádřit, v čem je problém. Ale zde vysledek apt-get -f install:
root@jakub-HP-Compaq-6720s:~# sudo 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:
cuneiform synaptic
Suggested packages:
dwww deborphan
The following packages will be upgraded:
cuneiform synaptic
2 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.
3 not fully installed or removed.
Need to get 0 B/2,417 kB of archives.
After this operation, 675 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
dpkg: dependency problems prevent configuration of cuneiform:
libcuneiform0 (1.1.0+dfsg-2) breaks cuneiform (<< 1.0.0+dfsg-3~) and is installed.
Version of cuneiform to be configured is 0.7.0+dfsg.1-1.
dpkg: error processing cuneiform (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of synaptic:
synaptic depends on libapt-inst1.2; however:
Package libapt-inst1.2 is not installed.
synaptic depends on libapt-pkg4.10; however:
Package libapt-pkg4.10 is not installed.
synaptic depends on libept1; however:
Package libept1 is not installed.
synaptic depends on liblaunchpad-integration1 (>= 0.1.17); however:
Package liblaunchpad-integration1 is not installed.
dpkg: error processing synaptic (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of yagf:
yagf depends on cuneiform; however:
Package cuneiform is not configured yet.
No apport report written because the error message indicates its a followup error from a previous failure.
No apport report written because the error message indicates its a followup error from a previous failure.
No apport report written because the error message indicates its a followup error from a previous failure.
dependency problems - leaving unconfigured
Errors were encountered while processing:
cuneiform
synaptic
yagf
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@jakub-HP-Compaq-6720s:~#
Potřebuji se zbavit cuneiform a yagf (synaptic by se pak snad nainstaloval spravne), ale ani sudo apt-get remove --purge my s tím nepomůže ... zůstanou tam závislosti, se kterými nepohnu.
BTW, zadal jsem:
sudo apt-get remove --purge cuneiform
sudo apt-get remove --purge yagf
sudo apt-get remove --purge libcuneiform0
a nasledne
apt-get clean , abych měl čisto
pak jsem zkusil upgrade pomocí sudo apt-get -f dist-upgrade
výsledek je smutný:
root@jakub-HP-Compaq-6720s:~# sudo apt-get -f dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
Calculating upgrade... Done
The following packages will be upgraded:
cuneiform cuneiform-common dbus dbus-x11 libdbus-1-3 libxslt1.1 ntfs-3g
synaptic xsltproc
9 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
Need to get 23.1 MB/25.5 MB of archives.
After this operation, 16.4 kB disk space will be freed.
Do you want to continue [Y/n]? y
Get:1 http://si.archive.ubuntu.com/ubuntu/ precise-updates/main libdbus-1-3 i386 1.4.18-1ubuntu1.3 [148 kB]
Get:2 http://si.archive.ubuntu.com/ubuntu/ precise-updates/main ntfs-3g i386 1:2012.1.15AR.1-1ubuntu1.2 [645 kB]
Get:3 http://si.archive.ubuntu.com/ubuntu/ precise/multiverse cuneiform-common all 1.1.0+dfsg-2 [21.7 MB]
Get:4 http://si.archive.ubuntu.com/ubuntu/ precise-updates/main libxslt1.1 i386 1.1.26-8ubuntu1.2 [165 kB]
Get:5 http://si.archive.ubuntu.com/ubuntu/ precise-updates/main dbus i386 1.4.18-1ubuntu1.3 [367 kB]
Get:6 http://si.archive.ubuntu.com/ubuntu/ precise-updates/main dbus-x11 i386 1.4.18-1ubuntu1.3 [21.6 kB]
Get:7 http://si.archive.ubuntu.com/ubuntu/ precise-updates/main xsltproc i386 1.1.26-8ubuntu1.2 [14.4 kB]
Fetched 23.1 MB in 1min 30s (255 kB/s)
Preconfiguring packages ...
(Reading database ... 315286 files and directories currently installed.)
Preparing to replace libdbus-1-3 1.4.18-1ubuntu1.1 (using .../libdbus-1-3_1.4.18-1ubuntu1.3_i386.deb) ...
Unpacking replacement libdbus-1-3 ...
Preparing to replace ntfs-3g 1:2012.1.15AR.1-1ubuntu1 (using .../ntfs-3g_1%3a2012.1.15AR.1-1ubuntu1.2_i386.deb) ...
Unpacking replacement ntfs-3g ...
Preparing to replace cuneiform-common 0.7.0+dfsg.1-1 (using .../cuneiform-common_1.1.0+dfsg-2_all.deb) ...
Unpacking replacement cuneiform-common ...
Preparing to replace libxslt1.1 1.1.26-8ubuntu1.1 (using .../libxslt1.1_1.1.26-8ubuntu1.2_i386.deb) ...
Unpacking replacement libxslt1.1 ...
Preparing to replace dbus 1.4.18-1ubuntu1.1 (using .../dbus_1.4.18-1ubuntu1.3_i386.deb) ...
Unpacking replacement dbus ...
Preparing to replace dbus-x11 1.4.18-1ubuntu1.1 (using .../dbus-x11_1.4.18-1ubuntu1.3_i386.deb) ...
Unpacking replacement dbus-x11 ...
Preparing to replace xsltproc 1.1.26-8ubuntu1.1 (using .../xsltproc_1.1.26-8ubuntu1.2_i386.deb) ...
Unpacking replacement xsltproc ...
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-3.2.0-31-generic-pae
Processing triggers for man-db ...
Processing triggers for ureadahead ...
ureadahead will be reprofiled on next reboot
dpkg: dependency problems prevent configuration of synaptic:
synaptic depends on libapt-inst1.2; however:
Package libapt-inst1.2 is not installed.
synaptic depends on libapt-pkg4.10; however:
Package libapt-pkg4.10 is not installed.
synaptic depends on libept1; however:
Package libept1 is not installed.
synaptic depends on liblaunchpad-integration1 (>= 0.1.17); however:
Package liblaunchpad-integration1 is not installed.
dpkg: error processing synaptic (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
Setting up libdbus-1-3 (1.4.18-1ubuntu1.3) ...
Setting up ntfs-3g (1:2012.1.15AR.1-1ubuntu1.2) ...
update-initramfs: deferring update (trigger activated)
Setting up cuneiform-common (1.1.0+dfsg-2) ...
Setting up libxslt1.1 (1.1.26-8ubuntu1.2) ...
Setting up dbus (1.4.18-1ubuntu1.3) ...
Setting up dbus-x11 (1.4.18-1ubuntu1.3) ...
Setting up xsltproc (1.1.26-8ubuntu1.2) ...
dpkg: dependency problems prevent configuration of cuneiform:
libcuneiform0 (1.1.0+dfsg-2) breaks cuneiform (<< 1.0.0+dfsg-3~) and is installed.
Version of cuneiform to be configured is 0.7.0+dfsg.1-1.
dpkg: error processing cuneiform (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of yagf:
yagf depends on cuneiform; however:
No apport report written because the error message indicates its a followup error from a previous failure.
Package cuneiform is not configured yet.
dpkg: error processing yagf (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-3.2.0-31-generic-pae
Errors were encountered while processing:
synaptic
cuneiform
yagf
E: Sub-process /usr/bin/dpkg returned an error code (1)
Netuším, jak těch problémových instalací zbavit ...
-
Tak proč jsi cuneiform neinstaloval z repositářů? Co koukám tak v quantal bude i yagf.
Zkus aptitude
sudo apt-get install aptitude
sudo aptitude install -fNabídne ti to nějaké řešení - když se ti nebude líbit stačí zadat n.
-
Negativní.
Něco dělám špatně a nevím co.
root@jakub-HP-Compaq-6720s:~# sudo apt-get install aptitude
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
aptitude : Depends: libboost-iostreams1.46.1 (>= 1.46.1-1) but it is not going to be installed
Depends: libcwidget3 but it is not going to be installed
Recommends: libparse-debianchangelog-perl but it is not going to be installed
libcuneiform0 : Breaks: cuneiform (< 1.0.0+dfsg-3~) but 0.7.0+dfsg.1-1 is to be installed
synaptic : Depends: libapt-inst1.2 but it is not installable
Depends: libapt-pkg4.10 but it is not installable
Depends: libept1 but it is not installable
Depends: liblaunchpad-integration1 (>= 0.1.17) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
sudo apt-get -f installnepomáhá
sudo apt-get updatenepomáhá
sudo apt-get dist-upgrade -ftaky nic, takže když pak zadám
sudo aptitude install -fje odpověď následující:
root@jakub-HP-Compaq-6720s:~# sudo aptitude install -f
sudo: aptitude: command not found
-
sudo dpkg --configure -apopř.
sudo dpkg --purge cuneiform
-
sudo dpkg --configure -anegativni jen zopakuje, kde je chyba
sudo dpkg --purge cuneiformvyresil problem a cuneiform konecne odstranil, nasledne smazan i yagf
diky moc, priste nebudu experimentovat v terminalu a naucim se dpkg