Re: [CentOS] yum install make does not work
2012/12/19 Theo Band : > On 12/19/2012 08:34 PM, Frank Cox wrote: >> On Wed, 19 Dec 2012 20:26:58 +0100 Nicolas Thierry-Mieg wrote: >>> Theo: I suggest disabling all repos except os+updates and trying again. >> He could go to that mirror with a web browser and see if the package >> actually exists there. > > I have two installations. One that works, and one that does not, so I > can compare. I want to point to a known good mirror, but haven't figured > out how to do that. I can probably just download the make rpm and > install it with rpm. But that feels like cheating :-). And only one > package seems to not exist. How does yum "remember" that? Is it perhaps > a rpm database thing? > Just as a side note: when installing downloaded files (e.g. make-3.81-20.el6.x86_64.rpm) better using yum then rpm, as in # yum install make-3.81-20.el6.x86_64.rpm otherwise after that install you will always get warnings about RPMDB altered outside of yum. Regarding your specific problem, as already suggested I'd start with # yum clean all ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] yum install make does not work
On Wed, Dec 19, 2012 at 11:12 PM, Nicolas Thierry-Mieg wrote: > m.r...@5-cent.us wrote: >>> >> If you're going to use priorities, I'd make the CentOS mirrors highest, >> then work my way down, with epel being *above* repoforge, since the latter >> contains packages that conflict with some of the standard CentOS base >> packages. > > this hasn't been true for more than two years, since the split between > repoforge-extras (which contains packages that replace base packages) > and repoforge (which doesn't). ... and the former (-extras) is installed 'disabled' by default. Akemi ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] yum install make does not work
m.r...@5-cent.us wrote: >> > If you're going to use priorities, I'd make the CentOS mirrors highest, > then work my way down, with epel being *above* repoforge, since the latter > contains packages that conflict with some of the standard CentOS base > packages. this hasn't been true for more than two years, since the split between repoforge-extras (which contains packages that replace base packages) and repoforge (which doesn't). ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] yum install make does not work
On Wed, Dec 19, 2012 at 3:15 PM, Theo Band wrote: > > I have two installations. One that works, and one that does not, so I > can compare. I want to point to a known good mirror, but haven't figured > out how to do that. I can probably just download the make rpm and > install it with rpm. But that feels like cheating :-). And only one > package seems to not exist. How does yum "remember" that? Is it perhaps > a rpm database thing? I usually try a 'yum clean all' first as a brute-force approach to anything that isn't working. It will clear all the cached stuff, including the preferred mirror (although it may pick the same one again with the fastestmirror test). -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] yum install make does not work
On 12/19/2012 08:34 PM, Frank Cox wrote: > On Wed, 19 Dec 2012 20:26:58 +0100 Nicolas Thierry-Mieg wrote: >> Theo: I suggest disabling all repos except os+updates and trying again. > He could go to that mirror with a web browser and see if the package > actually exists there. I have two installations. One that works, and one that does not, so I can compare. I want to point to a known good mirror, but haven't figured out how to do that. I can probably just download the make rpm and install it with rpm. But that feels like cheating :-). And only one package seems to not exist. How does yum "remember" that? Is it perhaps a rpm database thing? I tried something else, reinstall yum: # yum reinstall yum Loaded plugins: fastestmirror, refresh-packagekit, security Setting up Reinstall Process Loading mirror speeds from cached hostfile * base: mirrors.supportex.net * extras: mirrors.supportex.net * updates: mirrors.supportex.net base | 3.7 kB 00:00 extras | 3.5 kB 00:00 updates | 3.5 kB 00:00 Installed package yum-3.2.29-30.el6.centos.noarch (from anaconda-CentOS-201207061011.x86_64) not available. Nothing to do The other machine works fine: # yum reinstall yum Loaded plugins: fastestmirror, refresh-packagekit, security Setting up Reinstall Process Loading mirror speeds from cached hostfile epel/metalink | 15 kB 00:00 * base: nl.mirror.eurid.eu * epel: mirror.nl.leaseweb.net * extras: nl.mirror.eurid.eu * updates: nl.mirror.eurid.eu base | 3.7 kB 00:00 epel | 4.3 kB 00:00 epel/primary_db | 4.9 MB 00:02 extras | 3.5 kB 00:00 updates | 3.5 kB 00:00 updates/primary_db | 4.6 MB 00:01 Resolving Dependencies --> Running transaction check ---> Package yum.noarch 0:3.2.29-30.el6.centos will be reinstalled --> Finished Dependency Resolution Dependencies Resolved == Package Arch Version RepositorySize == Reinstalling: yum noarch 3.2.29-30.el6.centos base 990 k Transaction Summary == Reinstall 1 Package(s) Total download size: 990 k Installed size: 4.5 M Is this ok [y/N]: n Exiting on user Command What is special with this install is that I used PXE init disk to boot the installation disk (I added an entry to an existing boot loader and placed the initial ramdisk and vmlinux in /boot). Could the initial installation source be the reason? # yum install make Loaded plugins: fastestmirror, refresh-packagekit, security Loading mirror speeds from cached hostfile * base: mirrors.supportex.net * epel: mirror.nl.leaseweb.net * extras: mirrors.supportex.net * updates: mirrors.supportex.net Setting up Install Process No package make available. So this is the mirror for base: http://mirrors.supportex.net/centos/6/os/x86_64/Packages/ http://mirrors.supportex.net/centos/6/os/x86_64/Packages/make-3.81-20.el6.x86_64.rpm The mirror looks fine to me. # yum provides /usr/bin/make Loaded plugins: fastestmirror, refresh-packagekit, security Loading mirror speeds from cached hostfile * base: mirrors.supportex.net * epel: mirror.nl.leaseweb.net * extras: mirrors.supportex.net * updates: mirrors.supportex.net No Matches found ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] yum install make does not work
Marcin Lage wrote: > I'm not sure, but maybe you have to set priorities among their > repositories. I > have also configured repositories "rpmforge" and "EPEL" on my system, and > to > avoid conflicts between packages from these repositories with packages > from > default repositories, I install the "plugin priorities" - yum install yum > -priorities. > Then configure the files of repositories: > [rpmforge.repo] - priority = 1 > [epel.repo] - priority = 2 > > Perhaps this lack of precedence between repositories, please discard the > search for yum package within the repository @ Base.Or you can try > disabling repositories: EPEL and rpmforge. > If you're going to use priorities, I'd make the CentOS mirrors highest, then work my way down, with epel being *above* repoforge, since the latter contains packages that conflict with some of the standard CentOS base packages. > I'm sorry, my english is bad. Better than some folks. mark > > 2012/12/19 John R Pierce > >> On 12/19/2012 11:25 AM, Marcin Lage wrote: >> > *make.x86_64 1:3.81-20.el6 >> > @base* >> >> >> h, man, gotta stop posting before coffee. I was thinking 'base >> install', not 'base repository'. >> >> >> ___ >> CentOS mailing list >> CentOS@centos.org >> http://lists.centos.org/mailman/listinfo/centos >> > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos > ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] yum install make does not work
**yum-plugin-priorities** 2012/12/19 Marcin Lage > I'm not sure, but maybe you have to set priorities among their > repositories. I have also configured repositories "rpmforge" and "EPEL" on > my system, and to avoid conflicts between packages from these repositories > with packages from default repositories, I install the "plugin priorities" > - yum install yum-priorities. > Then configure the files of repositories: > [rpmforge.repo] - priority = 1 > [epel.repo] - priority = 2 > > Perhaps this lack of precedence between repositories, please discard the > search for yum package within the repository @ Base.Or you can try > disabling repositories: EPEL and rpmforge. > > I'm sorry, my english is bad. > > 2012/12/19 John R Pierce > >> On 12/19/2012 11:25 AM, Marcin Lage wrote: >> > *make.x86_64 1:3.81-20.el6 >> > @base* >> >> >> h, man, gotta stop posting before coffee. I was thinking 'base >> install', not 'base repository'. >> >> >> ___ >> CentOS mailing list >> CentOS@centos.org >> http://lists.centos.org/mailman/listinfo/centos >> > > ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] yum install make does not work
I'm not sure, but maybe you have to set priorities among their repositories. I have also configured repositories "rpmforge" and "EPEL" on my system, and to avoid conflicts between packages from these repositories with packages from default repositories, I install the "plugin priorities" - yum install yum -priorities. Then configure the files of repositories: [rpmforge.repo] - priority = 1 [epel.repo] - priority = 2 Perhaps this lack of precedence between repositories, please discard the search for yum package within the repository @ Base.Or you can try disabling repositories: EPEL and rpmforge. I'm sorry, my english is bad. 2012/12/19 John R Pierce > On 12/19/2012 11:25 AM, Marcin Lage wrote: > > *make.x86_64 1:3.81-20.el6 > > @base* > > > h, man, gotta stop posting before coffee. I was thinking 'base > install', not 'base repository'. > > > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos > ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] yum install make does not work
On 12/19/2012 11:25 AM, Marcin Lage wrote: > *make.x86_64 1:3.81-20.el6 > @base* h, man, gotta stop posting before coffee. I was thinking 'base install', not 'base repository'. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] yum install make does not work
On Wed, 19 Dec 2012 20:26:58 +0100 Nicolas Thierry-Mieg wrote: > Theo: I suggest disabling all repos except os+updates and trying again. He could go to that mirror with a web browser and see if the package actually exists there. -- MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com www.creekfm.com - FIFTY THOUSAND WATTS of POW WOW POWER! ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] yum install make does not work
On Wed, 19 Dec 2012 17:25:59 -0200 Marcin Lage wrote: > $ sudo yum list make You don't need "sudo" to do that. -- MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com www.creekfm.com - FIFTY THOUSAND WATTS of POW WOW POWER! ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] yum install make does not work
John R Pierce wrote: > On 12/19/2012 9:35 AM, Theo Band wrote: >> I try to install make (should be present in base)... > > no, it shouldn't. > > A) its not in RHEL base, therefore its not in CentOS base. > > B) Base contains NO development tools, is intended for deploying RPM > packaged software only. > > > if you need make, odds are, you'll also need more development tools > (gcc, etc etc), I'd suggest ... > > yum groupinstall "Development Tools" agreed, but that doesn't explain why "yum install make" doesn't work for him. It should work, no matter what is installed when he issues that command (though it may have to pull in many deps). OP must have a misconfiguration somewhere, or otherwise his mirror is bad. Theo: I suggest disabling all repos except os+updates and trying again. And the usual "yum clean all" but I think you already did that? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] yum install make does not work
$ sudo yum list make Loaded plugins: fastestmirror, priorities, refresh-packagekit, security Loading mirror speeds from cached hostfile * base: mirror.beyondhosting.net * centosplus: mirror.ueg.br * elrepo: jur-linux.org * epel: mirrors.dmacc.net * extras: mirror.ueg.br * remi: remirpm.mirror.gymkl.ch * rpmforge: www.mirrorservice.org * updates: mirrors-pa.sioru.com 1400 packages excluded due to repository priority protections Installed Packages *make.x86_64 1:3.81-20.el6 @base* 2012/12/19 John R Pierce > On 12/19/2012 9:35 AM, Theo Band wrote: > > I try to install make (should be present in base)... > > no, it shouldn't. > > A) its not in RHEL base, therefore its not in CentOS base. > > B) Base contains NO development tools, is intended for deploying RPM > packaged software only. > > > if you need make, odds are, you'll also need more development tools > (gcc, etc etc), I'd suggest ... > > yum groupinstall "Development Tools" > > > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos > ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] yum install make does not work
On 12/19/2012 9:35 AM, Theo Band wrote: > I try to install make (should be present in base)... no, it shouldn't. A) its not in RHEL base, therefore its not in CentOS base. B) Base contains NO development tools, is intended for deploying RPM packaged software only. if you need make, odds are, you'll also need more development tools (gcc, etc etc), I'd suggest ... yum groupinstall "Development Tools" ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] yum install make does not work
On Wed, Dec 19, 2012 at 11:35 AM, Theo Band wrote: > I try to install make (should be present in base): > > yum install make > Loaded plugins: fastestmirror, refresh-packagekit, security > Loading mirror speeds from cached hostfile > * base: mirrors.supportex.net > * epel: mirror.nl.leaseweb.net > * extras: mirrors.supportex.net > * rpmforge: archive.cs.uu.nl > * updates: mirrors.supportex.net > Setting up Install Process > No package make available. > Error: Nothing to do Does 'yum search make' show the make package? What about 'yum info make'? -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos