Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[SOLVED] Chrooted Stable: "apt update" fails execution

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
User avatar
makh
Posts: 651
Joined: 2011-10-09 09:16

[SOLVED] Chrooted Stable: "apt update" fails execution

#1 Post by makh »

Hi

My chroot is successful to connect to the internet, but apt, apt-get, aptitude gives the following issue:

Code: Select all

Ign:1 http://ftp.us.debian.org/debian stretch InRelease                                          
Get:2 http://ftp.us.debian.org/debian stretch-updates InRelease [91.0 kB]
Get:3 http://ftp.debian.org/debian stretch-backports InRelease [91.8 kB]
Get:4 http://security.debian.org stretch/updates InRelease [62.9 kB]                               
Err:2 http://ftp.us.debian.org/debian stretch-updates InRelease                                    
  Unknown error executing apt-key
Hit:5 http://ftp.us.debian.org/debian stretch Release                                              
Err:6 http://ftp.us.debian.org/debian stretch Release.gpg                                          
  Unknown error executing apt-key
Err:4 http://security.debian.org stretch/updates InRelease                                         
  Unknown error executing apt-key
Err:3 http://ftp.debian.org/debian stretch-backports InRelease                                     
  Unknown error executing apt-key
Fetched 246 kB in 1min 14s (3,277 B/s)                                                             
Error: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.PackageKit was not provided by any .service files
Reading package lists... Done
Building dependency tree       
Reading state information... Done
All packages are up to date.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://ftp.us.debian.org/debian stretch-updates InRelease: Unknown error executing apt-key
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://ftp.us.debian.org/debian stretch Release: Unknown error executing apt-key
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://security.debian.org stretch/updates InRelease: Unknown error executing apt-key
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://ftp.debian.org/debian stretch-backports InRelease: Unknown error executing apt-key
W: Failed to fetch http://ftp.us.debian.org/debian/dists/stretch-updates/InRelease  Unknown error executing apt-key
W: Failed to fetch http://security.debian.org/dists/stretch/updates/InRelease  Unknown error executing apt-key
W: Failed to fetch http://ftp.debian.org/debian/dists/stretch-backports/InRelease  Unknown error executing apt-key
W: Failed to fetch http://ftp.us.debian.org/debian/dists/stretch/Release.gpg  Unknown error executing apt-key
W: Some index files failed to download. They have been ignored, or old ones used instead.
I dont have this issue with old-stable, this is only with the current stable.

Edit 1: the install is on hard disk partition.

Thankyou

Edit 2: Solution: used within the chroot environment:
source /etc/profile
ThinkPad E14: Arch, Debian Stable
GUI: Xfce

For new: Try MX Linux, Linux Mint; later join Debian Stable

Post Reply