Upgrade to Bullseye apt upgrade errors Topic is solved

Having issues with your DietPi installation or found a bug? Post it here.
jetspeed
Posts: 12
Joined: Thu Feb 18, 2021 10:02 am

Re: Upgrade to Bullseye apt upgrade errors

Post by jetspeed »

Here's the result. Let me know if there is anything else. I intend to restore from the SD card soon.

Code: Select all

root@DietPi:~# apt install pax-utils
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Suggested packages:
  paxctl
The following NEW packages will be installed:
  pax-utils
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 71.0 kB of archives.
After this operation, 223 kB of additional disk space will be used.
Get:1 http://mirror.aarnet.edu.au/pub/raspbian/raspbian buster/main armhf pax-utils armhf 1.2.4-1 [71.0 kB]
Fetched 71.0 kB in 1s (66.0 kB/s)  
Selecting previously unselected package pax-utils.
(Reading database ... 32092 files and directories currently installed.)
Preparing to unpack .../pax-utils_1.2.4-1_armhf.deb ...
Unpacking pax-utils (1.2.4-1) ...
Setting up pax-utils (1.2.4-1) ...

Code: Select all

root@DietPi:~# lddtree /usr/bin/curl
curl => /usr/bin/curl (interpreter => /lib/ld-linux-armhf.so.3)
    libcurl.so.4 => /usr/lib/arm-linux-gnueabihf/libcurl.so.4
        libnghttp2.so.14 => /usr/lib/arm-linux-gnueabihf/libnghttp2.so.14
        libidn2.so.0 => /usr/lib/arm-linux-gnueabihf/libidn2.so.0
            libunistring.so.2 => /usr/lib/arm-linux-gnueabihf/libunistring.so.2
        librtmp.so.1 => /usr/lib/arm-linux-gnueabihf/librtmp.so.1
            libgnutls.so.30 => /usr/lib/arm-linux-gnueabihf/libgnutls.so.30
                libp11-kit.so.0 => /usr/lib/arm-linux-gnueabihf/libp11-kit.so.0
                    libffi.so.6 => /usr/lib/arm-linux-gnueabihf/libffi.so.6
                        libgcc_s.so.1 => /lib/arm-linux-gnueabihf/libgcc_s.so.1
                    libdl.so.2 => /lib/arm-linux-gnueabihf/libdl.so.2
                libtasn1.so.6 => /usr/lib/arm-linux-gnueabihf/libtasn1.so.6
                libnettle.so.6 => /usr/lib/arm-linux-gnueabihf/libnettle.so.6
                libhogweed.so.4 => /usr/lib/arm-linux-gnueabihf/libhogweed.so.4
            libhogweed.so.6 => not found
            libnettle.so.8 => not found
            libgmp.so.10 => /usr/lib/arm-linux-gnueabihf/libgmp.so.10
        libssh2.so.1 => /usr/lib/arm-linux-gnueabihf/libssh2.so.1
            libgcrypt.so.20 => /lib/arm-linux-gnueabihf/libgcrypt.so.20
                libgpg-error.so.0 => /lib/arm-linux-gnueabihf/libgpg-error.so.0
        libpsl.so.5 => /usr/lib/arm-linux-gnueabihf/libpsl.so.5
        libssl.so.1.1 => /usr/lib/arm-linux-gnueabihf/libssl.so.1.1
        libcrypto.so.1.1 => /usr/lib/arm-linux-gnueabihf/libcrypto.so.1.1
        libgssapi_krb5.so.2 => /usr/lib/arm-linux-gnueabihf/libgssapi_krb5.so.2
            libkrb5support.so.0 => /usr/lib/arm-linux-gnueabihf/libkrb5support.so.0
            libkeyutils.so.1 => /lib/arm-linux-gnueabihf/libkeyutils.so.1
            libresolv.so.2 => /lib/arm-linux-gnueabihf/libresolv.so.2
        libkrb5.so.3 => /usr/lib/arm-linux-gnueabihf/libkrb5.so.3
        libk5crypto.so.3 => /usr/lib/arm-linux-gnueabihf/libk5crypto.so.3
        libcom_err.so.2 => /lib/arm-linux-gnueabihf/libcom_err.so.2
        libldap_r-2.4.so.2 => /usr/lib/arm-linux-gnueabihf/libldap_r-2.4.so.2
            libsasl2.so.2 => /usr/lib/arm-linux-gnueabihf/libsasl2.so.2
        liblber-2.4.so.2 => /usr/lib/arm-linux-gnueabihf/liblber-2.4.so.2
    libz.so.1 => /lib/arm-linux-gnueabihf/libz.so.1
    libpthread.so.0 => /lib/arm-linux-gnueabihf/libpthread.so.0
    libc.so.6 => /lib/arm-linux-gnueabihf/libc.so.6
    ld-linux-armhf.so.3 => /lib/ld-linux-armhf.so.3
