You are not logged in.

#1 2019-07-13 21:39:58

hughparker1
Member
Registered: 2016-05-05
Posts: 51

[SOLVED] update error, GPG error, KEYEXPIRED 1561897138

I tried to update after 5 months and get error...

hugh@DELL-VOSTRO-BUNSENLABS:~$ sudo apt update
[sudo] password for hugh: 
Ign http://httpredir.debian.org jessie InRelease                                  
Get:1 http://www.deb-multimedia.org jessie InRelease [24.6 kB]                    
Get:2 http://httpredir.debian.org jessie-updates InRelease [16.3 kB]              
Get:3 http://www.deb-multimedia.org jessie/main amd64 Packages [82.9 kB]          
Get:4 http://www.deb-multimedia.org jessie/non-free amd64 Packages [1,776 B]      
Ign http://httpredir.debian.org jessie-backports InRelease                        
Get:5 http://www.deb-multimedia.org jessie/main Translation-en [14 B]             
Get:6 http://www.deb-multimedia.org jessie/non-free Translation-en [453 B]        
Get:7 http://httpredir.debian.org jessie Release.gpg [1,652 B]                    
Get:8 http://httpredir.debian.org jessie-updates/main amd64 Packages [20 B]       
Get:9 http://httpredir.debian.org jessie-updates/contrib amd64 Packages [20 B]    
Get:10 http://httpredir.debian.org jessie-updates/non-free amd64 Packages [20 B]  
Get:11 http://httpredir.debian.org jessie-updates/contrib Translation-en [14 B]   
Get:12 http://httpredir.debian.org jessie-updates/main Translation-en [14 B]      
Get:13 http://httpredir.debian.org jessie-updates/non-free Translation-en [14 B]  
Ign http://httpredir.debian.org jessie-backports Release.gpg                      
Get:14 http://httpredir.debian.org jessie Release [77.3 kB]                       
Ign http://httpredir.debian.org jessie-backports Release                          
Get:15 http://httpredir.debian.org jessie/main amd64 Packages [6,818 kB]          
Get:16 http://security.debian.org jessie/updates InRelease [44.9 kB]              
Get:17 http://pkg.bunsenlabs.org jessie-backports InRelease [5,204 B]             
Err http://pkg.bunsenlabs.org jessie-backports InRelease                          
  
Get:18 http://pkg.bunsenlabs.org bunsen-hydrogen InRelease [5,167 B]              
Err http://pkg.bunsenlabs.org bunsen-hydrogen InRelease                           
  
Get:19 http://security.debian.org jessie/updates/main amd64 Packages [700 kB]     
Hit http://security.debian.org jessie/updates/contrib amd64 Packages              
Get:20 http://security.debian.org jessie/updates/non-free amd64 Packages [4,527 B]
Hit http://security.debian.org jessie/updates/contrib Translation-en              
Get:21 http://security.debian.org jessie/updates/main Translation-en [354 kB]     
Get:22 http://security.debian.org jessie/updates/non-free Translation-en [11.8 kB]
Get:23 http://httpredir.debian.org jessie/non-free amd64 Packages [83.2 kB]       
Hit http://httpredir.debian.org jessie/contrib amd64 Packages                     
Hit http://httpredir.debian.org jessie/contrib Translation-en                     
Get:24 http://httpredir.debian.org jessie/main Translation-en [4,581 kB]          
Get:25 http://httpredir.debian.org jessie/non-free Translation-en [72.0 kB]       
Ign http://httpredir.debian.org jessie-backports/main amd64 Packages/DiffIndex    
Ign http://httpredir.debian.org jessie-backports/contrib amd64 Packages/DiffIndex 
Ign http://httpredir.debian.org jessie-backports/non-free amd64 Packages/DiffIndex
Err http://httpredir.debian.org jessie-backports/contrib amd64 Packages           
  
Ign http://httpredir.debian.org jessie-backports/contrib Translation-en_GB        
Ign http://httpredir.debian.org jessie-backports/contrib Translation-en
Ign http://httpredir.debian.org jessie-backports/main Translation-en_GB
Ign http://httpredir.debian.org jessie-backports/main Translation-en
Ign http://httpredir.debian.org jessie-backports/non-free Translation-en_GB
Ign http://httpredir.debian.org jessie-backports/non-free Translation-en
Err http://httpredir.debian.org jessie-backports/main amd64 Packages
  404  Not Found [IP: 151.101.16.204 80]
Err http://httpredir.debian.org jessie-backports/contrib amd64 Packages
  404  Not Found [IP: 151.101.16.204 80]
Err http://httpredir.debian.org jessie-backports/non-free amd64 Packages
  404  Not Found [IP: 151.101.16.204 80]
Fetched 12.9 MB in 27s (462 kB/s)
Reading package lists... Done
Building dependency tree       
Reading state information... Done
375 packages can be upgraded. Run 'apt list --upgradable' to see them.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://pkg.bunsenlabs.org jessie-backports InRelease: The following signatures were invalid: KEYEXPIRED 1561897138 KEYEXPIRED 1561897138 KEYEXPIRED 1561897138 KEYEXPIRED 1561897138 KEYEXPIRED 1561897138

W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://pkg.bunsenlabs.org bunsen-hydrogen InRelease: The following signatures were invalid: KEYEXPIRED 1561897138 KEYEXPIRED 1561897138 KEYEXPIRED 1561897138 KEYEXPIRED 1561897138 KEYEXPIRED 1561897138

W: Failed to fetch http://pkg.bunsenlabs.org/debian/dists/jessie-backports/InRelease  

W: Failed to fetch http://pkg.bunsenlabs.org/debian/dists/bunsen-hydrogen/InRelease  

W: Failed to fetch http://httpredir.debian.org/debian/dists/jessie-backports/main/binary-amd64/Packages  404  Not Found [IP: 151.101.16.204 80]

W: Failed to fetch http://httpredir.debian.org/debian/dists/jessie-backports/contrib/binary-amd64/Packages  404  Not Found [IP: 151.101.16.204 80]

W: Failed to fetch http://httpredir.debian.org/debian/dists/jessie-backports/non-free/binary-amd64/Packages  404  Not Found [IP: 151.101.16.204 80]

W: Some index files failed to download. They have been ignored, or old ones used instead.
hugh@DELL-VOSTRO-BUNSENLABS:~$ 

try google search... "forums.bunsenlabs.org update error, GPG error, KEYEXPIRED 1561897138"

found a topic created by myself     hughparker1  2016-07-10 20:10:51

    Index
    » Basic Help & Support
    » [SOLVED] Signing Keys Error running apt-get update

https://forums.bunsenlabs.org/viewtopic.php?id=2320

so thought I would try solution suggested by sw2090....

sw2090
    New Member
    Registered: 2017-02-24
    Posts: 1

Re: [SOLVED] Signing Keys Error running apt-get update

@hugh and all others:

You just forgot one command Hugh and that's why it did not work for you.

You have to do this like mnentionend in the link you posted:

wget -O- https://pkg.bunsenlabs.org/BunsenLabs-RELEASE.asc | sudo apt-key add -
sudo apt-get update
sudo apt-get install bunsen-keyring
sudo apt-get update

thought I would try try just first part of above command..

wget -O- https://pkg.bunsenlabs.org/BunsenLabs-RELEASE.asc


hugh@DELL-VOSTRO-BUNSENLABS:~$ wget -O- https://pkg.bunsenlabs.org/BunsenLabs-RELEASE.asc
--2019-07-13 22:25:14--  https://pkg.bunsenlabs.org/BunsenLabs-RELEASE.asc
Resolving pkg.bunsenlabs.org (pkg.bunsenlabs.org)... 78.47.156.207, 2a01:4f8:c17:2c09::2
Connecting to pkg.bunsenlabs.org (pkg.bunsenlabs.org)|78.47.156.207|:443... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://eu.pkg.bunsenlabs.org/BunsenLabs-RELEASE.asc [following]
--2019-07-13 22:25:23--  https://eu.pkg.bunsenlabs.org/BunsenLabs-RELEASE.asc
Resolving eu.pkg.bunsenlabs.org (eu.pkg.bunsenlabs.org)... 78.47.156.207, 2a01:4f8:c17:2c09::2
Connecting to eu.pkg.bunsenlabs.org (eu.pkg.bunsenlabs.org)|78.47.156.207|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2019-07-13 22:25:24 ERROR 404: Not Found.

hugh@DELL-VOSTRO-BUNSENLABS:~$ 

still getting error

any ideas how I can fix this?  thanks for any help.

Last edited by hughparker1 (2019-07-20 21:50:47)

Offline

#2 2019-07-14 02:58:01

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 5,575
Website

Re: [SOLVED] update error, GPG error, KEYEXPIRED 1561897138

The download url has changed, and the fingerprint checking method posted needed revision too.
A more recent announcement: https://forums.bunsenlabs.org/viewtopic.php?id=5913
And the BL website: https://www.bunsenlabs.org/repositories … nual-setup

Hopefully, that should work.


John
--------------------
( a boring Japan blog , Japan Links, idle twitterings  and GitStuff )
In case you forget, the rules.

Offline

#3 2019-07-14 12:19:06

hughparker1
Member
Registered: 2016-05-05
Posts: 51

Re: [SOLVED] update error, GPG error, KEYEXPIRED 1561897138

johnraff wrote:

The download url has changed, and the fingerprint checking method posted needed revision too.
A more recent announcement: https://forums.bunsenlabs.org/viewtopic.php?id=5913
And the BL website: https://www.bunsenlabs.org/repositories … nual-setup

Hopefully, that should work.

Thanks johnraff for the quick reply, I had a look at the first link...

https://forums.bunsenlabs.org/viewtopic.php?id=5913

earlybird

Workaround needed for updating new Helium installs

We asked our users to update their bunsen-keyring package before June 2019 due to our old PGP key expiring by this date. This is necessary to continue securely accessing our repositories. I overlooked however that we would also need to refresh our current install ISOs since they also contain the PGP key --- which didn't happen. This is why new installs will fail to update their packages from our repos since their key is expired. This doesn't break the installation however, please just follow the instructions below to manually download and install the updated bunsen-keyring package to work around the issue:

Execute the following sequence of commands. wget should not report any certificate errors:

cd ~
wget -O bunsen-keyring.deb https://eu.pkg.bunsenlabs.org/debian/po … -2_all.deb
sudo dpkg -i bunsen-keyring.deb
sudo apt-get update

After this, your BL installation will be able to function normally.

------------ here is my output from above three commands -------------

hugh@DELL-VOSTRO-BUNSENLABS:~$ cd ~
hugh@DELL-VOSTRO-BUNSENLABS:~$
hugh@DELL-VOSTRO-BUNSENLABS:~$ wget -O bunsen-keyring.deb https://eu.pkg.bunsenlabs.org/debian/pool/main/b/bunsen-keyring/bunsen-keyring_2019.01.19%2Bbl9-2_all.deb
--2019-07-14 12:52:17--  https://eu.pkg.bunsenlabs.org/debian/pool/main/b/bunsen-keyring/bunsen-keyring_2019.01.19%2Bbl9-2_all.deb
Resolving eu.pkg.bunsenlabs.org (eu.pkg.bunsenlabs.org)... 78.47.156.207, 2a01:4f8:c17:2c09::2
Connecting to eu.pkg.bunsenlabs.org (eu.pkg.bunsenlabs.org)|78.47.156.207|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 11172 (11K) [application/octet-stream]
Saving to: ‘bunsen-keyring.deb’
bunsen-keyring.deb   100%[=======================>]  10.91K  --.-KB/s   in 0s     
2019-07-14 12:52:17 (60.4 MB/s) - ‘bunsen-keyring.deb’ saved [11172/11172]
hugh@DELL-VOSTRO-BUNSENLABS:~$ 
hugh@DELL-VOSTRO-BUNSENLABS:~$ sudo dpkg -i bunsen-keyring.deb
[sudo] password for hugh: 
(Reading database ... 108335 files and directories currently installed.)
Preparing to unpack bunsen-keyring.deb ...
Unpacking bunsen-keyring (2019.01.19+bl9-2) over (2016.7.2-1) ...
Setting up bunsen-keyring (2019.01.19+bl9-2) ...
Installing new version of config file /etc/apt/trusted.gpg.d/bunsen-keyring.gpg ...
hugh@DELL-VOSTRO-BUNSENLABS:~$ 
hugh@DELL-VOSTRO-BUNSENLABS:~$ sudo apt-get update
Hit http://www.deb-multimedia.org jessie InRelease                  
Ign http://httpredir.debian.org jessie InRelease                    
Hit http://httpredir.debian.org jessie-updates InRelease
Ign http://httpredir.debian.org jessie-backports InRelease                        
Hit http://security.debian.org jessie/updates InRelease                           
Hit http://httpredir.debian.org jessie Release.gpg                                
Get:1 http://pkg.bunsenlabs.org jessie-backports InRelease [5,204 B]              
Ign http://httpredir.debian.org jessie-backports Release.gpg                      
Get:2 http://pkg.bunsenlabs.org bunsen-hydrogen InRelease [5,167 B]               
Hit http://httpredir.debian.org jessie Release                                    
Ign http://httpredir.debian.org jessie-backports Release                          
Hit http://www.deb-multimedia.org jessie/main amd64 Packages                      
Get:3 http://httpredir.debian.org jessie-updates/main amd64 Packages [20 B]
Hit http://www.deb-multimedia.org jessie/non-free amd64 Packages         
Hit http://www.deb-multimedia.org jessie/main Translation-en             
Hit http://www.deb-multimedia.org jessie/non-free Translation-en                  
Get:4 http://httpredir.debian.org jessie-updates/contrib amd64 Packages [20 B]    
Get:5 http://httpredir.debian.org jessie-updates/non-free amd64 Packages [20 B]   
Get:6 http://security.debian.org jessie/updates/main amd64 Packages [700 kB]      
Get:7 http://httpredir.debian.org jessie-updates/contrib Translation-en [14 B]    
Get:8 http://httpredir.debian.org jessie-updates/main Translation-en [14 B]       
Get:9 http://httpredir.debian.org jessie-updates/non-free Translation-en [14 B]   
Ign http://httpredir.debian.org jessie-backports/main amd64 Packages/DiffIndex    
Ign http://httpredir.debian.org jessie-backports/contrib amd64 Packages/DiffIndex 
Ign http://httpredir.debian.org jessie-backports/non-free amd64 Packages/DiffIndex
Get:10 http://pkg.bunsenlabs.org jessie-backports/main amd64 Packages [6,035 B]   
Get:11 http://security.debian.org jessie/updates/non-free amd64 Packages [4,527 B]
Get:12 http://security.debian.org jessie/updates/main Translation-en [354 kB]     
Hit http://security.debian.org jessie/updates/contrib amd64 Packages              
Get:13 http://pkg.bunsenlabs.org bunsen-hydrogen/main amd64 Packages [9,940 B]    
Get:14 http://security.debian.org jessie/updates/non-free Translation-en [11.8 kB]
Hit http://security.debian.org jessie/updates/contrib Translation-en              
Get:15 http://httpredir.debian.org jessie/main amd64 Packages [6,818 kB]          
Get:16 http://httpredir.debian.org jessie/non-free amd64 Packages [83.2 kB]       
Get:17 http://httpredir.debian.org jessie/main Translation-en [4,581 kB]          
Get:18 http://httpredir.debian.org jessie/non-free Translation-en [72.0 kB]       
Ign http://pkg.bunsenlabs.org jessie-backports/main Translation-en_GB             
Err http://httpredir.debian.org jessie-backports/non-free amd64 Packages          
  
Ign http://pkg.bunsenlabs.org jessie-backports/main Translation-en                
Hit http://httpredir.debian.org jessie/contrib amd64 Packages                     
Hit http://httpredir.debian.org jessie/contrib Translation-en                     
Ign http://pkg.bunsenlabs.org bunsen-hydrogen/main Translation-en_GB              
Ign http://pkg.bunsenlabs.org bunsen-hydrogen/main Translation-en                 
Ign http://httpredir.debian.org jessie-backports/contrib Translation-en_GB        
Ign http://httpredir.debian.org jessie-backports/contrib Translation-en           
Ign http://httpredir.debian.org jessie-backports/main Translation-en_GB      
Ign http://httpredir.debian.org jessie-backports/main Translation-en         
Ign http://httpredir.debian.org jessie-backports/non-free Translation-en_GB  
Ign http://httpredir.debian.org jessie-backports/non-free Translation-en
Err http://httpredir.debian.org jessie-backports/main amd64 Packages         
  404  Not Found [IP: 151.101.16.204 80]
Err http://httpredir.debian.org jessie-backports/contrib amd64 Packages
  404  Not Found [IP: 151.101.16.204 80]
Err http://httpredir.debian.org jessie-backports/non-free amd64 Packages
  404  Not Found [IP: 151.101.16.204 80]
Fetched 16.0 kB in 4s (3,339 B/s)                       
W: Failed to fetch http://httpredir.debian.org/debian/dists/jessie-backports/main/binary-amd64/Packages  404  Not Found [IP: 151.101.16.204 80]

W: Failed to fetch http://httpredir.debian.org/debian/dists/jessie-backports/contrib/binary-amd64/Packages  404  Not Found [IP: 151.101.16.204 80]

W: Failed to fetch http://httpredir.debian.org/debian/dists/jessie-backports/non-free/binary-amd64/Packages  404  Not Found [IP: 151.101.16.204 80]

E: Some index files failed to download. They have been ignored, or old ones used instead.
hugh@DELL-VOSTRO-BUNSENLABS:~$ 

I still see an Error, but I thought I would try upgrade command to see if it would be OK to proceed...

