Hi,
I accidentally removed all the *. repo files in /etc/yum.repos.d. on my laptop computer. I don't know whether it had something to do with it. Now the network of the laptop is not working. Can I just copy these files from another Centos computer and put them in my laptop directory. If yes, what repo files do I need to copy?
Thanks for your help in advance.
Best
yum.repos.d
Re: yum.repos.d
The correct repo files can be found by running rpm -Va \*release\* and seeing which files that reports as missing from /etc/yum.repos.d. The CentOS supplied ones are all part of the centos-release package and you'll have to download a copy of that from a mirror and then use yum reinstall /path/to/downloaded/centos-release...rpm
The other missing ones will also be part of -release files and you'll need to download and reinstall those too.
The other missing ones will also be part of -release files and you'll need to download and reinstall those too.
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
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
-
- Posts: 1522
- Joined: 2014/05/21 20:16:00
- Location: Central New York, USA
Re: yum.repos.d
Hopefully you meant that the network UPDATES no longer work instead of that your laptop networking no longer works.Now the network of the laptop is not working.
Re: yum.repos.d
Indeed, /etc/yum.repos.d has zero to do with networking and cannot affect it in any way.
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
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