As you can guess, I'm having troubles with yum. I can't update it nor install anything. Something to do with repos I think. Screenshot:http://m.imgur.com/Dw34JBQ
Zoltan, you prob know what's going on, so please help :p
I don't use yum but I believe the command would be:
sudo yum update yum
This is because after sudo you need to specify the program, not what you want the program to do, that comes after. That command works to update Yum and Yum only. If you want to update everything use:
sudo yum update
and the clean command is:
sudo yum clean all
to clean everything.
The stuff above is still relevant, but I just saw the specific error:
Yum update used to work. For some reason, it stopped and I don't know why.
I can't even install steam because of something related to repo.
I tried "Sudo yum update" and it said "there are not enabled repos. Run " yum repolist all" to see the repos you have. You can enable repos with yum-config-manager --enable <repo>"
Whether I'm connect to the internet or not it gives me the same error messages.
Run " yum repolist all" to see the repos you have. You can enable repos with yum-config-manager --enable <repo>"
you still need to use sudo with it, maybe it finds no repos because you're not using sudo (or root). Or just log in as root already (in a terminal, not the DE/WM obviously), sudo is annoying.
Use yumex (Yum Extender, the GUI front end for yum), go into the repo tab, refresh from the menu, check the repos you want checked (usually fedora and fedora-updates), apply, go to the package tab, refresh, it will give you the update list, select all, apply, and just let it do it's thing.
If that doesn't work, then you've deleted your yum repo files. As you wouldn't have done that spontaneously, something has done it for you (maybe a non-repo installer?). You can still download the repos with curl and install them with rpm --force, but before you do that, if the above doesn't work, give a heads up in this thread to figure out what would have caused it, because a reinstall might be a better solution in certain circumstances (and you can perfectly save your home folder so you keep all your data and app settings, so it's not really a huge tile consumer nor a big problem if such were necessary).
You can start yumex via the menu in the DE, or by typing "yumex" in terminal. It requires root, so it will prompt for admin password when the time comes that it needs root.
You see tabs on the left. One is for packages, one is for history, one is for groups, and one is for repositories.
Click on the repositories one, and you'll see a list of repositories normally, with checkboxes next to them.
Check the fedora and fedora-updates boxes.
Confirm on the bottom right.
Then click on the packages tab, and it will refresh the repos and give you a list of updates.
Click select all bottom, then apply bottom right.
I saw your remark that it's linux mint xfce, but that is a joke right, being that yum is for RPM distros only. If you have installed yum as package manager on linux mint, which is a DEB distro, it will never work, you have to use apt-get or synaptic instead. Just posting this to make sure since you say that you're a new user.
Linux mint doesn't work with yum. It's a simple as that. Yum is the default package manager in Fedora/RHEL/CentOS/Scientific Linux and variants thereof, and is an optional package manager in OpenSuSE/SuSE/Mageia and variants thereof. It only works for RPM based distros.
Mint is either Ubuntu based, when it's the standard Mint, or Debian based, when it's Mint on Debian. Both use synaptic/apt-get as package managers.
Type "man apt-get" for a manual on how to use the package manager, or "apt-get --help" for a quick overview of the various options.
If you want to use yum, install Fedora instead.
You don't have to use the pacman command in Manjaro, it has pamac, which is a GUI front end for pacman. It will even notify you automatically of any updates, and is not only a front end for pacman, but also for yaourt, so you can build from AUR. No need for any CLI work.
OK. Well this is all weird and confusing... I remember it used to work .-. Anyways, before I used to also be update apps and download things, but now I can't do that. I can't even install steam.
"Yum (yellow dog updater, modified) is an automatic updater and package installer/remover for rpm systems. it automatically computes dependencies and figures out what things should occur to install packages. it makes it easier to maintain groups of machines without having to manually update each one using rpm."
I think you are slightly confused. Open a terminal and type sudo apt-get install steam.
You can easily make it work, by aliasing it. But that would be borderline silly in my opinion. You also wouldn't be able to alias the extra functionality that yum has over apt-get.