ocrmypdf / OCRmyPDF

OCRmyPDF adds an OCR text layer to scanned PDF files, allowing them to be searched
http://ocrmypdf.readthedocs.io/
Mozilla Public License 2.0
14.11k stars 1.02k forks source link

Generating .pdf files on the linux / tmp partition #513

Closed jrbrasil closed 4 years ago

jrbrasil commented 4 years ago

Hi jbarlow83, I followed the procedures and did not update the version of ocrmypdf. Anything else to be done? See the procedures:

root@note-jbrasil:~# sudo apt-get -y update Atingido:1 http://linux.teamviewer.com/deb stable InRelease Atingido:2 http://br.archive.ubuntu.com/ubuntu bionic InRelease
Atingido:3 https://download.docker.com/linux/ubuntu bionic InRelease
Obter:4 http://br.archive.ubuntu.com/ubuntu bionic-updates InRelease [88,7 kB]
Obter:5 http://br.archive.ubuntu.com/ubuntu bionic-backports InRelease [74,6 kB]
Obter:6 http://httpredir.debian.org/debian experimental InRelease [72,2 kB]
Atingido:7 http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu bionic InRelease
Atingido:8 http://repo.zabbix.com/zabbix/4.4/ubuntu bionic InRelease
Obter:9 http://security.ubuntu.com/ubuntu bionic-security InRelease [88,7 kB]
Obter:10 http://httpredir.debian.org/debian sid InRelease [146 kB]
Obter:11 http://br.archive.ubuntu.com/ubuntu bionic-updates/main i386 Packages [659 kB]
Err:6 http://httpredir.debian.org/debian experimental InRelease
As assinaturas a seguir não puderam ser verificadas devido à chave pública não estar disponível: NO_PUBKEY 04EE7237B7D453EC NO_PUBKEY 648ACFD622F3D138 Atingido:12 http://nginx.org/packages/ubuntu bionic InRelease
Obter:13 http://br.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [892 kB]
Atingido:14 http://ppa.launchpad.net/mrazavi/openvas/ubuntu bionic InRelease
Err:10 http://httpredir.debian.org/debian sid InRelease
As assinaturas a seguir não puderam ser verificadas devido à chave pública não estar disponível: NO_PUBKEY 04EE7237B7D453EC NO_PUBKEY 648ACFD622F3D138 Obter:15 http://br.archive.ubuntu.com/ubuntu bionic-updates/main amd64 DEP-11 Metadata [307 kB]
Obter:16 http://br.archive.ubuntu.com/ubuntu bionic-updates/main DEP-11 48x48 Icons [73,8 kB]
Obter:17 http://br.archive.ubuntu.com/ubuntu bionic-updates/main DEP-11 64x64 Icons [140 kB]
Obter:18 http://br.archive.ubuntu.com/ubuntu bionic-updates/universe i386 Packages [1.012 kB]
Obter:19 http://br.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1.060 kB]
Atingido:20 http://ppa.launchpad.net/openjdk-r/ppa/ubuntu bionic InRelease
Obter:21 http://br.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 DEP-11 Metadata [273 kB]
Obter:22 http://security.ubuntu.com/ubuntu bionic-security/main amd64 DEP-11 Metadata [38,5 kB]
Obter:23 http://br.archive.ubuntu.com/ubuntu bionic-updates/universe DEP-11 48x48 Icons [209 kB]
Obter:24 http://br.archive.ubuntu.com/ubuntu bionic-updates/universe DEP-11 64x64 Icons [466 kB]
Obter:25 http://br.archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 DEP-11 Metadata [2.468 B]
Obter:26 http://br.archive.ubuntu.com/ubuntu bionic-backports/universe amd64 DEP-11 Metadata [7.980 B]
Obter:27 http://security.ubuntu.com/ubuntu bionic-security/main DEP-11 48x48 Icons [17,6 kB]
Obter:28 http://security.ubuntu.com/ubuntu bionic-security/main DEP-11 64x64 Icons [41,5 kB] Atingido:29 http://ppa.launchpad.net/webupd8team/java/ubuntu bionic InRelease Obter:30 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 DEP-11 Metadata [42,1 kB]
Obter:31 http://security.ubuntu.com/ubuntu bionic-security/universe DEP-11 64x64 Icons [116 kB]
Obter:32 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 DEP-11 Metadata [2.464 B]
Atingido:33 http://ppa.launchpad.net/wireshark-dev/stable/ubuntu bionic InRelease
Lendo listas de pacotes... Pronto W: Erro GPG: http://httpredir.debian.org/debian experimental InRelease: As assinaturas a seguir não puderam ser verificadas devido à chave pública não estar disponível: NO_PUBKEY 04EE7237B7D453EC NO_PUBKEY 648ACFD622F3D138 E: The repository 'http://httpredir.debian.org/debian experimental InRelease' is not signed. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. W: Erro GPG: http://httpredir.debian.org/debian sid InRelease: As assinaturas a seguir não puderam ser verificadas devido à chave pública não estar disponível: NO_PUBKEY 04EE7237B7D453EC NO_PUBKEY 648ACFD622F3D138 E: The repository 'http://httpredir.debian.org/debian sid InRelease' is not signed. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. W: Target Sources (nginx/source/Sources) is configured multiple times in /etc/apt/sources.list:53 and /etc/apt/sources.list:55 W: Target Sources (nginx/source/Sources) is configured multiple times in /etc/apt/sources.list:53 and /etc/apt/sources.list:57 W: Target Sources (nginx/source/Sources) is configured multiple times in /etc/apt/sources.list:53 and /etc/apt/sources.list:59 W: Target Sources (nginx/source/Sources) is configured multiple times in /etc/apt/sources.list:53 and /etc/apt/sources.list:61 W: Target Sources (nginx/source/Sources) is configured multiple times in /etc/apt/sources.list:53 and /etc/apt/sources.list:63 W: Target Sources (nginx/source/Sources) is configured multiple times in /etc/apt/sources.list:53 and /etc/apt/sources.list:65 W: Target Sources (nginx/source/Sources) is configured multiple times in /etc/apt/sources.list:53 and /etc/apt/sources.list:67 W: Target Sources (nginx/source/Sources) is configured multiple times in /etc/apt/sources.list:53 and /etc/apt/sources.list:69 W: Target Sources (nginx/source/Sources) is configured multiple times in /etc/apt/sources.list:53 and /etc/apt/sources.list:84 W: Target Sources (nginx/source/Sources) is configured multiple times in /etc/apt/sources.list:53 and /etc/apt/sources.list:86 W: Target Packages (nginx/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:54 W: Target Packages (nginx/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:54 W: Target Packages (nginx/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:54 W: Target Translations (nginx/i18n/Translation-pt_BR) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:54 W: Target Translations (nginx/i18n/Translation-pt) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:54 W: Target Translations (nginx/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:54 W: Target DEP-11 (nginx/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:54 W: Target DEP-11 (nginx/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:54 W: Target DEP-11-icons-small (nginx/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:54 W: Target DEP-11-icons (nginx/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:54 W: Target CNF (nginx/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:54 W: Target CNF (nginx/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:54 W: Target Packages (nginx/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:56 W: Target Packages (nginx/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:56 W: Target Packages (nginx/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:56 W: Target Translations (nginx/i18n/Translation-pt_BR) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:56 W: Target Translations (nginx/i18n/Translation-pt) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:56 W: Target Translations (nginx/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:56 W: Target DEP-11 (nginx/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:56 W: Target DEP-11 (nginx/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:56 W: Target DEP-11-icons-small (nginx/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:56 W: Target DEP-11-icons (nginx/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:56 W: Target CNF (nginx/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:56 W: Target CNF (nginx/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:56 W: Target Packages (nginx/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:58 W: Target Packages (nginx/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:58 W: Target Packages (nginx/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:58 W: Target Translations (nginx/i18n/Translation-pt_BR) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:58 W: Target Translations (nginx/i18n/Translation-pt) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:58 W: Target Translations (nginx/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:58 W: Target DEP-11 (nginx/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:58 W: Target DEP-11 (nginx/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:58 W: Target DEP-11-icons-small (nginx/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:58 W: Target DEP-11-icons (nginx/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:58 W: Target CNF (nginx/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:58 W: Target CNF (nginx/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:58 W: Target Packages (nginx/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:60 W: Target Packages (nginx/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:60 W: Target Packages (nginx/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:60 W: Target Translations (nginx/i18n/Translation-pt_BR) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:60 W: Target Translations (nginx/i18n/Translation-pt) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:60 W: Target Translations (nginx/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:60 W: Target DEP-11 (nginx/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:60 W: Target DEP-11 (nginx/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:60 W: Target DEP-11-icons-small (nginx/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:60 W: Target DEP-11-icons (nginx/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:60 W: Target CNF (nginx/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:60 W: Target CNF (nginx/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:60 W: Target Packages (nginx/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:62 W: Target Packages (nginx/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:62 W: Target Packages (nginx/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:62 W: Target Translations (nginx/i18n/Translation-pt_BR) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:62 W: Target Translations (nginx/i18n/Translation-pt) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:62 W: Target Translations (nginx/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:62 W: Target DEP-11 (nginx/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:62 W: Target DEP-11 (nginx/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:62 W: Target DEP-11-icons-small (nginx/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:62 W: Target DEP-11-icons (nginx/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:62 W: Target CNF (nginx/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:62 W: Target CNF (nginx/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:62 W: Target Packages (nginx/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:64 W: Target Packages (nginx/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:64 W: Target Packages (nginx/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:64 W: Target Translations (nginx/i18n/Translation-pt_BR) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:64 W: Target Translations (nginx/i18n/Translation-pt) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:64 W: Target Translations (nginx/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:64 W: Target DEP-11 (nginx/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:64 W: Target DEP-11 (nginx/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:64 W: Target DEP-11-icons-small (nginx/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:64 W: Target DEP-11-icons (nginx/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:64 W: Target CNF (nginx/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:64 W: Target CNF (nginx/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:64 W: Target Packages (nginx/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:66 W: Target Packages (nginx/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:66 W: Target Packages (nginx/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:66 W: Target Translations (nginx/i18n/Translation-pt_BR) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:66 W: Target Translations (nginx/i18n/Translation-pt) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:66 W: Target Translations (nginx/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:66 W: Target DEP-11 (nginx/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:66 W: Target DEP-11 (nginx/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:66 W: Target DEP-11-icons-small (nginx/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:66 W: Target DEP-11-icons (nginx/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:66 W: Target CNF (nginx/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:66 W: Target CNF (nginx/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:66 W: Target Packages (nginx/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:68 W: Target Packages (nginx/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:68 W: Target Packages (nginx/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:68 W: Target Translations (nginx/i18n/Translation-pt_BR) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:68 W: Target Translations (nginx/i18n/Translation-pt) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:68 W: Target Translations (nginx/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:68 W: Target DEP-11 (nginx/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:68 W: Target DEP-11 (nginx/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:68 W: Target DEP-11-icons-small (nginx/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:68 W: Target DEP-11-icons (nginx/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:68 W: Target CNF (nginx/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:68 W: Target CNF (nginx/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:68 W: Target Packages (nginx/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:83 W: Target Packages (nginx/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:83 W: Target Packages (nginx/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:83 W: Target Translations (nginx/i18n/Translation-pt_BR) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:83 W: Target Translations (nginx/i18n/Translation-pt) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:83 W: Target Translations (nginx/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:83 W: Target DEP-11 (nginx/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:83 W: Target DEP-11 (nginx/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:83 W: Target DEP-11-icons-small (nginx/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:83 W: Target DEP-11-icons (nginx/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:83 W: Target CNF (nginx/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:83 W: Target CNF (nginx/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:83 W: Target Packages (nginx/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:85 W: Target Packages (nginx/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:85 W: Target Packages (nginx/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:85 W: Target Translations (nginx/i18n/Translation-pt_BR) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:85 W: Target Translations (nginx/i18n/Translation-pt) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:85 W: Target Translations (nginx/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:85 W: Target DEP-11 (nginx/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:85 W: Target DEP-11 (nginx/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:85 W: Target DEP-11-icons-small (nginx/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:85 W: Target DEP-11-icons (nginx/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:85 W: Target CNF (nginx/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:85 W: Target CNF (nginx/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:85 N: Skipping acquire of configured file 'nginx/binary-i386/Packages' as repository 'http://nginx.org/packages/ubuntu bionic InRelease' doesn't support architecture 'i386' W: Target Sources (nginx/source/Sources) is configured multiple times in /etc/apt/sources.list:53 and /etc/apt/sources.list:55 W: Target Sources (nginx/source/Sources) is configured multiple times in /etc/apt/sources.list:53 and /etc/apt/sources.list:57 W: Target Sources (nginx/source/Sources) is configured multiple times in /etc/apt/sources.list:53 and /etc/apt/sources.list:59 W: Target Sources (nginx/source/Sources) is configured multiple times in /etc/apt/sources.list:53 and /etc/apt/sources.list:61 W: Target Sources (nginx/source/Sources) is configured multiple times in /etc/apt/sources.list:53 and /etc/apt/sources.list:63 W: Target Sources (nginx/source/Sources) is configured multiple times in /etc/apt/sources.list:53 and /etc/apt/sources.list:65 W: Target Sources (nginx/source/Sources) is configured multiple times in /etc/apt/sources.list:53 and /etc/apt/sources.list:67 W: Target Sources (nginx/source/Sources) is configured multiple times in /etc/apt/sources.list:53 and /etc/apt/sources.list:69 W: Target Sources (nginx/source/Sources) is configured multiple times in /etc/apt/sources.list:53 and /etc/apt/sources.list:84 W: Target Sources (nginx/source/Sources) is configured multiple times in /etc/apt/sources.list:53 and /etc/apt/sources.list:86 W: Target Packages (nginx/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:54 W: Target Packages (nginx/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:54 W: Target Packages (nginx/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:54 W: Target Translations (nginx/i18n/Translation-pt_BR) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:54 W: Target Translations (nginx/i18n/Translation-pt) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:54 W: Target Translations (nginx/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:54 W: Target DEP-11 (nginx/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:54 W: Target DEP-11 (nginx/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:54 W: Target DEP-11-icons-small (nginx/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:54 W: Target DEP-11-icons (nginx/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:54 W: Target CNF (nginx/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:54 W: Target CNF (nginx/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:54 W: Target Packages (nginx/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:56 W: Target Packages (nginx/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:56 W: Target Packages (nginx/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:56 W: Target Translations (nginx/i18n/Translation-pt_BR) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:56 W: Target Translations (nginx/i18n/Translation-pt) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:56 W: Target Translations (nginx/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:56 W: Target DEP-11 (nginx/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:56 W: Target DEP-11 (nginx/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:56 W: Target DEP-11-icons-small (nginx/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:56 W: Target DEP-11-icons (nginx/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:56 W: Target CNF (nginx/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:56 W: Target CNF (nginx/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:56 W: Target Packages (nginx/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:58 W: Target Packages (nginx/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:58 W: Target Packages (nginx/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:58 W: Target Translations (nginx/i18n/Translation-pt_BR) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:58 W: Target Translations (nginx/i18n/Translation-pt) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:58 W: Target Translations (nginx/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:58 W: Target DEP-11 (nginx/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:58 W: Target DEP-11 (nginx/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:58 W: Target DEP-11-icons-small (nginx/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:58 W: Target DEP-11-icons (nginx/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:58 W: Target CNF (nginx/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:58 W: Target CNF (nginx/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:58 W: Target Packages (nginx/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:60 W: Target Packages (nginx/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:60 W: Target Packages (nginx/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:60 W: Target Translations (nginx/i18n/Translation-pt_BR) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:60 W: Target Translations (nginx/i18n/Translation-pt) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:60 W: Target Translations (nginx/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:60 W: Target DEP-11 (nginx/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:60 W: Target DEP-11 (nginx/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:60 W: Target DEP-11-icons-small (nginx/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:60 W: Target DEP-11-icons (nginx/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:60 W: Target CNF (nginx/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:60 W: Target CNF (nginx/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:60 W: Target Packages (nginx/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:62 W: Target Packages (nginx/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:62 W: Target Packages (nginx/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:62 W: Target Translations (nginx/i18n/Translation-pt_BR) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:62 W: Target Translations (nginx/i18n/Translation-pt) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:62 W: Target Translations (nginx/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:62 W: Target DEP-11 (nginx/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:62 W: Target DEP-11 (nginx/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:62 W: Target DEP-11-icons-small (nginx/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:62 W: Target DEP-11-icons (nginx/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:62 W: Target CNF (nginx/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:62 W: Target CNF (nginx/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:62 W: Target Packages (nginx/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:64 W: Target Packages (nginx/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:64 W: Target Packages (nginx/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:64 W: Target Translations (nginx/i18n/Translation-pt_BR) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:64 W: Target Translations (nginx/i18n/Translation-pt) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:64 W: Target Translations (nginx/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:64 W: Target DEP-11 (nginx/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:64 W: Target DEP-11 (nginx/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:64 W: Target DEP-11-icons-small (nginx/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:64 W: Target DEP-11-icons (nginx/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:64 W: Target CNF (nginx/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:64 W: Target CNF (nginx/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:64 W: Target Packages (nginx/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:66 W: Target Packages (nginx/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:66 W: Target Packages (nginx/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:66 W: Target Translations (nginx/i18n/Translation-pt_BR) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:66 W: Target Translations (nginx/i18n/Translation-pt) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:66 W: Target Translations (nginx/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:66 W: Target DEP-11 (nginx/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:66 W: Target DEP-11 (nginx/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:66 W: Target DEP-11-icons-small (nginx/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:66 W: Target DEP-11-icons (nginx/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:66 W: Target CNF (nginx/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:66 W: Target CNF (nginx/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:66 W: Target Packages (nginx/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:68 W: Target Packages (nginx/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:68 W: Target Packages (nginx/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:68 W: Target Translations (nginx/i18n/Translation-pt_BR) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:68 W: Target Translations (nginx/i18n/Translation-pt) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:68 W: Target Translations (nginx/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:68 W: Target DEP-11 (nginx/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:68 W: Target DEP-11 (nginx/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:68 W: Target DEP-11-icons-small (nginx/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:68 W: Target DEP-11-icons (nginx/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:68 W: Target CNF (nginx/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:68 W: Target CNF (nginx/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:68 W: Target Packages (nginx/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:83 W: Target Packages (nginx/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:83 W: Target Packages (nginx/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:83 W: Target Translations (nginx/i18n/Translation-pt_BR) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:83 W: Target Translations (nginx/i18n/Translation-pt) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:83 W: Target Translations (nginx/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:83 W: Target DEP-11 (nginx/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:83 W: Target DEP-11 (nginx/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:83 W: Target DEP-11-icons-small (nginx/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:83 W: Target DEP-11-icons (nginx/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:83 W: Target CNF (nginx/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:83 W: Target CNF (nginx/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:83 W: Target Packages (nginx/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:85 W: Target Packages (nginx/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:85 W: Target Packages (nginx/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:85 W: Target Translations (nginx/i18n/Translation-pt_BR) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:85 W: Target Translations (nginx/i18n/Translation-pt) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:85 W: Target Translations (nginx/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:85 W: Target DEP-11 (nginx/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:85 W: Target DEP-11 (nginx/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:85 W: Target DEP-11-icons-small (nginx/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:85 W: Target DEP-11-icons (nginx/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:85 W: Target CNF (nginx/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:85 W: Target CNF (nginx/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:85 root@note-jbrasil:~# sudo apt-get -y install \

