update, install, ping is not working in 16.04lts. can't open lock file





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







0















on, sudo apt-get install x :



Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libaio1 libevent-core-2.0-5 mysql-client-5.7
mysql-client-core-5.7 mysql-common mysql-server-5.7
mysql-server-core-5.7
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
ample
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 35.2 kB of archives.
After this operation, 98.3 kB of additional disk space will be used.
Err:1 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 ample amd64 0.5.7-8
Temporary failure resolving 'us.archive.ubuntu.com'
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/universe/a/ample/ample_0.5.7-8_amd64.deb Temporary failure resolving 'us.archive.ubuntu.com'

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?


It gets stuck there at 0% [working], and finally comes with the error bove



sometimes its showing different error,
after 100% downloading,



e: could not get lock /var/lib/apt/lists/lock - open (11: resource temporarily unavailable) e: unable to lock directory /var/lib/apt/lists/


Now let me tell about my machine, internet connection is working properly on other clients/web clients. I can ping my university servers only, from my terminal(i.e I can ping only university server from my terminal). I can't ping 8.8.8.8/8.8.4.4 etc. I tried this to solve the ping problem I can install package from octave -forge from the same terminal by octave-cli



another,



sudo apt-get update 
[sudo] password for x:
Err:1 https://ftp.ussg.iu.edu/CRAN/bin/linux/ubuntu xenial/ InRelease
Could not resolve host: ftp.ussg.iu.edu
Err:2 https://download.sublimetext.com apt/stable/ InRelease
Could not resolve host: download.sublimetext.com
Err:3 http://ppa.launchpad.net/mamarley/quassel/ubuntu xenial InRelease
Temporary failure resolving 'ppa.launchpad.net'
Err:4 http://security.ubuntu.com/ubuntu xenial-security InRelease
Temporary failure resolving 'security.ubuntu.com'
Err:5 http://linux.teamviewer.com/deb stable InRelease
Temporary failure resolving 'linux.teamviewer.com'
Err:6 http://dl.google.com/linux/chrome/deb stable InRelease
Temporary failure resolving 'dl.google.com'
Err:7 http://us.archive.ubuntu.com/ubuntu xenial InRelease
Temporary failure resolving 'us.archive.ubuntu.com'
Err:8 http://ppa.launchpad.net/nesthib/weechat-stable/ubuntu xenial InRelease
Temporary failure resolving 'ppa.launchpad.net'
Err:9 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease
Temporary failure resolving 'us.archive.ubuntu.com'
0% [Connecting to us.archive.ubuntu.com] [Connecting to ppa.launchpad.net]