hugh@DELL-VOSTRO-BUNSENLABS:~$ sudo apt-get upgrade
[sudo] password for hugh: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... The following packages were automatically installed and are no longer required:
  libasprintf0c2 libelfg0 libjsoncpp0 libuuid-perl
Use 'apt-get autoremove' to remove them.
Done
The following packages have been kept back:
  btrfs-tools firmware-adi firmware-linux firmware-linux-nonfree firmware-ralink
  ghostscript hplip hplip-data ifupdown jq libfreerdp-cache1.1
  libfreerdp-client1.1 libfreerdp-core1.1 libfreerdp-gdi1.1 libgl1-mesa-dri
  libgphoto2-6 libgs9 libgs9-common libhpmud0 libldap-2.4-2 libpam-systemd
  libpulse-mainloop-glib0 libpulse0 libpulsedsp libreoffice
  libreoffice-avmedia-backend-gstreamer libreoffice-base libreoffice-base-core
  libreoffice-base-drivers libreoffice-calc libreoffice-common libreoffice-core
  libreoffice-draw libreoffice-gtk libreoffice-impress libreoffice-java-common
  libreoffice-math libreoffice-report-builder-bin libreoffice-sdbc-hsqldb
  libreoffice-style-galaxy libreoffice-style-tango libreoffice-writer
  libsane-hpaio libsystemd0 libudev1 libxatracker2 linux-image-amd64
  printer-driver-hpcups printer-driver-hpijs printer-driver-postscript-hp
  pulseaudio pulseaudio-utils python-pexpect python3-pexpect python3-uno rsyslog
  systemd udev uno-libs3 ure
The following packages will be upgraded:
  apt apt-transport-https apt-utils base-files bash bash-completion bind9-host
  busybox bzip2 ca-certificates ca-certificates-java conky-all cpp-4.9 cron cups
  cups-browsed cups-client cups-common cups-core-drivers cups-daemon cups-filters
  cups-filters-core-drivers cups-ppdc cups-server-common curl dbus dbus-x11
  dh-python dmidecode e2fslibs e2fsprogs file firefox-esr firmware-atheros
  firmware-bnx2 firmware-bnx2x firmware-brcm80211 firmware-intelwimax
  firmware-ipw2x00 firmware-ivtv firmware-iwlwifi firmware-libertas
  firmware-myricom firmware-netxen firmware-qlogic firmware-realtek
  firmware-samsung firmware-ti-connectivity fonts-opensymbol fuse gcc-4.9-base
  geany geany-common geoip-database gettext-base gnupg gnupg-agent gnupg2 gpgv
  gstreamer0.10-plugins-base gstreamer1.0-plugins-base gvfs gvfs-backends
  gvfs-common gvfs-daemons gvfs-fuse gvfs-libs hexchat hexchat-common htop
  i965-va-driver iceweasel intel-microcode irqbalance iucode-tool lame
  libapt-inst1.5 libapt-pkg4.12 libarchive13 libasprintf0c2 libassuan0
  libavcodec56 libavformat56 libavresample2 libavutil54 libbasicusageenvironment0
  libbind9-90 libblas-common libblas3 libbluray1 libbz2-1.0 libcaca0 libcomerr2
  libcups2 libcupscgi1 libcupsfilters1 libcupsimage2 libcupsmime1 libcupsppdc1
  libcurl3 libcurl3-gnutls libdbus-1-3 libdns-export100 libdns100 libdrm-intel1
  libdrm-nouveau2 libdrm-radeon1 libdrm2 libegl1-mesa libelf1 libexpat1 libfaad2
  libfftw3-double3 libfftw3-single3 libfontembed1 libfreerdp-codec1.1
  libfreerdp-common1.1.0 libfreerdp-crypto1.1 libfreerdp-locale1.1
  libfreerdp-primitives1.1 libfreerdp-rail1.1 libfreerdp-utils1.1 libfuse2 libgbm1
  libgcc1 libgcrypt20 libgd3 libgeoip1 libgfortran3 libgl1-mesa-glx libglapi-mesa
  libgles1-mesa libgles2-mesa libglib2.0-0 libglib2.0-bin libglib2.0-data
  libgnutls-deb0-28 libgnutls-openssl27 libgomp1 libgpg-error0 libgroupsock1
  libgssapi-krb5-2 libgstreamer-plugins-base0.10-0 libgstreamer-plugins-base1.0-0
  libgudev-1.0-0 libgusb2 libicu52 libidn11 libirs-export91 libisc-export95
  libisc95 libisccc90 libisccfg-export90 libisccfg90 libjasper1 libjpeg62-turbo
  libk5crypto3 libkpathsea6 libkrb5-3 libkrb5support0 libksba8 liblapack3
  liblcms2-2 libldb1 liblivemedia23 libllvm3.5 liblwres90 libmad0 libmagic1
  libmp3lame0 libmspack0 libmtp-common libmtp9 libncurses5 libncursesw5 libnss3
  libobjc4 libopencv-calib3d2.4 libopencv-contrib2.4 libopencv-core2.4
  libopencv-features2d2.4 libopencv-flann2.4 libopencv-highgui2.4
  libopencv-imgproc2.4 libopencv-legacy2.4 libopencv-ml2.4 libopencv-objdetect2.4
  libopencv-video2.4 libperl5.20 libpixman-1-0 libpolkit-agent-1-0
  libpolkit-backend-1-0 libpolkit-gobject-1-0 libpoppler-glib8 libpoppler46
  libprocps3 libpython2.7 libpython2.7-minimal libpython2.7-stdlib libpython3.4
  libpython3.4-minimal libpython3.4-stdlib libqtcore4 libqtgui4 libquadmath0
  libreoffice-sdbc-firebird libsdl-image1.2 libsdl1.2debian libsmbclient
  libsndfile1 libsnmp-base libsnmp30 libsoundtouch0 libsoup-gnome2.4-1
  libsoup2.4-1 libsqlite3-0 libss2 libssh2-1 libssl1.0.0 libstdc++6 libswscale3
  libtag1-vanilla libtag1c2a libtagc0 libtiff-tools libtiff5 libtinfo5
  libusageenvironment1 libva-drm1 libva-x11-1 libva1 libvdpau1 libvncclient0
  libwayland-egl1-mesa libwbclient0 libwinpr-crt0.1 libwinpr-crypto0.1
  libwinpr-dsparse0.1 libwinpr-environment0.1 libwinpr-file0.1 libwinpr-handle0.1
  libwinpr-heap0.1 libwinpr-input0.1 libwinpr-interlocked0.1 libwinpr-library0.1
  libwinpr-path0.1 libwinpr-pool0.1 libwinpr-registry0.1 libwinpr-rpc0.1
  libwinpr-sspi0.1 libwinpr-synch0.1 libwinpr-sysinfo0.1 libwinpr-thread0.1
  libwinpr-utils0.1 libx11-6 libx11-data libx11-xcb1 libxcursor1 libxml2
  libxnvctrl0 libxslt1.1 linux-base manpages ncurses-base ncurses-bin ncurses-term
  ntfs-3g openjdk-7-jre openjdk-7-jre-headless openssh-client openssh-server
  openssh-sftp-server openssl perl perl-base perl-modules pinentry-gtk2
  policykit-1 poppler-utils procps python-imaging python-libxml2 python-numpy
  python-paramiko python-pil python-pkg-resources python-six python-xdg python2.7
  python2.7-minimal python3-pkg-resources python3-six python3-xdg python3.4
  python3.4-minimal qtcore4-l10n rsync samba-libs shared-mime-info smartmontools
  systemd-sysv tar tzdata tzdata-java unzip usb-modeswitch usb-modeswitch-data
  va-driver-all vdpau-va-driver wget wpasupplicant xdg-utils
  xserver-xorg-video-ati xserver-xorg-video-intel xserver-xorg-video-radeon
