Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 3546

Raspberry Pi OS • Fresh Trixie image apt and python3 broken

$
0
0
I used rufus to image an SD card with the full trixie image that I booted to. Then I used rpi imager to image the m.2 ssd installed in the system.
This install failed to update software during initial boot.

Then I tried to install pihole. It failed.

I tried

Code:

sudo apt update && sudo apt upgrade
and it failed with the following errors:

Code:

You might want to run 'apt --fix-broken install' to correct these.Unsatisfied dependencies: libpython3.13-stdlib:armhf : Depends: libbz2-1.0:armhf but it is not installed                              Depends: libdb5.3t64:armhf but it is not installed                              Depends: libffi8:armhf (>= 3.4) but it is not installed                              Depends: liblzma5:armhf (>= 5.1.1alpha+20120614) but it is not installed                              Depends: libncursesw6:armhf (>= 6.1) but it is not installed                              Depends: libreadline8t64:armhf (>= 7.0~beta) but it is not installed                              Depends: libsqlite3-0:armhf (>= 3.36.0) but it is not installed                              Depends: libtinfo6:armhf (>= 6) but it is not installed                              Depends: libuuid1:armhf (>= 2.20.1) but it is not installed python3 : PreDepends: python3-minimal (= 3.13.5-1) but it is not installed python3.13 : Depends: python3.13-minimal (= 3.13.5-2) but it is not installedError: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
--fix-broken install does not work. It delivers the following output:

Code:

sudo apt --fix-broken installCorrecting dependencies... DoneThe following packages were automatically installed and are no longer required:  docutils-common    libexpat1-dev       libpython3.13-dev            libtinfo6:armhf    python3-libarchive-c    python3-tqdm            zlib1g:armhf  libadwaita-1-0     libffi8:armhf       libpython3.13-minimal:armhf  libuuid1:armhf     python3-parso           python3-videodev2  libatomic1:armhf   libgpm2:armhf       libpython3.13-stdlib:armhf   libzstd1:armhf     python3-pip-whl         systemd-zram-generator  libbz2-1.0:armhf   liblzma5:armhf      libreadline8t64:armhf        python3-asttokens  python3-roman           xsel  libdb5.3t64:armhf  libncursesw6:armhf  libsqlite3-0:armhf           python3-docutils   python3-send2trash      zenity  libexpat1:armhf    libpython3-dev      libssl3t64:armhf             python3-jedi       python3-setuptools-whl  zenity-commonUse 'sudo apt autoremove' to remove them.Installing dependencies:  libbz2-1.0:armhf   libffi8:armhf  liblzma5:armhf      libreadline8t64:armhf  libtinfo6:armhf  python3-minimal  libdb5.3t64:armhf  libgpm2:armhf  libncursesw6:armhf  libsqlite3-0:armhf     libuuid1:armhf   python3.13-minimalSuggested packages:  gpm:armhf  uuid-runtime:armhf  binfmt-supportREMOVING:  python3.13-minimal:armhfSummary:  Upgrading: 0, Installing: 12, Removing: 1, Not Upgrading: 0  3 not fully installed or removed.  Download size: 0 B / 4,427 kB  Space needed: 6,621 kB / 932 GB availableContinue? [Y/n] y/usr/bin/python3: error while loading shared libraries: libz.so.1: ELF load command address/offset not page-alignedError: Sub-process /usr/bin/apt-listchanges --apt || test $? -lt 10 returned an error code (1)Error: Failure running script /usr/bin/apt-listchanges --apt || test $? -lt 10

Statistics: Posted by jptech — Mon Dec 08, 2025 5:34 am



Viewing all articles
Browse latest Browse all 3546

Trending Articles