OpenMediaVault-Plugin-Developers / installScript

script that installs omv-extras and openmediavault if not installed already.
1.11k stars 210 forks source link

bullseye-security repository removed from RaspberryOS-lite 64bit #102

Closed ConsoleXXVII closed 2 years ago

ConsoleXXVII commented 2 years ago

HW: RaspberryPi 4B 4GB; OS: RaspberryOS-lite Bullseyes 64bit

Installing OMV with the install script in my system (view above) does remove the bullseye-security repository from /etc/apt/source.list. I read a discussion about removing that repository in the RaspbianOS based system (NB. 32bit ARMv7 armhf) because of updates problems. But RaspberryOS 64bit doesn't use raspbian repository (where security updates are included in the update repository), it does use Debian repository instead . So that it right to remove this repository?

Repository of RaspberryOS-lite Bullseyes 64bit:

$ cat /etc/apt/source.list deb http://deb.debian.org/debian bullseye main contrib non-free deb http://security.debian.org/debian-security bullseye-security main contrib non-free deb http://deb.debian.org/debian bullseye-updates main contrib non-free

Uncomment deb-src lines below then 'apt-get update' to enable 'apt-get source'

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

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

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

$ cat /etc/apt/source.list.d/* deb http://archive.raspberrypi.org/debian/ bullseye main

Uncomment line below then 'apt-get update' to enable 'apt-get source'

deb-src http://archive.raspberrypi.org/debian/ bullseye main

ryecoaaron commented 2 years ago

No, it shouldn't be disabled on 64bit RPi OS installs. I have changed the install script. You can fix the current install with:

sudo omv-env set -- "OMV_APT_USE_OS_SECURITY" true sudo omv-salt stage run prepare sudo omv-salt deploy run apt sudo omv-aptclean

ConsoleXXVII commented 2 years ago

Done. Thank you!