315 upgraded, 0 newly installed, 0 to remove and 60 not upgraded.
Need to get 254 MB of archives.
After this operation, 141 MB of additional disk space will be used.
Do you want to continue? [Y/n] y



WARNING: The following packages cannot be authenticated!
  e2fslibs e2fsprogs tar systemd-sysv libcomerr2 libss2 libssl1.0.0
  bash-completion libsqlite3-0 libcupsppdc1 libcupsmime1 libcupsimage2 libcupscgi1
  cups-server-common cups-core-drivers cups cups-daemon cups-client libcups2
  cups-common cups-ppdc libbluray1 libgpg-error0 libgcrypt20 libmtp-common libmtp9
  libglib2.0-bin libglib2.0-0 libglib2.0-data geany geany-common libva1
  libwayland-egl1-mesa libdrm2 libgbm1 libegl1-mesa geoip-database libgeoip1
  libgles2-mesa libgles1-mesa libgl1-mesa-glx libglapi-mesa libgusb2 libllvm3.5
  libvdpau1 dmidecode libasprintf0c2 gettext-base manpages openssl
  ca-certificates-java libxnvctrl0 conky-all dh-python fonts-opensymbol libassuan0
  libksba8 pinentry-gtk2 hexchat hexchat-common htop libdrm-intel1 i965-va-driver
  irqbalance iucode-tool libblas-common libblas3 libdrm-nouveau2 libdrm-radeon1
  libfftw3-double3 libfftw3-single3 liblapack3 libva-drm1 libva-x11-1 python-pil
  python-imaging python-numpy python-pkg-resources python-six
  python3-pkg-resources python3-six shared-mime-info smartmontools usb-modeswitch
  usb-modeswitch-data vdpau-va-driver va-driver-all xserver-xorg-video-radeon
  xserver-xorg-video-ati xserver-xorg-video-intel
Install these packages without verification? [y/N] n

............... I choose "n" and paused for a moment ...........


then I looked at second link from johnraff ...   https://www.bunsenlabs.org/repositories … nual-setup

Manual setup

$ wget https://ddl.bunsenlabs.org/ddl/BunsenLabs-RELEASE.asc

hugh@DELL-VOSTRO-BUNSENLABS:~$ wget https://ddl.bunsenlabs.org/ddl/BunsenLabs-RELEASE.asc
--2019-07-14 13:03:11--  https://ddl.bunsenlabs.org/ddl/BunsenLabs-RELEASE.asc
Resolving ddl.bunsenlabs.org (ddl.bunsenlabs.org)... 78.47.156.207, 2a01:4f8:c17:2c09::2
Connecting to ddl.bunsenlabs.org (ddl.bunsenlabs.org)|78.47.156.207|:443... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://kelaino.bunsenlabs.org/ddl/BunsenLabs-RELEASE.asc [following]
--2019-07-14 13:03:11--  https://kelaino.bunsenlabs.org/ddl/BunsenLabs-RELEASE.asc
Resolving kelaino.bunsenlabs.org (kelaino.bunsenlabs.org)... 78.47.156.207, 2a01:4f8:c17:2c09::2
Connecting to kelaino.bunsenlabs.org (kelaino.bunsenlabs.org)|78.47.156.207|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5864 (5.7K) [application/pgp-keys]
Saving to: ‘BunsenLabs-RELEASE.asc’
BunsenLabs-RELEASE.a 100%[========================>]   5.73K  --.-KB/s   in 0s     
2019-07-14 13:03:11 (57.7 MB/s) - ‘BunsenLabs-RELEASE.asc’ saved [5864/5864]
hugh@DELL-VOSTRO-BUNSENLABS:~$ 

$ sudo apt-key add BunsenLabs-RELEASE.asc

hugh@DELL-VOSTRO-BUNSENLABS:~$ sudo apt-key add BunsenLabs-RELEASE.asc
[sudo] password for hugh: 
OK
hugh@DELL-VOSTRO-BUNSENLABS:~$ 

but I'm getting same message as before...

Install these packages without verification? [y/N] 

I haven't gone ahead yet with the upgrade yet.

any idea what might be wrong?

Last edited by hughparker1 (2019-07-14 12:23:46)

