Page 1 of 1

upgrade form debian buster to debian bullseye

Posted: 2024-10-23 15:23
by zoldaten
i have upgraded to bullseye:

Code: Select all

linaro@linaro-alip:~$ cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
but partly ((

i follow this guide https://www.cyberciti.biz/faq/update-up ... -bullseye/
and have trouble with 2 files in /etc/init.d:

Code: Select all

rockchip.sh  
S99_auto_reboot
i put them to another place.

some packages i have updated successfully some - not:

Code: Select all

10 upgraded, 46 newly installed, 0 to remove and 420 not upgraded.
Need to get 17.2 MB/43.7 MB of archives.
After this operation, 20.4 MB of additional disk space will be used.
the worst thing - i hang on:

Code: Select all

Setting up util-linux (2.36.1-8+deb11u2) ...
and it freezes update.
I googled close problem here - https://askubuntu.com/questions/1208030 ... -no-errors
But i have no idea how to deal in this case.

May be someone knows ?

Re: upgrade form debian buster to debian bullseye

Posted: 2024-10-25 10:06
by zoldaten
i finally did it.
upgraded to bullseye!

i have to change /var/lib/dpkg/info/util-linux.postinst
*https://askubuntu.com/questions/1208030 ... 06#1531106
sudo apt -f install util-linux
sudo apt --fix-broken install

sudo nano apt.postinstall - put exit 0; to not to update (just dont want to find out why it breaks)
sudo nano e2fsprogs.postinst - - put exit 0; to not to update (just dont want to find out why it breaks)

reinstall gstreamer:
sudo apt-get install --reinstall gstreamer1.0-alsa gstreamer1.0-libav gstreamer1.0-plugins-bad gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-ugly gstreamer1.0-pulseaudio libgstreamer-plugins-bad1.0-0 libgstreamer-plugins-base1.0-0 libgstreamer-plugins-good1.0-0 libgstreamer1.0-0
very helpful commands:

Code: Select all

sudo rm /var/lib/apt/lists/lock
sudo rm /var/cache/apt/archives/lock
sudo rm /var/lib/dpkg/lock*
but csi camera still not working with gstreamer ((