Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic: [EN] Nala -- confused  (Read 1618 times)

Offline titan

  • User
  • Posts: 327
[EN] Nala -- confused
« on: 2024/06/09, 13:06:55 »
In the Debian manpage for nala it says

By default nala will run the equivalent of apt update && apt full-upgrade --auto-remove.

which is how I have been running it with auto remove set to false in config

However while in nala and looking at nala  upgrade --help you get this

There are 3 modes to an upgrade with apt.

              Only Upgrade packages, do NOT Install or Remove any packages.
                     (nala upgrade / apt-get upgrade)

              Upgrade and Install NEW packages if required, but do NOT remove any.
                     (apt upgrade)

                     python3-apt does not support this mode, there is no nala equivalent.

              Upgrade and Install NEW packages and Remove packages if necessary.
                     (nala full-upgrade / apt full-upgrade / apt-get dist-upgrade)

       By default nala will only upgrade packages and autoremove

Which I find ambiguous as it seems to be saying that nala full-upgrade should be used then at the bottom  By default nala will only upgrade packages and autoremove

So what is the correct command for dist-upgrade ?

Offline edlin

  • User
  • Posts: 609
Re: Nala -- confused
« Reply #1 on: 2024/06/09, 13:58:16 »
Goto /etc/nala/ and edit nala.conf

There must be a line with full_upgrade = true. Edit this line and nala will use a full-upgrade.

edlin
Der Kluge lernt aus allem und von jedem,
der Normale aus seinen Erfahrungen
und der Dumme weiß alles besser.

Sokrates

Offline titan

  • User
  • Posts: 327
Re: Nala -- confused
« Reply #2 on: 2024/06/09, 14:06:49 »
Yes I have this line edited some time ago. I think that

 "Only Upgrade packages, do NOT Install or Remove any packages"  means you have to say yes or no to progress (as happens now)

but

"Upgrade and Install NEW packages and Remove packages if necessary" means it will proceed automatically

just seems ambiguous to me


Offline hendrikL

  • Administrator
  • User
  • *****
  • Gravatar
  • Posts: 1.022
Re: Nala -- confused
« Reply #3 on: 2024/06/09, 16:30:03 »
Even apt asks if you want to continue or not!
If not it could be fatal, so it is a correct behaviour.
Nowhere is written that it doesn't ask!
But, if you do not want to be asked, you need the --assume-yes variable, and this is not a good idea. you will get trouble verry soon!

Offline titan

  • User
  • Posts: 327
Re: Nala -- confused
« Reply #4 on: 2024/06/09, 16:37:01 »
I think I am being misunderstood. When I want to do a dist-upgrade or full-upgrade with nala I use nala upgrade why have they now got  nala full-upgrade if upgrade does the same thing