Offline

#4 2019-07-15 03:46:07

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 5,575
Website

Re: [SOLVED] update error, GPG error, KEYEXPIRED 1561897138

Ah! This isn't a BunsenLabs key issue at all! These are Debian Jessie packages failing to authenticate. Sorry - I should have caught that earlier.

With the Buster release Jessie is no longer "oldstable" status, which might affect the keys.

One thing you could try, before googling that topic, is 'sudo apt update' and 'sudo apt upgrade'.
I'm not sure about the Jessie version, but apt has some more functionality than apt-get for dealing with status changes like this. It came up for systems running Buster, which moved from "Testing" to "Stable". You might be able to resolve it by accepting the name change.


John
--------------------
( a boring Japan blog , Japan Links, idle twitterings  and GitStuff )
In case you forget, the rules.

Offline

#5 2019-07-15 05:28:30

hughparker1
Member
Registered: 2016-05-05
Posts: 51

Re: [SOLVED] update error, GPG error, KEYEXPIRED 1561897138

Thanks again for looking at my problem johnraff.  I tried "apt update" & "apt upgrade" but I still get same message as before...

Install these packages without verification? [y/N] 

I tied my best friend Google, but didn't see anything that was helpful (but I'm no expert tbh) so I didn't go ahead with the upgrade yet as I'm not sure of next steps.

I'm reluctant to do a fresh install as I have a lot of time invested in this particular OS. 

If anyone can see a way forward it would be much appreciated.  Thanks again for all the help so far.

Offline

#6 2019-07-15 08:10:11

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 5,575
Website

Re: [SOLVED] update error, GPG error, KEYEXPIRED 1561897138

Are Debian httpredir urls still supported? Try replacing them with the current recommended ones (google).
And deb-multimedia is no longer widely recommended. That third-party repository will need its own key anyway. Try just commenting it out of your sources list and update again?


John
--------------------
( a boring Japan blog , Japan Links, idle twitterings  and GitStuff )
In case you forget, the rules.

Offline

#7 2019-07-15 16:44:01

hughparker1
Member
Registered: 2016-05-05
Posts: 51

Re: [SOLVED] update error, GPG error, KEYEXPIRED 1561897138

johnraff wrote:

Are Debian httpredir urls still supported?

I tried Google with this question...
"Are Debian httpredir urls still supported? Can I replace them with the current recommended ones?"

got this result...
https://superuser.com/questions/1417617 … an/1417751
... but I don't have the knowledge to understand the answers.

Try replacing them with the current recommended ones (google).

I'm not sure how to do that tbh.

And deb-multimedia is no longer widely recommended. That third-party repository will need its own key anyway.

Where can I find the key?

Try just commenting it out of your sources list and update again?

I checked my sources.list and it looks like this...

hugh@DELL-VOSTRO-BUNSENLABS:~$ cat /etc/apt/sources.list

deb [url]http://httpredir.debian.org/debian[/url] jessie main non-free contrib
deb [url]http://security.debian.org/[/url] jessie/updates main contrib non-free

# jessie-updates, previously known as 'volatile'
deb [url]http://httpredir.debian.org/debian[/url] jessie-updates main contrib non-free

hugh@DELL-VOSTRO-BUNSENLABS:~$ 

also checked the Codename and Release...

hugh@DELL-VOSTRO-BUNSENLABS:~$ lsb_release -a
No LSB modules are available.
Distributor ID:    BunsenLabs
Description:    BunsenLabs GNU/Linux 8.9 (Hydrogen)
Release:    8.9
Codename:    bunsen-hydrogen
hugh@DELL-VOSTRO-BUNSENLABS:~$ 

1. does "sources.list" look OK ?  I was surprised to see "jessie", I expected to see "stretch".  Does anything need changed or removed?

2. I saw someone saying in this link... https://superuser.com/questions/1417617 … an/1417751  to try to remove the line containing "jessie-updates" to see if that fixes the problem, but don't feel confident to try that without checking first. 

Sorry for my lack of knowledge, but any advice would be much appreciated.

Last edited by hughparker1 (2019-07-15 16:58:08)

Offline

#8 2019-07-16 01:33:44

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 5,575
Website

Re: [SOLVED] update error, GPG error, KEYEXPIRED 1561897138

(Posting in a little detail here, in case any other searches end on this thread.)

hughparker1 wrote:
johnraff wrote:

Are Debian httpredir urls still supported?

I tried Google with this question...
"Are Debian httpredir urls still supported? Can I replace them with the current recommended ones?"

I find shorter google searches - just two or three key words - are usually more effective. With "debian httpredir" the top hit was:
https://wiki.debian.org/DebianGeoMirror
Which had a link marked 'httpredir.debian.org has been discontinued' pointing to:
https://lists.debian.org/debian-mirrors … 00000.html
The current replacement service is deb.debian.org:
https://deb.debian.org/

But anyway case you found a useful result.
https://superuser.com/questions/1417617 … an/1417751
And the advice in the highest-rated answer looked OK. They recommended using archive.debian.org for Jessie, while the LTS (long term support) page suggests deb.debian.org. At the moment Jessie is available in both places but in the future, once Jessie passes out of LTS status (June 2020), then it will be available only from the archives.

And deb-multimedia is no longer widely recommended. That third-party repository will need its own key anyway.

Where can I find the key?

Instructions here: http://www.deb-multimedia.org/
I don't see deb-multimedia in your sources.list, but there were references to it in your error messages. Do you have any files in /etc/apt/sources.list.d/ that add it? I would recommend removing (commenting-out) it for now to see if you can manage without. Do you recall if/why it was added?

I checked my sources.list and it looks like this...

deb [url]http://httpredir.debian.org/debian[/url] jessie main non-free contrib
deb [url]http://security.debian.org/[/url] jessie/updates main contrib non-free

# jessie-updates, previously known as 'volatile'
deb [url]http://httpredir.debian.org/debian[/url] jessie-updates main contrib non-free

