apt-get not installing packages on Ubuntu 18.04 LTS












0















I was trying to install alien package:



mkj@mkj-ThinkPad-E470:~/Downloads$ sudo apt-get install alien
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package alien


mkj@mkj-ThinkPad-E470:~/Downloads$ sudo apt-get update
Err:1 http://in.archive.ubuntu.com/ubuntu bionic InRelease
Connection failed [IP: 91.189.88.162 80]
Err:2 http://security.ubuntu.com/ubuntu bionic-security InRelease
Connection failed [IP: 91.189.91.26 80]
Err:3 http://in.archive.ubuntu.com/ubuntu bionic-updates InRelease
Connection failed [IP: 91.189.88.161 80]
Err:4 http://in.archive.ubuntu.com/ubuntu bionic-backports InRelease
Connection failed [IP: 91.189.88.162 80]
Reading package lists... Done
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/bionic/InRelease Connection failed [IP: 91.189.88.162 80]
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/bionic-updates/InRelease Connection failed [IP: 91.189.88.161 80]
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/bionic-backports/InRelease Connection failed [IP: 91.189.88.162 80]
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/bionic-security/InRelease Connection failed [IP: 91.189.91.26 80]
W: Some index files failed to download. They have been ignored, or old ones used instead.


I observed that no package installation is happening. Here is my source.list:



#deb cdrom:[Ubuntu 18.04.1 LTS _Bionic Beaver_ - Release amd64 (20180725)]/ bionic main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://in.archive.ubuntu.com/ubuntu/ bionic main restricted
# deb-src http://in.archive.ubuntu.com/ubuntu/ bionic main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://in.archive.ubuntu.com/ubuntu/ bionic-updates main restricted
# deb-src http://in.archive.ubuntu.com/ubuntu/ bionic-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://in.archive.ubuntu.com/ubuntu/ bionic universe
# deb-src http://in.archive.ubuntu.com/ubuntu/ bionic universe
deb http://in.archive.ubuntu.com/ubuntu/ bionic-updates universe
# deb-src http://in.archive.ubuntu.com/ubuntu/ bionic-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://in.archive.ubuntu.com/ubuntu/ bionic multiverse
# deb-src http://in.archive.ubuntu.com/ubuntu/ bionic multiverse
deb http://in.archive.ubuntu.com/ubuntu/ bionic-updates multiverse
# deb-src http://in.archive.ubuntu.com/ubuntu/ bionic-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://in.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
# deb-src http://in.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu bionic partner
# deb-src http://archive.canonical.com/ubuntu bionic partner

deb http://security.ubuntu.com/ubuntu bionic-security main restricted
# deb-src http://security.ubuntu.com/ubuntu bionic-security main restricted
deb http://security.ubuntu.com/ubuntu bionic-security universe
# deb-src http://security.ubuntu.com/ubuntu bionic-security universe
deb http://security.ubuntu.com/ubuntu bionic-security multiverse
# deb-src http://security.ubuntu.com/ubuntu bionic-security multiverse









share|improve this question

























  • Do you have a working internet connection that machine?

    – vidarlo
    2 days ago











  • yes i have internet

    – manish
    2 days ago






  • 1





    Possible duplicate of How do I restore the default repositories?

    – N0rbert
    2 days ago











  • Possible duplicate of Error 101: Network is unreachable when trying to update

    – Charles Green
    yesterday
















0















I was trying to install alien package:



mkj@mkj-ThinkPad-E470:~/Downloads$ sudo apt-get install alien
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package alien


