Unable to install packages with apt-get
I was trying to install vim and g++ but I couldn't. Presently I'm using Ubuntu 10.10. I tried all that I went through the net, but no use. This how it appears every time I do.
root@ubuntu:~# apt-get install vim vim-scripts vim-doc vim-latexsuite vim-gui-common vim gnome
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package vim is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'vim' has no installation candidate
E: Unable to locate package vim-scripts
E: Unable to locate package vim-doc
E: Unable to locate package vim-latexsuite
E: Unable to locate package vim-gui-common
E: Package 'vim' has no installation candidate
E: Unable to locate package gnome
How do I fix this?
boot linux-mint ubuntu-10.10 reboot
add a comment |
I was trying to install vim and g++ but I couldn't. Presently I'm using Ubuntu 10.10. I tried all that I went through the net, but no use. This how it appears every time I do.
root@ubuntu:~# apt-get install vim vim-scripts vim-doc vim-latexsuite vim-gui-common vim gnome
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package vim is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'vim' has no installation candidate
E: Unable to locate package vim-scripts
E: Unable to locate package vim-doc
E: Unable to locate package vim-latexsuite
E: Unable to locate package vim-gui-common
E: Package 'vim' has no installation candidate
E: Unable to locate package gnome
How do I fix this?
boot linux-mint ubuntu-10.10 reboot
1
what happens when you do apt-cache search vim?
– Journeyman Geek♦
Jan 6 '13 at 12:09
Have you tried doing aapt-get update
prior to installing? Have you enabled the repositories containing the packages? Easy way to check enabled repositories is to peek inside/etc/apt/sources.list
.
– user111228
Jan 6 '13 at 15:06
add a comment |
I was trying to install vim and g++ but I couldn't. Presently I'm using Ubuntu 10.10. I tried all that I went through the net, but no use. This how it appears every time I do.
root@ubuntu:~# apt-get install vim vim-scripts vim-doc vim-latexsuite vim-gui-common vim gnome
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package vim is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'vim' has no installation candidate
E: Unable to locate package vim-scripts
E: Unable to locate package vim-doc
E: Unable to locate package vim-latexsuite
E: Unable to locate package vim-gui-common
E: Package 'vim' has no installation candidate
E: Unable to locate package gnome
How do I fix this?
boot linux-mint ubuntu-10.10 reboot
I was trying to install vim and g++ but I couldn't. Presently I'm using Ubuntu 10.10. I tried all that I went through the net, but no use. This how it appears every time I do.
root@ubuntu:~# apt-get install vim vim-scripts vim-doc vim-latexsuite vim-gui-common vim gnome
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package vim is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'vim' has no installation candidate
E: Unable to locate package vim-scripts
E: Unable to locate package vim-doc
E: Unable to locate package vim-latexsuite
E: Unable to locate package vim-gui-common
E: Package 'vim' has no installation candidate
E: Unable to locate package gnome
How do I fix this?
boot linux-mint ubuntu-10.10 reboot
boot linux-mint ubuntu-10.10 reboot
edited Jan 6 '13 at 16:18
user111228
asked Jan 6 '13 at 11:41
mallikmallik
111
111
1
what happens when you do apt-cache search vim?
– Journeyman Geek♦
Jan 6 '13 at 12:09
Have you tried doing aapt-get update
prior to installing? Have you enabled the repositories containing the packages? Easy way to check enabled repositories is to peek inside/etc/apt/sources.list
.
– user111228
Jan 6 '13 at 15:06
add a comment |
1
what happens when you do apt-cache search vim?
– Journeyman Geek♦
Jan 6 '13 at 12:09
Have you tried doing aapt-get update
prior to installing? Have you enabled the repositories containing the packages? Easy way to check enabled repositories is to peek inside/etc/apt/sources.list
.
– user111228
Jan 6 '13 at 15:06
1
1
what happens when you do apt-cache search vim?
– Journeyman Geek♦
Jan 6 '13 at 12:09
what happens when you do apt-cache search vim?
– Journeyman Geek♦
Jan 6 '13 at 12:09
Have you tried doing a
apt-get update
prior to installing? Have you enabled the repositories containing the packages? Easy way to check enabled repositories is to peek inside /etc/apt/sources.list
.– user111228
Jan 6 '13 at 15:06
Have you tried doing a
apt-get update
prior to installing? Have you enabled the repositories containing the packages? Easy way to check enabled repositories is to peek inside /etc/apt/sources.list
.– user111228
Jan 6 '13 at 15:06
add a comment |
1 Answer
1
active
oldest
votes
You are trying to install a package named 'gnome', that does not seem like a fully valid package name:
E: Unable to locate package gnome
Remove 'gnome' from your command and try again:
sudo apt-get update && sudo apt-get install vim vim-scripts vim-doc vim-latexsuite vim-gui-common
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
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
});
}
});
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%2fsuperuser.com%2fquestions%2f528850%2funable-to-install-packages-with-apt-get%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
You are trying to install a package named 'gnome', that does not seem like a fully valid package name:
E: Unable to locate package gnome
Remove 'gnome' from your command and try again:
sudo apt-get update && sudo apt-get install vim vim-scripts vim-doc vim-latexsuite vim-gui-common
add a comment |
You are trying to install a package named 'gnome', that does not seem like a fully valid package name:
E: Unable to locate package gnome
Remove 'gnome' from your command and try again:
sudo apt-get update && sudo apt-get install vim vim-scripts vim-doc vim-latexsuite vim-gui-common
add a comment |
You are trying to install a package named 'gnome', that does not seem like a fully valid package name:
E: Unable to locate package gnome
Remove 'gnome' from your command and try again:
sudo apt-get update && sudo apt-get install vim vim-scripts vim-doc vim-latexsuite vim-gui-common
You are trying to install a package named 'gnome', that does not seem like a fully valid package name:
E: Unable to locate package gnome
Remove 'gnome' from your command and try again:
sudo apt-get update && sudo apt-get install vim vim-scripts vim-doc vim-latexsuite vim-gui-common
answered Jan 15 '13 at 9:59
invertinvert
4,82721732
4,82721732
add a comment |
add a comment |
Thanks for contributing an answer to Super User!
- 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%2fsuperuser.com%2fquestions%2f528850%2funable-to-install-packages-with-apt-get%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
1
what happens when you do apt-cache search vim?
– Journeyman Geek♦
Jan 6 '13 at 12:09
Have you tried doing a
apt-get update
prior to installing? Have you enabled the repositories containing the packages? Easy way to check enabled repositories is to peek inside/etc/apt/sources.list
.– user111228
Jan 6 '13 at 15:06