I presume the and bits were added by the forum software? They should certainly not be in the actual file.

I was surprised to see "jessie", I expected to see "stretch".  Does anything need changed or removed?

Jessie is correct for BunsenLabs Hydrogen, but rather old now. You should upgrade to Stretch eventually, but fix all your current update issues first!

...remove the line containing "jessie-updates" to see if that fixes the problem

That's definitely part of the problem.

So, what I would suggest:

1) Disable deb-multimedia. Check /etc/apt/sources.list.d/ and if there is a file there which references deb-multimedia comment out those lines by putting a # at the beginning. If there are references to any other repositories, please post them back here.

2) Replace your current /etc/apt/sources.list (make a backup copy) with this:

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

deb http://security.debian.org/ jessie/updates main contrib non-free
#deb-src http://security.debian.org/ jessie/updates main contrib non-free

Note the deb-src lines are commented-out. You can re-enable them if you want.

3) Once again, run 'sudo apt update' and if there are no error messages this time, 'sudo apt upgrade'.

Good luck!


John
--------------------
( a boring Japan blog , Japan Links, idle twitterings  and GitStuff )
In case you forget, the rules.

Offline

#9 2019-07-16 21:37:43

hughparker1
Member
Registered: 2016-05-05
Posts: 51

Re: [SOLVED] update error, GPG error, KEYEXPIRED 1561897138

thanks again johnraff, you are most helpful.

I don't see deb-multimedia in your sources.list, but there were references to it in your error messages. Do you have any files in /etc/apt/sources.list.d/ that add it? I would recommend removing (commenting-out) it for now to see if you can manage without. Do you recall if/why it was added?

yes, I found this file...

hugh@DELL-VOSTRO-BUNSENLABS:/etc/apt/sources.list.d$ cat deb-multi.list
# added by bl-welcome
# Multimedia repository
deb http://www.deb-multimedia.org jessie main non-free
hugh@DELL-VOSTRO-BUNSENLABS:/etc/apt/sources.list.d$ 

do you think "deb-multimedia" was added during original installation? it's saying... "# added by bl-welcome"

I have now commented out this line.

...

I checked my sources.list

I presume the and bits were added by the forum software? They should certainly not be in the actual file.

I think they may have been added during pasting the details into the forum post, as the actual file is ok.


johnraff said...

So, what I would suggest:

1) Disable deb-multimedia. Check /etc/apt/sources.list.d/ and if there is a file there which references deb-multimedia comment out those lines by putting a # at the beginning. If there are references to any other repositories, please post them back here.

I have commented out line with "deb-multimedia"

here is details of other repositories....

hugh@DELL-VOSTRO-BUNSENLABS:~$ cd /etc/apt/sources.list.d/
hugh@DELL-VOSTRO-BUNSENLABS:/etc/apt/sources.list.d$ ls
bunsen-jessie-backports.list  debian-jessie-backports.list
bunsen.list                   deb-multi.list
hugh@DELL-VOSTRO-BUNSENLABS:/etc/apt/sources.list.d$ 


hugh@DELL-VOSTRO-BUNSENLABS:/etc/apt/sources.list.d$ cat bunsen-jessie-backports.list
# added by bl-welcome
# BunsenLabs backports
deb http://pkg.bunsenlabs.org/debian jessie-backports main

hugh@DELL-VOSTRO-BUNSENLABS:/etc/apt/sources.list.d$ 


hugh@DELL-VOSTRO-BUNSENLABS:/etc/apt/sources.list.d$ cat debian-jessie-backports.list
# added by bl-welcome
# Debian backports
deb http://httpredir.debian.org/debian jessie-backports main contrib non-free
hugh@DELL-VOSTRO-BUNSENLABS:/etc/apt/sources.list.d$ 


hugh@DELL-VOSTRO-BUNSENLABS:/etc/apt/sources.list.d$ cat bunsen.list
deb http://pkg.bunsenlabs.org/debian bunsen-hydrogen main
hugh@DELL-VOSTRO-BUNSENLABS:/etc/apt/sources.list.d$ 


hugh@DELL-VOSTRO-BUNSENLABS:/etc/apt/sources.list.d$ cat deb-multi.list
# added by bl-welcome
# Multimedia repository
deb http://www.deb-multimedia.org jessie main non-free
hugh@DELL-VOSTRO-BUNSENLABS:/etc/apt/sources.list.d$ 

2) Replace your current /etc/apt/sources.list (make a backup copy) with this:

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

deb http://security.debian.org/ jessie/updates main contrib non-free
#deb-src http://security.debian.org/ jessie/updates main contrib non-free

Note the deb-src lines are commented-out. You can re-enable them if you want.

$ cp /etc/apt/sources.list /home/hugh.sources.list.bak

update sources.list with above details

3) Once again, run 'sudo apt update' and if there are no error messages this time, 'sudo apt upgrade'.

Good luck!

$ sudo apt update

my error results are same as before....

Err http://httpredir.debian.org jessie-backports/main amd64 Packages           
  404  Not Found [IP: 151.101.16.204 80]
Err http://httpredir.debian.org jessie-backports/contrib amd64 Packages        
  404  Not Found [IP: 151.101.16.204 80]
Err http://httpredir.debian.org jessie-backports/non-free amd64 Packages       
  404  Not Found [IP: 151.101.16.204 80]
Fetched 11.7 MB in 15s (767 kB/s)                                              
W: Failed to fetch http://httpredir.debian.org/debian/dists/jessie-backports/main/binary-amd64/Packages  404  Not Found [IP: 151.101.16.204 80]

W: Failed to fetch http://httpredir.debian.org/debian/dists/jessie-backports/contrib/binary-amd64/Packages  404  Not Found [IP: 151.101.16.204 80]

W: Failed to fetch http://httpredir.debian.org/debian/dists/jessie-backports/non-free/binary-amd64/Packages  404  Not Found [IP: 151.101.16.204 80]

E: Some index files failed to download. They have been ignored, or old ones used instead.
hugh@DELL-VOSTRO-BUNSENLABS:~$ 

