ubuntuusers.de

BackInTime startet nicht mehr

Status: Gelöst | Ubuntu-Version: Ubuntu 22.04 (Jammy Jellyfish)
Antworten |

ByteWriter

Anmeldungsdatum:
2. Oktober 2023

Beiträge: Zähle...

Hallo zusammen, vor kurzem musste ich feststellen, dass BackInTime nicht mehr startet. Beim Aufruf über die Konsole wird folgendes ausgegeben:

1
2
3
4
5
6
7
8
Traceback (most recent call last):
  File "/usr/share/backintime/common/backintime.py", line 28, in <module>
    import config
  File "/usr/share/backintime/common/config.py", line 45, in <module>
    import tools
  File "/usr/share/backintime/common/tools.py", line 37, in <module>
    from packaging.version import Version
ModuleNotFoundError: No module named 'packaging'

Installiert ist BackInTime in der Version 1.3.3-3 und Python in der Version 3.10.12 . Bei der Suche nach einer Lösung bin ich natürlich auf die Antworten hier im Forum gestoßen. Nur handelt es sich da einerseits um andere Ausgaben in der Konsole und auch nicht um die aktuelle BackInTime Version. Und eigentlich heißt es, dass BackInTime 1.3.3 mit Python 3.10 zusammenarbeitet. Allerdings auf meinem Rechner scheinbar nicht. Ich hoffe Ihr könnt mir eine Lösung anbieten.

Gruß der ByteWriter

san04

Anmeldungsdatum:
19. Januar 2010

Beiträge: 1247

Moin.

Da du backintime offenbar nicht aus den Quellen verwendest, müsstest du schon verraten woher es kommt und wie du es installiert hast.

apt policy backintime*

dingsbums

Anmeldungsdatum:
13. November 2010

Beiträge: 3771

Installiert ist BackInTime in der Version 1.3.3-3

