2

Why do GUI-based packages update and CLI-based packages update differ?

Many times after updating Ubuntu packages via GUI, it ask me to restart my computer. However, when I do it via the command-line it never ask me to restart the computer. These seem contradictory to me. If it is that important to restart after some important packages are installed, why does the command-line never ask for it? Should I always use the GUI method then?

1 Answers1

2

On a command line interface (CLI) I guess you do

sudo apt-get update
sudo apt-get upgrade

AFAIK a GUI does

sudo apt-get update
sudo apt-get dist-upgrade

dist-upgrade will/can remove/update packages that change dependencies. thus a restart can be needed.

When you do sudo apt-get dist-upgrade on CLI, you will see that a restart is recommended sometimes too.

A GUI is not technically or security wise superior. It's often slower but can be more user-friendly.

Oli
  • 299,380
Janghou
  • 6,035