You are not logged in.
Hello,
After issuing "pacman -Syu" one of the repos requires to install tesseract, which is a hand-writing recognition software (?). I have been using arch for a little while but i cant figure out more about this. If i ignore new packages and just update the currently installed i.e. "pacman -Sua" then the tesseract requirement goes away. So its a new package that requires tesseract which is odd. It also warns about a cyclic dependency
How do i learn more about this?
pacman -Syu output:
[user@machine ~]$ sudo pacman -Syu
[sudo] password for user:
:: Synchronising package databases...
core is up to date
extra 8.2 MiB 2.05 MiB/s 00:04 [#######################################] 100%
:: Starting full system upgrade...
resolving dependencies...
:: There are 128 providers available for tessdata:
:: Repository extra
1) tesseract-data-afr 2) tesseract-data-amh 3) tesseract-data-ara 4) tesseract-data-asm 5) tesseract-data-aze
6) tesseract-data-aze_cyrl 7) tesseract-data-bel 8) tesseract-data-ben 9) tesseract-data-bod
10) tesseract-data-bos 11) tesseract-data-bre 12) tesseract-data-bul 13) tesseract-data-cat
14) tesseract-data-ceb 15) tesseract-data-ces 16) tesseract-data-chi_sim 17) tesseract-data-chi_sim_vert
18) tesseract-data-chi_tra 19) tesseract-data-chi_tra_vert 20) tesseract-data-chr 21) tesseract-data-cos
22) tesseract-data-cym 23) tesseract-data-dan 24) tesseract-data-dan_frak 25) tesseract-data-deu
26) tesseract-data-deu_frak 27) tesseract-data-div 28) tesseract-data-dzo 29) tesseract-data-ell
30) tesseract-data-eng 31) tesseract-data-enm 32) tesseract-data-epo 33) tesseract-data-equ
34) tesseract-data-est 35) tesseract-data-eus 36) tesseract-data-fao 37) tesseract-data-fas
38) tesseract-data-fil 39) tesseract-data-fin 40) tesseract-data-fra 41) tesseract-data-frk
42) tesseract-data-frm 43) tesseract-data-fry 44) tesseract-data-gla 45) tesseract-data-gle
46) tesseract-data-glg 47) tesseract-data-grc 48) tesseract-data-guj 49) tesseract-data-hat
50) tesseract-data-heb 51) tesseract-data-hin 52) tesseract-data-hrv 53) tesseract-data-hun
54) tesseract-data-hye 55) tesseract-data-iku 56) tesseract-data-ind 57) tesseract-data-isl
58) tesseract-data-ita 59) tesseract-data-ita_old 60) tesseract-data-jav 61) tesseract-data-jpn
62) tesseract-data-jpn_vert 63) tesseract-data-kan 64) tesseract-data-kat 65) tesseract-data-kat_old
66) tesseract-data-kaz 67) tesseract-data-khm 68) tesseract-data-kir 69) tesseract-data-kmr
70) tesseract-data-kor 71) tesseract-data-kor_vert 72) tesseract-data-lao 73) tesseract-data-lat
74) tesseract-data-lav 75) tesseract-data-lit 76) tesseract-data-ltz 77) tesseract-data-mal
78) tesseract-data-mar 79) tesseract-data-mkd 80) tesseract-data-mlt 81) tesseract-data-mon
82) tesseract-data-mri 83) tesseract-data-msa 84) tesseract-data-mya 85) tesseract-data-nep
86) tesseract-data-nld 87) tesseract-data-nor 88) tesseract-data-oci 89) tesseract-data-ori
90) tesseract-data-pan 91) tesseract-data-pol 92) tesseract-data-por 93) tesseract-data-pus
94) tesseract-data-que 95) tesseract-data-ron 96) tesseract-data-rus 97) tesseract-data-san
98) tesseract-data-sin 99) tesseract-data-slk 100) tesseract-data-slk_frak 101) tesseract-data-slv
102) tesseract-data-snd 103) tesseract-data-spa 104) tesseract-data-spa_old 105) tesseract-data-sqi
106) tesseract-data-srp 107) tesseract-data-srp_latn 108) tesseract-data-sun 109) tesseract-data-swa
110) tesseract-data-swe 111) tesseract-data-syr 112) tesseract-data-tam 113) tesseract-data-tat
114) tesseract-data-tel 115) tesseract-data-tgk 116) tesseract-data-tgl 117) tesseract-data-tha
118) tesseract-data-tir 119) tesseract-data-ton 120) tesseract-data-tur 121) tesseract-data-uig
122) tesseract-data-ukr 123) tesseract-data-urd 124) tesseract-data-uzb 125) tesseract-data-uzb_cyrl
126) tesseract-data-vie 127) tesseract-data-yid 128) tesseract-data-yor
Enter a number (default=1):
looking for conflicting packages...
warning: dependency cycle detected:
warning: tesseract-data-afr will be installed before its tesseract dependency
Packages (12) enchant-2.6.2-1 ghostscript-10.02.1-1 leptonica-1.83.1-1 libmupdf-1.23.4-4 libp11-kit-0.25.2-1
p11-kit-0.25.2-1 python-charset-normalizer-3.3.2-1 python-pydantic-2.4.2-1
python-pydantic-core-1:2.10.1-1 tesseract-5.3.3-1 tesseract-data-afr-2:4.1.0-4
tesseract-data-osd-2:4.1.0-4
Total Download Size: 58.96 MiB
Total Installed Size: 132.03 MiB
Net Upgrade Size: 26.25 MiB
:: Proceed with installation? [Y/n]
Last edited by Archer_archibald (2023-11-02 15:52:00)
Offline
"pacman -Sua" is not a thing. If you're actually talking about "yay -Sua" that will simply ignore repo packages and update AUR instead.
Going through the list of updates, mupdf is a likely candidate and the "culprit": https://gitlab.archlinux.org/archlinux/ … 03f0e2fa98
If you don't want that you'll have to rebuild mupdf yourself, if you do want that then just proceed with the update and ignore the cycle dependency, those are normally harmless for you as an end user getting a relevant package combination.
Tesseract in general is an OCR tool and in this particular case will likely be used so that you can "transparently" copy text out of image PDFs after they've gotten analyzed by tesseract.
Offline
Thanks, right on both accounts. Solved.
Offline
I had similar issue just now and I was trying to find the culprit myself without luck. pacman -Qi or -Si on tessdata meta package did not bring anything, same as checking tesseract-data-afr.
How to check which package (indeed mupdf-gl in my case) depends on packages to be installed in -Syu? Teach a man to fish....
Offline
Tesseract is a dependency of skanpage on my KDE install.
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things. -- Doug Gwyn
Offline
@too: see in output of command 'pacman -Sii tesseract' "Required By" section; which package from this section do you have installed?
Offline
Why to you furtherly search for a culprit while it was clearly named in #2?
Offline