LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 11-12-2023, 10:34 AM   #1
brico
LQ Newbie
 
Registered: Aug 2011
Posts: 6

Rep: Reputation: Disabled
Stretch : not readable by user '_apt' executing apt-key


Bonjour,

I'm not really looking for a solution, but rather advice.

I need to run a Debian Stretch (I can't use 11 and 12, unless I go to my hierarchy and cry...).

I modified "/etc/apt/sources.list" so as to have the repositories accessible today: unless I'm mistaken, this gives:
---------------------------
deb http://archive.debian.org/debian stretch main non-free contrib
deb-src http://archive.debian.org/debian stretch main non-free contrib
---------------------------

But during an "apt-get update", I still get the error "http://archive.debian.org/debian/dists/stretch/Release.gpg: The key(s) in the keyring /etc /apt/trusted.gpg are inored as the file is not readable by user '_apt' executing apt-key".

I haven't attempted to install any packages...

I then need to install a lot of software (Apache, PHP, Mysql, FTP server, but also Asterisk server, Fusion, GLPI, postfix, dovecot, squirrelmail, etc.).

I don't know these "archive" repositories: I have a horrible doubt: will, whatever the package to be installed, this package be available in these archives?

Many thanks in advance.

Last edited by michaelk; 11-12-2023 at 11:10 AM.
 
Old 11-12-2023, 02:02 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,778

Rep: Reputation: 5935Reputation: 5935Reputation: 5935Reputation: 5935Reputation: 5935Reputation: 5935Reputation: 5935Reputation: 5935Reputation: 5935Reputation: 5935Reputation: 5935
Remember this is an English only forum.

Try:
apt-get install debian-archive-keyring

apt-get update

Since Stretch has reached end of life even for long term support which is for security updates I would talk to the hierarchy and insist you need to use 12.
 
1 members found this post helpful.
Old 11-12-2023, 03:25 PM   #3
brico
LQ Newbie
 
Registered: Aug 2011
Posts: 6

Original Poster
Rep: Reputation: Disabled
I apologize for having writen in French. I read computer documentation in English or French without realizing it. I was tired, and didn't see that we were in English.

Thanks for your answer.

Your solution works. Thanks, really.

I've tested the 12. It's working fine. But I need, for it, new server ! I'll try to get it !

Thanks for all.

Best regards.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] echo 'Binary::apt::APT::Keep-Downloaded-Packages "true";' \ > /etc/apt/apt.conf.d/01keep-debs Outabux Debian 10 12-30-2022 12:12 PM
Crontab not executing my shell script its executing standlaone atulkvtiwari Linux - Newbie 15 12-04-2018 06:25 AM
Make apt-rdepends print apt-get readable output Ubuntu. Zssfssz Linux - General 2 01-31-2012 11:36 PM
"Enter Key" not working, how to map "Enter Key" functionality to "F9" Key srinihi Linux - Newbie 1 04-03-2009 02:46 PM
Vista & Ext 3 HD Readable/Non-Readable HCour Linux - Newbie 1 01-19-2009 02:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 08:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration