Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

move my installation from buster to bulleyes

Ask for help with issues regarding the Installations of the Debian O/S.
Post Reply
Message
Author
oui
Posts: 120
Joined: 2008-01-29 20:51

move my installation from buster to bulleyes

#1 Post by oui »

how to do that?

daftranti
Posts: 2
Joined: 2021-08-18 00:01

Re: move my installation from buster to bulleyes

#2 Post by daftranti »

It's recommended to do a full backup of your disk (or at least your important data) before proceeding.

Edit the file /etc/apt/sources.list
command to do this:

Code: Select all

sudo vi /etc/apt/sources.list
or if you prefer nano:

Code: Select all

sudo nano /etc/apt/sources.list
Replace the contents with this (assuming you also want the non-free packages):

Code: Select all

deb http://deb.debian.org/debian bullseye main contrib non-free
deb http://deb.debian.org/debian-security/ bullseye-security main contrib non-free
deb http://deb.debian.org/debian bullseye-updates main contrib non-free
deb http://deb.debian.org/debian bullseye-backports main contrib non-free
(this omits the deb-src lines. If you need them, duplicate each line but with deb-src instead of deb at the start)

Run the following:

Code: Select all

sudo apt update
If there are any errors here, you have a problem with the contents of sources.list.

Code: Select all

sudo apt upgrade

Code: Select all

sudo apt full-upgrade
Before confirming the upgrade and full-upgrade operations, read carefully what it proposes to do in case there are problems.
After there are no more packages to update, reboot your system
Once everything seems to work ok, run this to clean some old packages that are no longer needed (read the list to make sure it's not removing anything important):

Code: Select all

sudo apt autoremove
Good luck!

Here's a much more in depth guide if you're looking for more details.
https://www.debian.org/releases/bullsey ... ng.en.html

User avatar
craigevil
Posts: 5391
Joined: 2006-09-17 03:17
Location: heaven
Has thanked: 28 times
Been thanked: 39 times

Re: move my installation from buster to bulleyes

#3 Post by craigevil »

Real only need Main and Security. Backports is probably pretty empty for now.

Code: Select all

# Bullseye Main https://www.debian.org/releases/bullseye/amd64/release-notes/ch-upgrading.en.html
deb https://deb.debian.org/debian/ bullseye main contrib non-free
# deb-src https://deb.debian.org/debian/ bullseye main contrib non-free

# Bullseye Security https://www.debian.org/releases/bullseye/amd64/release-notes/ch-information.en.html#security-archive
deb https://deb.debian.org/debian-security bullseye-security main contrib non-free
# deb-src https://deb.debian.org/debian-security bullseye-security main contrib non-free

# Bullseye Backports  https://backports.debian.org/
# deb https://deb.debian.org/debian/ bullseye-backports main contrib non-free
# deb-src https://deb.debian.org/debian/ bullseye-backports main contrib non-free
That is all you need for repos.
Raspberry PI 400 Distro: Raspberry Pi OS Base: Debian Sid Kernel: 5.15.69-v8+ aarch64 DE: MATE Ram 4GB
Debian - "If you can't apt install something, it isn't useful or doesn't exist"
My Giant Sources.list

semptrion
Posts: 3
Joined: 2021-08-18 01:52

Re: move my installation from buster to bulleyes

#4 Post by semptrion »

I get an error

Code: Select all

apt full-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 blueman : Depends: python3 (< 3.8) but 3.9.2-3 is installed
 bsdmainutils : Depends: ncal
 frozen-bubble : Depends: perlapi-5.28.0 but it is not installable
 gedit : Depends: python3.7 but it is not installable
 glade : Depends: libgladeui-2-6 (>= 3.22.0) but it is not installable
 gstreamer1.0-gl : Breaks: gstreamer1.0-plugins-bad (< 1.15.1) but 1.14.4-1+deb10u2 is installed
 gstreamer1.0-plugins-bad : Depends: libgstreamer-plugins-bad1.0-0 (= 1.14.4-1+deb10u2) but 1.18.4-3 is installed
 gstreamer1.0-plugins-base : Breaks: gstreamer1.0-plugins-bad (< 1.15.1) but 1.14.4-1+deb10u2 is installed
 gstreamer1.0-plugins-good : Breaks: gstreamer1.0-plugins-bad (< 1.15.1) but 1.14.4-1+deb10u2 is installed
 hplip : Depends: python3 (< 3.8) but 3.9.2-3 is installed
 libalgorithm-diff-xs-perl : Depends: perlapi-5.28.0 but it is not installable
 libapache2-mod-perl2 : Depends: perlapi-5.28.0 but it is not installable
 libautovivification-perl : Depends: perlapi-5.28.0 but it is not installable
 libb-hooks-op-check-perl : Depends: perlapi-5.28.0 but it is not installable
 libbsd-resource-perl : Depends: perlapi-5.28.0 but it is not installable
 libc-dev-bin : Depends: libc6 (< 2.29) but 2.31-13 is installed
 libc6-dbg : Depends: libc6 (= 2.28-10) but 2.31-13 is installed
 libc6-dev : Depends: libc6 (= 2.28-10) but 2.31-13 is installed
 libc6-i386 : Depends: libc6 (= 2.28-10) but 2.31-13 is installed
 libcairo-gobject-perl : Depends: perlapi-5.28.0 but it is not installable
 libcairo-perl : Depends: perlapi-5.28.0 but it is not installable
 libclass-c3-xs-perl : Depends: perlapi-5.28.0 but it is not installable
 libclass-xsaccessor-perl : Depends: perlapi-5.28.1 but it is not installable
                            Depends: perl (< 5.28.2~) but 5.32.1-4+deb11u1 is installed
 libcommon-sense-perl : Depends: perlapi-5.28.1 but it is not installable
                        Depends: perl (< 5.28.2~) but 5.32.1-4+deb11u1 is installed
 libcompress-bzip2-perl : Depends: perlapi-5.28.0 but it is not installable
 libdate-simple-perl : Depends: perlapi-5.28.1 but it is not installable
 libdatetime-perl : Depends: perlapi-5.28.0 but it is not installable
 libdbd-mysql-perl : Depends: perlapi-5.28.1 but it is not installable
 libdbd-pg-perl : Depends: perlapi-5.28.1 but it is not installable
 libdbi-perl : Depends: perlapi-5.28.1 but it is not installable
 libdevel-callchecker-perl : Depends: perlapi-5.28.1 but it is not installable
 libdevel-caller-perl : Depends: perlapi-5.28.0 but it is not installable
 libdevel-lexalias-perl : Depends: perlapi-5.28.0 but it is not installable
 libencode-eucjpms-perl : Depends: perlapi-5.28.0 but it is not installable
 libencode-hanextra-perl : Depends: perlapi-5.28.0 but it is not installable
 libencode-jis2k-perl : Depends: perlapi-5.28.0 but it is not installable
 libfcgi-perl : Depends: perlapi-5.28.0 but it is not installable
 libfile-fcntllock-perl : Depends: perlapi-5.28.0 but it is not installable
 libges-1.0-0 : Depends: gstreamer1.0-plugins-bad (>= 1.18.0) but 1.14.4-1+deb10u2 is installed
 libglib-perl : Depends: perlapi-5.28.1 but it is not installable
 libgstreamer-plugins-base1.0-0 : Breaks: gstreamer1.0-plugins-bad (< 1.15.1) but 1.14.4-1+deb10u2 is installed
 libgtk2-perl : Depends: perlapi-5.28.0 but it is not installable
 libhtml-parser-perl : Depends: perlapi-5.28.0 but it is not installable
 libimage-magick-q16-perl : Depends: perlapi-5.28.1 but it is not installable
 libio-pty-perl : Depends: perlapi-5.28.0 but it is not installable
 libjson-xs-perl : Depends: perlapi-5.28.0 but it is not installable
 liblist-moreutils-perl : Depends: perlapi-5.28.0 but it is not installable
 liblocale-gettext-perl : PreDepends: perlapi-5.28.0 but it is not installable
 libnet-dbus-perl : Depends: perlapi-5.28.0 but it is not installable
 libnet-dns-sec-perl : Depends: perlapi-5.28.1 but it is not installable
 libnet-libidn-perl : Depends: perlapi-5.28.0 but it is not installable
 libnet-ssleay-perl : Depends: perlapi-5.28.0 but it is not installable
 libpackage-stash-xs-perl : Depends: perlapi-5.28.1 but it is not installable
 libpadwalker-perl : Depends: perlapi-5.28.0 but it is not installable
 libpango-perl : Depends: perlapi-5.28.0 but it is not installable
 libparams-classify-perl : Depends: perlapi-5.28.0 but it is not installable
 libparams-util-perl : Depends: perlapi-5.28.0 but it is not installable
 libparams-validate-perl : Depends: perlapi-5.28.0 but it is not installable
 libperlio-utf8-strict-perl : Depends: perlapi-5.28.0 but it is not installable
 libposix-strptime-perl : Depends: perlapi-5.28.0 but it is not installable
 libqt4-xml : Depends: libqtcore4 (= 4:4.8.7+dfsg-18+deb10u1) but it is not installable
 libqtdbus4 : Depends: libqtcore4 (= 4:4.8.7+dfsg-18+deb10u1) but it is not installable
 libref-util-xs-perl : Depends: perlapi-5.28.0 but it is not installable
 librrds-perl : Depends: perlapi-5.28.1 but it is not installable
 libsdl-perl : Depends: perlapi-5.28.0 but it is not installable
 libsocket6-perl : Depends: perlapi-5.28.0 but it is not installable
 libsort-key-perl : Depends: perlapi-5.28.0 but it is not installable
 libsub-identify-perl : Depends: perlapi-5.28.0 but it is not installable
 libsub-name-perl : Depends: perlapi-5.28.0 but it is not installable
 libterm-readkey-perl : Depends: perlapi-5.28.1 but it is not installable
 libtext-bibtex-perl : Depends: perlapi-5.28.0 but it is not installable
 libtext-charwidth-perl : Depends: perlapi-5.28.0 but it is not installable
 libtext-csv-xs-perl : Depends: perlapi-5.28.1 but it is not installable
 libtext-iconv-perl : Depends: perlapi-5.28.0 but it is not installable
 libunicode-linebreak-perl : Depends: perlapi-5.28.1 but it is not installable
 libvariable-magic-perl : Depends: perlapi-5.28.0 but it is not installable
 libxau-dev : Depends: libxau6 (= 1:1.0.8-1+b2) but 1:1.0.9-1 is installed
 libxml-libxml-perl : Depends: perlapi-5.28.1 but it is not installable
 libxml-libxslt-perl : Depends: perlapi-5.28.0 but it is not installable
 libxml-parser-perl : Depends: perlapi-5.28.1 but it is not installable
 libzlui-qt4 : Depends: libqtcore4 (>= 4:4.7.0~beta1) but it is not installable
               Depends: libqtgui4 (>= 4:4.5.3) but it is not installable
 mailutils : Depends: mailutils-common (= 1:3.10-3) but 1:3.5-4 is installed
             Depends: libmailutils7 but it is not installed
 openssh-sftp-server : Depends: openssh-client (= 1:7.9p1-10+deb10u2)
 pitivi : Depends: gstreamer1.0-plugins-bad (>= 1.18.0) but 1.14.4-1+deb10u2 is installed
 python-gst-1.0 : Depends: python-gi (>= 3.8) but it is not installable
 python-pyqt5.qtsvg : Depends: python-pyqt5 (= 5.11.3+dfsg-1+b3) but it is not installable
 python3-brlapi : Depends: python3 (< 3.8) but 3.9.2-3 is installed
 python3-dbus : Depends: python3 (< 3.8) but 3.9.2-3 is installed
 python3-kiwisolver : Depends: python3 (< 3.8) but 3.9.2-3 is installed
 python3-openshot : Depends: python3 (< 3.8) but 3.9.2-3 is installed
 python3-uno : Depends: python3 (< 3.8) but 3.9.2-3 is installed
               Depends: python3.7 but it is not installable
 radiotray : Depends: python-gi but it is not installable
 texinfo : Depends: perlapi-5.28.0 but it is not installable
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

daftranti
Posts: 2
Joined: 2021-08-18 00:01

Re: move my installation from buster to bulleyes

#5 Post by daftranti »

Were you up to date with buster before trying this? Maybe go back to the original Buster sources.list and repeat the apt commands.
https://gist.github.com/ishad0w/6ce1eb5 ... 923577426a

Actually, that's probably not going to work if you've already upgraded some packages to bullseye with npm update.

User avatar
FreewheelinFrank
Global Moderator
Global Moderator
Posts: 2062
Joined: 2010-06-07 16:59
Has thanked: 38 times
Been thanked: 221 times

Re: move my installation from buster to bulleyes

#6 Post by FreewheelinFrank »

Please post contents of etc/apt/sources.list.

Did you try apt --fix-broken install and what did it say?

Please note, posting the same question in three different places is not helpful: people trying to help may not notice developments in another place and may waste their time on advice that has already been given elsewhere.

Edit: case in point viewtopic.php?p=741026#p741026

User avatar
Lysander
Posts: 643
Joined: 2017-02-23 10:07
Location: London
Been thanked: 1 time

Re: move my installation from buster to bulleyes

#7 Post by Lysander »

It just beggars belief that some people running Debian don't know how to search for upgrade instructions.

Here you go, OP.

https://www.debian.org/releases/stable/ ... ng.en.html

It looks to me like you didn't update Buster beforehand.

Here is a simple version of how to upgrade.

Code: Select all

apt update

Code: Select all

apt upgrade

Code: Select all

apt autoremove
Replace all "buster" entries with "bullseye" in

Code: Select all

/etc/apt/sources.list
and amend the security repo. Like so:

Code: Select all

deb http://deb.debian.org/debian bullseye main contrib non-free
deb-src http://deb.debian.org/debian bullseye main contrib non-free

deb http://deb.debian.org/debian-security/ bullseye-security main contrib non-free
deb-src http://deb.debian.org/debian-security/ bullseye-security main contrib non-free

deb http://deb.debian.org/debian bullseye-updates main contrib non-free
deb-src http://deb.debian.org/debian bullseye-updates main contrib non-free

Code: Select all

apt upgrade --without-new-pkgs

Code: Select all

apt full-upgrade

Post Reply