LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-16-2018, 12:34 AM   #1
pedros
Member
 
Registered: May 2017
Posts: 85

Rep: Reputation: Disabled
Authentication on off-line system?


Can this be fixed on my debian 9.3 off-line system? When I run #
Code:
apt-get install --allow-unauthenticated -y
, message says
WARNING: The following packages cannot be authenticated!
Authentication warning overridden.
And when I run #
Code:
apt-get update
, message says
W: The repository 'file:/os/debian/9.3.0/amd64/DVD/extract/01 stretch Release' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
I previously asked this question for debian 8, I was told it can not be done. Now I an asking again for debian 9. APT-SECURE(8) says I need a Release file signing key. Ok, where can I get it?
For more details, see pdscript.com/d9316.txt.
 
Old 03-16-2018, 05:30 PM   #2
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
What do you mean by off-line? The first command allows unauthenticated operation, but you give it nothing to do. Second command will update, but you are not allowing unauthenticated operation. At least this is how I understand it.

Last edited by Emerson; 03-16-2018 at 05:32 PM.
 
Old 03-16-2018, 06:56 PM   #3
pedros
Member
 
Registered: May 2017
Posts: 85

Original Poster
Rep: Reputation: Disabled
off-line means not connected to the internet, or any other system.
In this example, I omited package name from the first command because it happens to all packages.
In actual use, I do add a package name.
 
Old 03-19-2018, 07:43 AM   #4
Stéphane Ascoët
Member
 
Registered: Feb 2004
Location: Fleury-les-Aubrais, 120 km south of Paris
Distribution: Devuan, Debian, Mandrake, Freeduc (the one I used to work on), Slackware, MacOS X
Posts: 251

Rep: Reputation: 49
There are several solutions:
-Get Debian CD-ROMs
-Create a local mirror
-Download needed packages on another computer
-...
 
Old 03-20-2018, 02:15 AM   #5
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
it's only a warning.
there is no problem.
i guess you could switch off ALL warnings in apt settings, but then are you sure you really want to do that?
 
Old 03-20-2018, 09:34 AM   #6
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Quote:
Originally Posted by pedros View Post
W: The repository 'file:/os/debian/9.3.0/amd64/DVD/extract/01 stretch Release' is not signed.
Show us your sources?
 
Old 03-21-2018, 08:09 PM   #7
pedros
Member
 
Registered: May 2017
Posts: 85

Original Poster
Rep: Reputation: Disabled
Is this forum working? I posted, but the post did not stay. I said, answers are in pdscript.com/d9316.txt
 
Old 03-28-2018, 02:06 PM   #8
pedros
Member
 
Registered: May 2017
Posts: 85

Original Poster
Rep: Reputation: Disabled
ok, I guess it can not be done.
 
  


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
Proxy Authentication on command line vikas027 Linux - Server 11 01-09-2012 08:11 AM
Authentication system chris.mallia Linux - Networking 1 06-30-2010 03:09 AM
Off line authentication and Samba tpe Linux - Server 0 06-20-2008 03:38 AM
Command Line e-mail client w/Authentication Needed!! rootking Linux - Software 8 12-04-2005 07:00 PM
authentication failed new system edvanduhlizer Linux - General 3 01-16-2005 09:58 PM

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

All times are GMT -5. The time now is 08:24 PM.

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