Unable to install packages with apt-get












0















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?










share|improve this question




















  • 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


















0















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?










share|improve this question




















  • 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
















0












0








0








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?










share|improve this question
















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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








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
















  • 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










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












1 Answer
1






active

oldest

votes


















0














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





share|improve this answer























    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
    });


    }
    });














    draft saved

    draft discarded


















    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









    0














    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





    share|improve this answer




























      0














      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





      share|improve this answer


























        0












        0








        0







        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





        share|improve this answer













        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






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Jan 15 '13 at 9:59









        invertinvert

        4,82721732




        4,82721732






























            draft saved

            draft discarded




















































            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.




            draft saved


            draft discarded














            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





















































            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

            How to make a Squid Proxy server?

            Is this a new Fibonacci Identity?

            19世紀