Hello,

that commands are for IMO for Ubuntu and AFAIK Raspbian is based on
Debian... So you get the correct reply about not being
supported Raspbian/buster...

Try these steps/commands for Raspberry:

sudo apt update
sudo apt install apt-transport-https

sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak-$(date +%Y%m%d)
echo "deb https://notesalexp.org/tesseract-ocr5/$(lsb_release -cs)/
$(lsb_release -cs) main" | sudo tee -a /etc/apt/sources.list
sudo apt-get update -oAcquire::AllowInsecureRepositories=true
sudo apt-get install notesalexp-keyring
-oAcquire::AllowInsecureRepositories=true
sudo apt-get update

sudo apt-get install tesseract-ocr

Zdenko


po 26. 12. 2022 o 23:20 'Topas Topas' via tesseract-ocr <
tesseract-ocr@googlegroups.com> napĂ­sal(a):

> Hi,
>
> I would like to use tesseract 5.2.0 on my raspberry pi 4.
>
> I execute:
>
> pi@raspberrypi:~ $ sudo apt update
> pi@raspberrypi:~ $ sudo apt upgrade
> pi@raspberrypi:~ $ sudo add-apt-repository ppa:alex-p/tesseract-ocr5
> Traceback (most recent call last):
>   File "/usr/bin/add-apt-repository", line 95, in <module>
>     sp = SoftwareProperties(options=options)
>   File
> "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py",
> line 109, in __init__
>     self.reload_sourceslist()
>   File
> "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py",
> line 599, in reload_sourceslist
>     self.distro.get_sources(self.sourceslist)
>   File "/usr/lib/python3/dist-packages/aptsources/distro.py", line 93, in
> get_sources
>     (self.id, self.codename))
> aptsources.distro.NoDistroTemplateException: Error: could not find a
> distribution template for Raspbian/buster
>
> Regarding this, I have some questions:
>
>
>    1. Do I understand it correctly, that there is no distribution for
>    this version of tesseract available and foreseen for raspi 4?
>    2. Whom could I probably ask to supply it?
>    3. If that is not likely to come: would it be easily possible for me
>    to build it myself for raspi?
>    4. Or would it make more sense to install ubuntu on this hardware?
>    5. Or would it be the easiest to run this version of tesseract only on
>    a non-ARM computer?
>
> Thanks in advance!
>
> --
> You received this message because you are subscribed to the Google Groups
> "tesseract-ocr" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to tesseract-ocr+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tesseract-ocr/c8e450ff-e480-47f7-abdf-12b378626d1cn%40googlegroups.com
> <https://groups.google.com/d/msgid/tesseract-ocr/c8e450ff-e480-47f7-abdf-12b378626d1cn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tesseract-ocr+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tesseract-ocr/CAJbzG8x1ubYMWa%3Dpr%3DmvyW0MK-PjprCeFv1ZuyWqOWc1VjEtug%40mail.gmail.com.

Reply via email to