staging.inyokaproject.org

Repository für Certbot lässt sich nicht über PPA hinzufügen

Status: Ungelöst | Ubuntu-Version: Ubuntu 18.04 (Bionic Beaver)
Antworten |

TiTux

Anmeldungsdatum:
16. Februar 2008

Beiträge: 13

Hallo,

ich möchte Nextcloud auf einem Ubutun 18.04 installieren und habe Probleme, das Repository von Certbot über PPA hinzuzufügen. Installiert habe ich bis jetzt:

apt update && apt upgrade -y && apt install software-properties-common zip unzip screen curl ffmpeg libfile-fcntllock-perl -y

Wenn ich nun das Repository hinzufügen möchte mit:

1
add-apt-repository ppa:certbot/certbot -y && apt update && apt upgrade -y && apt install letsencrypt -y

erhalte ich diese Ausgabe:

Traceback (most recent call last):

File "/usr/bin/add-apt-repository", line 107, in <module>

sp = SoftwareProperties(options=options)

File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 122, in init

self.sourceslist = SourcesList()

File "/usr/lib/python3/dist-packages/aptsources/sourceslist.py", line 273, in init

self.matcher = SourceEntryMatcher(matcherPath)

File "/usr/lib/python3/dist-packages/aptsources/sourceslist.py", line 457, in init

dist = DistInfo(f, base_dir=matcherPath) File "/usr/lib/python3/dist-packages/aptsources/distinfo.py", line 261, in init

component.set_description(_(value))

UnicodeDecodeError: 'utf-8' codec can't decode byte 0xfc in position 17: invalid start byte

Ich weiß leider nicht, an welcher Stelle ich was ändern muss. In diversen HowTows zu diesem Thema wird genau diese Vorgehensweise für 18.04 im Zusammenhang mit Certbot beschrieben.

Bin für jeden Tipp dankbar!

Grüße Rainer

BillMaier Team-Icon

Supporter

Anmeldungsdatum:
4. Dezember 2008

Beiträge: 6497

Hallo

zunächst mal würde ich Zeile für Zeile ausführen und nicht mit den && arbeiten - dann weißt du auch, welcher Befehl welchen Fehler bringt.

Dann heißt das Paket laut https://certbot.eff.org/lets-encrypt/ubuntuxenial-other certbot.

Und zu guter Letzt mag das Python-Programm add-apt-repository deine locale-Einstellungen wohl nicht. Zeige doch mal bitte die Ausgabe von

locale 

Gruß BillMaier

Antworten |