Installing cuda toolkit Ubuntu 14.04 causes dpkg error












2















When I was installing cuda toolkit Ubuntu 14.04 causes dpkg error.



This is what I did:



sudo apt-get install build-essential
sudo dpkg -i cuda-repo-ubuntu1404-7-0-local_7.0-28_amd64.deb


However I get this error from dpkg:



dpkg-deb: error: cuda-repo-ubuntu1404-7-0-local_7.0-28_amd64.deb is not a debian format archive
dpkg: error processing archive cuda-repo-ubuntu1404-7-0-local_7.0-28_amd64.deb (--install):
subprocess dpkg-deb --control returned error exit status 2
dpkg-split: error: error reading .: Is a directory
dpkg: error processing archive . (--install):
subprocess dpkg-split returned error exit status 2

Errors were encountered while processing:
cuda-repo-ubuntu1404-7-0-local_7.0-28_amd64.deb









share|improve this question

























  • Maybe it's a problem with the name. Can you try with these steps 1) cp cuda-repo-ubuntu1404-7-0-local_7.0-28_amd64.deb cuda_repo_ubuntu1404_7_0_local_7.0_28_amd64.deb 2) sudo dpkg -i cuda_repo_ubuntu1404_7_0_local_7.0_28_amd64.deb

    – tigerjack89
    May 2 '15 at 8:35













  • i am in same directory and I have tested this:1) cp cuda-repo-ubuntu1404-7-0-local_7.0-28_amd64.deb cuda_repo_ubuntu1404_7_0_local_7.0_28_amd64.deb 2) sudo dpkg -i cuda_repo_ubuntu1404_7_0_local_7.0_28_amd64.deb but i have the error again

    – Reza Ss
    May 2 '15 at 10:42











  • sorry, I mean cp cuda-repo-ubuntu1404-7-0-local_7.0-28_amd64.deb cuda_repo_ubuntu1404_7_0_local_7_0_28_amd64.deb 2) sudo dpkg -i cuda_repo_ubuntu1404_7_0_local_7_0_28_amd64.deb. The whole point is to replace every - or . in the file name with an underscore.

    – tigerjack89
    May 2 '15 at 10:58













  • this didn't solve the problem

    – Reza Ss
    May 2 '15 at 16:37











  • Can you verify the integrity of that file? Run md5sum cuda_repo_ubuntu1404_7_0_local_7_0_28_amd64.deb and compare the result to 9c74b64c8f453a5a907959c29fc0097c (source). The output of file uda_repo_ubuntu1404_7_0_local_7_0_28_amd64.deb may also give us a hint to the nature of that file.

    – David Foerster
    May 22 '15 at 7:32


















2















When I was installing cuda toolkit Ubuntu 14.04 causes dpkg error.



This is what I did:



sudo apt-get install build-essential
sudo dpkg -i cuda-repo-ubuntu1404-7-0-local_7.0-28_amd64.deb


However I get this error from dpkg:



dpkg-deb: error: cuda-repo-ubuntu1404-7-0-local_7.0-28_amd64.deb is not a debian format archive
dpkg: error processing archive cuda-repo-ubuntu1404-7-0-local_7.0-28_amd64.deb (--install):
subprocess dpkg-deb --control returned error exit status 2
dpkg-split: error: error reading .: Is a directory
dpkg: error processing archive . (--install):
subprocess dpkg-split returned error exit status 2

Errors were encountered while processing:
cuda-repo-ubuntu1404-7-0-local_7.0-28_amd64.deb









share|improve this question

























  • Maybe it's a problem with the name. Can you try with these steps 1) cp cuda-repo-ubuntu1404-7-0-local_7.0-28_amd64.deb cuda_repo_ubuntu1404_7_0_local_7.0_28_amd64.deb 2) sudo dpkg -i cuda_repo_ubuntu1404_7_0_local_7.0_28_amd64.deb

    – tigerjack89
    May 2 '15 at 8:35













  • i am in same directory and I have tested this:1) cp cuda-repo-ubuntu1404-7-0-local_7.0-28_amd64.deb cuda_repo_ubuntu1404_7_0_local_7.0_28_amd64.deb 2) sudo dpkg -i cuda_repo_ubuntu1404_7_0_local_7.0_28_amd64.deb but i have the error again

    – Reza Ss
    May 2 '15 at 10:42











  • sorry, I mean cp cuda-repo-ubuntu1404-7-0-local_7.0-28_amd64.deb cuda_repo_ubuntu1404_7_0_local_7_0_28_amd64.deb 2) sudo dpkg -i cuda_repo_ubuntu1404_7_0_local_7_0_28_amd64.deb. The whole point is to replace every - or . in the file name with an underscore.

    – tigerjack89
    May 2 '15 at 10:58













  • this didn't solve the problem

    – Reza Ss
    May 2 '15 at 16:37











  • Can you verify the integrity of that file? Run md5sum cuda_repo_ubuntu1404_7_0_local_7_0_28_amd64.deb and compare the result to 9c74b64c8f453a5a907959c29fc0097c (source). The output of file uda_repo_ubuntu1404_7_0_local_7_0_28_amd64.deb may also give us a hint to the nature of that file.

    – David Foerster
    May 22 '15 at 7:32
















