LINUX.ORG.RU

Как обновить пакет в OpenSUSE 42.3?

 


0

1

Я вижу, что в репозитарии есть пакет: http://download.opensuse.org/update/leap/42.3/oss/x86_64/gcc7-7.3.1 r258313-6...

Но zypper его не видит...

$ zypper repos --uri
Repository priorities are without effect. All enabled repositories share the same priority.

# | Alias      | Name       | Enabled | GPG Check | Refresh | URI
--+------------+------------+---------+-----------+---------+-------------------------------------------------------------------
1 | oss        | oss        | Yes     | (r ) Yes  | No      | http://download.opensuse.org/distribution/leap/42.3/repo/oss/suse/
2 | oss_update | oss_update | Yes     | (r ) Yes  | No      | http://download.opensuse.org/update/leap/42.3/oss/
$ sudo zypper refresh
Repository 'oss' is up to date.
Retrieving repository 'oss_update' metadata ...............................................................................................................[done]
All repositories have been refreshed.
$ sudo zypper install gcc7
Loading repository data...
Reading installed packages...
'gcc7' is already installed.
No update candidate for 'gcc7-7.2.1+r253435-3.2.x86_64'. The highest available version is already installed.
Resolving package dependencies...

Nothing to do.
$ sudo zypper up
Loading repository data...
Reading installed packages...

Nothing to do.
$ sudo zypper dup
Warning: You are about to do a distribution upgrade with all enabled repositories. 
Make sure these repositories are compatible before you continue.
See 'man zypper' for more information about this command.
Loading repository data...
Reading installed packages...
Computing distribution upgrade...

Nothing to do.

Как обновляют пакеты в OpenSUSE?

★★★★★

Через гуй попробуй для начала. Там вкладка есть, где версии выбираются.

anonymous
()
Ответ на: комментарий от MumiyTroll

Спасибо. Наверное у меня сломалось что-то другое. Так как показывает только 7.2.1 и 7.1.1.

Но я попробовал заного установить контейнер, и в новом контейнере сразу всё заработало, и установились gcc 7.3.1 и gcc-c++ 7.3.1.

fsb4000 ★★★★★
() автор топика
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.