Code Monkey home page Code Monkey logo

Comments (2)

bkw777 avatar bkw777 commented on August 19, 2024

I have partially half-assed not-really-but-kinda adressed this in a way in 1.0.7, by just not saving downloaded .deb packages any more. The temp dirs and cache dirs are still stupid and b0rken, but at least now they are 15M of stupid and b0rken instead of 3G of stupid and b0rken.

I'm leaving the issue open because it's still boken, just less harmful.

I am thinking that the whole cache idea was silly in the first place. I don't think it saves the user any network traffic.

What do you all think about having it just download the indexes and debs to temp every time? No persistent cache, and no more of this weird problem where root ends up creating fies in a non-root home dir which the user then can't delete. All downloads would be to tmp, and would be done as the user, and the only command run as root would be dpkg itself.

It should be simpler to write and work more reliably, but it might be slower or cause more downloading. I'm not sure. I also think it might result in exactly the same amount of downloading. Maybe I'll just try it in a branch and see what we see.

from mainline.

bkw777 avatar bkw777 commented on August 19, 2024

I think this is ok now. Might need one final manual sudo mainline --clean-cache, but I don't think it creates new bad dirs/files any more.

from mainline.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.