apt-get Doesn't workGetting error while running this command sudo apt-get install curl git-coreUbuntu...
Why did Democrats in the Senate oppose the Born-Alive Abortion Survivors Protection Act?
Is there a verb that means to inject with poison?
Why does PHOTOREC keep finding files?
How much mayhem could I cause as a fish?
How can I play a serial killer in a party of good PCs?
Saint abbreviation
How do I prevent a homebrew Grappling Hook feature from trivializing Tomb of Annihilation?
Airplane generations - how does it work?
How can the probability of a fumble decrease linearly with more dice?
Why is Agricola named as such?
TikZ graph edges not drawn nicely
What is the difference between rolling more dice versus fewer dice?
How to politely refuse in-office gym instructor for steroids and protein
How do I append a character to the end of every line in an excel cell?
Citing paid articles from illegal web sharing
Why is there a prohibition of gevinat aku"m?
Most demanding German Newspapers
Why did the villain in the first Men in Black movie care about Earth's Cockroaches?
Construct a section (or slice) through 3D Regions
What happens when I Twin Life Transference?
Macro expansion inside href
Can you tell from a blurry photo if focus was too close or too far?
What is a good reason for every spaceship to carry a weapon on board?
Why does magnet wire need to be insulated?
apt-get Doesn't work
Getting error while running this command sudo apt-get install curl git-coreUbuntu apt-get update/ install issuesNot update to “apt-get update”apt-get install is not working because of dpkg, how to solveUbuntu upgrade failing from 16.04 to 16.10 : ' Failed to lock /var/cache/apt/archives/lock "Can't uninstall PHPmyadmin in Ubuntu 16.0418.04.1 Server keeps creating /var/lib/dpkg/lock and /var/cache/apt/archives/lock. What now?dependency, sudo, and apt-get errors in Kubuntusudo apt-get broken after sudo apt-get upgradeDpkg unrecoverable fatal error
Whenever I run apt-get
For example: apt-get install bash bison gawk m4
it says this:
E: Could not open lock file /var/cache/apt/archives/lock - open (13: Permission denied) E: Unable to lock directory /var/cache/apt/archives/
.
I tried to fix it using
sudo/mv/var/cache/apt/archives/lock/var/cache/apt/archives/lock_bak
but it says this:
mv: cannot stat '/var/cache/apt/archives/lock': No such file or directory
.
How can I fix this?
Commands ran on Ubuntu 18.04.2 LTS
apt permissions dpkg
New contributor
add a comment |
Whenever I run apt-get
For example: apt-get install bash bison gawk m4
it says this:
E: Could not open lock file /var/cache/apt/archives/lock - open (13: Permission denied) E: Unable to lock directory /var/cache/apt/archives/
.
I tried to fix it using
sudo/mv/var/cache/apt/archives/lock/var/cache/apt/archives/lock_bak
but it says this:
mv: cannot stat '/var/cache/apt/archives/lock': No such file or directory
.
How can I fix this?
Commands ran on Ubuntu 18.04.2 LTS
apt permissions dpkg
New contributor
add a comment |
Whenever I run apt-get
For example: apt-get install bash bison gawk m4
it says this:
E: Could not open lock file /var/cache/apt/archives/lock - open (13: Permission denied) E: Unable to lock directory /var/cache/apt/archives/
.
I tried to fix it using
sudo/mv/var/cache/apt/archives/lock/var/cache/apt/archives/lock_bak
but it says this:
mv: cannot stat '/var/cache/apt/archives/lock': No such file or directory
.
How can I fix this?
Commands ran on Ubuntu 18.04.2 LTS
apt permissions dpkg
New contributor
Whenever I run apt-get
For example: apt-get install bash bison gawk m4
it says this:
E: Could not open lock file /var/cache/apt/archives/lock - open (13: Permission denied) E: Unable to lock directory /var/cache/apt/archives/
.
I tried to fix it using
sudo/mv/var/cache/apt/archives/lock/var/cache/apt/archives/lock_bak
but it says this:
mv: cannot stat '/var/cache/apt/archives/lock': No such file or directory
.
How can I fix this?
Commands ran on Ubuntu 18.04.2 LTS
apt permissions dpkg
apt permissions dpkg
New contributor
New contributor
New contributor
asked 1 min ago
HoidbergHoidberg
11
11
New contributor
New contributor
add a comment |
add a comment |
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
});
}
});
Hoidberg is a new contributor. Be nice, and check out our Code of Conduct.
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%2faskubuntu.com%2fquestions%2f1121548%2fapt-get-doesnt-work%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
Hoidberg is a new contributor. Be nice, and check out our Code of Conduct.
Hoidberg is a new contributor. Be nice, and check out our Code of Conduct.
Hoidberg is a new contributor. Be nice, and check out our Code of Conduct.
Hoidberg is a new contributor. Be nice, and check out our Code of Conduct.
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.
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%2faskubuntu.com%2fquestions%2f1121548%2fapt-get-doesnt-work%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