how to get rid of arm64 in apt











up vote
8
down vote

favorite
4












W: Invalid 'Date' entry in Release file /var/lib/apt/lists/_var_cuda-repo-8-0-local_Release
N: Skipping acquire of configured file 'non-free/binary-arm64/Packages' as repository 'http://repository.spotify.com stable InRelease' doesn't support architecture 'arm64'
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/xenial/main/binary-arm64/Packages 404 Not Found [IP: 91.189.88.161 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/xenial-updates/main/binary-arm64/Packages 404 Not Found [IP: 91.189.88.161 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/xenial-backports/main/binary-arm64/Packages 404 Not Found [IP: 91.189.88.161 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/xenial-security/main/binary-arm64/Packages 404 Not Found [IP: 91.189.88.161 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.


After I installed Jetpack for Jetson tx1, my ubuntu constantly tries to fetch arm updates. Is there a way to disable this?



EDIT:



$dpkg --print-architecture
amd64

$dpkg --print-foreign-architectures
i386
arm64


I see that arm64 is included in foreign architectures. How do I remove it?










share|improve this question




















  • 1




    Please add the output of dpkg --print-architecture and dpkg --print-foreign-architectures.
    – Byte Commander
    May 20 '17 at 11:46















up vote
8
down vote

favorite
4












W: Invalid 'Date' entry in Release file /var/lib/apt/lists/_var_cuda-repo-8-0-local_Release
N: Skipping acquire of configured file 'non-free/binary-arm64/Packages' as repository 'http://repository.spotify.com stable InRelease' doesn't support architecture 'arm64'
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/xenial/main/binary-arm64/Packages 404 Not Found [IP: 91.189.88.161 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/xenial-updates/main/binary-arm64/Packages 404 Not Found [IP: 91.189.88.161 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/xenial-backports/main/binary-arm64/Packages 404 Not Found [IP: 91.189.88.161 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/xenial-security/main/binary-arm64/Packages 404 Not Found [IP: 91.189.88.161 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.


After I installed Jetpack for Jetson tx1, my ubuntu constantly tries to fetch arm updates. Is there a way to disable this?



EDIT:



$dpkg --print-architecture
amd64

$dpkg --print-foreign-architectures
i386
arm64


I see that arm64 is included in foreign architectures. How do I remove it?










share|improve this question




















  • 1




    Please add the output of dpkg --print-architecture and dpkg --print-foreign-architectures.
    – Byte Commander
    May 20 '17 at 11:46













up vote
8
down vote

favorite
4









up vote
8
down vote

favorite
4






4





W: Invalid 'Date' entry in Release file /var/lib/apt/lists/_var_cuda-repo-8-0-local_Release
N: Skipping acquire of configured file 'non-free/binary-arm64/Packages' as repository 'http://repository.spotify.com stable InRelease' doesn't support architecture 'arm64'
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/xenial/main/binary-arm64/Packages 404 Not Found [IP: 91.189.88.161 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/xenial-updates/main/binary-arm64/Packages 404 Not Found [IP: 91.189.88.161 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/xenial-backports/main/binary-arm64/Packages 404 Not Found [IP: 91.189.88.161 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/xenial-security/main/binary-arm64/Packages 404 Not Found [IP: 91.189.88.161 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.


After I installed Jetpack for Jetson tx1, my ubuntu constantly tries to fetch arm updates. Is there a way to disable this?



EDIT:



$dpkg --print-architecture
amd64

$dpkg --print-foreign-architectures
i386
arm64


I see that arm64 is included in foreign architectures. How do I remove it?










share|improve this question















W: Invalid 'Date' entry in Release file /var/lib/apt/lists/_var_cuda-repo-8-0-local_Release
N: Skipping acquire of configured file 'non-free/binary-arm64/Packages' as repository 'http://repository.spotify.com stable InRelease' doesn't support architecture 'arm64'
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/xenial/main/binary-arm64/Packages 404 Not Found [IP: 91.189.88.161 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/xenial-updates/main/binary-arm64/Packages 404 Not Found [IP: 91.189.88.161 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/xenial-backports/main/binary-arm64/Packages 404 Not Found [IP: 91.189.88.161 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/xenial-security/main/binary-arm64/Packages 404 Not Found [IP: 91.189.88.161 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.


After I installed Jetpack for Jetson tx1, my ubuntu constantly tries to fetch arm updates. Is there a way to disable this?



EDIT:



$dpkg --print-architecture
amd64

$dpkg --print-foreign-architectures
i386
arm64


I see that arm64 is included in foreign architectures. How do I remove it?







16.04 apt nvidia






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited May 20 '17 at 11:49

























asked May 20 '17 at 11:44









MoneyBall

2131410




2131410








  • 1




    Please add the output of dpkg --print-architecture and dpkg --print-foreign-architectures.
    – Byte Commander
    May 20 '17 at 11:46














  • 1




    Please add the output of dpkg --print-architecture and dpkg --print-foreign-architectures.
    – Byte Commander
    May 20 '17 at 11:46








1




1




Please add the output of dpkg --print-architecture and dpkg --print-foreign-architectures.
– Byte Commander
May 20 '17 at 11:46




Please add the output of dpkg --print-architecture and dpkg --print-foreign-architectures.
– Byte Commander
May 20 '17 at 11:46










3 Answers
3






active

oldest

votes

















up vote
10
down vote



accepted










You can remove a foreign architecture by running



sudo dpkg --remove-architecture arm64


After that, you need to update your software lists.



sudo apt update




If you still get some errors or warnings, you can try deleting all your software lists and completely re-downloading them from the server, to make sure nothing old is left. Note that the complete download will take a bit longer than usual:



sudo rm -rf /var/lib/apt/lists
sudo apt update





share|improve this answer





















  • I get dpkg: error: cannot remove architecture 'arm64' currently in use by the database which is odd because i don't think i'm using it...
    – MoneyBall
    May 20 '17 at 12:06












  • @MoneyBall Can you add the output of dpkg -l | grep arm64 to your question? Seems like some arm64 packages are installed, which you would have to remove first.
    – Byte Commander
    May 20 '17 at 12:28










  • ah crap... I have arm64 cross compiler... but I successfully removed armhf which was a pain. Thank you.
    – MoneyBall
    May 20 '17 at 12:31










  • do you know how i can make apt-get update to stop fetching arm64 packages? How do i get rid of those 404 not found errors?
    – MoneyBall
    May 20 '17 at 12:34








  • 1




    Is there a way to remove the arm64 from the database, I'm having the same issues. EDIT sudo dpkg --force-architecture --remove-architecture arm64 and sudo rm -rf /var/lib/apt/lists with sudo apt update fixed it.
    – weezle1234
    Feb 27 at 4:16




















up vote
3
down vote













Faced same issue while working with jetson-tx2 arm64.
This manual refers the solution in advanced setup scenario
It turns out you can't remove architecture without removing packages.



This is useful when a foreign architecture has been added, causing "404 Not Found" errors to appear when the repository meta-data is updated.
For example, if you wanted to restrict a repository to only the amd64 and i386 architectures, it would look like:



deb [arch=amd64,i386] <url>


Provide the above option for all repositories in "sudo gedit /etc/apt/sources.list"



Now "sudo apt update" and it will fetch only from amd64 and i386.






share|improve this answer




























    up vote
    0
    down vote













    The same happened to me. I was not able to apt update, nor to apt upgrade, because arm64 Package updates failed in 404 Error.



    dpkg gave me the output:



    $ dpkg --print-foreign-architectures
    i386
    arm64


    Looking at my installed arm64 packages showed that there was some cross-compiling stuff installed by Jetpack:



    $ dpkg -l | grep arm64
    ii cuda-cudart-cross-aarch64-9-0:arm64 9.0.252-1 arm64 CUDA Runtime cross-aarch64 dev links, headers
    ii libc6-arm64-cross 2.23-0ubuntu3cross1 all GNU C Library: Shared libraries (for cross-compiling)
    ii linux-libc-dev-arm64-cross 4.4.0-18.34cross1 all Linux Kernel Headers for development (for cross-compiling)
    ...


    My solution:



    I just ran the Jetpack Uninstaller, which cleared all those cross-compiling packages as well as the arm64 architecture:



    $ ./JetPack_Uninstaller


    Afterwards I was able again to use apt properly.






    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',
      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%2f917081%2fhow-to-get-rid-of-arm64-in-apt%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      3 Answers
      3






      active

      oldest

      votes








      3 Answers
      3






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes








      up vote
      10
      down vote



      accepted










      You can remove a foreign architecture by running



      sudo dpkg --remove-architecture arm64


      After that, you need to update your software lists.



      sudo apt update




      If you still get some errors or warnings, you can try deleting all your software lists and completely re-downloading them from the server, to make sure nothing old is left. Note that the complete download will take a bit longer than usual:



      sudo rm -rf /var/lib/apt/lists
      sudo apt update





      share|improve this answer





















      • I get dpkg: error: cannot remove architecture 'arm64' currently in use by the database which is odd because i don't think i'm using it...
        – MoneyBall
        May 20 '17 at 12:06












      • @MoneyBall Can you add the output of dpkg -l | grep arm64 to your question? Seems like some arm64 packages are installed, which you would have to remove first.
        – Byte Commander
        May 20 '17 at 12:28










      • ah crap... I have arm64 cross compiler... but I successfully removed armhf which was a pain. Thank you.
        – MoneyBall
        May 20 '17 at 12:31










      • do you know how i can make apt-get update to stop fetching arm64 packages? How do i get rid of those 404 not found errors?
        – MoneyBall
        May 20 '17 at 12:34








      • 1




        Is there a way to remove the arm64 from the database, I'm having the same issues. EDIT sudo dpkg --force-architecture --remove-architecture arm64 and sudo rm -rf /var/lib/apt/lists with sudo apt update fixed it.
        – weezle1234
        Feb 27 at 4:16

















      up vote
      10
      down vote



      accepted










      You can remove a foreign architecture by running



      sudo dpkg --remove-architecture arm64


      After that, you need to update your software lists.



      sudo apt update




      If you still get some errors or warnings, you can try deleting all your software lists and completely re-downloading them from the server, to make sure nothing old is left. Note that the complete download will take a bit longer than usual:



      sudo rm -rf /var/lib/apt/lists
      sudo apt update





      share|improve this answer





















      • I get dpkg: error: cannot remove architecture 'arm64' currently in use by the database which is odd because i don't think i'm using it...
        – MoneyBall
        May 20 '17 at 12:06












      • @MoneyBall Can you add the output of dpkg -l | grep arm64 to your question? Seems like some arm64 packages are installed, which you would have to remove first.
        – Byte Commander
        May 20 '17 at 12:28










      • ah crap... I have arm64 cross compiler... but I successfully removed armhf which was a pain. Thank you.
        – MoneyBall
        May 20 '17 at 12:31










      • do you know how i can make apt-get update to stop fetching arm64 packages? How do i get rid of those 404 not found errors?
        – MoneyBall
        May 20 '17 at 12:34








      • 1




        Is there a way to remove the arm64 from the database, I'm having the same issues. EDIT sudo dpkg --force-architecture --remove-architecture arm64 and sudo rm -rf /var/lib/apt/lists with sudo apt update fixed it.
        – weezle1234
        Feb 27 at 4:16















      up vote
      10
      down vote



      accepted







      up vote
      10
      down vote



      accepted






      You can remove a foreign architecture by running



      sudo dpkg --remove-architecture arm64


      After that, you need to update your software lists.



      sudo apt update




      If you still get some errors or warnings, you can try deleting all your software lists and completely re-downloading them from the server, to make sure nothing old is left. Note that the complete download will take a bit longer than usual:



      sudo rm -rf /var/lib/apt/lists
      sudo apt update





      share|improve this answer












      You can remove a foreign architecture by running



      sudo dpkg --remove-architecture arm64


      After that, you need to update your software lists.



      sudo apt update




      If you still get some errors or warnings, you can try deleting all your software lists and completely re-downloading them from the server, to make sure nothing old is left. Note that the complete download will take a bit longer than usual:



      sudo rm -rf /var/lib/apt/lists
      sudo apt update






      share|improve this answer












      share|improve this answer



      share|improve this answer










      answered May 20 '17 at 11:55









      Byte Commander

      62.1k26167279




      62.1k26167279












      • I get dpkg: error: cannot remove architecture 'arm64' currently in use by the database which is odd because i don't think i'm using it...
        – MoneyBall
        May 20 '17 at 12:06












      • @MoneyBall Can you add the output of dpkg -l | grep arm64 to your question? Seems like some arm64 packages are installed, which you would have to remove first.
        – Byte Commander
        May 20 '17 at 12:28










      • ah crap... I have arm64 cross compiler... but I successfully removed armhf which was a pain. Thank you.
        – MoneyBall
        May 20 '17 at 12:31










      • do you know how i can make apt-get update to stop fetching arm64 packages? How do i get rid of those 404 not found errors?
        – MoneyBall
        May 20 '17 at 12:34








      • 1




        Is there a way to remove the arm64 from the database, I'm having the same issues. EDIT sudo dpkg --force-architecture --remove-architecture arm64 and sudo rm -rf /var/lib/apt/lists with sudo apt update fixed it.
        – weezle1234
        Feb 27 at 4:16




















      • I get dpkg: error: cannot remove architecture 'arm64' currently in use by the database which is odd because i don't think i'm using it...
        – MoneyBall
        May 20 '17 at 12:06












      • @MoneyBall Can you add the output of dpkg -l | grep arm64 to your question? Seems like some arm64 packages are installed, which you would have to remove first.
        – Byte Commander
        May 20 '17 at 12:28










      • ah crap... I have arm64 cross compiler... but I successfully removed armhf which was a pain. Thank you.
        – MoneyBall
        May 20 '17 at 12:31










      • do you know how i can make apt-get update to stop fetching arm64 packages? How do i get rid of those 404 not found errors?
        – MoneyBall
        May 20 '17 at 12:34








      • 1




        Is there a way to remove the arm64 from the database, I'm having the same issues. EDIT sudo dpkg --force-architecture --remove-architecture arm64 and sudo rm -rf /var/lib/apt/lists with sudo apt update fixed it.
        – weezle1234
        Feb 27 at 4:16


















      I get dpkg: error: cannot remove architecture 'arm64' currently in use by the database which is odd because i don't think i'm using it...
      – MoneyBall
      May 20 '17 at 12:06






      I get dpkg: error: cannot remove architecture 'arm64' currently in use by the database which is odd because i don't think i'm using it...
      – MoneyBall
      May 20 '17 at 12:06














      @MoneyBall Can you add the output of dpkg -l | grep arm64 to your question? Seems like some arm64 packages are installed, which you would have to remove first.
      – Byte Commander
      May 20 '17 at 12:28




      @MoneyBall Can you add the output of dpkg -l | grep arm64 to your question? Seems like some arm64 packages are installed, which you would have to remove first.
      – Byte Commander
      May 20 '17 at 12:28












      ah crap... I have arm64 cross compiler... but I successfully removed armhf which was a pain. Thank you.
      – MoneyBall
      May 20 '17 at 12:31




      ah crap... I have arm64 cross compiler... but I successfully removed armhf which was a pain. Thank you.
      – MoneyBall
      May 20 '17 at 12:31












      do you know how i can make apt-get update to stop fetching arm64 packages? How do i get rid of those 404 not found errors?
      – MoneyBall
      May 20 '17 at 12:34






      do you know how i can make apt-get update to stop fetching arm64 packages? How do i get rid of those 404 not found errors?
      – MoneyBall
      May 20 '17 at 12:34






      1




      1




      Is there a way to remove the arm64 from the database, I'm having the same issues. EDIT sudo dpkg --force-architecture --remove-architecture arm64 and sudo rm -rf /var/lib/apt/lists with sudo apt update fixed it.
      – weezle1234
      Feb 27 at 4:16






      Is there a way to remove the arm64 from the database, I'm having the same issues. EDIT sudo dpkg --force-architecture --remove-architecture arm64 and sudo rm -rf /var/lib/apt/lists with sudo apt update fixed it.
      – weezle1234
      Feb 27 at 4:16














      up vote
      3
      down vote













      Faced same issue while working with jetson-tx2 arm64.
      This manual refers the solution in advanced setup scenario
      It turns out you can't remove architecture without removing packages.



      This is useful when a foreign architecture has been added, causing "404 Not Found" errors to appear when the repository meta-data is updated.
      For example, if you wanted to restrict a repository to only the amd64 and i386 architectures, it would look like:



      deb [arch=amd64,i386] <url>


      Provide the above option for all repositories in "sudo gedit /etc/apt/sources.list"



      Now "sudo apt update" and it will fetch only from amd64 and i386.






      share|improve this answer

























        up vote
        3
        down vote













        Faced same issue while working with jetson-tx2 arm64.
        This manual refers the solution in advanced setup scenario
        It turns out you can't remove architecture without removing packages.



        This is useful when a foreign architecture has been added, causing "404 Not Found" errors to appear when the repository meta-data is updated.
        For example, if you wanted to restrict a repository to only the amd64 and i386 architectures, it would look like:



        deb [arch=amd64,i386] <url>


        Provide the above option for all repositories in "sudo gedit /etc/apt/sources.list"



        Now "sudo apt update" and it will fetch only from amd64 and i386.






        share|improve this answer























          up vote
          3
          down vote










          up vote
          3
          down vote









          Faced same issue while working with jetson-tx2 arm64.
          This manual refers the solution in advanced setup scenario
          It turns out you can't remove architecture without removing packages.



          This is useful when a foreign architecture has been added, causing "404 Not Found" errors to appear when the repository meta-data is updated.
          For example, if you wanted to restrict a repository to only the amd64 and i386 architectures, it would look like:



          deb [arch=amd64,i386] <url>


          Provide the above option for all repositories in "sudo gedit /etc/apt/sources.list"



          Now "sudo apt update" and it will fetch only from amd64 and i386.






          share|improve this answer












          Faced same issue while working with jetson-tx2 arm64.
          This manual refers the solution in advanced setup scenario
          It turns out you can't remove architecture without removing packages.



          This is useful when a foreign architecture has been added, causing "404 Not Found" errors to appear when the repository meta-data is updated.
          For example, if you wanted to restrict a repository to only the amd64 and i386 architectures, it would look like:



          deb [arch=amd64,i386] <url>


          Provide the above option for all repositories in "sudo gedit /etc/apt/sources.list"



          Now "sudo apt update" and it will fetch only from amd64 and i386.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Mar 22 at 6:32









          Dwijay Bane

          314




          314






















              up vote
              0
              down vote













              The same happened to me. I was not able to apt update, nor to apt upgrade, because arm64 Package updates failed in 404 Error.



              dpkg gave me the output:



              $ dpkg --print-foreign-architectures
              i386
              arm64


              Looking at my installed arm64 packages showed that there was some cross-compiling stuff installed by Jetpack:



              $ dpkg -l | grep arm64
              ii cuda-cudart-cross-aarch64-9-0:arm64 9.0.252-1 arm64 CUDA Runtime cross-aarch64 dev links, headers
              ii libc6-arm64-cross 2.23-0ubuntu3cross1 all GNU C Library: Shared libraries (for cross-compiling)
              ii linux-libc-dev-arm64-cross 4.4.0-18.34cross1 all Linux Kernel Headers for development (for cross-compiling)
              ...


              My solution:



              I just ran the Jetpack Uninstaller, which cleared all those cross-compiling packages as well as the arm64 architecture:



              $ ./JetPack_Uninstaller


              Afterwards I was able again to use apt properly.






              share|improve this answer

























                up vote
                0
                down vote













                The same happened to me. I was not able to apt update, nor to apt upgrade, because arm64 Package updates failed in 404 Error.



                dpkg gave me the output:



                $ dpkg --print-foreign-architectures
                i386
                arm64


                Looking at my installed arm64 packages showed that there was some cross-compiling stuff installed by Jetpack:



                $ dpkg -l | grep arm64
                ii cuda-cudart-cross-aarch64-9-0:arm64 9.0.252-1 arm64 CUDA Runtime cross-aarch64 dev links, headers
                ii libc6-arm64-cross 2.23-0ubuntu3cross1 all GNU C Library: Shared libraries (for cross-compiling)
                ii linux-libc-dev-arm64-cross 4.4.0-18.34cross1 all Linux Kernel Headers for development (for cross-compiling)
                ...


                My solution:



                I just ran the Jetpack Uninstaller, which cleared all those cross-compiling packages as well as the arm64 architecture:



                $ ./JetPack_Uninstaller


                Afterwards I was able again to use apt properly.






                share|improve this answer























                  up vote
                  0
                  down vote










                  up vote
                  0
                  down vote









                  The same happened to me. I was not able to apt update, nor to apt upgrade, because arm64 Package updates failed in 404 Error.



                  dpkg gave me the output:



                  $ dpkg --print-foreign-architectures
                  i386
                  arm64


                  Looking at my installed arm64 packages showed that there was some cross-compiling stuff installed by Jetpack:



                  $ dpkg -l | grep arm64
                  ii cuda-cudart-cross-aarch64-9-0:arm64 9.0.252-1 arm64 CUDA Runtime cross-aarch64 dev links, headers
                  ii libc6-arm64-cross 2.23-0ubuntu3cross1 all GNU C Library: Shared libraries (for cross-compiling)
                  ii linux-libc-dev-arm64-cross 4.4.0-18.34cross1 all Linux Kernel Headers for development (for cross-compiling)
                  ...


                  My solution:



                  I just ran the Jetpack Uninstaller, which cleared all those cross-compiling packages as well as the arm64 architecture:



                  $ ./JetPack_Uninstaller


                  Afterwards I was able again to use apt properly.






                  share|improve this answer












                  The same happened to me. I was not able to apt update, nor to apt upgrade, because arm64 Package updates failed in 404 Error.



                  dpkg gave me the output:



                  $ dpkg --print-foreign-architectures
                  i386
                  arm64


                  Looking at my installed arm64 packages showed that there was some cross-compiling stuff installed by Jetpack:



                  $ dpkg -l | grep arm64
                  ii cuda-cudart-cross-aarch64-9-0:arm64 9.0.252-1 arm64 CUDA Runtime cross-aarch64 dev links, headers
                  ii libc6-arm64-cross 2.23-0ubuntu3cross1 all GNU C Library: Shared libraries (for cross-compiling)
                  ii linux-libc-dev-arm64-cross 4.4.0-18.34cross1 all Linux Kernel Headers for development (for cross-compiling)
                  ...


                  My solution:



                  I just ran the Jetpack Uninstaller, which cleared all those cross-compiling packages as well as the arm64 architecture:



                  $ ./JetPack_Uninstaller


                  Afterwards I was able again to use apt properly.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Aug 24 at 9:09









                  Sparkofska

                  1




                  1






























                       

                      draft saved


                      draft discarded



















































                       


                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function () {
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f917081%2fhow-to-get-rid-of-arm64-in-apt%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 change which sound is reproduced for terminal bell?

                      Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents

                      Can I use Tabulator js library in my java Spring + Thymeleaf project?