Ist das ein Snap oder irgendwie händisch ins System gezaubert? In den Paketquellen haben die Ubuntu-Versionen ganz andere Versionsstände (siehe https://packages.ubuntu.com/search?keywords=backintime&searchon=names).

Edit: san04 war schneller ... ☺

ByteWriter

(Themenstarter)

Anmeldungsdatum:
2. Oktober 2023

Beiträge: 9

Ich habe mit folgenden Befehlen:

1
2
3
sudo add-apt-repository ppa:bit-team/stable
sudo apt-get update
sudo apt-get install backintime-qt

BackInTime installiert. Gefunden habe ich das auf der BackInTime-Homepage.

dingsbums

Anmeldungsdatum:
13. November 2010

Beiträge: 3771

Installiert ist BackInTime in der Version 1.3.3-3 und Python in der Version 3.10.12

In den Paketquellen von Jammy ist python3 auf Version 3.10.6, siehe hier. Also hast du das auch irgendwie von irgendwoher ins System gebracht. Wer weiß, was da sonst noch so alles verbogen ist. Da muß ich passen.

verdooft

Anmeldungsdatum:
15. September 2012

Beiträge: 4359

3.10.12 ist in security:

https://packages.ubuntu.com/jammy/python3.10

bzw. https://packages.ubuntu.com/jammy/python3.10-minimal

Da ist die Datei /usr/bin/python3.10 drin.

dingsbums

Anmeldungsdatum:
13. November 2010

Beiträge: 3771

ModuleNotFoundError: No module named 'packaging'

Zu dieser Fehlermeldung findet sich https://stackoverflow.com/questions/42222096/no-module-named-packaging.

Ist ein Paket python3-packaging installiert?

dpkg --list | grep python3-packaging

Falls nicht, die Installation simulieren

sudo apt-get install python3-packaging -s

und das Ergebnis hier kundtun. Sollten keine Fehler angezeigt werden und nicht das halbe Betriebssystem deinstalliert werden, kann man das -s weglassen.

ByteWriter

(Themenstarter)

Anmeldungsdatum:
2. Oktober 2023

Beiträge: 9

1
2
 dpkg --list | grep python3-packaging
ii  python3-packaging                               21.3-1                                                 all          core utilities for python3 packages

Ich würde sagen es ist installiert.

dingsbums

Anmeldungsdatum:
13. November 2010

Beiträge: 3771

vor kurzem musste ich feststellen

Bis wann lief es denn? Gab es nach diesem Zeitpunkt Updates von python? Inspiziere

cat /var/log/apt/history.log
zcat /var/log/apt/history.log.*

Seit wann ist BIT aus dem PPA installiert? War es vorher aus den Paketquellen? Fragen über Fragen ...

san04

Anmeldungsdatum:
19. Januar 2010

Beiträge: 1247

Möglicherweise hast du dir irgendwie dein Python zerlegt? Vielleicht auch mal folgende Ausgaben:

which python3
pip freeze
dpkg -l py* | grep ^ii

ByteWriter

(Themenstarter)

Anmeldungsdatum:
2. Oktober 2023

Beiträge: 9

Bis wann lief es denn?

Das letzte Backup mit BIT ist vom 11.07.23 und es gab am 31.07.23 ein Update von python. BIT war bis zum 01.10.23 aus den Paketquellen installiert. Irgendwann letzte Woche habe ich dann festgestellt, dass BIT nicht mehr startet. Daraufhin habe ich BIT aus dem PPA installiert.

Möglicherweise hast du dir irgendwie dein Python zerlegt?

Das denke ich auch. Hier die angeforderten Ausgaben:

1
2
which python3
/usr/local/bin/python3
  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
pip freeze
apparmor==3.0.4
apparmor.click==0.3.13.1
appdirs==1.4.4
apturl==0.5.2
attrs==21.2.0
Babel==2.8.0
bcrypt==3.2.0
beautifulsoup4==4.10.0
beniget==0.4.1
blinker==1.4
Bottleneck==1.3.2
Brlapi==0.8.3
Brotli==1.0.9
certifi==2020.6.20
chardet==4.0.0
chrome-gnome-shell==0.0.0
click==8.0.3
colorama==0.4.4
command-not-found==0.3
cryptography==3.4.8
cupshelpers==1.0
cycler==0.11.0
dbus-python==1.2.18
decorator==4.4.2
defer==1.0.6
defusedxml==0.7.1
distro==1.7.0
distro-info==1.1+ubuntu0.1
duplicity==0.8.21
ecdsa==0.18.0b1
et-xmlfile==1.0.1
fasteners==0.14.1
fonttools==4.29.1
fs==2.4.12
future==0.18.2
gast==0.5.2
html5lib==1.1
httplib2==0.20.2
idna==3.3
img2pdf==0.4.2
importlib-metadata==4.6.4
iniconfig==1.1.1
jdcal==1.0
jeepney==0.7.1
Jinja2==3.0.3
keyring==23.5.0
kiwisolver==1.3.2
language-selector==0.1
launchpadlib==1.10.16
lazr.restfulclient==0.14.4
lazr.uri==1.0.6
LibAppArmor==3.0.4
llvmlite==0.38.0
lockfile==0.12.2
louis==3.20.0
lxml==4.8.0
lz4==3.1.3+dfsg
macaroonbakery==1.3.1
Mako==1.1.3
MarkupSafe==2.0.1
matplotlib==3.5.1
meld==3.20.4
monotonic==1.6
more-itertools==8.10.0
mpmath==0.0.0
natsort==8.0.2
netifaces==0.11.0
numba==0.55.1
numexpr==2.8.1
numpy==1.21.5
oauthlib==3.2.0
odfpy==1.4.2
olefile==0.46
onboard==1.4.1
openpyxl==3.0.9
packaging==21.3
pandas==1.3.5
paramiko==2.9.3
pdfarranger==1.8.2
pexpect==4.8.0
pikepdf==5.0.1+dfsg
Pillow==9.0.1
pluggy==0.13.0
ply==3.11
protobuf==3.12.4
ptyprocess==0.7.0
py==1.10.0
pyaes==1.6.1
pycairo==1.20.1
pycups==2.0.1
pyflakes==2.4.0
Pygments==2.11.2
PyGObject==3.42.1
PyJWT==2.3.0
pymacaroons==0.13.0
PyNaCl==1.5.0
pyparsing==2.4.7
PyQt5==5.15.6
PyQt5-sip==12.9.1
pyRFC3339==1.1
pyserial==3.5
pytest==6.2.5
python-apt==2.4.0+ubuntu2
python-dateutil==2.8.1
python-debian==0.1.43+ubuntu1.1
pythran==0.10.0
pytz==2022.1
pyxdg==0.27
PyYAML==5.4.1
QScintilla==2.11.6
reportlab==3.6.8
requests==2.25.1
scipy==1.8.0
SecretStorage==3.3.1
six==1.16.0
soupsieve==2.3.1
sympy==1.9
system-service==0.3
systemd-python==234
tables==3.7.0
toml==0.10.2
ubuntu-advantage-tools==8001
ubuntu-drivers-common==0.0.0
ufoLib2==0.13.1
ufw==0.36.1
unattended-upgrades==0.1
unicodedata2==14.0.0
urllib3==1.26.5
usb-creator==0.3.7
vboxapi==1.0
wadllib==1.3.6
webencodings==0.5.1
wxPython==4.0.7
xdg==5
xdiagnose==3.8.10
xkit==0.0.0
xlrd==1.2.0
xlwt==1.3.0
zipp==1.0.0
  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
dpkg -l py* | grep ^ii
ii  pyflakes3                        2.4.0-2                        all          passive checker of Python 3 programs
ii  python-apt-common                2.4.0ubuntu2                   all          Python interface to libapt-pkg (locales)
ii  python-babel-localedata          2.8.0+dfsg.1-7                 all          tools for internationalizing Python applications - locale data files
ii  python-is-python3                3.9.2-2                        all          symlinks /usr/bin/python to python3
ii  python-matplotlib-data           3.5.1-2build1                  all          Python based plotting system (data package)
ii  python-numpy                     1:1.16.5-2ubuntu7              amd64        Numerical Python adds a fast array facility to the Python language
ii  python-odf-doc                   1.4.2-1                        all          documentation and examples for python-odf and python3-odf
ii  python-odf-tools                 1.4.2-1                        all          Python tools to manipulate OpenDocument files
ii  python-pkg-resources             44.1.1-1.2ubuntu0.22.04.1      all          Package Discovery and Resource Access using pkg_resources
ii  python-pygame                    1.9.6+dfsg-2build1             amd64        SDL bindings for games development (Python 2)
ii  python-tables-data               3.7.0-2build1                  all          hierarchical database for Python based on HDF5 - test data
ii  python2                          2.7.18-3                       amd64        interactive high-level object-oriented language (Python2 version)
ii  python2-minimal                  2.7.18-3                       amd64        minimal subset of the Python2 language
ii  python2.7                        2.7.18-13ubuntu1.1             amd64        Interactive high-level object-oriented language (version 2.7)
ii  python2.7-minimal                2.7.18-13ubuntu1.1             amd64        Minimal subset of the Python language (version 2.7)
ii  python3                          3.10.6-1~22.04                 amd64        interactive high-level object-oriented language (default python3 version)
ii  python3-apparmor                 3.0.4-2ubuntu2.2               all          AppArmor Python3 utility library
ii  python3-apparmor-click           0.3.13.1                       all          Click manifest to AppArmor easyprof conversion tools
ii  python3-appdirs                  1.4.4-2                        all          determining appropriate platform-specific directories (Python 3)
ii  python3-apport                   2.20.11-0ubuntu82.5            all          Python 3 library for Apport crash report handling
ii  python3-apt                      2.4.0ubuntu2                   amd64        Python 3 interface to libapt-pkg
ii  python3-aptdaemon                1.1.1+bzr982-0ubuntu39         all          Python 3 module for the server and client of aptdaemon
ii  python3-aptdaemon.gtk3widgets    1.1.1+bzr982-0ubuntu39         all          Python 3 GTK+ 3 widgets to run an aptdaemon client
ii  python3-attr                     21.2.0-1                       all          Attributes without boilerplate (Python 3)
ii  python3-babel                    2.8.0+dfsg.1-7                 all          tools for internationalizing Python applications - Python 3.x
ii  python3-bcrypt                   3.2.0-1build1                  amd64        password hashing library for Python 3
ii  python3-beniget                  0.4.1-2                        all          collection of compile-time Python AST analyzers
ii  python3-blinker                  1.4+dfsg1-0.4                  all          fast, simple object-to-object and broadcast signaling library
ii  python3-bottleneck               1.3.2+ds1-2build1              amd64        Fast NumPy array functions written in C (Python 3)
ii  python3-brlapi:amd64             6.4-4ubuntu3                   amd64        Braille display access via BRLTTY - Python3 bindings
ii  python3-brotli                   1.0.9-2build6                  amd64        lossless compression algorithm and format (Python 3 version)
ii  python3-bs4                      4.10.0-2                       all          error-tolerant HTML parser for Python 3
ii  python3-cairo:amd64              1.20.1-3build1                 amd64        Python3 bindings for the Cairo vector graphics library
ii  python3-certifi                  2020.6.20-1                    all          root certificates for validating SSL certs and verifying TLS hosts (python3)
ii  python3-cffi-backend:amd64       1.15.0-1build2                 amd64        Foreign Function Interface for Python 3 calling C code - runtime
ii  python3-chardet                  4.0.0-1                        all          universal character encoding detector for Python3
ii  python3-click                    8.0.3-1                        all          Wrapper around optparse for command line utilities - Python 3.x
ii  python3-click-package            0.4.43+16.04.20170613-0ubuntu1 amd64        Click packages (Python 3 interface)
ii  python3-colorama                 0.4.4-1                        all          Cross-platform colored terminal text in Python - Python 3.x
ii  python3-commandnotfound          22.04.0                        all          Python 3 bindings for command-not-found.
ii  python3-cryptography             3.4.8-1ubuntu2                 amd64        Python library exposing cryptographic recipes and primitives (Python 3)
ii  python3-cups:amd64               2.0.1-5build1                  amd64        Python3 bindings for CUPS
ii  python3-cupshelpers              1.5.16-0ubuntu3                all          Python utility modules around the CUPS printing system
ii  python3-cycler                   0.11.0-1                       all          composable kwarg iterator (Python 3)
ii  python3-dateutil                 2.8.1-6                        all          powerful extensions to the standard Python 3 datetime module
ii  python3-dbus                     1.2.18-3build1                 amd64        simple interprocess messaging system (Python 3 interface)
ii  python3-dbus.mainloop.pyqt5      5.15.6+dfsg-1ubuntu3           amd64        D-Bus Qt main loop support for Python 3
ii  python3-debconf                  1.5.79ubuntu1                  all          interact with debconf from Python 3
ii  python3-debian                   0.1.43ubuntu1.1                all          Python 3 modules to work with Debian-related data formats
ii  python3-decorator                4.4.2-0ubuntu1                 all          simplify usage of Python decorators by programmers
ii  python3-defer                    1.0.6-2.1ubuntu1               all          Small framework for asynchronous programming (Python 3)
ii  python3-defusedxml               0.7.1-1                        all          XML bomb protection for Python stdlib modules (for Python 3)
ii  python3-dev                      3.10.6-1~22.04                 amd64        header files and a static library for Python (default)
ii  python3-distro                   1.7.0-1                        all          Linux OS platform information API
ii  python3-distro-info              1.1ubuntu0.1                   all          information about distributions' releases (Python 3 module)
ii  python3-distupgrade              1:22.04.17                     all          manage release upgrades
ii  python3-distutils                3.10.8-1~22.04                 all          distutils package for Python 3.x
ii  python3-ecdsa                    0.18.0~b1-1                    all          ECDSA cryptographic signature library (Python 3)
ii  python3-et-xmlfile               1.0.1-2.1                      all          low memory library for creating large XML files (Python 3)
ii  python3-fasteners                0.14.1-2                       all          provides useful locks - Python 3.x
ii  python3-fonttools                4.29.1-2build1                 amd64        Converts OpenType and TrueType fonts to and from XML (Python 3 Library)
ii  python3-fs                       2.4.12-1                       all          Python filesystem abstraction
ii  python3-future                   0.18.2-5ubuntu0.1              all          Clean single-source support for Python 3 and 2 - Python 3.x
ii  python3-gast                     0.5.2-2                        all          compatibility layer for the AST of various Python versions (Python3 version)
ii  python3-gdbm:amd64               3.10.8-1~22.04                 amd64        GNU dbm database support for Python 3.x
ii  python3-gi                       3.42.1-0ubuntu1                amd64        Python 3 bindings for gobject-introspection libraries
ii  python3-gi-cairo                 3.42.1-0ubuntu1                amd64        Python 3 Cairo bindings for the GObject library
ii  python3-html5lib                 1.1-3                          all          HTML parser/tokenizer based on the WHATWG HTML5 specification
ii  python3-httplib2                 0.20.2-2                       all          comprehensive HTTP client library written for Python3
ii  python3-ibus-1.0                 1.5.26-4                       all          Intelligent Input Bus - introspection overrides for Python (Python 3)
ii  python3-idna                     3.3-1                          all          Python IDNA2008 (RFC 5891) handling (Python 3)
ii  python3-img2pdf                  0.4.2-2                        all          Lossless conversion of raster images to PDF (library)
ii  python3-importlib-metadata       4.6.4-1                        all          library to access the metadata for a Python package - Python 3.x
ii  python3-iniconfig                1.1.1-2                        all          brain-dead simple parsing of ini files
ii  python3-jdcal                    1.0-1.3                        all          Julian dates from proleptic Gregorian and Julian calendars
ii  python3-jeepney                  0.7.1-3                        all          pure Python D-Bus interface
ii  python3-jinja2                   3.0.3-1                        all          small but fast and easy to use stand-alone template engine
ii  python3-jwt                      2.3.0-1ubuntu0.2               all          Python 3 implementation of JSON Web Token
ii  python3-keyring                  23.5.0-1                       all          store and access your passwords safely
ii  python3-kiwisolver               1.3.2-1build1                  amd64        fast implementation of the Cassowary constraint solver - Python 3.X
ii  python3-launchpadlib             1.10.16-1                      all          Launchpad web services client library (Python 3)
ii  python3-lazr.restfulclient       0.14.4-1                       all          client for lazr.restful-based web services (Python 3)
ii  python3-lazr.uri                 1.0.6-2                        all          library for parsing, manipulating, and generating URIs
ii  python3-ldb                      2:2.4.4-0ubuntu0.22.04.2       amd64        Python 3 bindings for LDB
ii  python3-lib2to3                  3.10.8-1~22.04                 all          Interactive high-level object-oriented language (lib2to3)
ii  python3-libapparmor              3.0.4-2ubuntu2.2               amd64        AppArmor library Python3 bindings
ii  python3-llvmlite                 0.38.0-1                       amd64        LLVM Python 3 binding for writing JIT compilers
ii  python3-lockfile                 1:0.12.2-2.2                   all          file locking library for Python — Python 3 library
ii  python3-louis                    3.20.0-2ubuntu0.2              all          Python bindings for liblouis
ii  python3-lxml:amd64               4.8.0-1build1                  amd64        pythonic binding for the libxml2 and libxslt libraries
ii  python3-lz4                      3.1.3+dfsg-1build3             amd64        Python interface to the lz4 compression library (Python 3)
ii  python3-macaroonbakery           1.3.1-2ubuntu0.1               all          Higher-level macaroon operations for Python 3
ii  python3-mako                     1.1.3+ds1-2ubuntu0.1           all          fast and lightweight templating for the Python 3 platform
ii  python3-markupsafe               2.0.1-2build1                  amd64        HTML/XHTML/XML string library
ii  python3-matplotlib               3.5.1-2build1                  amd64        Python based plotting system in a style similar to Matlab (Python 3)
ii  python3-minimal                  3.10.6-1~22.04                 amd64        minimal subset of the Python language (default python3 version)
ii  python3-monotonic                1.6-2                          all          implementation of time.monotonic() - Python 3.x
ii  python3-more-itertools           8.10.0-2                       all          library with routines for operating on iterables, beyond itertools (Python 3)
ii  python3-mpmath                   1.2.1-2                        all          library for arbitrary-precision floating-point arithmetic (Python3)
ii  python3-nacl                     1.5.0-2                        amd64        Python bindings to libsodium (Python 3)
ii  python3-natsort                  8.0.2-1                        all          Natural sorting for Python (Python3)
ii  python3-netifaces:amd64          0.11.0-1build2                 amd64        portable network interface information - Python 3.x
ii  python3-numba                    0.55.1-0ubuntu2                amd64        native machine code compiler for Python 3
ii  python3-numexpr                  2.8.1-1build1                  amd64        Fast numerical array expression evaluator for Python 3 and NumPy
ii  python3-numpy                    1:1.21.5-1ubuntu22.04.1        amd64        Fast array facility to the Python 3 language
ii  python3-oauthlib                 3.2.0-1ubuntu0.1               all          generic, spec-compliant implementation of OAuth for Python3
ii  python3-odf                      1.4.2-1                        all          Python3 API to manipulate OpenDocument files
ii  python3-olefile                  0.46-3                         all          Python module to read/write MS OLE2 files
ii  python3-openpyxl                 3.0.9-1                        all          Python 3 module to read/write OpenXML xlsx/xlsm files
ii  python3-packaging                21.3-1                         all          core utilities for python3 packages
ii  python3-pandas                   1.3.5+dfsg-3                   all          data structures for "relational" or "labeled" data
ii  python3-pandas-lib:amd64         1.3.5+dfsg-3                   amd64        low-level implementations and bindings for pandas
ii  python3-paramiko                 2.9.3-0ubuntu1                 all          Make ssh v2 connections (Python 3)
ii  python3-pexpect                  4.8.0-2ubuntu1                 all          Python 3 module for automating interactive applications
ii  python3-pikepdf                  5.0.1+dfsg-1                   amd64        Python library to read and write PDFs with QPDF
ii  python3-pil:amd64                9.0.1-1ubuntu0.1               amd64        Python Imaging Library (Python3)
ii  python3-pil.imagetk:amd64        9.0.1-1ubuntu0.1               amd64        Python Imaging Library - ImageTk Module (Python3)
ii  python3-pip                      22.0.2+dfsg-1ubuntu0.3         all          Python package installer
ii  python3-pip-whl                  22.0.2+dfsg-1ubuntu0.3         all          Python package installer (pip wheel)
ii  python3-pkg-resources            59.6.0-1.2ubuntu0.22.04.1      all          Package Discovery and Resource Access using pkg_resources
ii  python3-pluggy                   0.13.0-7.1                     all          plugin and hook calling mechanisms for Python - 3.x
ii  python3-ply                      3.11-5                         all          Lex and Yacc implementation for Python3
ii  python3-problem-report           2.20.11-0ubuntu82.5            all          Python 3 library to handle problem reports
ii  python3-protobuf                 3.12.4-1ubuntu7.22.04.1        amd64        Python 3 bindings for protocol buffers
ii  python3-ptyprocess               0.7.0-3                        all          Run a subprocess in a pseudo terminal from Python 3
ii  python3-py                       1.10.0-1                       all          Advanced Python development support library (Python 3)
ii  python3-pyaes                    1.6.1-4                        all          Pure-Python implementation of the AES cipher (Python 3)
ii  python3-pyatspi                  2.38.2-1                       all          Assistive Technology Service Provider Interface - Python3 bindings
ii  python3-pyflakes                 2.4.0-2                        all          passive checker of Python 3 programs - Python modules
ii  python3-pygments                 2.11.2+dfsg-2                  all          syntax highlighting package written in Python 3
ii  python3-pymacaroons              0.13.0-4                       all          Macaroon library for Python 3
ii  python3-pyparsing                2.4.7-1                        all          alternative to creating and executing simple grammars - Python 3.x
ii  python3-pyqt5                    5.15.6+dfsg-1ubuntu3           amd64        Python 3 bindings for Qt5
ii  python3-pyqt5.qsci               2.11.6+dfsg-4                  amd64        Python 3 bindings for QScintilla 2 with Qt 5
ii  python3-pyqt5.qtserialport       5.15.6+dfsg-1ubuntu3           amd64        Python 3 bindings for QtSerialPort module
ii  python3-pyqt5.sip                12.9.1-1build1                 amd64        runtime module for Python extensions using SIP
ii  python3-pytest                   6.2.5-1ubuntu2                 all          Simple, powerful testing in Python3
ii  python3-pythran                  0.10.0+ds2-1                   amd64        ahead of time compiler for Python
ii  python3-renderpm:amd64           3.6.8-1ubuntu0.1               amd64        python low level render interface
ii  python3-reportlab                3.6.8-1ubuntu0.1               all          ReportLab library to create PDF documents using Python3
ii  python3-reportlab-accel:amd64    3.6.8-1ubuntu0.1               amd64        C coded extension accelerator for the ReportLab Toolkit
ii  python3-requests                 2.25.1+dfsg-2ubuntu0.1         all          elegant and simple HTTP library for Python3, built for human beings
ii  python3-rfc3339                  1.1-3                          all          parser and generator of RFC 3339-compliant timestamps (Python 3)
ii  python3-scipy                    1.8.0-1exp2ubuntu1             amd64        scientific tools for Python 3
ii  python3-secretstorage            3.3.1-1                        all          Python module for storing secrets - Python 3.x version
ii  python3-serial                   3.5-1                          all          pyserial - module encapsulating access for the serial port
ii  python3-setuptools               59.6.0-1.2ubuntu0.22.04.1      all          Python3 Distutils Enhancements
ii  python3-setuptools-whl           59.6.0-1.2ubuntu0.22.04.1      all          Python Distutils Enhancements (wheel package)
ii  python3-sip                      4.19.25+dfsg-3build1           amd64        Python 3/C++ bindings generator runtime library
ii  python3-six                      1.16.0-3ubuntu1                all          Python 2 and 3 compatibility library (Python 3 interface)
ii  python3-software-properties      0.99.22.7                      all          manage the repositories that you install software from
ii  python3-soupsieve                2.3.1-1                        all          modern CSS selector implementation for BeautifulSoup (Python 3)
ii  python3-speechd                  0.11.1-1ubuntu3                all          Python interface to Speech Dispatcher
ii  python3-sss                      2.6.3-1ubuntu3.2               amd64        Python3 module for the System Security Services Daemon
ii  python3-sympy                    1.9-1                          all          Computer Algebra System (CAS) in Python (Python 3)
ii  python3-systemd                  234-3ubuntu2                   amd64        Python 3 bindings for systemd
ii  python3-tables                   3.7.0-2build1                  all          hierarchical database for Python3 based on HDF5
ii  python3-tables-lib               3.7.0-2build1                  amd64        hierarchical database for Python3 based on HDF5 (extension)
ii  python3-talloc:amd64             2.3.3-2build1                  amd64        hierarchical pool based memory allocator - Python3 bindings
ii  python3-tk:amd64                 3.10.8-1~22.04                 amd64        Tkinter - Writing Tk applications with Python 3.x
ii  python3-toml                     0.10.2-1                       all          library for Tom's Obvious, Minimal Language - Python 3.x
ii  python3-tz                       2022.1-1ubuntu0.22.04.1        all          Python3 version of the Olson timezone database
ii  python3-ufolib2                  0.13.1+dfsg1-1                 all          Unified Font Object (UFO) fonts library
ii  python3-unicodedata2             14.0.0+ds-8                    amd64        Python unicodedata backport/updates
ii  python3-uno                      1:7.3.7-0ubuntu0.22.04.3       amd64        Python-UNO bridge
ii  python3-update-manager           1:22.04.10                     all          python 3.x module for update-manager
ii  python3-urllib3                  1.26.5-1~exp1                  all          HTTP library with thread-safe connection pooling for Python3
ii  python3-venv                     3.10.6-1~22.04                 amd64        venv module for python3 (default python3 version)
ii  python3-wadllib                  1.3.6-1                        all          Python 3 library for navigating WADL files
ii  python3-webencodings             0.5.1-4                        all          Python implementation of the WHATWG Encoding standard
ii  python3-wheel                    0.37.1-2ubuntu0.22.04.1        all          built-package format for Python
ii  python3-wxgtk4.0                 4.0.7+dfsg-13build1            amd64        Python 3 interface to the wxWidgets Cross-platform C++ GUI toolkit
ii  python3-xdg                      0.27-2                         all          Python 3 library to access freedesktop.org standards
ii  python3-xkit                     0.5.0ubuntu5                   all          library for the manipulation of xorg.conf files (Python 3)
ii  python3-xlrd                     1.2.0-2                        all          extract data from Microsoft Excel spreadsheet files (Python3 version)
ii  python3-xlwt                     1.3.0-3                        all          module for writing Microsoft Excel spreadsheet files - Python 3.x
ii  python3-yaml                     5.4.1-1ubuntu1                 amd64        YAML parser and emitter for Python3
ii  python3-zipp                     1.0.0-3                        all          pathlib-compatible Zipfile object wrapper - Python 3.x
ii  python3.10                       3.10.12-1~22.04.2              amd64        Interactive high-level object-oriented language (version 3.10)
ii  python3.10-dev                   3.10.12-1~22.04.2              amd64        Header files and a static library for Python (v3.10)
ii  python3.10-minimal               3.10.12-1~22.04.2              amd64        Minimal subset of the Python language (version 3.10)
ii  python3.10-venv                  3.10.12-1~22.04.2              amd64        Interactive high-level object-oriented language (pyvenv binary, version 3.10)

san04

Anmeldungsdatum:
19. Januar 2010

Beiträge: 1247

Uih, lange Liste 🤓

ByteWriter schrieb:

which python3
/usr/local/bin/python3

Das hier wundert mich, ich weiß aber auch nicht, ob ich da weiterhelfen kann...

Was sagt

echo $PATH
sudo update-alternatives --list python

dingsbums

Anmeldungsdatum:
13. November 2010

Beiträge: 3771

ByteWriter schrieb:

Das letzte Backup mit BIT ist vom 11.07.23 und es gab am 31.07.23 ein Update von python. BIT war bis zum 01.10.23 aus den Paketquellen installiert. Irgendwann letzte Woche habe ich dann festgestellt, dass BIT nicht mehr startet. Daraufhin habe ich BIT aus dem PPA installiert.

Bedeutet im Klartext, die jetzige Konstellation hat noch nie funktioniert. Warum wählst du dann als Themenbeschreibung "startet nicht mehr "? Und warum muß man dir diese Infos alle aus der Nase ziehen? Sowas gehört in Gänze in den Eröffnungsbeitrag.

Zum Thema BIT-Version vs. python-Version siehe https://github.com/bit-team/backintime#python-310-compatibility-and-ubuntu-version.

/usr/local/bin/python3

Dürfte nicht normal sein. Siehe https://packages.ubuntu.com/jammy/amd64/python3-minimal/filelist. Kommt das etwa auch aus einem PPA?

ByteWriter

(Themenstarter)

Anmeldungsdatum:
2. Oktober 2023

Beiträge: 9

Richtig, die jetzige Konstellation hat noch nie funktioniert. Aber BIT, aus den Paketquellen installiert, hat das letzte mal am 11.07.23 funktioniert und danach irgendwann funktionierte es nicht mehr. Bei meiner Recherche woran es liegen könnte, bin ich dann auch auf die Seite https://github.com/bit-team/backintime#python-310-compatibility-and-ubuntu-version gestoßen. Daraufhin habe ich BIT aus dem PPA installiert und siehe da, es startet auch nicht. Somit heißt das für mich: BIT startet nicht mehr. Aber eigentlich ist das doch egal. BIT startet nicht, egal ob es aus den Paketquellen installiert ist oder aus dem PPA.

Hier noch die Ausgaben:

1
2
echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin
1
2
3
sudo update-alternatives --list python

update-alternatives: Fehler: keine Alternativen für python

Die Fehlersuche gestaltet sich doch recht schwierig. Kann ich nicht python komplett entfernen und neu aufspielen? Damit müßte doch der Fehler behoben sein?

dingsbums

Anmeldungsdatum:
13. November 2010

Beiträge: 3771

Was da bei dir im Argen liegt, kann ich leider nicht sagen.

Kann ich nicht python komplett entfernen und neu aufspielen?

Nach einem "komplett entfernen" dürfte nicht mehr viel auf der Platte sein. Da würde es bei mir hier das halbe Betriebssystem deinstallieren. Du kannst das simulieren mit

for p in $(dpkg -l | grep ii | grep python | awk '{print $2}');do apt-get remove --simulate --yes $p;done

Was du machen kannst: Alle installierten Python-Pakete noch einmal neu installieren:

for p in $(dpkg -l | grep ii | grep python | awk '{print $2}');do sudo apt-get install --reinstall --install-recommends --simulate  --yes $p;done

Wenn die Ausgabe nicht säckeweise Fehlermeldungen enthält, das --simulate weglassen.

Falls das nicht hilft: Tabula Rasa machen (Neuinstallation) oder auf weitere Ideen warten.

Antworten |