so I tried commenting out httpredir from ... "/etc/apt/sources.list.d/debian-jessie-backports.list"

file now looks like...

hugh@DELL-VOSTRO-BUNSENLABS:/etc/apt/sources.list.d$ cat debian-jessie-backports.list
# added by bl-welcome
# Debian backports
# deb http://httpredir.debian.org/debian jessie-backports main contrib non-free
hugh@DELL-VOSTRO-BUNSENLABS:/etc/apt/sources.list.d$ 
$ sudo nano /etc/apt/sources.list.d/debian-jessie-backports.list


$ sudo apt update


hugh@DELL-VOSTRO-BUNSENLABS:~$ sudo apt update
Ign http://deb.debian.org jessie InRelease    
Hit http://deb.debian.org jessie Release.gpg                                                                 
Hit http://security.debian.org jessie/updates InRelease                                                      
Hit http://pkg.bunsenlabs.org jessie-backports InRelease
Hit http://deb.debian.org jessie Release                                
Hit http://pkg.bunsenlabs.org bunsen-hydrogen InRelease                 
Get:1 http://security.debian.org jessie/updates/main amd64 Packages [700 kB]                
Get:2 http://pkg.bunsenlabs.org jessie-backports/main amd64 Packages [6,035 B]                               
Get:3 http://security.debian.org jessie/updates/non-free amd64 Packages [4,527 B]                            
Get:4 http://security.debian.org jessie/updates/main Translation-en [354 kB]                                 
Hit http://security.debian.org jessie/updates/contrib amd64 Packages                                         
Get:5 http://security.debian.org jessie/updates/non-free Translation-en [11.8 kB]                            
Hit http://security.debian.org jessie/updates/contrib Translation-en                                         
Get:6 http://deb.debian.org jessie/main amd64 Packages [6,818 kB]                                            
Get:7 http://deb.debian.org jessie/contrib amd64 Packages [49.8 kB]                                          
Get:8 http://deb.debian.org jessie/non-free amd64 Packages [83.2 kB]                                         
Get:9 http://pkg.bunsenlabs.org bunsen-hydrogen/main amd64 Packages [9,940 B]                                
Get:10 http://deb.debian.org jessie/contrib Translation-en [38.3 kB]                                         
Get:11 http://deb.debian.org jessie/main Translation-en [4,581 kB]                                           
Get:12 http://deb.debian.org jessie/non-free Translation-en [72.0 kB]                    
Ign http://pkg.bunsenlabs.org jessie-backports/main Translation-en_GB       
Ign http://pkg.bunsenlabs.org jessie-backports/main Translation-en          
Ign http://pkg.bunsenlabs.org bunsen-hydrogen/main Translation-en_GB        
Ign http://pkg.bunsenlabs.org bunsen-hydrogen/main Translation-en
Reading package lists... Done                         
Building dependency tree       
Reading state information... Done
286 packages can be upgraded. Run 'apt list --upgradable' to see them.
hugh@DELL-VOSTRO-BUNSENLABS:~$ 

NO ERRORS !!!

$ sudo apt upgrade

completed without any errors. Fantastic result!

Many thanks johnraff for taking the time and effort to advise me, you have been most helpful and it is very much appreciated.

EDIT

Now that there are no errors, can I replace jessie with stretch in my sources.list then run

sudo apt update
sudo apt upgrade
sudo apt dist-upgrade

Last edited by hughparker1 (2019-07-16 21:43:33)

Offline

#10 2019-07-17 02:19:25

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 5,575
Website

Re: [SOLVED] update error, GPG error, KEYEXPIRED 1561897138

It sounds as if you've got it. cool

jessie-backports have moved to the Debian archives, but if you're planning to upgrade to Stretch (recommended) then you don't need to add any extra repos at this point - they'll just complicate things.

The deb-multimedia repo was offered as an option in the BunsenLabs Hydrogen bunsen-welcome script. We took it out in Helium because it was causing some issues, and was no longer as useful as it used to be anyway. I strongly suggest you leave it commented-out of your sources, at least until the Stretch upgrade is successfully done.

How about using your system for a few days before upgrading to Stretch? It's not just a question of replacing jessie with stretch in sources - there are some other things to check/think about.

---
A couple of tutorials:
https://www.howtoforge.com/tutorial/how … 9-stretch/
https://linuxconfig.org/how-to-upgrade- … -9-stretch
and a very detailed discussion from the Debian Stretch release notes:
https://www.debian.org/releases/stretch … ng.en.html
and from the BL forum:
https://forums.bunsenlabs.org/viewtopic.php?id=3403

For now, you might want to replace
httpredir.debian.org
with
deb.debian.org
anywhere it appears in your sources.
httpredir is obsolete and at the moment redirects to deb.debian but it might stop working in the future.

Anyway, here's the definitive summary of all the sources.list entries you'll need for BunsenLabs Helium:
https://forums.bunsenlabs.org/viewtopic … 552#p21552

I'd suggest upgrading the BunsenLabs sources (from Hydrogen to Helium) after the Debian upgrade has finished, and all the glitches tidied up.
Search this forum for topics titled "upgrade", and it looks as if you've been here before!
https://forums.bunsenlabs.org/viewtopic.php?id=4780


John
--------------------
( a boring Japan blog , Japan Links, idle twitterings  and GitStuff )
In case you forget, the rules.

Offline

#11 2019-07-20 21:49:09

hughparker1
Member
Registered: 2016-05-05
Posts: 51

Re: [SOLVED] update error, GPG error, KEYEXPIRED 1561897138

Thanks johnraff for your help on this.  You have provided lots of information.

I would like to try upgrade to latest level rather than fresh install to be honest.  That way I will learn lots more.  The last resort might be a fresh install but I will give it my best shot first.

I'm off to a wedding on Monday (my youngest daughter), destination Rome.  so I'll be otherwise occupied for next week.

But I will be back in UK the following week, and I'll keep you posted on my progress.  Thanks again for ALL your help.

Offline

Board footer

Powered by FluxBB