Re: Problem with apt maybe related to installation/configuration of apt-cacher-ng

2023-05-31 Thread Dennis Heddicke

On 5/31/23 14:42, john doe wrote:

On 5/31/23 11:36, Dennis Heddicke wrote:

Yes, after purging apt-cacher-ng the problem was gone. And after i
reinstalled apt-cacher-ng and configured it that way:



For the sake of simplicity and troubleshooting, please modify
sources.list directly.

What does acng.conf look like?


Note that this list uses bottom-posting! :)

--
John Doe



Sorry, that it was confusing. I meant, that there are no erros. It works 
fine.


The sample:

sudo apt update
[sudo] password for dennis:
Hit:1 http://deb.debian.org/debian bookworm InRelease
Hit:2 http://security.debian.org/debian-security bookworm-security 
InRelease

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.

And i will try to change the URL for https later, but the problem is 
solved so far.




Re: Problem with apt maybe related to installation/configuration of apt-cacher-ng

2023-05-31 Thread Dennis Heddicke
Yes, after purging apt-cacher-ng the problem was gone. And after i 
reinstalled apt-cacher-ng and configured it that way:


Acquire::http {Proxy "http://localhost:3142";};
Acquire::https {Proxy "http://";};

there are any errors too, although i don't know what  caused them. But 
thank you for your help.


On 5/31/23 08:43, john doe wrote:

On 5/30/23 19:39, Dennis Heddicke wrote:

Hello,

i have a problem with "apt update", everytime i execute the command, i
get the following error messages:

Get:1 http://security.debian.org/debian-security bookworm-security
InRelease [48,0 kB]
Get:2 http://deb.debian.org/debian bookworm InRelease [193 kB]
Err:1 http://security.debian.org/debian-security bookworm-security
InRelease
  The following signatures were invalid: BADSIG 112695A0E562B32A Debian
Security Archive Automatic Signing Key (10/buster) 


Err:2 http://deb.debian.org/debian bookworm InRelease
  The following signatures were invalid: BADSIG 648ACFD622F3D138 Debian
Archive Automatic Signing Key (10/buster) 
Fetched 241 kB in 0s (507 kB/s)
Reading package lists... Done
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/debian-security bookworm-security
InRelease: The following signatures were invalid:
BADSIG 112695A0E562B32A Debian Security Archive Automatic Signing Key
(10/buster) 
W: An error occurred during the signature verification. The repository
is not updated and the previous index files will be used.
GPG error: http://deb.debian.org/debian bookworm InRelease: The
following signatures were invalid: BADSIG 648ACFD622F3D
138 Debian Archive Automatic Signing Key (10/buster) 


W: Failed to fetch http://deb.debian.org/debian/dists/bookworm/InRelease
  The following signatures were invalid: BADSIG 648ACFD622F3D138
Debian Archive Automatic Signing Key (10/buster) 
W: Failed to fetch
http://security.debian.org/debian-security/dists/bookworm-security/InRelease 
 The following signatures were invalid:

BADSIG 112695A0E562B32A Debian Security Archive Automatic Signing Key
(10/buster) 
W: Some index files failed to download. They have been ignored, or old
ones used instead.

I use Debian 12. The only changes i did before the problem occurred,
were the installation of apt-cacher-ng and i ran "mach bootstrap" in a
chroot.



If you remove apt-cacher-ng, does it work at all?

--
John Doe



Problem with apt maybe related to installation/configuration of apt-cacher-ng

2023-05-30 Thread Dennis Heddicke

Hello,

i have a problem with "apt update", everytime i execute the command, i 
get the following error messages:


Get:1 http://security.debian.org/debian-security bookworm-security 
InRelease [48,0 kB]

Get:2 http://deb.debian.org/debian bookworm InRelease [193 kB]
Err:1 http://security.debian.org/debian-security bookworm-security 
InRelease
 The following signatures were invalid: BADSIG 112695A0E562B32A Debian 
Security Archive Automatic Signing Key (10/buster) 

Err:2 http://deb.debian.org/debian bookworm InRelease
 The following signatures were invalid: BADSIG 648ACFD622F3D138 Debian 
Archive Automatic Signing Key (10/buster) 

Fetched 241 kB in 0s (507 kB/s)
Reading package lists... Done
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/debian-security bookworm-security 
InRelease: The following signatures were invalid:
BADSIG 112695A0E562B32A Debian Security Archive Automatic Signing Key 
(10/buster) 
W: An error occurred during the signature verification. The repository 
is not updated and the previous index files will be used.
GPG error: http://deb.debian.org/debian bookworm InRelease: The 
following signatures were invalid: BADSIG 648ACFD622F3D

138 Debian Archive Automatic Signing Key (10/buster) 
W: Failed to fetch http://deb.debian.org/debian/dists/bookworm/InRelease 
 The following signatures were invalid: BADSIG 648ACFD622F3D138

Debian Archive Automatic Signing Key (10/buster) 
W: Failed to fetch 
http://security.debian.org/debian-security/dists/bookworm-security/InRelease 
 The following signatures were invalid:
BADSIG 112695A0E562B32A Debian Security Archive Automatic Signing Key 
(10/buster) 
W: Some index files failed to download. They have been ignored, or old 
ones used instead.


I use Debian 12. The only changes i did before the problem occurred, 
were the installation of apt-cacher-ng and i ran "mach bootstrap" in a 
chroot. I don't think, the last thing would change this much the 
operating system, although it was a stupid idea. Even more stupid, since 
the solution for my problem  was the installation of "sudo" in the 
chroot.  So maybe the first one is responsible for the problem.


So far I tried the following configurations for apt-cacher-ng, to 
resolve the problem:


Acquire::http::proxy "http://localhost:3142;;
Acquire::https::proxy "https://;;

and

Acquire::http {Proxy "http://127.0.0.1:3142;; };
Acquire::https {Proxy "https://;; };

but none solved it.

I hope someone can help me with my problem. Thank you in advance.

Best Regards
Dennis