User avatar
MichaIng
Site Admin
Posts: 3357
Joined: Sat Nov 18, 2017 6:21 pm

Re: Upgrade to Bullseye apt upgrade errors

Post by MichaIng »

Many thanks. So it's librtmp.so.1 which keeps pulling in the Bullseye libraries. Can you try:

Code: Select all

apt install --reinstall librtmp1
curl -I https://dietpi.com/
The question is how it is possible that restoring the backup does not restore this library as well, as all old files should be restored. Or if there is something patching the ELF header of this file after it was restored.
User avatar
Joulinar
Posts: 5998
Joined: Sat Nov 16, 2019 12:49 am

Re: Upgrade to Bullseye apt upgrade errors

Post by Joulinar »

on a short test this seems to fix the curl issue, at least on my test system.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Lycidias
Posts: 18
Joined: Mon Oct 26, 2020 11:01 am

Re: Upgrade to Bullseye apt upgrade errors

Post by Lycidias »

I successfully updated my pi4 to bullseye. Thanks :)

Cloned my SD to a faster one with w32 disk imager.

Everything is working so far, including my existing pihole and Jdownloader configuration.

I only need to test samba because there was a new samba.conf in the new package.
User avatar
Joulinar
Posts: 5998
Joined: Sat Nov 16, 2019 12:49 am

Re: Upgrade to Bullseye apt upgrade errors

Post by Joulinar »

hopefully the configuration file did not get overwritten
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Lycidias
Posts: 18
Joined: Mon Oct 26, 2020 11:01 am

Re: Upgrade to Bullseye apt upgrade errors

Post by Lycidias »

I decided to take the new samba.conf but backed up my old one. I need to investigate and integrate my settings on the new one
User avatar
Joulinar
Posts: 5998
Joined: Sat Nov 16, 2019 12:49 am

Re: Upgrade to Bullseye apt upgrade errors

Post by Joulinar »

I did a small test and the old config should work as well.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
jetspeed
Posts: 12
Joined: Thu Feb 18, 2021 10:02 am

Re: Upgrade to Bullseye apt upgrade errors

Post by jetspeed »

MichaIng wrote: Mon Sep 20, 2021 6:46 pm Many thanks. So it's librtmp.so.1 which keeps pulling in the Bullseye libraries. Can you try:

Code: Select all

apt install --reinstall librtmp1
curl -I https://dietpi.com/
The question is how it is possible that restoring the backup does not restore this library as well, as all old files should be restored. Or if there is something patching the ELF header of this file after it was restored.
Many thanks, that did the trick!!! You guys are all my new best friends ;)
h_media
Posts: 11
Joined: Thu Aug 15, 2019 1:49 pm

Re: Upgrade to Bullseye apt upgrade errors

Post by h_media »

Hello, I'm just following the HOW TO UPGRADE TO “BULLSEYE” blog post, and have this warning after the apt update step:

Code: Select all

W: Skipping acquire of configured file 'ui/binary-armhf/Packages' as repository 'https://archive.raspberrypi.org/debian bullseye InRelease' doesn't have the component 'ui' (component misspelt in sources.list?)
This is for a headless install, this seems to allude to a 'ui' / user interface? - Is this something I can ignore, or should I backtrack?
User avatar
Joulinar
Posts: 5998
Joined: Sat Nov 16, 2019 12:49 am

Re: Upgrade to Bullseye apt upgrade errors

Post by Joulinar »

@h_media
Quite simple. You would need to edit /etc/apt/sources.list.d/raspi.list and remove the ui. This should fix the error message.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Post Reply