share|improve this question

























  • "I can ping my university servers only from my terminal. I can't ping 8.8.8.8/8.8.4.4 etc" this sounds like a problem with your university's network or usage policies

    – steeldriver
    Feb 16 at 15:33











  • No, I don't think so. I can't install/update from my apt package manager. And I think my laptop is in deadlock(can't avail the resources).

    – DexLost
    Feb 16 at 17:52











  • Anyone is there? Isn't this question appearing in askubuntu page? Please help, I am stuck here since a week.

    – DexLost
    Feb 23 at 12:02


















0















on, sudo apt-get install x :



Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libaio1 libevent-core-2.0-5 mysql-client-5.7
mysql-client-core-5.7 mysql-common mysql-server-5.7
mysql-server-core-5.7
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
ample
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 35.2 kB of archives.
After this operation, 98.3 kB of additional disk space will be used.
Err:1 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 ample amd64 0.5.7-8
Temporary failure resolving 'us.archive.ubuntu.com'
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/universe/a/ample/ample_0.5.7-8_amd64.deb Temporary failure resolving 'us.archive.ubuntu.com'

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?


It gets stuck there at 0% [working], and finally comes with the error bove



sometimes its showing different error,
after 100% downloading,



e: could not get lock /var/lib/apt/lists/lock - open (11: resource temporarily unavailable) e: unable to lock directory /var/lib/apt/lists/


Now let me tell about my machine, internet connection is working properly on other clients/web clients. I can ping my university servers only, from my terminal(i.e I can ping only university server from my terminal). I can't ping 8.8.8.8/8.8.4.4 etc. I tried this to solve the ping problem I can install package from octave -forge from the same terminal by octave-cli



another,



sudo apt-get update 
[sudo] password for x:
Err:1 https://ftp.ussg.iu.edu/CRAN/bin/linux/ubuntu xenial/ InRelease
Could not resolve host: ftp.ussg.iu.edu
Err:2 https://download.sublimetext.com apt/stable/ InRelease
Could not resolve host: download.sublimetext.com
Err:3 http://ppa.launchpad.net/mamarley/quassel/ubuntu xenial InRelease
Temporary failure resolving 'ppa.launchpad.net'
Err:4 http://security.ubuntu.com/ubuntu xenial-security InRelease
Temporary failure resolving 'security.ubuntu.com'
Err:5 http://linux.teamviewer.com/deb stable InRelease
Temporary failure resolving 'linux.teamviewer.com'
Err:6 http://dl.google.com/linux/chrome/deb stable InRelease
Temporary failure resolving 'dl.google.com'
Err:7 http://us.archive.ubuntu.com/ubuntu xenial InRelease
Temporary failure resolving 'us.archive.ubuntu.com'
Err:8 http://ppa.launchpad.net/nesthib/weechat-stable/ubuntu xenial InRelease
Temporary failure resolving 'ppa.launchpad.net'
Err:9 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease
Temporary failure resolving 'us.archive.ubuntu.com'
0% [Connecting to us.archive.ubuntu.com] [Connecting to ppa.launchpad.net]









share|improve this question

























  • "I can ping my university servers only from my terminal. I can't ping 8.8.8.8/8.8.4.4 etc" this sounds like a problem with your university's network or usage policies

    – steeldriver
    Feb 16 at 15:33











  • No, I don't think so. I can't install/update from my apt package manager. And I think my laptop is in deadlock(can't avail the resources).

    – DexLost
    Feb 16 at 17:52











  • Anyone is there? Isn't this question appearing in askubuntu page? Please help, I am stuck here since a week.

    – DexLost
    Feb 23 at 12:02














0












0








0


5






on, sudo apt-get install x :



Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libaio1 libevent-core-2.0-5 mysql-client-5.7
mysql-client-core-5.7 mysql-common mysql-server-5.7
mysql-server-core-5.7
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
ample
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 35.2 kB of archives.
After this operation, 98.3 kB of additional disk space will be used.
Err:1 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 ample amd64 0.5.7-8
Temporary failure resolving 'us.archive.ubuntu.com'
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/universe/a/ample/ample_0.5.7-8_amd64.deb Temporary failure resolving 'us.archive.ubuntu.com'

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?


It gets stuck there at 0% [working], and finally comes with the error bove



sometimes its showing different error,
after 100% downloading,



e: could not get lock /var/lib/apt/lists/lock - open (11: resource temporarily unavailable) e: unable to lock directory /var/lib/apt/lists/


Now let me tell about my machine, internet connection is working properly on other clients/web clients. I can ping my university servers only, from my terminal(i.e I can ping only university server from my terminal). I can't ping 8.8.8.8/8.8.4.4 etc. I tried this to solve the ping problem I can install package from octave -forge from the same terminal by octave-cli



another,



sudo apt-get update 
[sudo] password for x:
Err:1 https://ftp.ussg.iu.edu/CRAN/bin/linux/ubuntu xenial/ InRelease
Could not resolve host: ftp.ussg.iu.edu
Err:2 https://download.sublimetext.com apt/stable/ InRelease
Could not resolve host: download.sublimetext.com
Err:3 http://ppa.launchpad.net/mamarley/quassel/ubuntu xenial InRelease
Temporary failure resolving 'ppa.launchpad.net'
Err:4 http://security.ubuntu.com/ubuntu xenial-security InRelease
Temporary failure resolving 'security.ubuntu.com'
Err:5 http://linux.teamviewer.com/deb stable InRelease
Temporary failure resolving 'linux.teamviewer.com'
Err:6 http://dl.google.com/linux/chrome/deb stable InRelease
Temporary failure resolving 'dl.google.com'
Err:7 http://us.archive.ubuntu.com/ubuntu xenial InRelease
Temporary failure resolving 'us.archive.ubuntu.com'
Err:8 http://ppa.launchpad.net/nesthib/weechat-stable/ubuntu xenial InRelease
Temporary failure resolving 'ppa.launchpad.net'
Err:9 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease
Temporary failure resolving 'us.archive.ubuntu.com'
0% [Connecting to us.archive.ubuntu.com] [Connecting to ppa.launchpad.net]









share|improve this question
















on, sudo apt-get install x :



Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libaio1 libevent-core-2.0-5 mysql-client-5.7
mysql-client-core-5.7 mysql-common mysql-server-5.7
mysql-server-core-5.7
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
ample
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 35.2 kB of archives.
After this operation, 98.3 kB of additional disk space will be used.
Err:1 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 ample amd64 0.5.7-8
Temporary failure resolving 'us.archive.ubuntu.com'
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/universe/a/ample/ample_0.5.7-8_amd64.deb Temporary failure resolving 'us.archive.ubuntu.com'

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?


It gets stuck there at 0% [working], and finally comes with the error bove



sometimes its showing different error,
after 100% downloading,



e: could not get lock /var/lib/apt/lists/lock - open (11: resource temporarily unavailable) e: unable to lock directory /var/lib/apt/lists/


Now let me tell about my machine, internet connection is working properly on other clients/web clients. I can ping my university servers only, from my terminal(i.e I can ping only university server from my terminal). I can't ping 8.8.8.8/8.8.4.4 etc. I tried this to solve the ping problem I can install package from octave -forge from the same terminal by octave-cli



another,



sudo apt-get update 
[sudo] password for x:
Err:1 https://ftp.ussg.iu.edu/CRAN/bin/linux/ubuntu xenial/ InRelease
Could not resolve host: ftp.ussg.iu.edu
Err:2 https://download.sublimetext.com apt/stable/ InRelease
Could not resolve host: download.sublimetext.com
Err:3 http://ppa.launchpad.net/mamarley/quassel/ubuntu xenial InRelease
Temporary failure resolving 'ppa.launchpad.net'
Err:4 http://security.ubuntu.com/ubuntu xenial-security InRelease
Temporary failure resolving 'security.ubuntu.com'
Err:5 http://linux.teamviewer.com/deb stable InRelease
Temporary failure resolving 'linux.teamviewer.com'
Err:6 http://dl.google.com/linux/chrome/deb stable InRelease
Temporary failure resolving 'dl.google.com'
Err:7 http://us.archive.ubuntu.com/ubuntu xenial InRelease
Temporary failure resolving 'us.archive.ubuntu.com'
Err:8 http://ppa.launchpad.net/nesthib/weechat-stable/ubuntu xenial InRelease
Temporary failure resolving 'ppa.launchpad.net'
Err:9 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease
Temporary failure resolving 'us.archive.ubuntu.com'
0% [Connecting to us.archive.ubuntu.com] [Connecting to ppa.launchpad.net]






16.04 networking apt dns ping






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Feb 16 at 17:47







DexLost

















asked Feb 16 at 15:01









DexLostDexLost

63




63













  • "I can ping my university servers only from my terminal. I can't ping 8.8.8.8/8.8.4.4 etc" this sounds like a problem with your university's network or usage policies

    – steeldriver
    Feb 16 at 15:33











  • No, I don't think so. I can't install/update from my apt package manager. And I think my laptop is in deadlock(can't avail the resources).

    – DexLost
    Feb 16 at 17:52











  • Anyone is there? Isn't this question appearing in askubuntu page? Please help, I am stuck here since a week.

    – DexLost
    Feb 23 at 12:02



















  • "I can ping my university servers only from my terminal. I can't ping 8.8.8.8/8.8.4.4 etc" this sounds like a problem with your university's network or usage policies

    – steeldriver
    Feb 16 at 15:33











  • No, I don't think so. I can't install/update from my apt package manager. And I think my laptop is in deadlock(can't avail the resources).

    – DexLost
    Feb 16 at 17:52











  • Anyone is there? Isn't this question appearing in askubuntu page? Please help, I am stuck here since a week.

    – DexLost
    Feb 23 at 12:02

















"I can ping my university servers only from my terminal. I can't ping 8.8.8.8/8.8.4.4 etc" this sounds like a problem with your university's network or usage policies

– steeldriver
Feb 16 at 15:33





"I can ping my university servers only from my terminal. I can't ping 8.8.8.8/8.8.4.4 etc" this sounds like a problem with your university's network or usage policies

– steeldriver
Feb 16 at 15:33













No, I don't think so. I can't install/update from my apt package manager. And I think my laptop is in deadlock(can't avail the resources).

– DexLost
Feb 16 at 17:52





No, I don't think so. I can't install/update from my apt package manager. And I think my laptop is in deadlock(can't avail the resources).

– DexLost
Feb 16 at 17:52













Anyone is there? Isn't this question appearing in askubuntu page? Please help, I am stuck here since a week.

– DexLost
Feb 23 at 12:02





Anyone is there? Isn't this question appearing in askubuntu page? Please help, I am stuck here since a week.

– DexLost
Feb 23 at 12:02










0






active

oldest

votes












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%2f1118769%2fupdate-install-ping-is-not-working-in-16-04lts-cant-open-lock-file%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















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%2f1118769%2fupdate-install-ping-is-not-working-in-16-04lts-cant-open-lock-file%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

Biblatex bibliography style without URLs when DOI exists (in Overleaf with Zotero bibliography)

ComboBox Display Member on multiple fields

Is it possible to collect Nectar points via Trainline?