Qubes debian 9 template VM apt update doesn't work

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












I am unable to update or install anything via debian 9 template vm.
if i have a local .deb then i can install and run it off an AppVM.
How to fix the following?



sudo apt update --fix-missing
Ign:1 https://deb.debian.org/debian stretch InRelease
Ign:2 https://security.debian.org stretch/updates InRelease
Err:3 https://security.debian.org stretch/updates Release
Bad header line
Err:4 https://deb.debian.org/debian stretch Release
Bad header line
Ign:5 http://deb.qubes-os.org/r4.0/vm stretch InRelease
Err:6 http://deb.qubes-os.org/r4.0/vm stretch Release
Connection failed
Ign:7 http://packages.microsoft.com/repos/vscode stable InRelease
Err:8 http://packages.microsoft.com/repos/vscode stable Release
Connection failed
Reading package lists... Done
E: The repository 'https://security.debian.org stretch/updates Release' does no longer have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'https://deb.debian.org/debian stretch Release' does no longer have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://deb.qubes-os.org/r4.0/vm stretch Release' does no longer have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://packages.microsoft.com/repos/vscode stable Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.






share|improve this question



















  • could you elaborate as to what does not help? Looking at the error message you posted it looks like your sources.list for your debian VM does not have working repositories. Verify that your sources.list or /sources.list.d/ are set up correctly.
    – kemotep
    May 10 at 20:15














up vote
0
down vote

favorite












I am unable to update or install anything via debian 9 template vm.
if i have a local .deb then i can install and run it off an AppVM.
How to fix the following?



sudo apt update --fix-missing
Ign:1 https://deb.debian.org/debian stretch InRelease
Ign:2 https://security.debian.org stretch/updates InRelease
Err:3 https://security.debian.org stretch/updates Release
Bad header line
Err:4 https://deb.debian.org/debian stretch Release
Bad header line
Ign:5 http://deb.qubes-os.org/r4.0/vm stretch InRelease
Err:6 http://deb.qubes-os.org/r4.0/vm stretch Release
Connection failed
Ign:7 http://packages.microsoft.com/repos/vscode stable InRelease
Err:8 http://packages.microsoft.com/repos/vscode stable Release
Connection failed
Reading package lists... Done
E: The repository 'https://security.debian.org stretch/updates Release' does no longer have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'https://deb.debian.org/debian stretch Release' does no longer have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://deb.qubes-os.org/r4.0/vm stretch Release' does no longer have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://packages.microsoft.com/repos/vscode stable Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.






share|improve this question



















  • could you elaborate as to what does not help? Looking at the error message you posted it looks like your sources.list for your debian VM does not have working repositories. Verify that your sources.list or /sources.list.d/ are set up correctly.
    – kemotep
    May 10 at 20:15












up vote
0
down vote

favorite









up vote
0
down vote

favorite











I am unable to update or install anything via debian 9 template vm.
if i have a local .deb then i can install and run it off an AppVM.
How to fix the following?



sudo apt update --fix-missing
Ign:1 https://deb.debian.org/debian stretch InRelease
Ign:2 https://security.debian.org stretch/updates InRelease
Err:3 https://security.debian.org stretch/updates Release
Bad header line
Err:4 https://deb.debian.org/debian stretch Release
Bad header line
Ign:5 http://deb.qubes-os.org/r4.0/vm stretch InRelease
Err:6 http://deb.qubes-os.org/r4.0/vm stretch Release
Connection failed
Ign:7 http://packages.microsoft.com/repos/vscode stable InRelease
Err:8 http://packages.microsoft.com/repos/vscode stable Release
Connection failed
Reading package lists... Done
E: The repository 'https://security.debian.org stretch/updates Release' does no longer have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'https://deb.debian.org/debian stretch Release' does no longer have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://deb.qubes-os.org/r4.0/vm stretch Release' does no longer have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://packages.microsoft.com/repos/vscode stable Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.






share|improve this question











I am unable to update or install anything via debian 9 template vm.
if i have a local .deb then i can install and run it off an AppVM.
How to fix the following?



sudo apt update --fix-missing
Ign:1 https://deb.debian.org/debian stretch InRelease
Ign:2 https://security.debian.org stretch/updates InRelease
Err:3 https://security.debian.org stretch/updates Release
Bad header line
Err:4 https://deb.debian.org/debian stretch Release
Bad header line
Ign:5 http://deb.qubes-os.org/r4.0/vm stretch InRelease
Err:6 http://deb.qubes-os.org/r4.0/vm stretch Release
Connection failed
Ign:7 http://packages.microsoft.com/repos/vscode stable InRelease
Err:8 http://packages.microsoft.com/repos/vscode stable Release
Connection failed
Reading package lists... Done
E: The repository 'https://security.debian.org stretch/updates Release' does no longer have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'https://deb.debian.org/debian stretch Release' does no longer have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://deb.qubes-os.org/r4.0/vm stretch Release' does no longer have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://packages.microsoft.com/repos/vscode stable Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.








