BunsenLabs / bunsen-netinstall

Script and associated files to install BunsenLabs into a core Debian system.
GNU General Public License v3.0
95 stars 25 forks source link

Boron branch does not inlcude `non-free-firmware` in `/etc/apt/sources.list` #26

Closed null-directory closed 11 months ago

null-directory commented 11 months ago

For Debian 12, I was getting the below error. It seems to be related to gen_sources not including both non-free and non-free-firmware (the latter of which seems new to 12?)

    Installing packages, without recommends.
------------------------------------------------
Reading package lists...
Building dependency tree...
Reading state information...
Package unrar is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package amd64-microcode is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package intel-microcode is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package hfsprogs is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package firmware-realtek is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  pve-firmware

Package firmware-linux is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package firmware-iwlwifi is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  pve-firmware

Package firmware-sof-signed is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'amd64-microcode' has no installation candidate
E: Package 'firmware-iwlwifi' has no installation candidate
E: Package 'firmware-linux' has no installation candidate
E: Package 'firmware-realtek' has no installation candidate
E: Package 'firmware-sof-signed' has no installation candidate
E: Package 'hfsprogs' has no installation candidate
E: Package 'intel-microcode' has no installation candidate
E: Package 'unrar' has no installation candidate
######## WARNING ########
'apt-get --no-install-recommends --quiet install' returned an error
------------------------------------------------

There was a problem installing some packages.
    There may be some information in /home/randlab/.cache/bunsen-netinstall-logs/install.log.
    You might want to exit the script, comment out packages causing problems
    in pkgs-norecs, and run the script again.
    If the missing packages are unimportant, you might prefer to continue
    with the install and fix the issues later.
    Would you like to ignore the errors and continue now,
    or exit and try to fix the problems?
(press enter to continue, any other key to exit)
johnraff commented 11 months ago

Many thanks for catching this serious bug! In fact gen_sources seems to have been missed out in the general replacement of bullseye with bookworm which happened earlier this year, so the problem was not only the missing 'non-free-firmware', but it was setting the wrong Debian repository.

This has now been fixed in commit d84aade

With Boron approaching official release time, this whole branch will need a final checking over to make sure it is ready to be set as default.

Thanks again.