mkj@mkj-ThinkPad-E470:~/Downloads$ sudo apt-get update
Err:1 http://in.archive.ubuntu.com/ubuntu bionic InRelease
Connection failed [IP: 91.189.88.162 80]
Err:2 http://security.ubuntu.com/ubuntu bionic-security InRelease
Connection failed [IP: 91.189.91.26 80]
Err:3 http://in.archive.ubuntu.com/ubuntu bionic-updates InRelease
Connection failed [IP: 91.189.88.161 80]
Err:4 http://in.archive.ubuntu.com/ubuntu bionic-backports InRelease
Connection failed [IP: 91.189.88.162 80]
Reading package lists... Done
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/bionic/InRelease Connection failed [IP: 91.189.88.162 80]
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/bionic-updates/InRelease Connection failed [IP: 91.189.88.161 80]
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/bionic-backports/InRelease Connection failed [IP: 91.189.88.162 80]
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/bionic-security/InRelease Connection failed [IP: 91.189.91.26 80]
W: Some index files failed to download. They have been ignored, or old ones used instead.


I observed that no package installation is happening. Here is my source.list:



#deb cdrom:[Ubuntu 18.04.1 LTS _Bionic Beaver_ - Release amd64 (20180725)]/ bionic main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://in.archive.ubuntu.com/ubuntu/ bionic main restricted
# deb-src http://in.archive.ubuntu.com/ubuntu/ bionic main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://in.archive.ubuntu.com/ubuntu/ bionic-updates main restricted
# deb-src http://in.archive.ubuntu.com/ubuntu/ bionic-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://in.archive.ubuntu.com/ubuntu/ bionic universe
# deb-src http://in.archive.ubuntu.com/ubuntu/ bionic universe
deb http://in.archive.ubuntu.com/ubuntu/ bionic-updates universe
# deb-src http://in.archive.ubuntu.com/ubuntu/ bionic-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://in.archive.ubuntu.com/ubuntu/ bionic multiverse
# deb-src http://in.archive.ubuntu.com/ubuntu/ bionic multiverse
deb http://in.archive.ubuntu.com/ubuntu/ bionic-updates multiverse
# deb-src http://in.archive.ubuntu.com/ubuntu/ bionic-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://in.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
# deb-src http://in.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu bionic partner
# deb-src http://archive.canonical.com/ubuntu bionic partner

deb http://security.ubuntu.com/ubuntu bionic-security main restricted
# deb-src http://security.ubuntu.com/ubuntu bionic-security main restricted
deb http://security.ubuntu.com/ubuntu bionic-security universe
# deb-src http://security.ubuntu.com/ubuntu bionic-security universe
deb http://security.ubuntu.com/ubuntu bionic-security multiverse
# deb-src http://security.ubuntu.com/ubuntu bionic-security multiverse









share|improve this question

























  • Do you have a working internet connection that machine?

    – vidarlo
    2 days ago











  • yes i have internet

    – manish
    2 days ago






  • 1





    Possible duplicate of How do I restore the default repositories?

    – N0rbert
    2 days ago











  • Possible duplicate of Error 101: Network is unreachable when trying to update

    – Charles Green
    yesterday














0












0








0








I was trying to install alien package:



mkj@mkj-ThinkPad-E470:~/Downloads$ sudo apt-get install alien
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package alien


mkj@mkj-ThinkPad-E470:~/Downloads$ sudo apt-get update
Err:1 http://in.archive.ubuntu.com/ubuntu bionic InRelease
Connection failed [IP: 91.189.88.162 80]
Err:2 http://security.ubuntu.com/ubuntu bionic-security InRelease
Connection failed [IP: 91.189.91.26 80]
Err:3 http://in.archive.ubuntu.com/ubuntu bionic-updates InRelease
Connection failed [IP: 91.189.88.161 80]
Err:4 http://in.archive.ubuntu.com/ubuntu bionic-backports InRelease
Connection failed [IP: 91.189.88.162 80]
Reading package lists... Done
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/bionic/InRelease Connection failed [IP: 91.189.88.162 80]
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/bionic-updates/InRelease Connection failed [IP: 91.189.88.161 80]
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/bionic-backports/InRelease Connection failed [IP: 91.189.88.162 80]
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/bionic-security/InRelease Connection failed [IP: 91.189.91.26 80]
W: Some index files failed to download. They have been ignored, or old ones used instead.