ghostscript \
icc-profiles-free \
liblept5 \
libxml2 \
pngquant \
python3-cffi \
python3-distutils \
python3-pkg-resources \
python3-reportlab \
qpdf \
tesseract-ocr \
zlib1g

Lendo listas de pacotes... Pronto Construindo árvore de dependências
Lendo informação de estado... Pronto icc-profiles-free is already the newest version (2.0.1+dfsg-1). python3-pkg-resources is already the newest version (39.0.1-2). qpdf is already the newest version (8.0.2-3). zlib1g is already the newest version (1:1.2.11.dfsg-0ubuntu2). liblept5 is already the newest version (1.75.3-3). pngquant is already the newest version (2.5.0-2). python3-cffi is already the newest version (1.11.5-1). tesseract-ocr is already the newest version (4.00~git2288-10f4998a-2). ghostscript is already the newest version (9.26~dfsg+0-0ubuntu0.18.04.12). libxml2 is already the newest version (2.9.4+dfsg1-6.1ubuntu1.3). python3-distutils is already the newest version (3.6.9-1~18.04). python3-reportlab is already the newest version (3.4.0-3ubuntu0.1). python3-reportlab configurado para instalar manualmente. Os seguintes pacotes foram instalados automaticamente e já não são necessários: libcommon-sense-perl libjson-perl libjson-xs-perl libllvm8 libtypes-serialiser-perl Utilize 'sudo apt autoremove' para os remover. 0 pacotes atualizados, 0 pacotes novos instalados, 0 a serem removidos e 199 não atualizados. root@note-jbrasil:~# wget https://bootstrap.pypa.io/get-pip.py && python3 get-pip.py --2020-03-25 16:17:10-- https://bootstrap.pypa.io/get-pip.py Resolvendo bootstrap.pypa.io (bootstrap.pypa.io)... 151.101.92.175, 2a04:4e42:16::175 Conectando-se a bootstrap.pypa.io (bootstrap.pypa.io)|151.101.92.175|:443... conectado. A requisição HTTP foi enviada, aguardando resposta... 200 OK Tamanho: 1807342 (1,7M) [text/x-python] Salvando em: “get-pip.py.1”

