Well, seems I have the solution: remove or rename /etc/apt/apt.conf
perfect! Works for me.
Well, seems I have the solution: remove or rename /etc/apt/apt.conf
perfect! Works for me.
Soma : Do you know why /etc/cron-apt/action.d/3-download doesn't exist?
Then check again the files above to see if there's any difference between them and try to run again the update command.
I can't see any difference in them.
The update command still results in the known error.
cat /etc/cron-apt/action.d/3-download
doesn't exist on my installation.
Backup is done (dd).
If your time allows for it, I'd be happy if you could have a look at the OS. It's certainly not urgent, though.
Would you send me the scp command?
If you want to send me an image of the OS, I will look into it further
How can I do that?
Yes, upgraded since OMV 3.x
Thanks for you help and time invested!
I will keep monitoring it, maybe sometime an answer will be found...
please see attached file
yes, still the same
root@NAS:~# cat /etc/cron-apt/config
# This file is auto-generated by openmediavault (https://www.openmediavault.org)
# WARNING: Do not edit this file, your changes will get lost.
# Configuration for cron-apt.
# The cron config is located in /etc/cron.d/cron-apt
# When to send email about the cron-apt results.
# Value: error (send mail on error runs)
# upgrade (when packages are upgraded)
# changes (mail when change in output from an action)
# output (send mail when output is generated)
# always (always send mail)
# (else never send mail)
MAILON="upgrade"
# The email address to send mail to.
MAILTO="xxxxxxxxxxxx"
# Value: error (syslog on error runs)
# upgrade (when packages is upgraded)
# changes (syslog when change in output from an action)
# output (syslog when output is generated)
# always (always syslog)
# (else never syslog)
SYSLOGON="always"
# Value: verbose (log everything)
# always (always log)
# upgrade (when packages is upgraded)
# changes (log when change in output from an action)
# output (log when output is generated)
# error (log error runs only)
# (else log nothing)
# DEBUG="output"
# General apt options that will be passed to all APTCOMMAND calls.
# Use "-o quiet" instead of "-q" for aptitude compatibility.
# OPTIONS="-o quiet=1"
# You can for example add an additional sources.list file here.
# OPTIONS="-o quiet=1 -o Dir::Etc::SourceList=/etc/apt/security.sources.list"
# You can also set an alternative sources.list file here.
# OPTIONS="-o quiet=1 -o Dir::Etc::SourceList=/etc/apt/security.sources.list -o Dir::Etc::SourceParts=\"/dev/null\""
# If you want to allow unauthenticated and untrusted packages add the
# following to your options directive.
# OPTIONS="-o quiet=1 -o APT::Get::AllowUnauthenticated=true -o aptitude::Cmdline::ignore-trust-violations=yes"
# To limit the bandwidth used use the following line. This example limit the
# bandwidth usage to 25 kB/s.
# OPTIONS="-o Acquire::http::Dl-Limit=25"
OPTIONS=""
root@NAS:~# sudo grep -r security /etc/apt/*
/etc/apt/sources.list.d/openmediavault-os-security.list:deb http://security.debian.org/debian-security bullseye-security main contrib non-free
/etc/apt/sources.list.d/openmediavault-os-security.list:deb-src http://security.debian.org/debian-security bullseye-security main contrib non-free
root@NAS:~# sudo omv-salt deploy run cronapt
NAS.fritz.box:
----------
ID: remove_cron-apt_refrain_file
Function: file.absent
Name: /etc/cron-apt/refrain
Result: True
Comment: File /etc/cron-apt/refrain is not present
Started: 15:17:07.322749
Duration: 0.633 ms
Changes:
----------
ID: remove_cron-apt_cron_d_file
Function: file.absent
Name: /etc/cron.d/cron-apt
Result: True
Comment: File /etc/cron.d/cron-apt is not present
Started: 15:17:07.323494
Duration: 0.46 ms
Changes:
----------
ID: create_cron-apt_config
Function: file.managed
Name: /etc/cron-apt/config
Result: True
Comment: File /etc/cron-apt/config is in the correct state
Started: 15:17:07.324046
Duration: 35.706 ms
Changes:
----------
ID: divert_cron-apt_config
Function: omv_dpkg.divert_add
Name: /etc/cron-apt/config
Result: True
Comment: Adding 'local diversion of /etc/cron-apt/config to /etc/cron-apt/config.distrib'
Started: 15:17:07.360280
Duration: 18.08 ms
Changes:
----------
ID: create_cron-apt_download_msg
Function: file.managed
Name: /etc/cron-apt/mailmsg.d/3-download
Result: True
Comment: File /etc/cron-apt/mailmsg.d/3-download updated
Started: 15:17:07.378661
Duration: 10.489 ms
Changes:
----------
diff:
---
+++
@@ -1,4 +1,4 @@
-The following packages are already downloaded and ready to install. Security packages are installed automatically. Please go to the 'System | Update Management' page in the web interface or run 'omv-update' from the CLI to install non-security packages finally.
+The following packages are already downloaded and ready to install. Security packages are installed automatically. Please go to the 'System | Update Management' page in the web interface or run 'omv-upgrade' from the CLI to install non-security packages finally.
You have received this notification because you have enabled software update notifications on this host. To change your notification preferences, please go to the 'System | Notification' page in the web interface.
----------
ID: remove_cron-apt_config_install_security_upgrades
Function: file.absent
Name: /etc/cron-apt/config.d/5-openmediavault-security
Result: True
Comment: Removed file /etc/cron-apt/config.d/5-openmediavault-security
Started: 15:17:07.389283
Duration: 0.671 ms
Changes:
----------
removed:
/etc/cron-apt/config.d/5-openmediavault-security
----------
ID: remove_cron-apt_action_install_security_upgrades
Function: file.absent
Name: /etc/cron-apt/action.d/5-openmediavault-security
Result: True
Comment: Removed file /etc/cron-apt/action.d/5-openmediavault-security
Started: 15:17:07.390061
Duration: 0.8 ms
Changes:
----------
removed:
/etc/cron-apt/action.d/5-openmediavault-security
----------
ID: remove_cron-apt_install_security_upgrades_msg
Function: file.absent
Name: /etc/cron-apt/mailmsg.d/5-openmediavault-security
Result: True
Comment: Removed file /etc/cron-apt/mailmsg.d/5-openmediavault-security
Started: 15:17:07.390967
Duration: 0.561 ms
Changes:
----------
removed:
/etc/cron-apt/mailmsg.d/5-openmediavault-security
----------
ID: create_cron-apt_config_install_security_upgrades
Function: file.managed
Name: /etc/cron-apt/config.d/5-openmediavault-security
Result: True
Comment: File /etc/cron-apt/config.d/5-openmediavault-security updated
Started: 15:17:07.391636
Duration: 2.42 ms
Changes:
----------
diff:
New file
mode:
0644
----------
ID: create_cron-apt_action_install_security_upgrades
Function: file.managed
Name: /etc/cron-apt/action.d/5-openmediavault-security
Result: True
Comment: File /etc/cron-apt/action.d/5-openmediavault-security updated
Started: 15:17:07.394185
Duration: 2.424 ms
Changes:
----------
diff:
New file
mode:
0644
----------
ID: create_cron-apt_install_security_upgrades_msg
Function: file.managed
Name: /etc/cron-apt/mailmsg.d/5-openmediavault-security
Result: True
Comment: File /etc/cron-apt/mailmsg.d/5-openmediavault-security updated
Started: 15:17:07.396735
Duration: 6.92 ms
Changes:
----------
diff:
New file
mode:
0644
Summary for NAS.fritz.box
-------------
Succeeded: 11 (changed=7)
Failed: 0
-------------
Total states run: 11
Total run time: 79.164 ms
Display More
Well, I received this email in the morning from my system:
The following security packages have been installed automatically.
CRON-APT RUN [/etc/cron-apt/config]: Tue Jul 26 07:35:58 CEST 2022
CRON-APT SLEEP: 1509, Tue Jul 26 08:01:07 CEST 2022
CRON-APT ACTION: 5-openmediavault-security
CRON-APT LINE: /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
Display More
That's why I tried the command earlier, to see if the problem still exists.
And, unfortunately, it still does
root@NAS:~# sudo apt-get --allow-releaseinfo-change update
Get:1 file:/var/cache/openmediavault/archives InRelease
Ign:1 file:/var/cache/openmediavault/archives InRelease
Get:2 file:/var/cache/openmediavault/archives Release
Ign:2 file:/var/cache/openmediavault/archives Release
Get:3 file:/var/cache/openmediavault/archives Packages
Ign:3 file:/var/cache/openmediavault/archives Packages
Get:4 file:/var/cache/openmediavault/archives Translation-en_US
Ign:4 file:/var/cache/openmediavault/archives Translation-en_US
Get:5 file:/var/cache/openmediavault/archives Translation-en
Ign:5 file:/var/cache/openmediavault/archives Translation-en
Get:3 file:/var/cache/openmediavault/archives Packages
Ign:3 file:/var/cache/openmediavault/archives Packages
Get:4 file:/var/cache/openmediavault/archives Translation-en_US
Ign:4 file:/var/cache/openmediavault/archives Translation-en_US
Get:5 file:/var/cache/openmediavault/archives Translation-en
Ign:5 file:/var/cache/openmediavault/archives Translation-en
Get:3 file:/var/cache/openmediavault/archives Packages
Ign:3 file:/var/cache/openmediavault/archives Packages
Get:4 file:/var/cache/openmediavault/archives Translation-en_US
Ign:4 file:/var/cache/openmediavault/archives Translation-en_US
Get:5 file:/var/cache/openmediavault/archives Translation-en
Ign:5 file:/var/cache/openmediavault/archives Translation-en
Get:3 file:/var/cache/openmediavault/archives Packages
Ign:3 file:/var/cache/openmediavault/archives Packages
Get:4 file:/var/cache/openmediavault/archives Translation-en_US
Ign:4 file:/var/cache/openmediavault/archives Translation-en_US
Get:5 file:/var/cache/openmediavault/archives Translation-en
Ign:5 file:/var/cache/openmediavault/archives Translation-en
Get:3 file:/var/cache/openmediavault/archives Packages
Ign:3 file:/var/cache/openmediavault/archives Packages
Get:4 file:/var/cache/openmediavault/archives Translation-en_US
Ign:4 file:/var/cache/openmediavault/archives Translation-en_US
Get:5 file:/var/cache/openmediavault/archives Translation-en
Ign:5 file:/var/cache/openmediavault/archives Translation-en
Get:3 file:/var/cache/openmediavault/archives Packages
Ign:3 file:/var/cache/openmediavault/archives Packages
Get:4 file:/var/cache/openmediavault/archives Translation-en_US
Ign:4 file:/var/cache/openmediavault/archives Translation-en_US
Get:5 file:/var/cache/openmediavault/archives Translation-en
Ign:5 file:/var/cache/openmediavault/archives Translation-en
Get:3 file:/var/cache/openmediavault/archives Packages
Get:4 file:/var/cache/openmediavault/archives Translation-en_US
Ign:4 file:/var/cache/openmediavault/archives Translation-en_US
Get:5 file:/var/cache/openmediavault/archives Translation-en
Ign:5 file:/var/cache/openmediavault/archives Translation-en
Hit:6 http://security.debian.org/debian-security bullseye-security InRelease
Hit:7 http://deb.debian.org/debian bullseye InRelease
Hit:8 http://packages.openmediavault.org/public shaitan InRelease
Hit:9 http://deb.debian.org/debian bullseye-updates InRelease
Hit:10 https://openmediavault-plugin-developers.github.io/packages/debian shaitan InRelease
Hit:11 https://download.docker.com/linux/debian bullseye InRelease
Hit:12 http://httpredir.debian.org/debian bullseye-backports InRelease
Hit:13 https://openmediavault.github.io/packages shaitan InRelease
Reading package lists... Done
root@NAS:~# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 11 (bullseye)
Release: 11
Codename: bullseye
root@NAS:~# sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Display More
root@NAS:~# sudo omv-aptclean
1. Cleaning apt cache files...
2. Clearing available dpkg packages...
3. Removing apt lists...
removed '/var/lib/apt/lists/_var_cache_openmediavault_archives_Packages'
removed directory '/var/lib/apt/lists/auxfiles'
removed '/var/lib/apt/lists/deb.debian.org_debian_dists_bullseye-updates_InRelease'
removed '/var/lib/apt/lists/deb.debian.org_debian_dists_bullseye-updates_main_binary-amd64_Packages'
removed '/var/lib/apt/lists/deb.debian.org_debian_dists_bullseye-updates_main_i18n_Translation-en'
removed '/var/lib/apt/lists/deb.debian.org_debian_dists_bullseye_InRelease'
removed '/var/lib/apt/lists/deb.debian.org_debian_dists_bullseye_contrib_binary-amd64_Packages'
removed '/var/lib/apt/lists/deb.debian.org_debian_dists_bullseye_contrib_i18n_Translation-en'
removed '/var/lib/apt/lists/deb.debian.org_debian_dists_bullseye_main_binary-amd64_Packages'
removed '/var/lib/apt/lists/deb.debian.org_debian_dists_bullseye_main_i18n_Translation-en'
removed '/var/lib/apt/lists/deb.debian.org_debian_dists_bullseye_non-free_binary-amd64_Packages'
removed '/var/lib/apt/lists/deb.debian.org_debian_dists_bullseye_non-free_i18n_Translation-en'
removed '/var/lib/apt/lists/download.docker.com_linux_debian_dists_bullseye_InRelease'
removed '/var/lib/apt/lists/download.docker.com_linux_debian_dists_bullseye_stable_binary-amd64_Packages'
removed '/var/lib/apt/lists/httpredir.debian.org_debian_dists_bullseye-backports_InRelease'
removed '/var/lib/apt/lists/httpredir.debian.org_debian_dists_bullseye-backports_contrib_binary-amd64_Packages'
removed '/var/lib/apt/lists/httpredir.debian.org_debian_dists_bullseye-backports_contrib_i18n_Translation-en'
removed '/var/lib/apt/lists/httpredir.debian.org_debian_dists_bullseye-backports_main_binary-amd64_Packages'
removed '/var/lib/apt/lists/httpredir.debian.org_debian_dists_bullseye-backports_main_i18n_Translation-en'
removed '/var/lib/apt/lists/httpredir.debian.org_debian_dists_bullseye-backports_non-free_binary-amd64_Packages'
removed '/var/lib/apt/lists/httpredir.debian.org_debian_dists_bullseye-backports_non-free_i18n_Translation-en'
removed '/var/lib/apt/lists/lock'
removed '/var/lib/apt/lists/openmediavault-plugin-developers.github.io_packages_debian_dists_shaitan_InRelease'
removed '/var/lib/apt/lists/openmediavault-plugin-developers.github.io_packages_debian_dists_shaitan_main_binary-amd64_Packages'
removed '/var/lib/apt/lists/openmediavault.github.io_packages_dists_shaitan_InRelease'
removed '/var/lib/apt/lists/openmediavault.github.io_packages_dists_shaitan_main_binary-amd64_Packages'
removed '/var/lib/apt/lists/packages.openmediavault.org_public_dists_shaitan_InRelease'
removed '/var/lib/apt/lists/packages.openmediavault.org_public_dists_shaitan_main_binary-amd64_Packages'
removed directory '/var/lib/apt/lists/partial'
removed '/var/lib/apt/lists/security.debian.org_debian-security_dists_bullseye-security_InRelease'
removed '/var/lib/apt/lists/security.debian.org_debian-security_dists_bullseye-security_main_binary-amd64_Packages'
removed '/var/lib/apt/lists/security.debian.org_debian-security_dists_bullseye-security_main_i18n_Translation-en'
removed '/var/lib/apt/lists/security.debian.org_debian-security_dists_bullseye-security_main_source_Sources'
removed '/var/lib/apt/lists/security.debian.org_debian-security_dists_bullseye-security_non-free_binary-amd64_Packages'
removed '/var/lib/apt/lists/security.debian.org_debian-security_dists_bullseye-security_non-free_i18n_Translation-en'
removed '/var/lib/apt/lists/security.debian.org_debian-security_dists_bullseye-security_non-free_source_Sources'
4. Removing OpenMediaVault cache packages...
removed '/var/cache/openmediavault/archives/Packages'
5. Creating new OpenMediaVault packages file...
6. Updating apt...
Get:1 file:/var/cache/openmediavault/archives InRelease
Ign:1 file:/var/cache/openmediavault/archives InRelease
Get:2 file:/var/cache/openmediavault/archives Release
Ign:2 file:/var/cache/openmediavault/archives Release
Get:3 file:/var/cache/openmediavault/archives Packages
Ign:3 file:/var/cache/openmediavault/archives Packages
Get:4 file:/var/cache/openmediavault/archives Translation-en
Ign:4 file:/var/cache/openmediavault/archives Translation-en
Get:3 file:/var/cache/openmediavault/archives Packages
Ign:3 file:/var/cache/openmediavault/archives Packages
Get:4 file:/var/cache/openmediavault/archives Translation-en
Ign:4 file:/var/cache/openmediavault/archives Translation-en
Get:3 file:/var/cache/openmediavault/archives Packages
Ign:3 file:/var/cache/openmediavault/archives Packages
Get:4 file:/var/cache/openmediavault/archives Translation-en
Ign:4 file:/var/cache/openmediavault/archives Translation-en
Get:3 file:/var/cache/openmediavault/archives Packages
Ign:3 file:/var/cache/openmediavault/archives Packages
Get:4 file:/var/cache/openmediavault/archives Translation-en
Ign:4 file:/var/cache/openmediavault/archives Translation-en
Get:3 file:/var/cache/openmediavault/archives Packages
Ign:3 file:/var/cache/openmediavault/archives Packages
Get:4 file:/var/cache/openmediavault/archives Translation-en
Ign:4 file:/var/cache/openmediavault/archives Translation-en
Get:3 file:/var/cache/openmediavault/archives Packages
Ign:3 file:/var/cache/openmediavault/archives Packages
Get:4 file:/var/cache/openmediavault/archives Translation-en
Ign:4 file:/var/cache/openmediavault/archives Translation-en
Get:3 file:/var/cache/openmediavault/archives Packages
Get:4 file:/var/cache/openmediavault/archives Translation-en
Ign:4 file:/var/cache/openmediavault/archives Translation-en
Get:5 http://packages.openmediavault.org/public shaitan InRelease [12.8 kB]
Get:6 http://httpredir.debian.org/debian bullseye-backports InRelease [49.0 kB]
Get:7 http://security.debian.org/debian-security bullseye-security InRelease [48.4 kB]
Get:8 http://deb.debian.org/debian bullseye InRelease [116 kB]
Get:9 https://openmediavault.github.io/packages shaitan InRelease [12.8 kB]
Get:10 https://openmediavault-plugin-developers.github.io/packages/debian shaitan InRelease [3934 B]
Get:11 https://download.docker.com/linux/debian bullseye InRelease [43.3 kB]
Get:12 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
Get:13 http://packages.openmediavault.org/public shaitan/main amd64 Packages [12.8 kB]
Get:14 http://httpredir.debian.org/debian bullseye-backports/main amd64 Packages [321 kB]
Get:15 http://httpredir.debian.org/debian bullseye-backports/main Translation-en [247 kB]
Get:16 http://httpredir.debian.org/debian bullseye-backports/contrib amd64 Packages [4704 B]
Get:17 http://httpredir.debian.org/debian bullseye-backports/contrib Translation-en [4196 B]
Get:18 http://httpredir.debian.org/debian bullseye-backports/non-free amd64 Packages [11.6 kB]
Get:19 http://httpredir.debian.org/debian bullseye-backports/non-free Translation-en [9020 B]
Get:20 http://security.debian.org/debian-security bullseye-security/non-free Sources [632 B]
Get:21 http://security.debian.org/debian-security bullseye-security/main Sources [135 kB]
Get:22 http://security.debian.org/debian-security bullseye-security/main amd64 Packages [167 kB]
Get:23 http://security.debian.org/debian-security bullseye-security/main Translation-en [105 kB]
Get:24 http://security.debian.org/debian-security bullseye-security/non-free amd64 Packages [528 B]
Get:25 http://security.debian.org/debian-security bullseye-security/non-free Translation-en [344 B]
Get:26 http://deb.debian.org/debian bullseye/main amd64 Packages [8182 kB]
Get:27 https://openmediavault.github.io/packages shaitan/main amd64 Packages [12.8 kB]
Get:28 https://openmediavault-plugin-developers.github.io/packages/debian shaitan/main amd64 Packages [8138 B]
Get:29 https://download.docker.com/linux/debian bullseye/stable amd64 Packages [11.5 kB]
Get:30 http://deb.debian.org/debian bullseye/main Translation-en [6243 kB]
Get:31 http://deb.debian.org/debian bullseye/contrib amd64 Packages [50.6 kB]
Get:32 http://deb.debian.org/debian bullseye/contrib Translation-en [46.9 kB]
Get:33 http://deb.debian.org/debian bullseye/non-free amd64 Packages [97.6 kB]
Get:34 http://deb.debian.org/debian bullseye/non-free Translation-en [92.7 kB]
Get:35 http://deb.debian.org/debian bullseye-updates/main amd64 Packages [2592 B]
Get:36 http://deb.debian.org/debian bullseye-updates/main Translation-en [2343 B]
Fetched 16.1 MB in 6s (2821 kB/s)
Reading package lists... Done
7. Saving current package list...
8. Updating plugin index...
Creating index of upgradeable packages ...
Creating index of openmediavault plugins ...
Display More
root@NAS:~# sudo omv-salt deploy run apt omvextras
NAS.fritz.box:
----------
ID: configure_apt_sources_list_openmediavault
Function: file.managed
Name: /etc/apt/sources.list.d/openmediavault.list
Result: True
Comment: File /etc/apt/sources.list.d/openmediavault.list updated
Started: 13:54:31.177322
Duration: 35.916 ms
Changes:
----------
diff:
New file
mode:
0644
----------
ID: remove_apt_proxy
Function: file.absent
Name: /etc/apt/apt.conf.d/99openmediavault-proxy
Result: True
Comment: File /etc/apt/apt.conf.d/99openmediavault-proxy is not present
Started: 13:54:31.213414
Duration: 0.593 ms
Changes:
----------
ID: configure_apt_pref_kernel_backports
Function: file.managed
Name: /etc/apt/preferences.d/openmediavault-kernel-backports.pref
Result: True
Comment: File /etc/apt/preferences.d/openmediavault-kernel-backports.pref updated
Started: 13:54:31.214121
Duration: 13.275 ms
Changes:
----------
diff:
---
+++
@@ -1,15 +1,15 @@
Package: linux-base
-Pin: release a=buster-backports
+Pin: release a=bullseye-backports
Pin-Priority: 500
Package: linux-headers-*
-Pin: release a=buster-backports
+Pin: release a=bullseye-backports
Pin-Priority: 500
Package: linux-image-*
-Pin: release a=buster-backports
+Pin: release a=bullseye-backports
Pin-Priority: 500
Package: firmware-*
-Pin: release a=buster-backports
+Pin: release a=bullseye-backports
Pin-Priority: 500
----------
ID: configure_apt_sources_list_kernel_backports
Function: file.managed
Name: /etc/apt/sources.list.d/openmediavault-kernel-backports.list
Result: True
Comment: File /etc/apt/sources.list.d/openmediavault-kernel-backports.list is in the correct state
Started: 13:54:31.227528
Duration: 9.541 ms
Changes:
----------
ID: remove_apt_sources_list_omv_security_obsolete
Function: file.absent
Name: /etc/apt/sources.list.d/openmediavault-debian-security.list
Result: True
Comment: File /etc/apt/sources.list.d/openmediavault-debian-security.list is not present
Started: 13:54:31.237200
Duration: 0.593 ms
Changes:
----------
ID: configure_apt_sources_list_os_security
Function: file.managed
Name: /etc/apt/sources.list.d/openmediavault-os-security.list
Result: True
Comment: File /etc/apt/sources.list.d/openmediavault-os-security.list updated
Started: 13:54:31.237896
Duration: 10.565 ms
Changes:
----------
diff:
New file
mode:
0644
----------
ID: refresh_apt_database
Function: module.run
Result: True
Comment: pkg.refresh_db: Success
Started: 13:54:31.249163
Duration: 6597.183 ms
Changes:
----------
pkg.refresh_db:
----------
file:/var/cache/openmediavault/archives InRelease:
False
file:/var/cache/openmediavault/archives Packages:
True
file:/var/cache/openmediavault/archives Release:
False
file:/var/cache/openmediavault/archives Translation-en:
False
http://deb.debian.org/debian bullseye InRelease:
None
http://deb.debian.org/debian bullseye-updates InRelease:
None
http://httpredir.debian.org/debian bullseye-backports InRelease:
None
http://packages.openmediavault.org/public shaitan InRelease:
None
http://security.debian.org/debian-security bullseye-security InRelease:
True
http://security.debian.org/debian-security bullseye-security/main Sources:
True
http://security.debian.org/debian-security bullseye-security/main Translation-en:
True
http://security.debian.org/debian-security bullseye-security/main amd64 Packages:
True
http://security.debian.org/debian-security bullseye-security/non-free Sources:
True
http://security.debian.org/debian-security bullseye-security/non-free Translation-en:
True
http://security.debian.org/debian-security bullseye-security/non-free amd64 Packages:
True
https://openmediavault.github.io/packages shaitan InRelease:
None
----------
ID: remove_apt_list_omvextras
Function: file.absent
Name: /etc/apt/sources.list.d/omvextras.list
Result: True
Comment: File /etc/apt/sources.list.d/omvextras.list is not present
Started: 13:54:37.846622
Duration: 0.779 ms
Changes:
----------
ID: omvextrasbaserepo
Function: pkgrepo.managed
Name: deb https://openmediavault-plugin-developers.github.io/packages/debian shaitan main
Result: True
Comment: Configured package repo 'deb https://openmediavault-plugin-developers.github.io/packages/debian shaitan main'
Started: 13:54:37.848539
Duration: 9290.288 ms
Changes:
----------
repo:
deb https://openmediavault-plugin-developers.github.io/packages/debian shaitan main
----------
ID: deb https://openmediavault-plugin-developers.github.io/packages/debian shaitan-testing main
Function: pkgrepo.absent
Result: True
Comment: Package repo deb https://openmediavault-plugin-developers.github.io/packages/debian shaitan-testing main is absent
Started: 13:54:47.139026
Duration: 44.721 ms
Changes:
----------
ID: deb [arch=amd64] https://download.docker.com/linux/debian bullseye stable
Function: pkgrepo.managed
Result: True
Comment: Configured package repo 'deb [arch=amd64] https://download.docker.com/linux/debian bullseye stable'
Started: 13:54:47.183935
Duration: 9977.105 ms
Changes:
----------
repo:
deb [arch=amd64] https://download.docker.com/linux/debian bullseye stable
----------
ID: configure_apt_pref_omvextras
Function: file.managed
Name: /etc/apt/preferences.d/omvextras.pref
Result: True
Comment: File /etc/apt/preferences.d/omvextras.pref is in the correct state
Started: 13:54:57.161283
Duration: 62.796 ms
Changes:
----------
ID: refresh_database_apt
Function: module.run
Result: True
Comment: pkg.refresh_db: Success
Started: 13:54:57.224219
Duration: 6193.92 ms
Changes:
----------
pkg.refresh_db:
----------
file:/var/cache/openmediavault/archives InRelease:
False
file:/var/cache/openmediavault/archives Packages:
True
file:/var/cache/openmediavault/archives Release:
False
file:/var/cache/openmediavault/archives Translation-en:
False
http://deb.debian.org/debian bullseye InRelease:
None
http://deb.debian.org/debian bullseye-updates InRelease:
None
http://httpredir.debian.org/debian bullseye-backports InRelease:
None
http://packages.openmediavault.org/public shaitan InRelease:
None
http://security.debian.org/debian-security bullseye-security InRelease:
None
https://download.docker.com/linux/debian bullseye InRelease:
None
https://openmediavault-plugin-developers.github.io/packages/debian shaitan InRelease:
None
https://openmediavault.github.io/packages shaitan InRelease:
None
Summary for NAS.fritz.box
-------------
Succeeded: 13 (changed=7)
Failed: 0
-------------
Total states run: 13
Total run time: 32.237 s
Display More
Output is important here.
Here it comes:
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..
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.
sudo rm -v /etc/apt/sources.list.d/{omvextras,openmediavault,openmediavault-os-security}.list
But that will delete the debian-security repo, right? Does that mean I won't get any security updates anymore?
This probably is a simple thing but I'm out of ideas (and commands)
Thanks a lot for your help so far! Let's see if we can finally figure out what is going on here...
I did the following...
# in front of debian-security (redundant, as I understood):
root@NAS:/etc/apt# cat sources.list
deb https://deb.debian.org/debian bullseye main contrib non-free
deb-src https://deb.debian.org/debian bullseye main contrib non-free
#deb https://deb.debian.org/debian-security bullseye-security main contrib non-free
#deb-src https://deb.debian.org/debian-security bullseye-security main contrib non-free
deb https://deb.debian.org/debian bullseye-updates main contrib non-free
deb-src https://deb.debian.org/debian bullseye-updates main contrib non-free
Display More
changed "security" to "deb" (since "security" lead to the same error when executing the command below):
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:
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