I observed that no package installation is happening. Here is my source.list:



#deb cdrom:[Ubuntu 18.04.1 LTS _Bionic Beaver_ - Release amd64 (20180725)]/ bionic main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://in.archive.ubuntu.com/ubuntu/ bionic main restricted
# deb-src http://in.archive.ubuntu.com/ubuntu/ bionic main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://in.archive.ubuntu.com/ubuntu/ bionic-updates main restricted
# deb-src http://in.archive.ubuntu.com/ubuntu/ bionic-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://in.archive.ubuntu.com/ubuntu/ bionic universe
# deb-src http://in.archive.ubuntu.com/ubuntu/ bionic universe
deb http://in.archive.ubuntu.com/ubuntu/ bionic-updates universe
# deb-src http://in.archive.ubuntu.com/ubuntu/ bionic-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://in.archive.ubuntu.com/ubuntu/ bionic multiverse
# deb-src http://in.archive.ubuntu.com/ubuntu/ bionic multiverse
deb http://in.archive.ubuntu.com/ubuntu/ bionic-updates multiverse
# deb-src http://in.archive.ubuntu.com/ubuntu/ bionic-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://in.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
# deb-src http://in.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu bionic partner
# deb-src http://archive.canonical.com/ubuntu bionic partner

deb http://security.ubuntu.com/ubuntu bionic-security main restricted
# deb-src http://security.ubuntu.com/ubuntu bionic-security main restricted
deb http://security.ubuntu.com/ubuntu bionic-security universe
# deb-src http://security.ubuntu.com/ubuntu bionic-security universe
deb http://security.ubuntu.com/ubuntu bionic-security multiverse
# deb-src http://security.ubuntu.com/ubuntu bionic-security multiverse









share|improve this question
















I was trying to install alien package:



mkj@mkj-ThinkPad-E470:~/Downloads$ sudo apt-get install alien
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package alien


mkj@mkj-ThinkPad-E470:~/Downloads$ sudo apt-get update
Err:1 http://in.archive.ubuntu.com/ubuntu bionic InRelease
Connection failed [IP: 91.189.88.162 80]
Err:2 http://security.ubuntu.com/ubuntu bionic-security InRelease
Connection failed [IP: 91.189.91.26 80]
Err:3 http://in.archive.ubuntu.com/ubuntu bionic-updates InRelease
Connection failed [IP: 91.189.88.161 80]
Err:4 http://in.archive.ubuntu.com/ubuntu bionic-backports InRelease
Connection failed [IP: 91.189.88.162 80]
Reading package lists... Done
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/bionic/InRelease Connection failed [IP: 91.189.88.162 80]
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/bionic-updates/InRelease Connection failed [IP: 91.189.88.161 80]
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/bionic-backports/InRelease Connection failed [IP: 91.189.88.162 80]
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/bionic-security/InRelease Connection failed [IP: 91.189.91.26 80]
W: Some index files failed to download. They have been ignored, or old ones used instead.


I observed that no package installation is happening. Here is my source.list:



#deb cdrom:[Ubuntu 18.04.1 LTS _Bionic Beaver_ - Release amd64 (20180725)]/ bionic main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://in.archive.ubuntu.com/ubuntu/ bionic main restricted
# deb-src http://in.archive.ubuntu.com/ubuntu/ bionic main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://in.archive.ubuntu.com/ubuntu/ bionic-updates main restricted
# deb-src http://in.archive.ubuntu.com/ubuntu/ bionic-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://in.archive.ubuntu.com/ubuntu/ bionic universe
# deb-src http://in.archive.ubuntu.com/ubuntu/ bionic universe
deb http://in.archive.ubuntu.com/ubuntu/ bionic-updates universe
# deb-src http://in.archive.ubuntu.com/ubuntu/ bionic-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://in.archive.ubuntu.com/ubuntu/ bionic multiverse
# deb-src http://in.archive.ubuntu.com/ubuntu/ bionic multiverse
deb http://in.archive.ubuntu.com/ubuntu/ bionic-updates multiverse
# deb-src http://in.archive.ubuntu.com/ubuntu/ bionic-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://in.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
# deb-src http://in.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu bionic partner
# deb-src http://archive.canonical.com/ubuntu bionic partner

