What's the best way to install apt packages from Debian Stretch on Raspbian Jessie?
I'm using Raspbian Jessie but there are a few packages I want that aren't available (but are in Debian Stretch repos). I want to temporarily use the Stretch repo to install them (and any otherwise-unsatisfied dependencies) but without making anything else come from there in the future.
I understand things might not work; etc.; I'm just trying something out on a throwaway install :)
I tried rigging some files (based on this answer) but I got this.. not sure a) how to fix it and b) whether I'm doing things the right way!
W: GPG error: http://ftp.uk.debian.org stretch InRelease: The
following signatures couldn't be verified because the public
key is not available:
NO_PUBKEY 8B48AD6246925553 NO_PUBKEY 7638D0442B90D010
debian apt
|
show 4 more comments
I'm using Raspbian Jessie but there are a few packages I want that aren't available (but are in Debian Stretch repos). I want to temporarily use the Stretch repo to install them (and any otherwise-unsatisfied dependencies) but without making anything else come from there in the future.
I understand things might not work; etc.; I'm just trying something out on a throwaway install :)
I tried rigging some files (based on this answer) but I got this.. not sure a) how to fix it and b) whether I'm doing things the right way!
W: GPG error: http://ftp.uk.debian.org stretch InRelease: The
following signatures couldn't be verified because the public
key is not available:
NO_PUBKEY 8B48AD6246925553 NO_PUBKEY 7638D0442B90D010
debian apt
More details would be helpful. You are presumably pulling stuff from the ARM arch of Stretch. What packages? And you are getting the gpg error because you don't have the public key, like the error says. Just install it,and the error will go away.apt-cache search debian keyring
gives a bunch of choices. You wantdebian-archive-keyring
.
– Faheem Mitha
Apr 3 '16 at 17:52
Better using the backportsdeb http://http.debian.net/debian jessie-backports main
– Rui F Ribeiro
Apr 3 '16 at 17:53
@RuiFRibeiro Depends whether they are available in backports.
– Faheem Mitha
Apr 3 '16 at 17:54
@FaheemMitha I don't know how to "Just install the key" and I've failed at Googling to find out how :( One page suggested doingapt-get install debian-keychain
which didn't appear to solve it
– Danny Tuppeny
Apr 3 '16 at 17:55
@RuiFRibeiro The package I wantletsencrypt
is indeed there; though I don't know the difference. Sounds like a better choice, but question remains, how can I get my Pi to use it?
– Danny Tuppeny
Apr 3 '16 at 17:55
|
show 4 more comments
I'm using Raspbian Jessie but there are a few packages I want that aren't available (but are in Debian Stretch repos). I want to temporarily use the Stretch repo to install them (and any otherwise-unsatisfied dependencies) but without making anything else come from there in the future.
I understand things might not work; etc.; I'm just trying something out on a throwaway install :)
I tried rigging some files (based on this answer) but I got this.. not sure a) how to fix it and b) whether I'm doing things the right way!
W: GPG error: http://ftp.uk.debian.org stretch InRelease: The
following signatures couldn't be verified because the public
key is not available:
NO_PUBKEY 8B48AD6246925553 NO_PUBKEY 7638D0442B90D010
debian apt
I'm using Raspbian Jessie but there are a few packages I want that aren't available (but are in Debian Stretch repos). I want to temporarily use the Stretch repo to install them (and any otherwise-unsatisfied dependencies) but without making anything else come from there in the future.
I understand things might not work; etc.; I'm just trying something out on a throwaway install :)
I tried rigging some files (based on this answer) but I got this.. not sure a) how to fix it and b) whether I'm doing things the right way!
W: GPG error: http://ftp.uk.debian.org stretch InRelease: The
following signatures couldn't be verified because the public
key is not available:
NO_PUBKEY 8B48AD6246925553 NO_PUBKEY 7638D0442B90D010
debian apt
debian apt
edited May 20 '17 at 4:47
Rui F Ribeiro
39k1479130
39k1479130
asked Apr 3 '16 at 17:44
Danny Tuppeny
6641621
6641621
More details would be helpful. You are presumably pulling stuff from the ARM arch of Stretch. What packages? And you are getting the gpg error because you don't have the public key, like the error says. Just install it,and the error will go away.apt-cache search debian keyring
gives a bunch of choices. You wantdebian-archive-keyring
.
– Faheem Mitha
Apr 3 '16 at 17:52
Better using the backportsdeb http://http.debian.net/debian jessie-backports main
– Rui F Ribeiro
Apr 3 '16 at 17:53
@RuiFRibeiro Depends whether they are available in backports.
– Faheem Mitha
Apr 3 '16 at 17:54
@FaheemMitha I don't know how to "Just install the key" and I've failed at Googling to find out how :( One page suggested doingapt-get install debian-keychain
which didn't appear to solve it
– Danny Tuppeny
Apr 3 '16 at 17:55
@RuiFRibeiro The package I wantletsencrypt
is indeed there; though I don't know the difference. Sounds like a better choice, but question remains, how can I get my Pi to use it?
– Danny Tuppeny
Apr 3 '16 at 17:55
|
show 4 more comments
More details would be helpful. You are presumably pulling stuff from the ARM arch of Stretch. What packages? And you are getting the gpg error because you don't have the public key, like the error says. Just install it,and the error will go away.apt-cache search debian keyring
gives a bunch of choices. You wantdebian-archive-keyring
.
– Faheem Mitha
Apr 3 '16 at 17:52
Better using the backportsdeb http://http.debian.net/debian jessie-backports main
– Rui F Ribeiro
Apr 3 '16 at 17:53
@RuiFRibeiro Depends whether they are available in backports.
– Faheem Mitha
Apr 3 '16 at 17:54
@FaheemMitha I don't know how to "Just install the key" and I've failed at Googling to find out how :( One page suggested doingapt-get install debian-keychain
which didn't appear to solve it
– Danny Tuppeny
Apr 3 '16 at 17:55
@RuiFRibeiro The package I wantletsencrypt
is indeed there; though I don't know the difference. Sounds like a better choice, but question remains, how can I get my Pi to use it?
– Danny Tuppeny
Apr 3 '16 at 17:55
More details would be helpful. You are presumably pulling stuff from the ARM arch of Stretch. What packages? And you are getting the gpg error because you don't have the public key, like the error says. Just install it,and the error will go away.
apt-cache search debian keyring
gives a bunch of choices. You want debian-archive-keyring
.– Faheem Mitha
Apr 3 '16 at 17:52
More details would be helpful. You are presumably pulling stuff from the ARM arch of Stretch. What packages? And you are getting the gpg error because you don't have the public key, like the error says. Just install it,and the error will go away.
apt-cache search debian keyring
gives a bunch of choices. You want debian-archive-keyring
.– Faheem Mitha
Apr 3 '16 at 17:52
Better using the backports
deb http://http.debian.net/debian jessie-backports main
– Rui F Ribeiro
Apr 3 '16 at 17:53
Better using the backports
deb http://http.debian.net/debian jessie-backports main
– Rui F Ribeiro
Apr 3 '16 at 17:53
@RuiFRibeiro Depends whether they are available in backports.
– Faheem Mitha
Apr 3 '16 at 17:54
@RuiFRibeiro Depends whether they are available in backports.
– Faheem Mitha
Apr 3 '16 at 17:54
@FaheemMitha I don't know how to "Just install the key" and I've failed at Googling to find out how :( One page suggested doing
apt-get install debian-keychain
which didn't appear to solve it– Danny Tuppeny
Apr 3 '16 at 17:55
@FaheemMitha I don't know how to "Just install the key" and I've failed at Googling to find out how :( One page suggested doing
apt-get install debian-keychain
which didn't appear to solve it– Danny Tuppeny
Apr 3 '16 at 17:55
@RuiFRibeiro The package I want
letsencrypt
is indeed there; though I don't know the difference. Sounds like a better choice, but question remains, how can I get my Pi to use it?– Danny Tuppeny
Apr 3 '16 at 17:55
@RuiFRibeiro The package I want
letsencrypt
is indeed there; though I don't know the difference. Sounds like a better choice, but question remains, how can I get my Pi to use it?– Danny Tuppeny
Apr 3 '16 at 17:55
|
show 4 more comments
3 Answers
3
active
oldest
votes
As backports has letsencrypt
, I recommend using jessie-backports
as it brings less new/packages dependencies than drinking directly from stretch.
To use Jessie backports
and install letsencrypt
from it:
Add to /etc/apt/sources.list
:
deb http://httpredir.debian.org/debian jessie-backports main contrib non-free
The run:
apt-get update
As for installing the key, I confirm you can do:
gpg --keyserver pgpkeys.mit.edu --recv-key 8B48AD6246925553
gpg -a --export 8B48AD6246925553 | sudo apt-key add -
and also with the key 7638D0442B90D010
gpg --keyserver pgpkeys.mit.edu --recv-key 7638D0442B90D010
gpg -a --export 7638D0442B90D010 | sudo apt-key add -
And finally to install letsencrypt
:
apt-get install -t jessie-backports letsencrypt
What do I need to do to trust that url?W: GPG error: http://http.debian.net jessie-backports InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8B48AD6246925553 NO_PUBKEY 7638D0442B90D010
– Danny Tuppeny
Apr 3 '16 at 18:03
1
I saw this but the presence of a.mit.edu
domain makes me wonder whether that's the right thing? (and I have two keys there?)
– Danny Tuppeny
Apr 3 '16 at 18:04
It is a key repository; I added it to the answer.
– Rui F Ribeiro
Apr 3 '16 at 18:09
(I did not have to add keys, as I am using a Jessie derived distro at home, and Jessie at work)
– Rui F Ribeiro
Apr 3 '16 at 18:14
2
@DannyTuppenypgpkeys.mit.edu
is just a large, and standard, GPG repository. Everyone uses it.
– Faheem Mitha
Apr 3 '16 at 18:46
|
show 1 more comment
For me, the easiest way was run:
aptitude install debian-keyring debian-archive-keyring
No more errors :)
1
Didn't work for me in the case of Ubuntu Artful. The solution given at raspberrypi.stackexchange.com/a/60051/87676 worked.
– koppor
Jun 19 '18 at 5:35
add a comment |
I was only able to succeed after combining both Cristian Deluxe and Rui F Ribeiro answer. (I've mark their answered correct as it is their original work)
Append the following text to /etc/apt/sources.list
deb http://httpredir.debian.org/debian jessie-backports main contrib non-free
I had to install the debian-keyring and debian-archive-keyring
apt-get install -y debian-keyring debian-archive-keyring
Install the GPG keys.
gpg --keyserver pgpkeys.mit.edu --recv-key 8B48AD6246925553
gpg -a --export 8B48AD6246925553 | sudo apt-key add -
gpg --keyserver pgpkeys.mit.edu --recv-key 7638D0442B90D010
gpg -a --export 7638D0442B90D010 | sudo apt-key add -
Finally performed the apt-get update
apt-get update
only after the above steps, could I perform the install of the packages in the backports.
New contributor
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f274053%2fwhats-the-best-way-to-install-apt-packages-from-debian-stretch-on-raspbian-jess%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
As backports has letsencrypt
, I recommend using jessie-backports
as it brings less new/packages dependencies than drinking directly from stretch.
To use Jessie backports
and install letsencrypt
from it:
Add to /etc/apt/sources.list
:
deb http://httpredir.debian.org/debian jessie-backports main contrib non-free
The run:
apt-get update
As for installing the key, I confirm you can do:
gpg --keyserver pgpkeys.mit.edu --recv-key 8B48AD6246925553
gpg -a --export 8B48AD6246925553 | sudo apt-key add -
and also with the key 7638D0442B90D010
gpg --keyserver pgpkeys.mit.edu --recv-key 7638D0442B90D010
gpg -a --export 7638D0442B90D010 | sudo apt-key add -
And finally to install letsencrypt
:
apt-get install -t jessie-backports letsencrypt
What do I need to do to trust that url?W: GPG error: http://http.debian.net jessie-backports InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8B48AD6246925553 NO_PUBKEY 7638D0442B90D010
– Danny Tuppeny
Apr 3 '16 at 18:03
1
I saw this but the presence of a.mit.edu
domain makes me wonder whether that's the right thing? (and I have two keys there?)
– Danny Tuppeny
Apr 3 '16 at 18:04
It is a key repository; I added it to the answer.
– Rui F Ribeiro
Apr 3 '16 at 18:09
(I did not have to add keys, as I am using a Jessie derived distro at home, and Jessie at work)
– Rui F Ribeiro
Apr 3 '16 at 18:14
2
@DannyTuppenypgpkeys.mit.edu
is just a large, and standard, GPG repository. Everyone uses it.
– Faheem Mitha
Apr 3 '16 at 18:46
|
show 1 more comment
As backports has letsencrypt
, I recommend using jessie-backports
as it brings less new/packages dependencies than drinking directly from stretch.
To use Jessie backports
and install letsencrypt
from it:
Add to /etc/apt/sources.list
:
deb http://httpredir.debian.org/debian jessie-backports main contrib non-free
The run:
apt-get update
As for installing the key, I confirm you can do:
gpg --keyserver pgpkeys.mit.edu --recv-key 8B48AD6246925553
gpg -a --export 8B48AD6246925553 | sudo apt-key add -
and also with the key 7638D0442B90D010
gpg --keyserver pgpkeys.mit.edu --recv-key 7638D0442B90D010
gpg -a --export 7638D0442B90D010 | sudo apt-key add -
And finally to install letsencrypt
:
apt-get install -t jessie-backports letsencrypt
What do I need to do to trust that url?W: GPG error: http://http.debian.net jessie-backports InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8B48AD6246925553 NO_PUBKEY 7638D0442B90D010
– Danny Tuppeny
Apr 3 '16 at 18:03
1
I saw this but the presence of a.mit.edu
domain makes me wonder whether that's the right thing? (and I have two keys there?)
– Danny Tuppeny
Apr 3 '16 at 18:04
It is a key repository; I added it to the answer.
– Rui F Ribeiro
Apr 3 '16 at 18:09
(I did not have to add keys, as I am using a Jessie derived distro at home, and Jessie at work)
– Rui F Ribeiro
Apr 3 '16 at 18:14
2
@DannyTuppenypgpkeys.mit.edu
is just a large, and standard, GPG repository. Everyone uses it.
– Faheem Mitha
Apr 3 '16 at 18:46
|
show 1 more comment
As backports has letsencrypt
, I recommend using jessie-backports
as it brings less new/packages dependencies than drinking directly from stretch.
To use Jessie backports
and install letsencrypt
from it:
Add to /etc/apt/sources.list
:
deb http://httpredir.debian.org/debian jessie-backports main contrib non-free
The run:
apt-get update
As for installing the key, I confirm you can do:
gpg --keyserver pgpkeys.mit.edu --recv-key 8B48AD6246925553
gpg -a --export 8B48AD6246925553 | sudo apt-key add -
and also with the key 7638D0442B90D010
gpg --keyserver pgpkeys.mit.edu --recv-key 7638D0442B90D010
gpg -a --export 7638D0442B90D010 | sudo apt-key add -
And finally to install letsencrypt
:
apt-get install -t jessie-backports letsencrypt
As backports has letsencrypt
, I recommend using jessie-backports
as it brings less new/packages dependencies than drinking directly from stretch.
To use Jessie backports
and install letsencrypt
from it:
Add to /etc/apt/sources.list
:
deb http://httpredir.debian.org/debian jessie-backports main contrib non-free
The run:
apt-get update
As for installing the key, I confirm you can do:
gpg --keyserver pgpkeys.mit.edu --recv-key 8B48AD6246925553
gpg -a --export 8B48AD6246925553 | sudo apt-key add -
and also with the key 7638D0442B90D010
gpg --keyserver pgpkeys.mit.edu --recv-key 7638D0442B90D010
gpg -a --export 7638D0442B90D010 | sudo apt-key add -
And finally to install letsencrypt
:
apt-get install -t jessie-backports letsencrypt
edited Apr 3 '16 at 18:31
answered Apr 3 '16 at 17:59
Rui F Ribeiro
39k1479130
39k1479130
What do I need to do to trust that url?W: GPG error: http://http.debian.net jessie-backports InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8B48AD6246925553 NO_PUBKEY 7638D0442B90D010
– Danny Tuppeny
Apr 3 '16 at 18:03
1
I saw this but the presence of a.mit.edu
domain makes me wonder whether that's the right thing? (and I have two keys there?)
– Danny Tuppeny
Apr 3 '16 at 18:04
It is a key repository; I added it to the answer.
– Rui F Ribeiro
Apr 3 '16 at 18:09
(I did not have to add keys, as I am using a Jessie derived distro at home, and Jessie at work)
– Rui F Ribeiro
Apr 3 '16 at 18:14
2
@DannyTuppenypgpkeys.mit.edu
is just a large, and standard, GPG repository. Everyone uses it.
– Faheem Mitha
Apr 3 '16 at 18:46
|
show 1 more comment
What do I need to do to trust that url?W: GPG error: http://http.debian.net jessie-backports InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8B48AD6246925553 NO_PUBKEY 7638D0442B90D010
– Danny Tuppeny
Apr 3 '16 at 18:03
1
I saw this but the presence of a.mit.edu
domain makes me wonder whether that's the right thing? (and I have two keys there?)
– Danny Tuppeny
Apr 3 '16 at 18:04
It is a key repository; I added it to the answer.
– Rui F Ribeiro
Apr 3 '16 at 18:09
(I did not have to add keys, as I am using a Jessie derived distro at home, and Jessie at work)
– Rui F Ribeiro
Apr 3 '16 at 18:14
2
@DannyTuppenypgpkeys.mit.edu
is just a large, and standard, GPG repository. Everyone uses it.
– Faheem Mitha
Apr 3 '16 at 18:46
What do I need to do to trust that url?
W: GPG error: http://http.debian.net jessie-backports InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8B48AD6246925553 NO_PUBKEY 7638D0442B90D010
– Danny Tuppeny
Apr 3 '16 at 18:03
What do I need to do to trust that url?
W: GPG error: http://http.debian.net jessie-backports InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8B48AD6246925553 NO_PUBKEY 7638D0442B90D010
– Danny Tuppeny
Apr 3 '16 at 18:03
1
1
I saw this but the presence of a
.mit.edu
domain makes me wonder whether that's the right thing? (and I have two keys there?)– Danny Tuppeny
Apr 3 '16 at 18:04
I saw this but the presence of a
.mit.edu
domain makes me wonder whether that's the right thing? (and I have two keys there?)– Danny Tuppeny
Apr 3 '16 at 18:04
It is a key repository; I added it to the answer.
– Rui F Ribeiro
Apr 3 '16 at 18:09
It is a key repository; I added it to the answer.
– Rui F Ribeiro
Apr 3 '16 at 18:09
(I did not have to add keys, as I am using a Jessie derived distro at home, and Jessie at work)
– Rui F Ribeiro
Apr 3 '16 at 18:14
(I did not have to add keys, as I am using a Jessie derived distro at home, and Jessie at work)
– Rui F Ribeiro
Apr 3 '16 at 18:14
2
2
@DannyTuppeny
pgpkeys.mit.edu
is just a large, and standard, GPG repository. Everyone uses it.– Faheem Mitha
Apr 3 '16 at 18:46
@DannyTuppeny
pgpkeys.mit.edu
is just a large, and standard, GPG repository. Everyone uses it.– Faheem Mitha
Apr 3 '16 at 18:46
|
show 1 more comment
For me, the easiest way was run:
aptitude install debian-keyring debian-archive-keyring
No more errors :)
1
Didn't work for me in the case of Ubuntu Artful. The solution given at raspberrypi.stackexchange.com/a/60051/87676 worked.
– koppor
Jun 19 '18 at 5:35
add a comment |
For me, the easiest way was run:
aptitude install debian-keyring debian-archive-keyring
No more errors :)
1
Didn't work for me in the case of Ubuntu Artful. The solution given at raspberrypi.stackexchange.com/a/60051/87676 worked.
– koppor
Jun 19 '18 at 5:35
add a comment |
For me, the easiest way was run:
aptitude install debian-keyring debian-archive-keyring
No more errors :)
For me, the easiest way was run:
aptitude install debian-keyring debian-archive-keyring
No more errors :)
answered Mar 16 '18 at 21:02
Cristian Deluxe
11
11
1
Didn't work for me in the case of Ubuntu Artful. The solution given at raspberrypi.stackexchange.com/a/60051/87676 worked.
– koppor
Jun 19 '18 at 5:35
add a comment |
1
Didn't work for me in the case of Ubuntu Artful. The solution given at raspberrypi.stackexchange.com/a/60051/87676 worked.
– koppor
Jun 19 '18 at 5:35
1
1
Didn't work for me in the case of Ubuntu Artful. The solution given at raspberrypi.stackexchange.com/a/60051/87676 worked.
– koppor
Jun 19 '18 at 5:35
Didn't work for me in the case of Ubuntu Artful. The solution given at raspberrypi.stackexchange.com/a/60051/87676 worked.
– koppor
Jun 19 '18 at 5:35
add a comment |
I was only able to succeed after combining both Cristian Deluxe and Rui F Ribeiro answer. (I've mark their answered correct as it is their original work)
Append the following text to /etc/apt/sources.list
deb http://httpredir.debian.org/debian jessie-backports main contrib non-free
I had to install the debian-keyring and debian-archive-keyring
apt-get install -y debian-keyring debian-archive-keyring
Install the GPG keys.
gpg --keyserver pgpkeys.mit.edu --recv-key 8B48AD6246925553
gpg -a --export 8B48AD6246925553 | sudo apt-key add -
gpg --keyserver pgpkeys.mit.edu --recv-key 7638D0442B90D010
gpg -a --export 7638D0442B90D010 | sudo apt-key add -
Finally performed the apt-get update
apt-get update
only after the above steps, could I perform the install of the packages in the backports.
New contributor
add a comment |
I was only able to succeed after combining both Cristian Deluxe and Rui F Ribeiro answer. (I've mark their answered correct as it is their original work)
Append the following text to /etc/apt/sources.list
deb http://httpredir.debian.org/debian jessie-backports main contrib non-free
I had to install the debian-keyring and debian-archive-keyring
apt-get install -y debian-keyring debian-archive-keyring
Install the GPG keys.
gpg --keyserver pgpkeys.mit.edu --recv-key 8B48AD6246925553
gpg -a --export 8B48AD6246925553 | sudo apt-key add -
gpg --keyserver pgpkeys.mit.edu --recv-key 7638D0442B90D010
gpg -a --export 7638D0442B90D010 | sudo apt-key add -
Finally performed the apt-get update
apt-get update
only after the above steps, could I perform the install of the packages in the backports.
New contributor
add a comment |
I was only able to succeed after combining both Cristian Deluxe and Rui F Ribeiro answer. (I've mark their answered correct as it is their original work)
Append the following text to /etc/apt/sources.list
deb http://httpredir.debian.org/debian jessie-backports main contrib non-free
I had to install the debian-keyring and debian-archive-keyring
apt-get install -y debian-keyring debian-archive-keyring
Install the GPG keys.
gpg --keyserver pgpkeys.mit.edu --recv-key 8B48AD6246925553
gpg -a --export 8B48AD6246925553 | sudo apt-key add -
gpg --keyserver pgpkeys.mit.edu --recv-key 7638D0442B90D010
gpg -a --export 7638D0442B90D010 | sudo apt-key add -
Finally performed the apt-get update
apt-get update
only after the above steps, could I perform the install of the packages in the backports.
New contributor
I was only able to succeed after combining both Cristian Deluxe and Rui F Ribeiro answer. (I've mark their answered correct as it is their original work)
Append the following text to /etc/apt/sources.list
deb http://httpredir.debian.org/debian jessie-backports main contrib non-free
I had to install the debian-keyring and debian-archive-keyring
apt-get install -y debian-keyring debian-archive-keyring
Install the GPG keys.
gpg --keyserver pgpkeys.mit.edu --recv-key 8B48AD6246925553
gpg -a --export 8B48AD6246925553 | sudo apt-key add -
gpg --keyserver pgpkeys.mit.edu --recv-key 7638D0442B90D010
gpg -a --export 7638D0442B90D010 | sudo apt-key add -
Finally performed the apt-get update
apt-get update
only after the above steps, could I perform the install of the packages in the backports.
New contributor
edited 1 min ago
New contributor
answered 9 mins ago
Kelvin Lee
1
1
New contributor
New contributor
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f274053%2fwhats-the-best-way-to-install-apt-packages-from-debian-stretch-on-raspbian-jess%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
More details would be helpful. You are presumably pulling stuff from the ARM arch of Stretch. What packages? And you are getting the gpg error because you don't have the public key, like the error says. Just install it,and the error will go away.
apt-cache search debian keyring
gives a bunch of choices. You wantdebian-archive-keyring
.– Faheem Mitha
Apr 3 '16 at 17:52
Better using the backports
deb http://http.debian.net/debian jessie-backports main
– Rui F Ribeiro
Apr 3 '16 at 17:53
@RuiFRibeiro Depends whether they are available in backports.
– Faheem Mitha
Apr 3 '16 at 17:54
@FaheemMitha I don't know how to "Just install the key" and I've failed at Googling to find out how :( One page suggested doing
apt-get install debian-keychain
which didn't appear to solve it– Danny Tuppeny
Apr 3 '16 at 17:55
@RuiFRibeiro The package I want
letsencrypt
is indeed there; though I don't know the difference. Sounds like a better choice, but question remains, how can I get my Pi to use it?– Danny Tuppeny
Apr 3 '16 at 17:55