How can i upgrade to Debian 12

Discussion in 'Installation/Configuration' started by pecka33, Aug 9, 2023.

  1. pecka33

    pecka33 Member

    Hello,

    i am using debian 11 with latest version ispconfig.

    Code:
    Distributor ID: Debian
    Description:    Debian GNU/Linux 11 (bullseye)
    Release:        11
    Codename:       bullseye
    
    I would like to upgrade to debian 12 but i dont know why. I tried to use apt upgrade but here is no package to upgrade, all is up to date.I found this, but i think that this is just for new installation https://www.howtoforge.com/ispconfig-autoinstall-debian-ubuntu/

    My source list

    Code:
    # deb cdrom:[Debian GNU/Linux 11.0.0 _Bullseye_ - Official amd64 NETINST 20210814-10:07]/ bullseye main
    
    #deb cdrom:[Debian GNU/Linux 11.0.0 _Bullseye_ - Official amd64 NETINST 20210814-10:07]/ bullseye main
    
    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://security.debian.org/debian-security bullseye-security main contrib non-free
    deb-src http://security.debian.org/debian-security bullseye-security main contrib non-free
    
    # bullseye-updates, to get updates before a point release is made;
    # see https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_updates_and_backports
    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
    
    # This system was installed using small removable media
    # (e.g. netinst, live or single CD). The matching "deb cdrom"
    # entries were disabled at the end of the installation process.
    # For information about how to configure apt package sources,
    # see the sources.list(5) manual.
    
     
  2. pecka33

    pecka33 Member

    Just replace in sourcelist “bullseye” with “bookworm”:?
     
  3. pecka33

    pecka33 Member

    I did it and working fine.

    But last thing. I dit upgrade all package but when i tried to use apt update now to check is here something new, i get
    Code:
    xx@xx:~# apt update
    Hit:2 https://packages.sury.org/php bullseye InRelease
    Hit:3 http://security.debian.org/debian-security bookworm-security InRelease
    Hit:4 http://deb.debian.org/debian bookworm InRelease
    Hit:5 http://deb.debian.org/debian bookworm-updates InRelease
    Hit:1 https://rspamd.com/apt-stable bullseye InRelease
    Ign:6 http://download.webmin.com/download/repository sarge InRelease
    Hit:7 http://download.webmin.com/download/repository sarge Release
    Get:9 https://deb.goaccess.io bullseye InRelease [3,772 B]
    Fetched 3,772 B in 3s (1,277 B/s)
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    All packages are up to date.
    N: Repository 'Debian bookworm' changed its 'non-free component' value from 'non-free' to 'non-free non-free-firmware'
    N: More information about this can be found online in the Release notes at: https://www.debian.org/releases/bookworm/amd64/release-notes/ch-information.html#non-free-split
    
    Any idea why?

    sourcelist
    Code:
    # deb cdrom:[Debian GNU/Linux 11.0.0 _Bullseye_ - Official amd64 NETINST 20210814-10:07]/ bullseye main
    
    #deb cdrom:[Debian GNU/Linux 11.0.0 _Bullseye_ - Official amd64 NETINST 20210814-10:07]/ bullseye main
    
    deb http://deb.debian.org/debian/ bookworm main contrib non-free
    deb-src http://deb.debian.org/debian/ bookworm main contrib non-free
    
    deb http://security.debian.org/debian-security bookworm-security main contrib non-free
    deb-src http://security.debian.org/debian-security bookworm-security main contrib non-free
    
    # bullseye-updates, to get updates before a point release is made;
    # see https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_updates_and_backports
    deb http://deb.debian.org/debian/ bookworm-updates main contrib non-free
    deb-src http://deb.debian.org/debian/ bookworm-updates main contrib non-free
    
    # This system was installed using small removable media
    # (e.g. netinst, live or single CD). The matching "deb cdrom"
    # entries were disabled at the end of the installation process.
    # For information about how to configure apt package sources,
    # see the sources.list(5) manual.
    
     
  4. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

    No need to do anything to the sourcelist except run your server with the latest ISPConfig release as Debian 12 is already supported.
     
  5. pecka33

    pecka33 Member

    Yes, i did it and working fine. But when i try to use apt update after that i get and not sure why

    Code:
    All packages are up to date.
    N: Repository 'Debian bookworm' changed its 'non-free component' value from 'non-free' to 'non-free non-free-firmware'
    N: More information about this can be found online in the Release notes at: https://www.debian.org/releases/bookworm/amd64/release-notes/ch-information.html#non-free-split
    
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    Change all occurrences of the word non-free to non-free-firmware in sources.list and then run the apt update command again.
     
    ahrasis likes this.
  7. 30uke

    30uke Active Member HowtoForge Supporter

    When I look into http://ftp.debian.org/debian/dists/bookworm/ the following exists:
    • contrib
    • main
    • non-free-firmware
    • non-free
    I would like to suggest to add non-free-firmware besides non-free in the apt source list.
    On my laptop I require non-free-firmware and non-free when I want to install the proprietary NVIDIA driver.
    It's also easy to misread (and I did that many times - fuming because the NVIDIA driver wouldn't work:
    So, they changed it from "non-free" into "non-free non-free-firmware" which includes both.
    I expect you don't need NVIDIA drivers on you server - but there could be something in non-free and non-free-firmware which you could eventually need.
     
    till and ahrasis like this.
  8. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    ahrasis likes this.
  9. felan

    felan Member HowtoForge Supporter

    And after an upgrade, if you decide to remove PHP 7.4, remember to enable php8.2-fpm in Apache...
     

Share This Page