2












2








2








When I was installing cuda toolkit Ubuntu 14.04 causes dpkg error.



This is what I did:



sudo apt-get install build-essential
sudo dpkg -i cuda-repo-ubuntu1404-7-0-local_7.0-28_amd64.deb


However I get this error from dpkg:



dpkg-deb: error: cuda-repo-ubuntu1404-7-0-local_7.0-28_amd64.deb is not a debian format archive
dpkg: error processing archive cuda-repo-ubuntu1404-7-0-local_7.0-28_amd64.deb (--install):
subprocess dpkg-deb --control returned error exit status 2
dpkg-split: error: error reading .: Is a directory
dpkg: error processing archive . (--install):
subprocess dpkg-split returned error exit status 2

Errors were encountered while processing:
cuda-repo-ubuntu1404-7-0-local_7.0-28_amd64.deb









share|improve this question
















When I was installing cuda toolkit Ubuntu 14.04 causes dpkg error.



This is what I did:



sudo apt-get install build-essential
sudo dpkg -i cuda-repo-ubuntu1404-7-0-local_7.0-28_amd64.deb


However I get this error from dpkg:



dpkg-deb: error: cuda-repo-ubuntu1404-7-0-local_7.0-28_amd64.deb is not a debian format archive
dpkg: error processing archive cuda-repo-ubuntu1404-7-0-local_7.0-28_amd64.deb (--install):
subprocess dpkg-deb --control returned error exit status 2
dpkg-split: error: error reading .: Is a directory
dpkg: error processing archive . (--install):
subprocess dpkg-split returned error exit status 2

Errors were encountered while processing:
cuda-repo-ubuntu1404-7-0-local_7.0-28_amd64.deb






apt nvidia package-management dpkg cuda






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited May 22 '15 at 7:28









David Foerster

28.4k1366111




28.4k1366111










asked May 1 '15 at 23:46









Reza SsReza Ss

1112




1112













  • Maybe it's a problem with the name. Can you try with these steps 1) cp cuda-repo-ubuntu1404-7-0-local_7.0-28_amd64.deb cuda_repo_ubuntu1404_7_0_local_7.0_28_amd64.deb 2) sudo dpkg -i cuda_repo_ubuntu1404_7_0_local_7.0_28_amd64.deb

    – tigerjack89
    May 2 '15 at 8:35













  • i am in same directory and I have tested this:1) cp cuda-repo-ubuntu1404-7-0-local_7.0-28_amd64.deb cuda_repo_ubuntu1404_7_0_local_7.0_28_amd64.deb 2) sudo dpkg -i cuda_repo_ubuntu1404_7_0_local_7.0_28_amd64.deb but i have the error again

    – Reza Ss
    May 2 '15 at 10:42











  • sorry, I mean cp cuda-repo-ubuntu1404-7-0-local_7.0-28_amd64.deb cuda_repo_ubuntu1404_7_0_local_7_0_28_amd64.deb 2) sudo dpkg -i cuda_repo_ubuntu1404_7_0_local_7_0_28_amd64.deb. The whole point is to replace every - or . in the file name with an underscore.

    – tigerjack89
    May 2 '15 at 10:58













  • this didn't solve the problem

    – Reza Ss
    May 2 '15 at 16:37











  • Can you verify the integrity of that file? Run md5sum cuda_repo_ubuntu1404_7_0_local_7_0_28_amd64.deb and compare the result to 9c74b64c8f453a5a907959c29fc0097c (source). The output of file uda_repo_ubuntu1404_7_0_local_7_0_28_amd64.deb may also give us a hint to the nature of that file.

    – David Foerster
    May 22 '15 at 7:32





















  • Maybe it's a problem with the name. Can you try with these steps 1) cp cuda-repo-ubuntu1404-7-0-local_7.0-28_amd64.deb cuda_repo_ubuntu1404_7_0_local_7.0_28_amd64.deb 2) sudo dpkg -i cuda_repo_ubuntu1404_7_0_local_7.0_28_amd64.deb

    – tigerjack89
    May 2 '15 at 8:35













  • i am in same directory and I have tested this:1) cp cuda-repo-ubuntu1404-7-0-local_7.0-28_amd64.deb cuda_repo_ubuntu1404_7_0_local_7.0_28_amd64.deb 2) sudo dpkg -i cuda_repo_ubuntu1404_7_0_local_7.0_28_amd64.deb but i have the error again

    – Reza Ss
    May 2 '15 at 10:42











  • sorry, I mean cp cuda-repo-ubuntu1404-7-0-local_7.0-28_amd64.deb cuda_repo_ubuntu1404_7_0_local_7_0_28_amd64.deb 2) sudo dpkg -i cuda_repo_ubuntu1404_7_0_local_7_0_28_amd64.deb. The whole point is to replace every - or . in the file name with an underscore.

    – tigerjack89
    May 2 '15 at 10:58













  • this didn't solve the problem

    – Reza Ss
    May 2 '15 at 16:37











  • Can you verify the integrity of that file? Run md5sum cuda_repo_ubuntu1404_7_0_local_7_0_28_amd64.deb and compare the result to 9c74b64c8f453a5a907959c29fc0097c (source). The output of file uda_repo_ubuntu1404_7_0_local_7_0_28_amd64.deb may also give us a hint to the nature of that file.

    – David Foerster
    May 22 '15 at 7:32



















