Siduction Forum

Siduction Forum => Software - Support => Topic started by: titan on 2024/06/09, 13:06:55

Title: Nala -- confused
Post by: titan 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 ?
Title: Re: Nala -- confused
Post by: edlin 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
Title: Re: Nala -- confused
Post by: titan 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

Title: Re: Nala -- confused
Post by: hendrikL 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!
Title: Re: Nala -- confused
Post by: titan 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