Posts by nasty_vibrations

    Well, I received this email in the morning from my system:



    That's why I tried the command earlier, to see if the problem still exists.

    And, unfortunately, it still does :(

    Output is important here.

    Here it comes:

    Code
    root@NAS:~# echo "deb http://deb.debian.org/debian/ bullseye main contrib non-free" | sudo tee /etc/apt/sources.list
    deb http://deb.debian.org/debian/ bullseye main contrib non-free
    root@NAS:~# echo "deb http://deb.debian.org/debian/ bullseye-updates main contrib non-free" | sudo tee -a /etc/apt/sources.list
    deb http://deb.debian.org/debian/ bullseye-updates main contrib non-free
    root@NAS:~# sudo rm -v /etc/apt/sources.list.d/{omvextras,openmediavault,openmediavault-os-security}.list
    removed '/etc/apt/sources.list.d/omvextras.list'
    removed '/etc/apt/sources.list.d/openmediavault.list'
    removed '/etc/apt/sources.list.d/openmediavault-os-security.list'

    I completed all the above commands successfully.


    However..

    Code
    root@NAS:~# /usr/bin/apt-get --option quiet=1 --option APT::Get::List-Cleanup=false --option Dir::Etc::SourceList=/etc/apt/sources.list.d/openmediavault-os-security.list --option Dir::Etc::SourceParts="/dev/null" --option DPkg::Options::=--force-confold dist-upgrade --yes --option APT::Get::Show-Upgraded=true
    Reading package lists...
    E: The value 'bullseye' is invalid for APT::Default-Release as such a release is not available in the sources

    remains.

    I did the following...


    # in front of debian-security (redundant, as I understood):


    changed "security" to "deb" (since "security" lead to the same error when executing the command below):

    Code
    root@NAS:/etc/apt# cat sources.list.d/openmediavault-os-security.list
    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


    But, launching the command again, still gives me the same error:

    Code
    root@NAS:/etc/apt# /usr/bin/apt-get --option quiet=1 --option APT::Get::List-Cleanup=false --option Dir::Etc::SourceList=/etc/apt/sources.list.d/openmediavault-os-security.list --option Dir::Etc::SourceParts="/dev/null" --option DPkg::Options::=--force-confold dist-upgrade --yes --option APT::Get::Show-Upgraded=true
    Reading package lists...
    E: The value 'bullseye' is invalid for APT::Default-Release as such a release is not available in the sources