E: The value 'bullseye-backports' is invalid for APT::Default-Release as such a release is not available in the sources
deb-src https://ftp.debian.org/debian/ bullseye-backports main
while it should be :
deb https://ftp.debian.org/debian/ bullseye-backports main
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
apt update Fetched 2,070 kB in 7s (304 kB/s) Reading package lists... Done Building dependency tree... Done Reading state information... Done All packages are up to date. W: http://archive.ubuntu.com/ubuntu/dists/jammy/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details. W: http://security.ubuntu.com/ubuntu/dists/jammy-security/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details. W: http://archive.ubuntu.com/ubuntu/dists/jammy-updates/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details. W: http://archive.ubuntu.com/ubuntu/dists/jammy-security/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details. W: http://archive.ubuntu.com/ubuntu/dists/jammy-backports/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
/etc/apt/trusted.gpg the deprecated keyring -------------------- /etc/apt/trusted.gpg.d/jaap_karssenberg-ubuntu-zim.gpg another keyring (not deprecated) -------------------- /etc/apt/trusted.gpg.d/kelleyk_ubuntu_emacs.gpg not deprecated either --------------------We have to list + export all keys from this deprecated keyring
/etc/apt/trusted.gpg the deprecated keyring -------------------- pub rsa4096 2019-07-30 [SC] A2BD 99B1 CD4F B9B9 17ED 53C2 E7CE 2877 F94C 473B a key found in this deprecated keyring uid [ unknown] Gestionnaire du dépôt (Gestionnaire du dépôt) <repository@acme.com> sub rsa4096 2019-07-30 [E] pub rsa4096 2015-10-07 [SCEA] 3E7F 2A56 D279 2B59 DCC5 6586 B15A 9E2B 0E01 8B5F another key to export uid [ unknown] Bot key (with stupid passphrase) <linux-echanges@list.acme.com> sub elg4096 2015-10-07 [E] pub rsa4096 2018-09-17 [SC] F6EC B376 2474 EDA9 D21B 7022 8719 20D1 991B C93C one more key to export uid [ unknown] Ubuntu Archive Automatic Signing Key (2018) <ftpmaster@ubuntu.com> /etc/apt/trusted.gpg.d/jaap_karssenberg-ubuntu-zim.gpg another keyring (not deprecated) -------------------- pub rsa1024 2011-02-19 [SC] DC4A C0EE 92BC 64ED 020C 1C63 7588 B93F 8F7D F243 uid [ unknown] Launchpad PPA for Jaap Karssenberg /etc/apt/trusted.gpg.d/kelleyk_ubuntu_emacs.gpg not deprecated either --------------------
Thu Feb 14 11:17:12 CET 2019
Warning: The unit file, source configuration file or drop-ins of systemd-timesyncd.service changed on disk. Run 'systemctl daemon-reload' ● systemd-timesyncd.service - Network Time Synchronization Loaded: loaded (/lib/systemd/system/systemd-timesyncd.service; enabled; vendor preset: enabled) Drop-In: /usr/lib/systemd/system/systemd-timesyncd.service.d └─disable-with-time-daemon.conf ??? Active: inactive (dead)
[Unit] # don't run timesyncd if we have another NTP daemon installed ConditionFileIsExecutable=!/usr/sbin/ntpd ConditionFileIsExecutable=!/usr/sbin/openntpd ConditionFileIsExecutable=!/usr/sbin/chronyd ConditionFileIsExecutable=!/usr/sbin/VBoxService
!
' '/ConditionFileIsExecutable
/ { print $2 }' /usr/lib/systemd/system/systemd-timesyncd.service.d/disable-with-time-daemon.conf); do [ -x "$binFile" ] && echo "FOUND : '$binFile'"; doneFOUND : '/usr/sbin/ntpd' FOUND : '/usr/sbin/openntpd'
openntpd: /usr/sbin/ntpd openntpd: /usr/sbin/openntpd
Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be REMOVED: openntpd*
● systemd-timesyncd.service - Network Time Synchronization Loaded: loaded (/lib/systemd/system/systemd-timesyncd.service; enabled; vendor preset: enabled) Active: active (running) since Thu 2020-10-08 21:32:17 CEST; 1 months 17 days ago Docs: man:systemd-timesyncd.service(8) Main PID: 2217 (systemd-timesyn) Status: "Synchronized to time server for the first time 188.165.236.162:123 (0.debian.pool.ntp.org)." Tasks: 2 (limit: 4915) Memory: 1.5M CGroup: /system.slice/systemd-timesyncd.service └─2217 /lib/systemd/systemd-timesyncdLooks good !
Wed Nov 25 18:36:24 CET 2020
Hit:1 http://ftp.fr.debian.org/debian buster InRelease
Hit:2 http://ftp.fr.debian.org/debian-security buster/updates InRelease
Hit:3 http://ftp.fr.debian.org/debian buster-updates InRelease
Get:4 http://security.debian.org buster/updates InRelease [65.4 kB]
Reading package lists... Done
E: Release file for http://ftp.fr.debian.org/debian-security/dists/buster/updates/InRelease is expired (invalid since 3d 17h 1min 44s). Updates for this repository will not be applied.
Valid-Until
parameter :
Valid-Until
"Valid-Until: Sat, 28 Mar 2020 23:31:40 UTCI've experienced this error at :
Wed 01 Apr 2020 06:51:01 PM CEST
Valid-Until
value is clearly in the past, making the release file obsolete. There's nothing wrong on your side (except that you're referring to a resource that should be up-to-date).This site holds security updates for Debian GNU/Linux. If you are using apt you can use this entry in /etc/apt/sources.list: deb http://security.debian.org/ stable/updates main
deb http://ftp.fr.debian.org/debian-security/ buster/updates main contrib non-freeinto :
deb http://security.debian.org/ buster/updates main contrib non-free
Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages have been kept back: default-jre default-jre-headless icedtea-netx 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
cause | solution |
---|---|
|
read below |
Packages have been put on hold to prevent their update. | You probably forgot you did this yourself : just grab a coffee, everything is going extremely well |
This is due to Phased updates.
Confirmed by apt-mark showhold returning nothing.
|
This is an expected behavior, not an error. Just relax : everything is going extremely well (AGAIN !) |
Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages were automatically installed and are no longer required: icedtea-netx icedtea-netx-common Use 'apt autoremove' to remove them. The following packages will be REMOVED: default-java-plugin icedtea-8-plugin The following packages will be upgraded: default-jre default-jre-headless icedtea-netx 3 upgraded, 0 newly installed, 2 to remove and 0 not upgraded. Need to get 45.9 kB of archives. After this operation, 655 kB disk space will be freed. Do you want to continue? [Y/n] y Get:1 http://ftp.fr.debian.org/debian stretch/main amd64 default-jre amd64 2:1.8-58+deb9u1 [930 B] Get:2 http://ftp.fr.debian.org/debian stretch/main amd64 default-jre-headless amd64 2:1.8-58+deb9u1 [10.1 kB] Get:3 http://ftp.fr.debian.org/debian stretch/main amd64 icedtea-netx amd64 1.6.2-3.1+deb9u1 [34.9 kB] Fetched 45.9 kB in 0s (157 kB/s) Reading changelogs... Done (Reading database ... 268071 files and directories currently installed.) Removing default-java-plugin (2:1.8-58) ... Removing icedtea-8-plugin:amd64 (1.6.2-3.1) ... (Reading database ... 268066 files and directories currently installed.) Preparing to unpack .../default-jre_2%3a1.8-58+deb9u1_amd64.deb ... Unpacking default-jre (2:1.8-58+deb9u1) over (2:1.8-58) ... Preparing to unpack .../default-jre-headless_2%3a1.8-58+deb9u1_amd64.deb ... Unpacking default-jre-headless (2:1.8-58+deb9u1) over (2:1.8-58) ... Preparing to unpack .../icedtea-netx_1.6.2-3.1+deb9u1_amd64.deb ... Unpacking icedtea-netx:amd64 (1.6.2-3.1+deb9u1) over (1.6.2-3.1) ... Setting up icedtea-netx:amd64 (1.6.2-3.1+deb9u1) ... Setting up default-jre-headless (2:1.8-58+deb9u1) ... Setting up default-jre (2:1.8-58+deb9u1) ...
Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be REMOVED: icedtea-netx icedtea-netx-common 0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded. After this operation, 1,668 kB disk space will be freed. Do you want to continue? [Y/n] y (Reading database ... 268066 files and directories currently installed.) Removing icedtea-netx:amd64 (1.6.2-3.1+deb9u1) ... update-alternatives: removing manually selected alternative - switching javaws to auto mode update-alternatives: removing manually selected alternative - switching itweb-settings to auto mode update-alternatives: removing manually selected alternative - switching policyeditor to auto mode Removing icedtea-netx-common (1.6.2-3.1+deb9u1) ... Processing triggers for mime-support (3.60) ... Processing triggers for desktop-file-utils (0.23-1) ... Processing triggers for hicolor-icon-theme (0.15-1) ...
Hit:6 http://ftp.fr.debian.org/debian jessie Release Err:7 http://security.debian.org jessie/updates Release 407 Proxy Authentication Required [IP: IP of my company's web proxy 3128] Err:8 http://security.debian.org testing/updates Release 407 Proxy Authentication Required [IP: IP of my company's web proxy 3128]
http_proxy
and https_proxy
environment variables (holding my proxy login/password) are up-to-datehttp_proxy
~/.bashrc* /etc/{profile,environment}; echo -e "\nCURRENT VALUE : $http_proxy"http_proxy
/ https_proxy
/ login
/ password
, hence the error. Just review your apt proxy settings.cache_peer proxy01.acmecorp.com parent 3128 0 no-query round-robin weight=1 login=kevin:proxyPassword proxy-only cache_peer proxy02.acmecorp.com parent 3128 0 no-query round-robin weight=2 login=kevin:proxyPassword proxy-only