get-pip.py.1 100%[================================================================================================================>] 1,72M 4,51MB/s em 0,4s

2020-03-25 16:17:10 (4,51 MB/s) - “get-pip.py.1” salvo [1807342/1807342]

Collecting pip Using cached pip-20.0.2-py2.py3-none-any.whl (1.4 MB) Installing collected packages: pip Attempting uninstall: pip Found existing installation: pip 20.0.2 Uninstalling pip-20.0.2: Successfully uninstalled pip-20.0.2 Successfully installed pip-20.0.2 root@note-jbrasil:~# export PATH=$HOME/.local/bin:$PATH root@note-jbrasil:~# python3 -m pip install --user ocrmypdf Requirement already satisfied: ocrmypdf in /usr/lib/python3/dist-packages (6.1.2)

root@note-jbrasil:~# ocrmypdf --version 6.1.2

Originally posted by @jrbrasil in https://github.com/jbarlow83/OCRmyPDF/issues/512#issuecomment-604040862

jbarlow83 commented 4 years ago

Uninstall the old Ubuntu 18.04 version with apt remove.

Note that the message from pip, "Requirement already satisfied" explains why pip did not install the new version. In the future, please search for existing documentation before asking questions.

jrbrasil commented 4 years ago

Ok. Thanks a lot.