yum update problem

Issues related to applications and software problems and general support
amintay
Posts: 11
Joined: 2024/01/17 10:40:54

yum update problem

Post by amintay » 2024/01/17 18:28:14

Hello,

when I try to run the yum check-update command I get the following result:

[root@nagcentos yum.repos.d]# yum update
created by yum config-manager from https://git 1.5 B/s | 9 B 00:05
Errors during downloading metadata for repository 'github.com_microsoft_msphpsql':
- Status code: 404 for https://github.com/microsoft/msphpsql/r ... repomd.xml (IP: 140.82.121.4)
Error: Failed to download metadata for repo 'github.com_microsoft_msphpsql': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried

Can you help to resolve this problem.
thanks a lot.

User avatar
TrevorH
Site Admin
Posts: 33224
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: yum update problem

Post by TrevorH » 2024/01/17 19:21:28

You've added a repo that no longer exists or has problems - hence the 404 error. Disable it or remove it or work out where they've moved it to.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

amintay
Posts: 11
Joined: 2024/01/17 10:40:54

Re: yum update problem

Post by amintay » 2024/01/17 21:03:13

thank you for replay,

I didn't quite understand, could you provide me with more information?

thank you

User avatar
TrevorH
Site Admin
Posts: 33224
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: yum update problem

Post by TrevorH » 2024/01/18 00:06:46

You have added a yum repository to your system - it says using yum-config-manager - which will be defined in file *.repo file in /etc/yum.repos.d. The URL that repo file points to no longer exists so yum is no longer able to use it. You need to either remove the repo, disable it or amend it to point to a different URL that works.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

amintay
Posts: 11
Joined: 2024/01/17 10:40:54

Re: yum update problem

Post by amintay » 2024/01/21 17:50:43

Hello,
thank you for your replay

I'm still receiving this message despite the removal of the depo.

can you tell me which commands to enter to solve this problem?

thanks

User avatar
TrevorH
Site Admin
Posts: 33224
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: yum update problem

Post by TrevorH » 2024/01/21 18:26:49

The same exact message? Or different repo?
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

amintay
Posts: 11
Joined: 2024/01/17 10:40:54

Re: yum update problem

Post by amintay » 2024/01/21 20:18:48

this is the message error:

[root@nagcentos libexec]# sudo yum install php-pdo
End Point repository 22 B/s | 146 B 00:06
Errors during downloading metadata for repository 'endpoint':
- Status code: 404 for https://packages.endpointdev.com/rhel/9 ... repomd.xml (IP: 23.239.26.161)
Error: Failed to download metadata for repo 'endpoint': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried

[root@nagcentos libexec]# sudo yum install php-mssql
End Point repository 22 B/s | 146 B 00:06
Errors during downloading metadata for repository 'endpoint':
- Status code: 404 for https://packages.endpointdev.com/rhel/9 ... repomd.xml (IP: 23.239.26.161)
Error: Failed to download metadata for repo 'endpoint': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
[root@nagcentos libexec]#

User avatar
TrevorH
Site Admin
Posts: 33224
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: yum update problem

Post by TrevorH » 2024/01/22 00:21:28

Read this error and compare it with the last. This is for a different repo.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

amintay
Posts: 11
Joined: 2024/01/17 10:40:54

Re: yum update problem

Post by amintay » 2024/01/22 14:37:39

Hi,
yes indeed, but the problem is that every time I want to install a package and use Yum I get this error.

Can you help me solve this problem?

User avatar
TrevorH
Site Admin
Posts: 33224
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: yum update problem

Post by TrevorH » 2024/01/22 18:01:45

You have to fix the repos that are complaining or disable them or remove them. You did the first one, now you need to do the same for the next one (and any subsequent ones that also complain). The 2nd error you posted is for a different repo so now you need to disable/remove that one.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply