LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-22-2017, 06:36 PM   #1
pedros
Member
 
Registered: May 2017
Posts: 85

Rep: Reputation: Disabled
How to authenticate packages offline?


I install debian 8.5 system from dvd. I accept most default settings. I store software repository in /mnt. I avoid changing most system settings. I do not allow internet to adjust my system. I do not setup sudo.

Remove package ats-lang-anairiats.
Code:
sudo apt-get -y install ats-lang-anairiats
Quote:
WARNING: The following packages cannot be authenticated!
Will keyring fix this? Can keyring be setup offline?
 
Old 05-22-2017, 06:58 PM   #2
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
Will keyring fix this?
No.

I asked in your other thread (which may be why we're 'here'?) if you had modified
anything at or below /etc/apt/ ?

Handbook.
 
Old 05-23-2017, 09:07 AM   #3
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,659
Blog Entries: 4

Rep: Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941
I think that you have to expect to use the Internet to finish installation from a DVD, because whatever's on that DVD is likely to be stale and that might conceivably include a problem with a package's signature-key or even contents. Certainly, you should never install a package that does not verify. Search the vendor's support site for a trouble-ticket referencing it.
 
Old 05-23-2017, 09:16 AM   #4
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth&Mars (I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that work on freest-HW; has been KDE, CLI, Novena-SBC but open.. http://goo.gl/NqgqJx &c ;-)
Posts: 4,888
Blog Entries: 2

Rep: Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567
Don't allow the interweb, allow Debian... plus, try:
https://cdimage.debian.org/cdimage/u...y-live-builds/
Attached Thumbnails
Click image for larger version

Name:	the-true-origin-of-the-tin-foil-hat-and-why-its-the-stupidest-thing-to-wear-if-youre-paranoid-ab.jpg
Views:	11
Size:	120.1 KB
ID:	25090  
 
Old 05-24-2017, 02:29 PM   #5
pedros
Member
 
Registered: May 2017
Posts: 85

Original Poster
Rep: Reputation: Disabled
I manually do this after install.
Quote:
/etc/apt/sources.list
deb file:/mnt/01/ jessie main contrib
deb file:/mnt/02/ jessie main contrib
deb file:/mnt/03/ jessie main contrib
deb file:/mnt/04/ jessie main contrib
deb file:/mnt/05/ jessie main contrib
deb file:/mnt/06/ jessie main contrib
deb file:/mnt/07/ jessie main contrib
deb file:/mnt/08/ jessie main contrib
deb file:/mnt/09/ jessie main contrib
deb file:/mnt/10/ jessie main contrib
deb file:/mnt/11/ jessie main contrib
deb file:/mnt/12/ jessie main contrib
deb file:/mnt/13/ jessie main contrib
This was all done automatically.
Quote:
/etc/apt/trusted.gpg.d/
debian-archive-jessie-automatic.gpg
debian-archive-jessie-security-automatic.gpg
debian-archive-jessie-stable.gpg
debian-archive-squeeze-automatic.gpg
debian-archive-squeeze-stable.gpg
debian-archive-wheezy-automatic.gpg
debian-archive-wheezy-stable.gpg
I have not modified anything else.

debian-handbook/html/en-US/sect.package-authentication.html
The Debian Administrator's Handbook. 6.5. Checking Package Authenticity.
Says to run this command.
Code:
apt-key add < key.asc
But how do I make key.asc?
 
Old 05-24-2017, 02:43 PM   #6
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth&Mars (I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that work on freest-HW; has been KDE, CLI, Novena-SBC but open.. http://goo.gl/NqgqJx &c ;-)
Posts: 4,888
Blog Entries: 2

Rep: Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567
You are aware for security updates you need to connect or download a full (at lest) netinst over and over?

From the internet... https://wiki.debian.org/SecureApt
 
Old 05-24-2017, 03:03 PM   #7
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Is the computer connected to the internet or it it not?
If it is then you can just download the various updates.
If not then just choose not to have any internet mirror during install and forget about it.
If you did choose not to use an internet mirror during install then please elaborate on how exactly you are installing, which options you chose and the exact errors.
 
Old 05-24-2017, 07:11 PM   #8
pedros
Member
 
Registered: May 2017
Posts: 85

Original Poster
Rep: Reputation: Disabled
to Habitual, LQ Addict.
You say keyring will not fix this. Can anything fix it? Other than allowing internet to automatically adjust my system.

to sundialsvcs, LQ Guru.
Thank you, that is a good opinion. Slightly outdated, or stale, is ok with me. And to be more updated, I simply get a new official debian repository dvd set.
Quote:
Search the vendor's support site for a trouble-ticket referencing it.
That sounds like a good way to find the answer. I assume you mean the place where I get the dvd set from. And I also guess that the product is always the same, no matter who the dvd vendor is. They are all made from the iso file on the debian website.

to jamison20000e, Senior Member.
I do not understand. You say I should download a cd image, then install my system from that? But I like my current system. To fix the problem, is that what I need, a security update? I thought a new dvd set would have a security update. And I remember debian 6 had the same problem.

to 273, LQ Addict.
Is the computer connected to the internet or it it not?
Yes, the computer is connected to the internet.

If it is then you can just download the various updates.
When I want an update, I simply get an updated dvd set. I have done that many times.

If not then just choose not to have any internet mirror during install and forget about it.
But apt-get still says WARNING: The following packages cannot be authenticated!

If you did choose not to use an internet mirror during install then please elaborate on how exactly you are installing, which options you chose and the exact errors.
I installed my system from debian 8.5 dvd set, with internet off, when the dvd set was first released. That was a long time ago. But as I recall, I chose most of the default answers.

I think you are forgetting the title of this post. How to authenticate packages offline?
 
Old 05-24-2017, 11:53 PM   #9
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth&Mars (I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that work on freest-HW; has been KDE, CLI, Novena-SBC but open.. http://goo.gl/NqgqJx &c ;-)
Posts: 4,888
Blog Entries: 2

Rep: Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567
You use a public key (from online) to authenticate packages...
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
install packages offline falcon24 Linux - Newbie 2 09-15-2015 06:42 AM
920131 - how to install packages offline? hamidi2 Linux - Newbie 5 04-20-2013 10:27 AM
[opensuse] How to manage packages in an offline computer? nfs1mw SUSE / openSUSE 2 11-10-2012 02:04 PM
[SOLVED] Trouble with offline installation of packages theW Arch 4 08-12-2011 08:10 AM
installing multiple packages and dependencies offline quidoloremipsum Debian 3 02-01-2009 09:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:03 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