LINUX.ORG.RU

CentOS ошибка при обновлении yum - [Errno 256] No more mirrors to try.

 , ,


0

1

Добрый день всем! Нужна помощь. Имею старую систему

[tessa@41530 ~]$ cat /etc/*-release
CentOS Linux release 7.9.2009 (Core)
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"

CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"

CentOS Linux release 7.9.2009 (Core)
CentOS Linux release 7.9.2009 (Core)

При попытке обновиться через Yum плюёт ошибку

[tessa@41530 ~]$ sudo yum -y update
[sudo] password for tessa:
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
epel/x86_64/metalink                                                                             |  27 kB  00:00:00
 * epel: mirror.yandex.ru
http://vault.centos.org/centos/7/os/x86_64/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found
Trying other mirror.
To address this issue please refer to the below wiki article

https://wiki.centos.org/yum-errors

If above article doesn't help to resolve this issue please use https://bugs.centos.org/.



 One of the configured repositories failed (CentOS-7 - Base),
 and yum doesn't have enough cached data to continue. At this point the only
 safe thing yum can do is fail. There are a few ways to work "fix" this:

     1. Contact the upstream for the repository and get them to fix the problem.

     2. Reconfigure the baseurl/etc. for the repository, to point to a working
        upstream. This is most often useful if you are using a newer
        distribution release than is supported by the repository (and the
        packages for the previous distribution release still work).

     3. Run the command with the repository temporarily disabled
            yum --disablerepo=base ...

     4. Disable the repository permanently, so yum won't use it by default. Yum
        will then just ignore the repository until you permanently enable it
        again or use --enablerepo for temporary usage:

            yum-config-manager --disable base
        or
            subscription-manager repos --disable=base

     5. Configure the failing repository to be skipped, if it is unavailable.
        Note that yum will try to contact the repo. when it runs most commands,
        so will have to try and fail each time (and thus. yum will be be much
        slower). If it is a very temporary problem though, this is often a nice
        compromise:

            yum-config-manager --save --setopt=base.skip_if_unavailable=true

failure: repodata/repomd.xml from base: [Errno 256] No more mirrors to try.
http://vault.centos.org/centos/7/os/x86_64/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found

да и не только при обновлении, а при попытке установить любой пакет. Насколько я понял весь список репозиториев устарел либо не поддерживается больше.

Собственно вопрос как реанимировать все и обновить до актуального состояния?


Я просто проверил все ссылки по которым yum пытается стучаться и они действительно выдают 404 ошибку.

[tessa@41530 ~]$ yum repolist
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * epel: mirror.yandex.ru
http://vault.centos.org/centos/7/os/x86_64/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found
Trying other mirror.
To address this issue please refer to the below wiki article

https://wiki.centos.org/yum-errors

If above article doesn't help to resolve this issue please use https://bugs.centos.org/.

http://vault.centos.org/centos/7/extras/x86_64/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found
Trying other mirror.
https://download.postgresql.org/pub/repos/yum/10/redhat/rhel-7-x86_64/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found
Trying other mirror.
https://download.postgresql.org/pub/repos/yum/9.6/redhat/rhel-7-x86_64/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found
Trying other mirror.
http://vault.centos.org/centos/7/updates/x86_64/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found
Trying other mirror.
repo id                                   repo name                                                               status
!base/7/x86_64                            CentOS-7 - Base                                                         10,072
epel/x86_64                               Extra Packages for Enterprise Linux 7 - x86_64                          13,790
!extras/7/x86_64                          CentOS-7 - Extras                                                          500
nginx/x86_64                              nginx repo                                                                 322
pgdg-common/7/x86_64                      PostgreSQL common RPMs for RHEL/CentOS 7 - x86_64                          513
!pgdg10/7/x86_64                          PostgreSQL 10 for RHEL/CentOS 7 - x86_64                                 1,153
pgdg11/7/x86_64                           PostgreSQL 11 for RHEL/CentOS 7 - x86_64                                 1,610
pgdg12/7/x86_64                           PostgreSQL 12 for RHEL/CentOS 7 - x86_64                                 1,286
pgdg13/7/x86_64                           PostgreSQL 13 for RHEL/CentOS 7 - x86_64                                 1,046
pgdg14/7/x86_64                           PostgreSQL 14 for RHEL/CentOS 7 - x86_64                                   790
!pgdg96/7/x86_64                          PostgreSQL 9.6 for RHEL/CentOS 7 - x86_64                                  964
!updates/7/x86_64                         CentOS-7 - Updates                                                       3,242
repolist: 35,288
unq
() автор топика

Я недавно как раз ставил CentOS 7 в виртуалку для теста, вот мои репы:

[root@localhost ~]# yum repolist --verbose
Loading "fastestmirror" plugin
Config time: 0.008
Yum version: 3.4.3
Loading mirror speeds from cached hostfile
 * base: mirror.sale-dedic.com
 * extras: mirror.docker.ru
 * updates: mirror.sale-dedic.com
Setting up Package Sacks
pkgsack time: 0.006
Repo-id      : base/7/x86_64
Repo-name    : CentOS-7 - Base
Repo-revision: 1604001756
Repo-updated : Thu Oct 29 23:03:00 2020
Repo-pkgs    : 10,072
Repo-size    : 8.9 G
Repo-mirrors : http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=stock
Repo-baseurl : http://mirror.sale-dedic.com/centos/7.9.2009/os/x86_64/ (8 more)
Repo-expire  : 21,600 second(s) (last: Tue Dec 19 16:41:53 2023)
  Filter     : read-only:present
Repo-filename: /etc/yum.repos.d/CentOS-Base.repo

Repo-id      : extras/7/x86_64
Repo-name    : CentOS-7 - Extras
Repo-revision: 1688640838
Repo-updated : Thu Jul  6 13:54:00 2023
Repo-pkgs    : 518
Repo-size    : 1.0 G
Repo-mirrors : http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=extras&infra=stock
Repo-baseurl : http://mirror.docker.ru/centos/7.9.2009/extras/x86_64/ (8 more)
Repo-expire  : 21,600 second(s) (last: Tue Dec 19 16:41:53 2023)
  Filter     : read-only:present
Repo-filename: /etc/yum.repos.d/CentOS-Base.repo

Repo-id      : updates/7/x86_64
Repo-name    : CentOS-7 - Updates
Repo-revision: 1702567554
Repo-updated : Thu Dec 14 18:27:27 2023
Repo-pkgs    : 5,527
Repo-size    : 41 G
Repo-mirrors : http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=updates&infra=stock
Repo-baseurl : http://mirror.sale-dedic.com/centos/7.9.2009/updates/x86_64/ (9 more)
Repo-expire  : 21,600 second(s) (last: Tue Dec 19 16:41:53 2023)
  Filter     : read-only:present
Repo-filename: /etc/yum.repos.d/CentOS-Base.repo

repolist: 16,117
[root@localhost ~]# cd /etc/yum.repos.d/
[root@localhost yum.repos.d]# cat CentOS-Base.repo
# CentOS-Base.repo
#
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client.  You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the
# remarked out baseurl= line instead.
#
#

[base]
name=CentOS-$releasever - Base
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&infra=$infra
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7

#released updates
[updates]
name=CentOS-$releasever - Updates
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates&infra=$infra
#baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7

#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras&infra=$infra
#baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7

#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-$releasever - Plus
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus&infra=$infra
#baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7

[root@localhost yum.repos.d]#
Vsevolod-linuxoid ★★★★★
()
Ответ на: комментарий от Vsevolod-linuxoid

Извиняюсь не часто приходится копаться в линуксе. Профессия немного другая. Насколько я понял мне нужно

  1. отредачить репозитории и добавить из вашего списка
  2. почистить кэш
  3. сделать yum clear all
  4. Попытаться сделать yum update

правильно понял?

unq
() автор топика
Ответ на: комментарий от unq

не часто приходится копаться в линуксе. Профессия немного другая.

  • Отойти от сервера
  • Позвать админа

Но вообще да, у тебя репозитории не те, нужно сменить на нормальные. Выше у меня репозитории по умолчанию, сразу после чистой установки.

yum repolist --detail можешь показать?

Vsevolod-linuxoid ★★★★★
()
Последнее исправление: Vsevolod-linuxoid (всего исправлений: 1)
Ответ на: комментарий от Vsevolod-linuxoid

Админ сказал в душе не **** почему выдает ошибку. А мне надо докер установить и сервис свой Я разраб вообще) Поэтому своими силами. Ну и вашими господа)) Надеюсь осилю вроде как не дурак.

unq
() автор топика
Ответ на: комментарий от Vsevolod-linuxoid

да конечно

[tessa@41530 ~]$ yum repolist --detail
Loaded plugins: fastestmirror.d/epel.repo
Usage: yum [options] COMMAND
Repo-id      : extras/7/x86_64
List of Commands:ntOS-7 - Extras
Repo-revision: 1630682564
check          Check for problems in the rpmdb
check-update   Check for available package updates
clean          Remove cached data
deplist        List a package's dependenciess/7/extras/x86_64/
distribution-synchronization Synchronize installed packages to the latest available versions
downgrade      downgrade a package
erase          Remove a package or packages from your system
fs             Acts on the filesystem data of the host, mainly for removing docs/lanuages for minimal hosts.
fssnapshot     Creates filesystem snapshots, or lists/deletes current snapshots.
groups         Display, or use, the groups information
help           Display a helpful usage message
history        Display, or use, the transaction history
info           Display details about a package or group of packages
install        Install a package or packages on your system
list           List a package or groups of packages_64/
load-transaction load a saved transaction from filename:13 2023)
makecache      Generate the metadata cache
provides       Find what package provides the given value
reinstall      reinstall a package
repo-pkgs      Treat a repo. as a group of packages, so we can install/remove all of them
repolist       Display the configured software repositories86_64
search         Search package details for the given string
shell          Run an interactive yum shell
swap           Simple way to swap packages, instead of using shell
update         Update a package or packages on your system
update-minimal Works like upgrade, but goes to the 'newest' package match which fixes a problem that affects your system
updateinfo     Acts on repository update information:52:15 2023)
upgrade        Update packages taking obsoletes into account
version        Display a version for the machine and/or available repos.

Repo-id      : pgdg10/7/x86_64
Command line error: no such option: --detail 7 - x86_64
[tessa@41530 ~]$ 68084041
Repo-updated : Thu Nov 10 15:40:44 2022
Repo-pkgs    : 1,153
Repo-size    : 1.0 G
Repo-baseurl : https://download.postgresql.org/pub/repos/yum/10/redhat/rhel-7-x86_64/
Repo-expire  : 21,600 second(s) (last: Wed Dec 14 17:40:17 2022)
  Filter     : read-only:present
Repo-filename: /etc/yum.repos.d/pgdg-redhat-all.repo

Repo-id      : pgdg11/7/x86_64
Repo-name    : PostgreSQL 11 for RHEL/CentOS 7 - x86_64
Repo-revision: 1702021593
Repo-updated : Fri Dec  8 10:46:39 2023
Repo-pkgs    : 1,610
Repo-size    : 1.6 G
Repo-baseurl : https://download.postgresql.org/pub/repos/yum/11/redhat/rhel-7-x86_64/
Repo-expire  : 21,600 second(s) (last: Tue Dec 19 15:52:15 2023)
  Filter     : read-only:present
Repo-filename: /etc/yum.repos.d/pgdg-redhat-all.repo

Repo-id      : pgdg12/7/x86_64
Repo-name    : PostgreSQL 12 for RHEL/CentOS 7 - x86_64
Repo-revision: 1702021453
Repo-updated : Fri Dec  8 10:44:17 2023
Repo-pkgs    : 1,286
Repo-size    : 1.2 G
Repo-baseurl : https://download.postgresql.org/pub/repos/yum/12/redhat/rhel-7-x86_64/
Repo-expire  : 21,600 second(s) (last: Tue Dec 19 15:52:15 2023)
  Filter     : read-only:present
Repo-filename: /etc/yum.repos.d/pgdg-redhat-all.repo

Repo-id      : pgdg13/7/x86_64
Repo-name    : PostgreSQL 13 for RHEL/CentOS 7 - x86_64
Repo-revision: 1702021348
Repo-updated : Fri Dec  8 10:42:31 2023
Repo-pkgs    : 1,046
Repo-size    : 1.0 G
Repo-baseurl : https://download.postgresql.org/pub/repos/yum/13/redhat/rhel-7-x86_64/
Repo-expire  : 21,600 second(s) (last: Tue Dec 19 15:52:15 2023)
  Filter     : read-only:present
Repo-filename: /etc/yum.repos.d/pgdg-redhat-all.repo

Repo-id      : pgdg14/7/x86_64
Repo-name    : PostgreSQL 14 for RHEL/CentOS 7 - x86_64
Repo-revision: 1702021255
Repo-updated : Fri Dec  8 10:40:57 2023
Repo-pkgs    : 790
Repo-size    : 707 M
Repo-baseurl : https://download.postgresql.org/pub/repos/yum/14/redhat/rhel-7-x86_64/
Repo-expire  : 21,600 second(s) (last: Tue Dec 19 15:52:15 2023)
  Filter     : read-only:present
Repo-filename: /etc/yum.repos.d/pgdg-redhat-all.repo

Repo-id      : pgdg96/7/x86_64
Repo-name    : PostgreSQL 9.6 for RHEL/CentOS 7 - x86_64
Repo-revision: 1643677076
Repo-updated : Tue Feb  1 03:57:59 2022
Repo-pkgs    : 964
Repo-size    : 852 M
Repo-baseurl : https://download.postgresql.org/pub/repos/yum/9.6/redhat/rhel-7-x86_64/
Repo-expire  : 21,600 second(s) (last: Wed Dec 14 17:40:18 2022)
  Filter     : read-only:present
Repo-filename: /etc/yum.repos.d/pgdg-redhat-all.repo

Repo-id      : updates/7/x86_64
Repo-name    : CentOS-7 - Updates
Repo-revision: 1640118536
Repo-updated : Tue Dec 21 23:29:41 2021
Repo-pkgs    : 3,242
Repo-size    : 18 G
Repo-baseurl : http://vault.centos.org/centos/7/updates/x86_64/
Repo-expire  : 21,600 second(s) (last: Thu Dec 30 07:56:27 2021)
  Filter     : read-only:present
Repo-filename: /etc/yum.repos.d/CentOS-Base.repo

repolist: 35,288
unq
() автор топика
Ответ на: комментарий от Vsevolod-linuxoid
[tessa@41530 ~]$ [tessa@41530 ~]$ cat /etc/yum.repos.d/CentOS-Base.repo
# CentOS-Base.repo
#
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client.  You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the
# remarked out baseurl= line instead.
#
#

[base]
name=CentOS-$releasever - Base
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&infra=$infra
baseurl=http://vault.centos.org/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7

#released updates
[updates]
name=CentOS-$releasever - Updates
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates&infra=$infra
baseurl=http://vault.centos.org/centos/$releasever/updates/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7

#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras&infra=$infra
baseurl=http://vault.centos.org/centos/$releasever/extras/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7

#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-$releasever - Plus
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus&infra=$infra
baseurl=http://vault.centos.org/centos/$releasever/centosplus/$basearch/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
unq
() автор топика
Ответ на: комментарий от unq

От root

cp /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup20231219
sed -i 's/vault.centos.org/mirror.centos.org/g' /etc/yum.repos.d/CentOS-Base.repo
yum clean all
yum update

И передай своему админу, что поддерживаемые версии CentOS на mirror.centos.org живут, в vault.centos.org только те, у которых поддержка вышла.

Vsevolod-linuxoid ★★★★★
()
Ответ на: комментарий от unq

Можешь вместо этого перенастроить на общие зеркала, по идее само выберет ближайшие:

cp /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup20231219
sed -i 's/vault.centos.org/mirror.centos.org/g' /etc/yum.repos.d/CentOS-Base.repo
sed -i 's/\#mirrorlist=/mirrorlist=/g' /etc/yum.repos.d/CentOS-Base.repo
sed -i 's/baseurl=/\#baseurl=/g' /etc/yum.repos.d/CentOS-Base.repo
yum clean all
yum update

В первый раз ошибся, если набрал неверно за мной вслед, можешь восстановить:

cat /etc/yum.repos.d/CentOS-Base.repo.backup20231219 > /etc/yum.repos.d/CentOS-Base.repo

Vsevolod-linuxoid ★★★★★
()
Последнее исправление: Vsevolod-linuxoid (всего исправлений: 3)
Ответ на: комментарий от Vsevolod-linuxoid

yum update валится на этом репо

https://download.postgresql.org/pub/repos/yum/10/redhat/rhel-7-x86_64/repodata/repomd.xml: [Errno 14] HTTPS Error 404

Подскажите как удалить/заменить? Извиняюсь что отвлекаю просто боюсь накосячить

unq
() автор топика
Ответ на: комментарий от unq

Судя по всему, вот с этим проблемы:

Repo-id      : pgdg10/7/x86_64
Command line error: no such option: --detail 7 - x86_64
[tessa@41530 ~]$ 68084041
Repo-updated : Thu Nov 10 15:40:44 2022
Repo-pkgs    : 1,153
Repo-size    : 1.0 G
Repo-baseurl : https://download.postgresql.org/pub/repos/yum/10/redhat/rhel-7-x86_64/
Repo-expire  : 21,600 second(s) (last: Wed Dec 14 17:40:17 2022)
  Filter     : read-only:present
Repo-filename: /etc/yum.repos.d/pgdg-redhat-all.repo

То есть так:

yum-config-manager --disable pgdg10/7/x86_64
yum clean all
yum update

Ну или руками:

cp /etc/yum.repos.d/pgdg-redhat-all.repo /etc/yum.repos.d/pgdg-redhat-all.repo.backup20231219
vi /etc/yum.repos.d/pgdg-redhat-all.repo

, найти там нужный репозиторий и сменить enabled=1 на enabled=0 , потом

yum clean all
yum update

Но перед этим поучись использовать Vi, это мягко говоря не интуитивный редактор.

Vsevolod-linuxoid ★★★★★
()
Последнее исправление: Vsevolod-linuxoid (всего исправлений: 1)
Ответ на: комментарий от Vsevolod-linuxoid

Кстати

sudo cat /etc/yum.repos.d/CentOS-Base.repo.backup20231219 > /etc/yum.repos.d/CentOS-Base.repo

дает

[tessa@41530 ~]$ sudo cat /etc/yum.repos.d/CentOS-Base.repo.backup20231219 > /etc/yum.repos.d/CentOS-Base.repo
-bash: /etc/yum.repos.d/CentOS-Base.repo: Permission denied

я же вроде через sudo.

unq
() автор топика
Ответ на: комментарий от unq

> /etc/yum.repos.d/CentOS-Base.repo — а перенаправление-то от обычного пользователя.

Или переключайся на root через sudo -i или sudo su -

Или используй tee: sudo cat /etc/yum.repos.d/CentOS-Base.repo.backup20231219 | sudo tee /etc/yum.repos.d/CentOS-Base.repo

Vsevolod-linuxoid ★★★★★
()
Ответ на: комментарий от unq

я же вроде через sudo.

sudo в этой команде оносится к cat, с sudo ты сможешь прочитать файл, доступный только руту/другому пользователю.

Чтобы записать в файл, надо либо перейти в рутовую сессию через sudo -i. Либо использовать sudo tee.

P.S. Опередили :)

Dimez ★★★★★
()
Последнее исправление: Dimez (всего исправлений: 2)
Ответ на: комментарий от Dimez

mc и nano конечно же прекрасны. Вот только в RHEL и клонах их из коробки нет. А пока он не починит репозитории — поставить не выйдет.

Именно поэтому все нормальные админы умеют работать с vi и sed — что есть, тем и работаем.

Vsevolod-linuxoid ★★★★★
()
Ответ на: комментарий от Vsevolod-linuxoid

Вроде прошло без ошибок я правильно понимаю?

[root@41530 ~]# yum update
Loaded plugins: fastestmirror
Determining fastest mirrors
epel/x86_64/metalink                                                                             |  31 kB  00:00:00
 * base: mirror.sale-dedic.com
 * epel: mirror.logol.ru
 * extras: mirrors.datahouse.ru
 * updates: mirror.sale-dedic.com
Redis                                                                                            | 3.0 kB  00:00:00
base                                                                                             | 3.6 kB  00:00:00
epel                                                                                             | 4.7 kB  00:00:00
extras                                                                                           | 2.9 kB  00:00:00
nginx                                                                                            | 2.9 kB  00:00:00
pgdg-common/7/x86_64/signature                                                                   |  198 B  00:00:00
pgdg-common/7/x86_64/signature                                                                   | 2.9 kB  00:00:00 !!!
pgdg11/7/x86_64/signature                                                                        |  198 B  00:00:00
pgdg11/7/x86_64/signature                                                                        | 3.6 kB  00:00:00 !!!
pgdg12/7/x86_64/signature                                                                        |  198 B  00:00:00
pgdg12/7/x86_64/signature                                                                        | 3.6 kB  00:00:00 !!!
pgdg13/7/x86_64/signature                                                                        |  198 B  00:00:00
pgdg13/7/x86_64/signature                                                                        | 3.6 kB  00:00:00 !!!
pgdg14/7/x86_64/signature                                                                        |  198 B  00:00:00
pgdg14/7/x86_64/signature                                                                        | 3.6 kB  00:00:00 !!!
pgdg15/7/x86_64/signature                                                                        |  198 B  00:00:00
pgdg15/7/x86_64/signature                                                                        | 3.6 kB  00:00:00 !!!
updates                                                                                          | 2.9 kB  00:00:00
(1/20): base/7/x86_64/group_gz                                                                   | 153 kB  00:00:00
(2/20): base/7/x86_64/primary_db                                                                 | 6.1 MB  00:00:00
(3/20): epel/x86_64/group_gz                                                                     |  99 kB  00:00:00
(4/20): epel/x86_64/updateinfo                                                                   | 1.0 MB  00:00:00
(5/20): epel/x86_64/primary_db                                                                   | 7.0 MB  00:00:00
(6/20): extras/7/x86_64/primary_db                                                               | 250 kB  00:00:00
(7/20): nginx/x86_64/primary_db                                                                  |  87 kB  00:00:00
(8/20): Redis/primary_db                                                                         |  14 kB  00:00:00
(9/20): pgdg-common/7/x86_64/primary_db                                                          | 203 kB  00:00:00
(10/20): pgdg13/7/x86_64/group_gz                                                                |  246 B  00:00:00
(11/20): pgdg13/7/x86_64/primary_db                                                              | 337 kB  00:00:00
(12/20): pgdg14/7/x86_64/group_gz                                                                |  244 B  00:00:00
(13/20): pgdg14/7/x86_64/primary_db                                                              | 247 kB  00:00:00
(14/20): pgdg15/7/x86_64/group_gz                                                                |  246 B  00:00:00
(15/20): pgdg15/7/x86_64/primary_db                                                              | 154 kB  00:00:00
(16/20): pgdg11/7/x86_64/group_gz                                                                |  245 B  00:00:01
(17/20): pgdg12/7/x86_64/group_gz                                                                |  245 B  00:00:01
(18/20): updates/7/x86_64/primary_db                                                             |  24 MB  00:00:00
(19/20): pgdg11/7/x86_64/primary_db                                                              | 524 kB  00:00:01
(20/20): pgdg12/7/x86_64/primary_db                                                              | 414 kB  00:00:01
No packages marked for update
unq
() автор топика
Ответ на: комментарий от Vsevolod-linuxoid
Install  1 Package (+1 Dependent package)

Total download size: 1.8 M
Installed size: 5.7 M
Is this ok [y/d/N]: y
Downloading packages:
(1/2): gpm-libs-1.20.7-6.el7.x86_64.rpm                                                          |  32 kB  00:00:00
(2/2): mc-4.8.7-11.el7.x86_64.rpm                                                                | 1.7 MB  00:00:00
------------------------------------------------------------------------------------------------------------------------
Total                                                                                   5.0 MB/s | 1.8 MB  00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : gpm-libs-1.20.7-6.el7.x86_64                                                                         1/2
  Installing : 1:mc-4.8.7-11.el7.x86_64                                                                             2/2
  Verifying  : 1:mc-4.8.7-11.el7.x86_64                                                                             1/2
  Verifying  : gpm-libs-1.20.7-6.el7.x86_64                                                                         2/2

Installed:
  mc.x86_64 1:4.8.7-11.el7

Dependency Installed:
  gpm-libs.x86_64 0:1.20.7-6.el7

Complete!

Дааааа все круто! Спасибо всем откликнувшимся! Всегда знал что найду на линуксовом форуме адекватных понимающих ребят) Всем хорошего вечера парни!

unq
() автор топика
Ответ на: комментарий от unq

Человек, который пишет на грамотном русском, оформляет портянки кода по правилам так, чтобы было удобно читать, не изображает себя крутизну и не считает, что ему все должны — конечно же, найдёт понимающих ребят и ответы. Обращайся.

Aceler ★★★★★
()
Ответ на: комментарий от Dimez

Ну есть шанс что нормальный админ, просто не выспался после ночных работ на проде и потому жестко затупил на простую проблему.

А вот если он реально не знал — это уже плохо.

Vsevolod-linuxoid ★★★★★
()
Ответ на: комментарий от Vsevolod-linuxoid

У нас десятки серверов на винде и лишь один на линуксе. Но я думаю это пока. Импортозамещение в разгаре. Поэтому ждем возрастания популяции. А когда обратился к админу, он мне сказал что в линуксе не шарит. А так как у меня дело достаточно срочное (заказчик не любит ждать) то я сделал вывод, что чем просить разобраться (что будет скорее всего долго и сорвет сори) надо делать самому. Благо есть такой форум где откликнулись на зов!)

unq
() автор топика
Ответ на: комментарий от unq

Правда этот курс именно по RHEL. Если пойдет Debian или Ubuntu, то придется отдельно подучить работу с apt вместо yum, а также с иными настройками сети и хранением логов.

Также могут пойти российские Linux. Если будет Astra — у неё очень хитрая уникальная мандатная система, у RedOS и ROSA много схожего с RHEL, ALT вообще на своей волне… но базу по Linux этот курс даст.

Vsevolod-linuxoid ★★★★★
()