Git Product home page Git Product logo

Comments (5)

volitank avatar volitank commented on August 11, 2024

Hmm this is a very interesting bug. Could you try to mimic it with apt using apt full-upgrade --auto-remove

Nala by default auto-removes files. In the next release there will be a configuration file to stop this behavior, as it's been requested several times. You could try nala update -y --no-autoremove and I'd think we would avoid this.

Additionally which version of Nala are you currently using? I'm assuming it's the latest 0.6.0 since you have my repo configured.

from nala.

volitank avatar volitank commented on August 11, 2024

also I can't really tell but it may be the auto-fixer. Like the packages are marked as auto-removal when they shouldn't be, so the next time you run upgrade it does the equivalent of apt install -f. Nala will automatically try to fix broken packages if there are any, and a package missing it's dependency would qualify for that.

You can test by allowing Nala to remove those packages and then try to upgrade with apt. If this is the case apt should tell you there are broken packages.

from nala.

Booteille avatar Booteille commented on August 11, 2024

Hmm this is a very interesting bug. Could you try to mimic it with apt using apt full-upgrade --auto-remove

This tries to remove shown packages if they are installed.

Nala by default auto-removes files. In the next release there will be a configuration file to stop this behavior, as it's been requested several times. You could try nala update -y --no-autoremove and I'd think we would avoid this.

This does not remove these packages, as you supposed.

Additionally which version of Nala are you currently using? I'm assuming it's the latest 0.6.0 since you have my repo configured.

Yes, I am using the 0.6.0.

also I can't really tell but it may be the auto-fixer. Like the packages are marked as auto-removal when they shouldn't be, so the next time you run upgrade it does the equivalent of apt install -f. Nala will automatically try to fix broken packages if there are any, and a package missing it's dependency would qualify for that.

You can test by allowing Nala to remove those packages and then try to upgrade with apt. If this is the case apt should tell you there are broken packages.

I did nala upgrade -y, removed proposed packages then apt upgrade -y and apt install -f and it didn't add or remove any package. But when trying to run nala upgrade -y again, it installed these packages.

Considering that, I don't think there are any broken packages on my system and nala is playing with these packages for another reason.

Thanks for your support!

from nala.

volitank avatar volitank commented on August 11, 2024

So apt full-upgrade --auto-remove has the same interaction. I'm wondering if this is actually a bug with Pop_OS packaging. Wouldn't be the first time Pop screwed something up.

Maybe auto-removing by default isn't the correct approach, I'm not exactly sure. On debian and ubuntu I've never seen this happen.

from nala.

volitank avatar volitank commented on August 11, 2024

Going to close this issue as there hasn't been any activity. If you run into this again feel free to open a new one on GitLab.

from nala.

Related Issues (13)

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.