How do I do a system upgrade “within a tty”?

Configurare noua (How To)

Situatie

Sometimes, it can happen that Manjaro developers recommend, because of specific circumstances, to do a system upgrade “within a tty.” This guide aims to help you to apply the recommendation successfully and as easily as possible. There are pictures so you can see what it looks like before actually doing it yourself.

 

What does “within a tty” actually mean?

It means to do the system upgrade in a pure command line interface (CLI), outside of your graphical environment.

Solutie

Pasi de urmat

In a nutshell

  • CTRL+ALT+F4
  • Log in
  • sudo pacman -Syu
  • systemctl reboot

In detail
The first thing to do is accessing a pure command line interface. The method to use is more or less the same on every Manjaro edition.

  • General: Press CTRL + ALT + F2, F3, F4, F5 or F6.
  • GNOME: Press CTRL + ALT + F3…F6.

(Note: On some laptops, you might have to press the Fn key too.)

If it is done correctly, you should end up in a black screen like this.

Enter your credentials (username + password) like if you were in your regular, graphical login screen in order to log in. Once it is done, you should have a prompt.

 

Now, you can use any commands that you want like if you were in a terminal emulator. You may do a system upgrade with the sudo pacman -Syu command (or equivalent, although check in the official announcement beforehand if there’s a particular recommendation from Manjaro developers in that regard).

 

 

 

You may try to return into your graphical session if you want (CTRL + ALT + F7 for most editions, CTRL + ALT + F2 for GNOME), but you might prefer to reboot your system immediately instead. To do so, use the following command: systemctl reboot.

Tip solutie

Permanent

Voteaza

(10 din 24 persoane apreciaza acest articol)

Despre Autor

Leave A Comment?