deb http://security.ubuntu.com/ubuntu bionic-security main restricted
# deb-src http://security.ubuntu.com/ubuntu bionic-security main restricted
deb http://security.ubuntu.com/ubuntu bionic-security universe
# deb-src http://security.ubuntu.com/ubuntu bionic-security universe
deb http://security.ubuntu.com/ubuntu bionic-security multiverse
# deb-src http://security.ubuntu.com/ubuntu bionic-security multiverse






apt 18.04






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 2 days ago









usmanayubsh

373516




373516










asked 2 days ago









manishmanish

1084




1084













  • Do you have a working internet connection that machine?

    – vidarlo
    2 days ago











  • yes i have internet

    – manish
    2 days ago






  • 1





    Possible duplicate of How do I restore the default repositories?

    – N0rbert
    2 days ago











  • Possible duplicate of Error 101: Network is unreachable when trying to update

    – Charles Green
    yesterday



















  • Do you have a working internet connection that machine?

    – vidarlo
    2 days ago











  • yes i have internet

    – manish
    2 days ago






  • 1





    Possible duplicate of How do I restore the default repositories?

    – N0rbert
    2 days ago











  • Possible duplicate of Error 101: Network is unreachable when trying to update

    – Charles Green
    yesterday

















Do you have a working internet connection that machine?

– vidarlo
2 days ago





Do you have a working internet connection that machine?

– vidarlo
2 days ago













yes i have internet

– manish
2 days ago





yes i have internet

– manish
2 days ago




1




1





Possible duplicate of How do I restore the default repositories?

– N0rbert
2 days ago





Possible duplicate of How do I restore the default repositories?

– N0rbert
2 days ago













Possible duplicate of Error 101: Network is unreachable when trying to update

– Charles Green
yesterday





Possible duplicate of Error 101: Network is unreachable when trying to update

– Charles Green
yesterday










1 Answer
1






active

oldest

votes


















0














I had the same issue and the problem was due to Kaspersky. I killed Kaspersky and WSL had no issue running sudo apt update.






share|improve this answer








New contributor




Kyle Misner is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





















  • Kyle Misner, I don't see the original poster told us they were using Kaspersky in Windows, nor do I see them state they were running Ubuntu under Windows; they could be running Ubuntu on bare metal for all we know. Suggest you ask them if they are running WSL, and if so, which Windows antivirus app (if any), before giving a WSL-specific answer.

    – K7AAY
    2 days ago











  • I suppose the answer could be more genericized to state that they should verify if they are using an antivirus of any sort, no matter which OS they are running. If so, try disabling that antivirus to verify if that is the culprit causing the issue.

    – Kyle Misner
    yesterday











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
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: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
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
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1114125%2fapt-get-not-installing-packages-on-ubuntu-18-04-lts%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














I had the same issue and the problem was due to Kaspersky. I killed Kaspersky and WSL had no issue running sudo apt update.






share|improve this answer








New contributor




Kyle Misner is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





















  • Kyle Misner, I don't see the original poster told us they were using Kaspersky in Windows, nor do I see them state they were running Ubuntu under Windows; they could be running Ubuntu on bare metal for all we know. Suggest you ask them if they are running WSL, and if so, which Windows antivirus app (if any), before giving a WSL-specific answer.

    – K7AAY
    2 days ago











  • I suppose the answer could be more genericized to state that they should verify if they are using an antivirus of any sort, no matter which OS they are running. If so, try disabling that antivirus to verify if that is the culprit causing the issue.

    – Kyle Misner
    yesterday
















0