share|improve this question










share|improve this question




share|improve this question









asked May 8 at 10:35









user2290820

1012




1012











  • could you elaborate as to what does not help? Looking at the error message you posted it looks like your sources.list for your debian VM does not have working repositories. Verify that your sources.list or /sources.list.d/ are set up correctly.
    – kemotep
    May 10 at 20:15
















  • could you elaborate as to what does not help? Looking at the error message you posted it looks like your sources.list for your debian VM does not have working repositories. Verify that your sources.list or /sources.list.d/ are set up correctly.
    – kemotep
    May 10 at 20:15















could you elaborate as to what does not help? Looking at the error message you posted it looks like your sources.list for your debian VM does not have working repositories. Verify that your sources.list or /sources.list.d/ are set up correctly.
– kemotep
May 10 at 20:15




could you elaborate as to what does not help? Looking at the error message you posted it looks like your sources.list for your debian VM does not have working repositories. Verify that your sources.list or /sources.list.d/ are set up correctly.
– kemotep
May 10 at 20:15










1 Answer
1






active

oldest

votes

















up vote
1
down vote













Check if you have correct repository url's in your sources.list file as described here: https://wiki.debian.org/SourcesList






share|improve this answer





















  • To add on to this answer you can check the version of Debian you are running by using this command: lsb_release -a or cat /etc/debian_version. From there verify that you have the correct sources.list as mentioned by user mariaczi.
    – kemotep
    May 8 at 13:03











  • nope really doesnt help
    – user2290820
    May 9 at 13:43










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',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);








 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f442505%2fqubes-debian-9-template-vm-apt-update-doesnt-work%23new-answer', 'question_page');

);

Post as a guest






























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
1
down vote













Check if you have correct repository url's in your sources.list file as described here: https://wiki.debian.org/SourcesList






share|improve this answer





















  • To add on to this answer you can check the version of Debian you are running by using this command: lsb_release -a or cat /etc/debian_version. From there verify that you have the correct sources.list as mentioned by user mariaczi.
    – kemotep
    May 8 at 13:03











  • nope really doesnt help
    – user2290820
    May 9 at 13:43














up vote
1
down vote













Check if you have correct repository url's in your sources.list file as described here: https://wiki.debian.org/SourcesList






share|improve this answer





















  • To add on to this answer you can check the version of Debian you are running by using this command: lsb_release -a or cat /etc/debian_version. From there verify that you have the correct sources.list as mentioned by user mariaczi.
    – kemotep
    May 8 at 13:03











  • nope really doesnt help
    – user2290820
    May 9 at 13:43












up vote
1
down vote










up vote
1
down vote









Check if you have correct repository url's in your sources.list file as described here: https://wiki.debian.org/SourcesList






share|improve this answer













Check if you have correct repository url's in your sources.list file as described here: https://wiki.debian.org/SourcesList







share|improve this answer













share|improve this answer



share|improve this answer











answered May 8 at 12:46









mariaczi

42915




42915











  • To add on to this answer you can check the version of Debian you are running by using this command: lsb_release -a or cat /etc/debian_version. From there verify that you have the correct sources.list as mentioned by user mariaczi.
    – kemotep
    May 8 at 13:03











  • nope really doesnt help
    – user2290820
    May 9 at 13:43
















  • To add on to this answer you can check the version of Debian you are running by using this command: lsb_release -a or cat /etc/debian_version. From there verify that you have the correct sources.list as mentioned by user mariaczi.
    – kemotep
    May 8 at 13:03











  • nope really doesnt help
    – user2290820
    May 9 at 13:43















To add on to this answer you can check the version of Debian you are running by using this command: lsb_release -a or cat /etc/debian_version. From there verify that you have the correct sources.list as mentioned by user mariaczi.
– kemotep
May 8 at 13:03





To add on to this answer you can check the version of Debian you are running by using this command: lsb_release -a or cat /etc/debian_version. From there verify that you have the correct sources.list as mentioned by user mariaczi.
– kemotep
May 8 at 13:03













nope really doesnt help
– user2290820
May 9 at 13:43




nope really doesnt help
– user2290820
May 9 at 13:43












 

draft saved


draft discarded


























 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f442505%2fqubes-debian-9-template-vm-apt-update-doesnt-work%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

How to check contact read email or not when send email to Individual?

Bahrain

Postfix configuration issue with fips on centos 7; mailgun relay