Maybe it's a problem with the name. Can you try with these steps 1) cp cuda-repo-ubuntu1404-7-0-local_7.0-28_amd64.deb cuda_repo_ubuntu1404_7_0_local_7.0_28_amd64.deb 2) sudo dpkg -i cuda_repo_ubuntu1404_7_0_local_7.0_28_amd64.deb

– tigerjack89
May 2 '15 at 8:35







Maybe it's a problem with the name. Can you try with these steps 1) cp cuda-repo-ubuntu1404-7-0-local_7.0-28_amd64.deb cuda_repo_ubuntu1404_7_0_local_7.0_28_amd64.deb 2) sudo dpkg -i cuda_repo_ubuntu1404_7_0_local_7.0_28_amd64.deb

– tigerjack89
May 2 '15 at 8:35















i am in same directory and I have tested this:1) cp cuda-repo-ubuntu1404-7-0-local_7.0-28_amd64.deb cuda_repo_ubuntu1404_7_0_local_7.0_28_amd64.deb 2) sudo dpkg -i cuda_repo_ubuntu1404_7_0_local_7.0_28_amd64.deb but i have the error again

– Reza Ss
May 2 '15 at 10:42





i am in same directory and I have tested this:1) cp cuda-repo-ubuntu1404-7-0-local_7.0-28_amd64.deb cuda_repo_ubuntu1404_7_0_local_7.0_28_amd64.deb 2) sudo dpkg -i cuda_repo_ubuntu1404_7_0_local_7.0_28_amd64.deb but i have the error again

– Reza Ss
May 2 '15 at 10:42













sorry, I mean cp cuda-repo-ubuntu1404-7-0-local_7.0-28_amd64.deb cuda_repo_ubuntu1404_7_0_local_7_0_28_amd64.deb 2) sudo dpkg -i cuda_repo_ubuntu1404_7_0_local_7_0_28_amd64.deb. The whole point is to replace every - or . in the file name with an underscore.

– tigerjack89
May 2 '15 at 10:58







sorry, I mean cp cuda-repo-ubuntu1404-7-0-local_7.0-28_amd64.deb cuda_repo_ubuntu1404_7_0_local_7_0_28_amd64.deb 2) sudo dpkg -i cuda_repo_ubuntu1404_7_0_local_7_0_28_amd64.deb. The whole point is to replace every - or . in the file name with an underscore.

– tigerjack89
May 2 '15 at 10:58















this didn't solve the problem

– Reza Ss
May 2 '15 at 16:37





this didn't solve the problem

– Reza Ss
May 2 '15 at 16:37













Can you verify the integrity of that file? Run md5sum cuda_repo_ubuntu1404_7_0_local_7_0_28_amd64.deb and compare the result to 9c74b64c8f453a5a907959c29fc0097c (source). The output of file uda_repo_ubuntu1404_7_0_local_7_0_28_amd64.deb may also give us a hint to the nature of that file.

– David Foerster
May 22 '15 at 7:32







Can you verify the integrity of that file? Run md5sum cuda_repo_ubuntu1404_7_0_local_7_0_28_amd64.deb and compare the result to 9c74b64c8f453a5a907959c29fc0097c (source). The output of file uda_repo_ubuntu1404_7_0_local_7_0_28_amd64.deb may also give us a hint to the nature of that file.

– David Foerster
May 22 '15 at 7:32












1 Answer
1






active

oldest

votes


















0














Make sure that you're in the same directory as the .deb file and that you're using the right file name for the dpkg command.






share|improve this answer























    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%2f617120%2finstalling-cuda-toolkit-ubuntu-14-04-causes-dpkg-error%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














    Make sure that you're in the same directory as the .deb file and that you're using the right file name for the dpkg command.






    share|improve this answer




























      0














      Make sure that you're in the same directory as the .deb file and that you're using the right file name for the dpkg command.






      share|improve this answer


























        0












        0








        0







        Make sure that you're in the same directory as the .deb file and that you're using the right file name for the dpkg command.






        share|improve this answer













        Make sure that you're in the same directory as the .deb file and that you're using the right file name for the dpkg command.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered May 2 '15 at 2:23







        user371349





































            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%2f617120%2finstalling-cuda-toolkit-ubuntu-14-04-causes-dpkg-error%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 send String Array data to Server using php in android

            Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents

            Is anime1.com a legal site for watching anime?