alex@beelzemon:~$ sudo apt full-upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages will be upgraded: exim4-base exim4-config exim4-daemon-light 3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 1631 kB of archives. After this operation, 0 B of additional disk space will be used. Do you want to continue? [Y/n] y Get:1 http://archive.ubuntu.com/ubuntu bionic-updates/main i386 exim4-config all 4.90.1-1ubuntu1.4 [240 kB] Get:2 http://archive.ubuntu.com/ubuntu bionic-updates/main i386 exim4-base i386 4.90.1-1ubuntu1.4 [896 kB] Get:3 http://archive.ubuntu.com/ubuntu bionic-updates/main i386 exim4-daemon-light i386 4.90.1-1ubuntu1.4 [495 kB] Fetched 1631 kB in 1s (1132 kB/s) apt-listchanges: Changelogs werden gelesen... Traceback (most recent call last): File "/usr/bin/apt-listchanges", line 281, in <module> main(config) File "/usr/bin/apt-listchanges", line 145, in main _send_email(changes, lambda: _("apt-listchanges: changelogs for %s") % hostname) File "/usr/bin/apt-listchanges", line 267, in _send_email apt_listchanges.mail_changes(config, changes, subject_getter()) File "/usr/share/apt-listchanges/apt_listchanges.py", line 65, in mail_changes 'subject': subject}) File "/usr/share/apt-listchanges/ALCLog.py", line 36, in info print(_("apt-listchanges: %(msg)s") % {'msg': msg}, file=sys.stdout); UnicodeEncodeError: 'ascii' codec can't encode character '\xfc' in position 73: ordinal not in range(128) Preconfiguring packages ... (Reading database ... 345372 files and directories currently installed.) Preparing to unpack .../exim4-config_4.90.1-1ubuntu1.4_all.deb ... Unpacking exim4-config (4.90.1-1ubuntu1.4) over (4.90.1-1ubuntu1.3) ... Preparing to unpack .../exim4-base_4.90.1-1ubuntu1.4_i386.deb ... Unpacking exim4-base (4.90.1-1ubuntu1.4) over (4.90.1-1ubuntu1.3) ... Preparing to unpack .../exim4-daemon-light_4.90.1-1ubuntu1.4_i386.deb ... Unpacking exim4-daemon-light (4.90.1-1ubuntu1.4) over (4.90.1-1ubuntu1.3) ... Setting up exim4-config (4.90.1-1ubuntu1.4) ... Setting up exim4-base (4.90.1-1ubuntu1.4) ... Setting up exim4-daemon-light (4.90.1-1ubuntu1.4) ... Updating GnuTLS DH parameter file Processing triggers for man-db (2.8.3-2ubuntu0.1) ... Processing triggers for systemd (237-3ubuntu10.28) ... alex@beelzemon:~$
pythonversionen.
alex@beelzemon:~$ python2 --version Python 2.7.15+ alex@beelzemon:~$ python3 --version Python 3.6.8 alex@beelzemon:~$
Such, such nach der Eingabe von
export PYTHONIOENCODING=utf8
funktioniert apt-listchanges
alex@beelzemon:~$ apt-listchanges --help Verwendung: apt-listchanges [Optionen] {--apt | Dateiname.deb …} alex@beelzemon:~$
Ich schätz mal das muß ich irgendwo reinjubeln. Nimm die .bashrc oder .profile in meinem $HOME?
Und wie krieg ich jetzt die Mail vom letzten update nochmal geschickt, da ist apt-listchanges abgekracht. Die E-Mail wird über exim4 zu localhost geschickt.
Gruß Taomon