YUM UPDATE

Issues related to applications and software problems and general support
jgutie2022
Posts: 16
Joined: 2022/12/12 11:50:49

YUM UPDATE

Post by jgutie2022 » 2023/01/27 13:36:05

Hello Boys

My name is José Manuel and this SO is HORRIBLE and I hate it.
I am trying all the morning to configure the YUM, all the morning... I can go out to intenet but I can´t install anything using YUM.

How can i put to work yum?
Can I install APT in centos9stream.

best regards.

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

Re: YUM UPDATE

Post by TrevorH » 2023/01/27 14:16:39

No, the tool for updates on all RHEL/Fedora based systems is dnf (yum is an alias to dnf for all versions >= 8).

What errors are you getting? If you have no web proxy between you and the internet then yum/dnf will just work without any additional configuration. If you are behind a proxy then you need to edit /etc/yum.conf and add the relevant lines to it to tell it the proxy=/proxy_username=/proxy_password= and possibly proxy_auth_method= to use.. See man yum.conf for details of those.
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

jgutie2022
Posts: 16
Joined: 2022/12/12 11:50:49

Re: YUM UPDATE

Post by jgutie2022 » 2023/01/30 09:04:07

Hello 1000 thanks to response
this is my problem when i put yum update show me this:
Error al cargar el complemento "config_manager": '*prog'
CentOS Stream 9 - BaseOS 0.0 B/s | 0 B 00:09
Errors during downloading metadata for repository 'baseos':
- Curl error (56): Failure when receiving data from the peer for https://mirrors.centos.org/metalink?rep ... https,http [Empty reply from server]
Error: Failed to download metadata for repo 'baseos': Cannot prepare internal mirrorlist: Curl error (56): Failure when receiving data from the peer for https://mirrors.centos.org/metalink?rep ... https,http [Empty reply from server]

Two days with that, it is horrible.

Thanks a lot.

jgutie2022
Posts: 16
Joined: 2022/12/12 11:50:49

Re: YUM UPDATE

Post by jgutie2022 » 2023/01/30 09:05:07

The most strage is that I can go out with firefox to any webpage.
Incredible.

Best regards.

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

Re: YUM UPDATE

Post by TrevorH » 2023/01/30 10:44:45

And what do you get from the server in question if you run

curl "https://mirrors.centos.org/metalink?rep ... https,http"
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

jgutie2022
Posts: 16
Joined: 2022/12/12 11:50:49

Re: YUM UPDATE

Post by jgutie2022 » 2023/01/30 11:21:19

this is the result:
[root@localhost grafana]# curl https://mirrors.centos.org/metalink?rep ... https,http
[1] 6072
[2] 6073
[2]+ Hecho arch=x86_64
[root@localhost grafana]# curl: (56) Received HTTP code 407 from proxy after CONNECT

Is the proxy wrong configurated?

thanks a lot mister.

User avatar
jlehtone
Posts: 4523
Joined: 2007/12/11 08:17:33
Location: Finland

Re: YUM UPDATE

Post by jlehtone » 2023/01/30 11:46:42

jgutie2022 wrote:
2023/01/30 11:21:19
curl: (56) Received HTTP code 407 from proxy after CONNECT

Is the proxy wrong configurated?
The 407 is "Proxy Authentication Required", so yes, your proxy config is not ok.

jgutie2022
Posts: 16
Joined: 2022/12/12 11:50:49

Re: YUM UPDATE

Post by jgutie2022 » 2023/01/30 12:10:24

Can you help what files i have to edit to can make yum update or dnf uptade? Please.

Best regards.

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

Re: YUM UPDATE

Post by TrevorH » 2023/01/30 12:36:53

See my first reply to this thread.

Also when you ran curl, it _requires_ the quotes around the url that I used or the & in the url is interpreted by bash as "send this to the background" and it chops the url in pieces.
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

jgutie2022
Posts: 16
Joined: 2022/12/12 11:50:49

Re: YUM UPDATE

Post by jgutie2022 » 2023/01/31 14:44:28

I am happy man... DONE.
THANKS A LOT TrevorH.
I am still hating CentOSStream, jajajajajajajaja.

Have nice day. Best regards.

Post Reply