Как обновить Manjaro до последней доступной версии?

Не используйте > в цифровом тесте. Потому что это оператор перенаправления.

Его выполнение всегда верно (, если файл записан):

$ if [ 2 > 30000 ]; then echo OK; else echo NO; fi
OK
$ ls
$ 30000
$ rm 30000

И файл 30000 был написан.

Цифрового теста не было, но запись в файл вернула истину

$ mkdir tmp
$ chmod -w tmp
$ cd tmp
$ if [ 2 > 30000 ]; then echo OK; else echo NO; fi
-bash: 30000: Permission non accordée
NO
$ cd..
$ rmdir tmp

Используйте -gt:

$ if [ 2 -gt 30000 ]; then echo OK; else echo NO; fi
NO
$ ls
0
27.08.2020, 21:38
1 ответ

Manjaro — это скользящая -версия дистрибутива. Это означает, что пока вы продолжаете периодически обновляться, вы будете использовать последнюю версию Manjaro. Это делается запуском:

pacman -Syu

Manjaro нестабильно примерно на день отстает от Arch. После того, как пакет находится в Manjaro в течение нескольких недель без проблем (быстро -отслеживается на наличие исправлений безопасности ), он помещается в стабильный дистрибутив, который, вероятно, вы используете.

"Выпуски" немного сбивают с толку. На самом деле они больше похожи на снимок. Вики Манджаро говорит:

It would seem that some confusion has arisen due to the regular (and somewhat rapid) occurrence of new Manjaro releases. This confusion has been compounded still further by the use of version numbers (for example: 18.0.2,18.1 and so on), a custom normally associated with the Standard Release Development Model, where a brand-new release of an operating system must be re-installed over an old version in order to access any new features provided. These releases are more accurately new snapshots of the Manjaro system. Just like photographs, these snapshots are in essence images that portray the Manjaro system at a particular point in its development. As such, one purpose they serve is to help the developers to both chart and evaluate the continued development of the Manjaro system, as it is of course easier to pick up on the finer details from a single image than from a moving picture.

Since Manjaro is constantly rolling forward, a snapshot of the Manjaro system will very quickly become out of date. New snapshots are therefore released in order to make life easier for new users, who may otherwise be faced with the prospect of downloading huge volumes of new software packages to update and upgrade their newly installed systems from an older ISO.

2
18.03.2021, 23:09

Теги

Похожие вопросы