UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Not enough free space in /var/cache/apt/archives/.

    Scheduled Pinned Locked Moved Support
    9 Posts 5 Posters 2.0k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • H Offline
        hammerhead
        last edited by

        Hi, I'm trying to install android-tools-adb on my Nexus 5, but when I try to do so, I get "E: You don't have enough free space in /var/cache/apt/archives/."

        I've tried everything, from deleting .debs in /var/cache/apt/archives to apt autoremove, etc.

        I'm on 16.04/devel if that helps.

        LakotaubpL 1 Reply Last reply Reply Quote 0
        • KenedaK Offline
          Keneda
          last edited by

          https://forums.ubports.com/topic/4118/android-tools-takes-up-too-much-space

          2015-2023 : Meizu MX4 ☠️⚰️✝️
          2023-2024 : Nexus 5 ☠️⚰️✝️
          2024-***** : FPOS Fairphone 5
          🇲🇫🇬🇧

          1 Reply Last reply Reply Quote -1
          • H Offline
            hammerhead
            last edited by

            I can't install android-tools-adb. Please read the post.

            1 Reply Last reply Reply Quote 0
            • LakotaubpL Offline
              Lakotaubp @hammerhead
              last edited by

              @hammerhead Can I ask, just in case I'm missing or no understanding something why you want adb on your nexus5 and not on your pc/laptop

              1 Reply Last reply Reply Quote 0
              • H Offline
                hammerhead
                last edited by

                @Lakotaubp this is to install Android apps with Anbox on my nexus 5.

                LakotaubpL 1 Reply Last reply Reply Quote 0
                • LakotaubpL Offline
                  Lakotaubp @hammerhead
                  last edited by

                  @hammerhead Ok so it is similar to that other post then ( https://forums.ubports.com/topic/4118/android-tools-takes-up-too-much-space ). Apt is not advised to be used on UT by the way, so I gather. Lets see if someone has an answer for you. I have never tried anbox though it is a bit hit and miss depending what you try. Think of it more as a proof of concept than much else at present.

                  1 Reply Last reply Reply Quote 0
                  • LakotaubpL Offline
                    Lakotaubp
                    last edited by

                    Maybe this will help https://forums.ubports.com/topic/2876/anbox-development?_=1587304810996

                    budrzB 1 Reply Last reply Reply Quote 0
                    • hankschwieH Offline
                      hankschwie
                      last edited by hankschwie

                      Hi!
                      Did you try this from the official documentation page?
                      http://docs.ubports.com/en/latest/userguide/dailyuse/anbox.html#troubleshooting

                      You could also remove unneeded packages, especially unneeded Hunspell/Myspell dictionaries, ubuntu-keyboard-* and language-pack-touch-*-packages and dependencies with

                      sudo apt-get purge <package name>
                      

                      Just be careful about what you remove...

                      1 Reply Last reply Reply Quote 0
                      • budrzB Offline
                        budrz @Lakotaubp
                        last edited by

                        @Lakotaubp This was helpful for me on that ubports post "android tools takes up too much space." After doing some digging around I found this which addresses exactly my problem. My apt seems to be working now.

                        1 Reply Last reply Reply Quote 0

                        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                        With your input, this post could be even better 💗

                        Register Login
                        • First post
                          Last post