I had the same issue and the problem was due to Kaspersky. I killed Kaspersky and WSL had no issue running sudo apt update.






share|improve this answer








New contributor




Kyle Misner is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





















  • Kyle Misner, I don't see the original poster told us they were using Kaspersky in Windows, nor do I see them state they were running Ubuntu under Windows; they could be running Ubuntu on bare metal for all we know. Suggest you ask them if they are running WSL, and if so, which Windows antivirus app (if any), before giving a WSL-specific answer.

    – K7AAY
    2 days ago











  • I suppose the answer could be more genericized to state that they should verify if they are using an antivirus of any sort, no matter which OS they are running. If so, try disabling that antivirus to verify if that is the culprit causing the issue.

    – Kyle Misner
    yesterday














0












0








0







I had the same issue and the problem was due to Kaspersky. I killed Kaspersky and WSL had no issue running sudo apt update.






share|improve this answer








New contributor




Kyle Misner is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.










I had the same issue and the problem was due to Kaspersky. I killed Kaspersky and WSL had no issue running sudo apt update.







share|improve this answer








New contributor




Kyle Misner is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this answer



share|improve this answer






New contributor




Kyle Misner is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









answered 2 days ago









Kyle MisnerKyle Misner

1




1




New contributor




Kyle Misner is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Kyle Misner is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Kyle Misner is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.













  • Kyle Misner, I don't see the original poster told us they were using Kaspersky in Windows, nor do I see them state they were running Ubuntu under Windows; they could be running Ubuntu on bare metal for all we know. Suggest you ask them if they are running WSL, and if so, which Windows antivirus app (if any), before giving a WSL-specific answer.

    – K7AAY
    2 days ago











  • I suppose the answer could be more genericized to state that they should verify if they are using an antivirus of any sort, no matter which OS they are running. If so, try disabling that antivirus to verify if that is the culprit causing the issue.

    – Kyle Misner
    yesterday



















  • Kyle Misner, I don't see the original poster told us they were using Kaspersky in Windows, nor do I see them state they were running Ubuntu under Windows; they could be running Ubuntu on bare metal for all we know. Suggest you ask them if they are running WSL, and if so, which Windows antivirus app (if any), before giving a WSL-specific answer.

    – K7AAY
    2 days ago











  • I suppose the answer could be more genericized to state that they should verify if they are using an antivirus of any sort, no matter which OS they are running. If so, try disabling that antivirus to verify if that is the culprit causing the issue.

    – Kyle Misner
    yesterday

















Kyle Misner, I don't see the original poster told us they were using Kaspersky in Windows, nor do I see them state they were running Ubuntu under Windows; they could be running Ubuntu on bare metal for all we know. Suggest you ask them if they are running WSL, and if so, which Windows antivirus app (if any), before giving a WSL-specific answer.

– K7AAY
2 days ago





Kyle Misner, I don't see the original poster told us they were using Kaspersky in Windows, nor do I see them state they were running Ubuntu under Windows; they could be running Ubuntu on bare metal for all we know. Suggest you ask them if they are running WSL, and if so, which Windows antivirus app (if any), before giving a WSL-specific answer.

– K7AAY
2 days ago













I suppose the answer could be more genericized to state that they should verify if they are using an antivirus of any sort, no matter which OS they are running. If so, try disabling that antivirus to verify if that is the culprit causing the issue.

– Kyle Misner
yesterday





I suppose the answer could be more genericized to state that they should verify if they are using an antivirus of any sort, no matter which OS they are running. If so, try disabling that antivirus to verify if that is the culprit causing the issue.

– Kyle Misner
yesterday


















draft saved

draft discarded




















































Thanks for contributing an answer to Ask Ubuntu!


  • 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.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1114125%2fapt-get-not-installing-packages-on-ubuntu-18-04-lts%23new-answer', 'question_page');
}
);

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







Popular posts from this blog

數位音樂下載

When can things happen in Etherscan, such as the picture below?

格利澤436b