nala-upgrade(8)

πŸ“¦
version 0.16.0 Β· 3 versions
, in debian trixie, ubuntu resolute, ubuntu stonking

πŸ¦‹ NAME πŸ¦‹

nala-upgrade β€” update the package list and upgrade the system

okay so this is the nala-upgrade page from the Nala User Manual, section 8, and honestly? it's giving "your whole system, but make it cute" πŸ’… let's go


✨ SYNOPSIS ✨

nala upgrade [--options]

πŸ’– DESCRIPTION πŸ’–

bestie, listen. apt has 3 modes of upgrading and you need to know all three, no cap. here they are:

  • Mode 1 β€” Only Upgrade packages, do NOT Install or Remove any packages. (nala upgrade / apt-get upgrade)
  • Mode 2 β€” Upgrade and Install NEW packages if required, but do NOT remove any. (apt upgrade)
lowkey tragic: python3-apt does not support this mode, there is no nala equivalent. πŸ’€ so if that's your vibe, nala can't serve it.
  • Mode 3 β€” 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. that's the factory setting, that's the moment. 🌸

Some upgrades β€” like getting a new release β€” nala may need to install or remove packages. You can handle that using the --full switch as below, or by using upgrade aliases like nala dist-upgrade or nala full-upgrade. πŸ‘‘

If you are just looking to update the package cache and not actually perform an upgrade you can use:

nala update

πŸŽ€ OPTIONS πŸŽ€

  • --exclude β€” Specify packages to exclude during upgrade. Accepts globs*

--exclude only takes one package as an argument, but can be specified multiple times, so you can stack 'em like:

nala upgrade --exclude apt --exclude dpkg
NOTE: Due to the way that excusions are handled, you may want to additionally supply --no-full to ensure Nala doesn't remove packages you plan to keep. (yes, "excusions" β€” we are quoting the page verbatim, bestie, we don't fix, we report 🫢)
  • --full, --no-full
    • --full β€” This will run the equivalent of apt full-upgrade
    • --no-full β€” This will run the equivalent of apt-get upgrade This variant is the default. it's the standard, the blueprint, the moment ✨
  • --purge β€” Purge any packages that would removed during the transaction.
  • --debug β€” Print helpful information for solving issues. If you're submitting a bug report, try running the command again with --debug and providing the output to the devs β€” it may be helpful. do it for the plot πŸ›
  • --raw-dpkg β€” Force nala not to format dpkg output.

This disables all formatting and it would look as if you were using apt.

A more indepth explanation for what this switch does: nala will fork a tty instead of a pty for dpkg.

nala will also not display a progress bar for dpkg with this turned on. Additionally, the language of the output will not be forced into English for this mode. so raw. so unformatted. so real. 😭

  • -d, --download-only β€” Packages are only retrieved, not unpacked or installed. window shopping, basically πŸ›οΈ
  • --remove-essential β€” Allow the removal of essential packages.
This is very dangerous, but we thought you should have the option. like girl. be so serious. please be careful. πŸ™ˆ
  • --assume-yes, --assume-no
    • -y, --assume-yes β€” Automatically select yes for any prompts which may need your input. If the configuration option assume_yes is true, this switch will set it back to default behavior.
    • -n, --assume-no β€” Automatically select no for any prompts which may need your input.
  • --simple, --no-simple
    • --simple β€” Show a more simple and condensed transaction summary. minimalism core ✨
    • --no-simple β€” Show the standard table transatction summary with more information. This variant is the default. (again: "transatction" is the page's own spelling, we don't gatekeep πŸ’œ)
  • -o, --option β€” Set options to pass through to apt, nala, or dpkg.

Example: force dpkg to install new config files without prompting:

nala install --option
Dpkg::Options::="--force-confnew"

Disable scrolling text for nala:

nala install --option Nala::scrolling_text="false"

Allow nala to update unauthenticated repositories:

nala install --option*
APT::Get::AllowUnauthenticated="true"
  • -v, --verbose β€” Disable scrolling text and print extra information. yapper mode: activated πŸ—£οΈ
  • -h, --help β€” Shows this man page.
  • --autoremove, --no-autoremove
    • --autoremove β€” Automatically remove any packages that are no longer needed. This variant is the default. we love a clean house 🧹
    • --no-autoremove β€” Do NOT Automatically remove any packages.
  • --update, --no-update
    • --update β€” Update the package list before the requested operation.

Example:

nala install --update neofetch

is equivalent to

apt update && apt install neofetch

[Default for: upgrade]

  • --no-update β€” Do NOT update the package list before the requested operation.

[Default for: install, remove, purge, autoremove, autopurge]

  • --install-recommends, --no-install-recommends
    • --install-recommends β€” Recommended packages will be installed. This variant is the default unless changed with the apt config.
    • --no-install-recommends β€” Recommended package will NOT be installed. If this option is selected, nala will display the recommended packages that will not be installed.
  • --install-suggests, --no-install-suggests
    • --install-suggests β€” Suggested packages will be installed. This variant is the default.
    • --no-install-suggests β€” This variant is the default unless changed with the apt config. If this option is selected, nala will display the suggested packages that will not be installed.
  • --fix-broken, --no-fix-broken
    • --fix-broken β€” Attempts to fix broken packages. This variant is the default. healing era πŸ’–
    • --no-fix-broken β€” Stops nala from performing extra checks.
This can result in a broken install! be so careful bestie 😭

If you just want to fix broken packages:

nala install --fix-broken

Copyright (C) 2021, 2022 Blake Lee


and that's the whole page, periodt. πŸ’… this was nala-upgrade, version 0.16.0, dated 21 Apr 2025 β€” go forth and upgrade responsibly, my love πŸ«Άβœ¨πŸŽ€

πŸ“¦ where this page comes from