Fix ‘Debian bookworm’ changed its ‘non-free component’ value from ‘non-free’ to ‘non-free non-free-firmware’

This how to helps to fix the error message of: Repository ‘Debian bookworm’ changed its ‘non-free component’ value from ‘non-free’ to ‘non-free non-free-firmware’ .

Debian bookworm changed

Debian bookworm changed

Index Of How To Fix Fix ‘Debian bookworm’ changed its ‘non-free component’ value from ‘non-free’ to ‘non-free non-free-firmware’

Background 

There were changes related to the changes related to the non-free component. These notes provide context about the modification from ‘non-free’ to ‘non-free non-free-firmware’. This is in case of upgrading from an older Debian version maybe of relevance, since it could cause error messages after update. 

For more details check out: the Debian Bookworm Release Notes 

How To Fix Fix ‘Debian bookworm’ changed its ‘non-free component’ value from ‘non-free’ to ‘non-free non-free-firmware’

  1. The repositories are stored in /etc/apt/sources.list or in /etc/apt/sources.list.d/ . Edit the file and change it from:
    deb http://deb.debian.org/debian/ bookworm main non-free

    to
    deb http://deb.debian.org/debian/ bookworm main non-free non-free-firmware
  2. Following this, ensure that the package lists are updated. This can be done by:
    sudo apt update

     
  3. Finally, upgrade packages by:
    sudo apt upgrade

Additional Information

This is how the full command line could look like following the above 3 steps:

pi@raspberrypi:~ $ sudo apt update
Hit:1 http://deb.debian.org/debian bookworm InRelease
Hit:2 http://legacy.raspbian.org/raspbian stretch InRelease
Hit:3 http://archive.raspberrypi.org/debian bullseye InRelease
Get:4 http://deb.debian.org/debian bookworm/non-free armhf Packages [55.9 kB]
Get:5 http://deb.debian.org/debian bookworm/non-free Translation-en [66.8 kB]
Get:6 http://deb.debian.org/debian bookworm/non-free-firmware armhf Packages [5,480 B]
Get:7 http://deb.debian.org/debian bookworm/non-free-firmware Translation-en [20.8 kB]
Fetched 149 kB in 1s (101 kB/s)                            
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.
pi@raspberrypi:~ $ sudo apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  bluez-firmware
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 185 kB of archives.
After this operation, 99.3 kB disk space will be freed.
Do you want to continue? [Y/n] y
Get:1 http://deb.debian.org/debian bookworm/non-free-firmware armhf bluez-firmware all 1.2-9 [185 kB]
Fetched 185 kB in 0s (1,022 kB/s)  
Reading changelogs... Done
(Reading database ... 53397 files and directories currently installed.)
Preparing to unpack .../bluez-firmware_1.2-9_all.deb ...
Unpacking bluez-firmware (1.2-9) over (1.2-4+rpt11) ...
Setting up bluez-firmware (1.2-9) ...

Follow me

It would be amazing if you follow my myhowto.blog. To my blog is actually easy! You can leverage on

  • Click to follow me on Twitter
  • Bookmark this page and comeback from time to time

Help and Comments

I am really looking forward for you to contact me if for example you found a better option or other idea then in this how to. Also, please touch base if you found an error or anything not working or if you have something that you would love to be added to the myhowto.blog. Simply click this link to touch base with me.

Linking Or Recommending The How To Or The myhowto.blog

I would love to see you are recommending this how to or link it to your website. Also, I would love if you link or recommend the whole myhowto.blog. Please feel free to do so! In case you like to touch base regarding this topic with me, then simply click this link. I look forward!