Re: [CentOS] yum install make does not work

2012-12-20 Thread Akemi Yagi
On Wed, Dec 19, 2012 at 11:12 PM, Nicolas Thierry-Mieg
nicolas.thierry-m...@imag.fr 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

2012-12-20 Thread Giorgio Bersano
2012/12/19 Theo Band theo.b...@greenpeak.com:
 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


[CentOS] yum install make does not work

2012-12-19 Thread Theo Band
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


This is a fresh install of CentOS6 (starting with a minimal install). 
All repositories seem to be working. I issued a yum clean and even 
removed the cache manually.
A machine with a similar setup works as expected (yum remove make;yum 
install make). This problem prevents me from installing group 
server-platform.
Since I started with a core installation by accident (wanted a Desktop) 
I simply Googled for the list of groups needed:

Default grouplist:
base core debugging directory-client java-platform 
network-file-system-client
server-platform fonts print-client basic-desktop desktop-debugging
desktop-platform general-desktop graphical-admin-tools input-methods 
legacy-x
x11 internet-applications internet-browser office-suite 
remote-desktop-clients

I was able to install all these groups except server-platform. And this 
boils down to not being able to install make.

Any clue how to fix this?

# yum groupinstall server-platform
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 Group Process
Checking for new repos for mirrors
Package libstdc++-4.4.6-4.el6.x86_64 already installed and latest version
Package glibc-2.12-1.80.el6_3.6.x86_64 already installed and latest version
Package zlib-1.2.3-27.el6.x86_64 already installed and latest version
Package ncurses-libs-5.7-3.20090208.el6.x86_64 already installed and 
latest version
Package openssl-1.0.0-25.el6_3.1.x86_64 already installed and latest 
version
Package krb5-libs-1.9-33.el6_3.3.x86_64 already installed and latest 
version
Package openldap-2.4.23-26.el6_3.2.x86_64 already installed and latest 
version
Package libgcc-4.4.6-4.el6.x86_64 already installed and latest version
Package 1:dbus-libs-1.2.24-7.el6_3.x86_64 already installed and latest 
version
Package pam-1.1.1-10.el6_2.1.x86_64 already installed and latest version
Package nss-3.13.5-1.el6_3.x86_64 already installed and latest version
Package db4-4.7.25-17.el6.x86_64 already installed and latest version
Resolving Dependencies
-- Running transaction check
--- Package redhat-lsb.x86_64 0:4.0-3.el6.centos will be installed
-- Processing Dependency: redhat-lsb-printing for package: 
redhat-lsb-4.0-3.el6.centos.x86_64
-- Processing Dependency: redhat-lsb-graphics for package: 
redhat-lsb-4.0-3.el6.centos.x86_64
-- Processing Dependency: perl-Test-Simple for package: 
redhat-lsb-4.0-3.el6.centos.x86_64
-- Processing Dependency: perl-Test-Harness for package: 
redhat-lsb-4.0-3.el6.centos.x86_64
-- Processing Dependency: perl-ExtUtils-MakeMaker for package: 
redhat-lsb-4.0-3.el6.centos.x86_64
-- Processing Dependency: perl-CGI for package: 
redhat-lsb-4.0-3.el6.centos.x86_64
-- Processing Dependency: /usr/bin/pax for package: 
redhat-lsb-4.0-3.el6.centos.x86_64
-- Processing Dependency: /usr/bin/patch for package: 
redhat-lsb-4.0-3.el6.centos.x86_64
-- Processing Dependency: /usr/bin/make for package: 
redhat-lsb-4.0-3.el6.centos.x86_64
-- Running transaction check
--- Package patch.x86_64 0:2.6-6.el6 will be installed
--- Package pax.x86_64 0:3.4-10.1.el6 will be installed
--- Package perl-CGI.x86_64 0:3.51-127.el6 will be installed
--- Package perl-ExtUtils-MakeMaker.x86_64 0:6.55-127.el6 will be installed
-- Processing Dependency: perl-devel for package: 
perl-ExtUtils-MakeMaker-6.55-127.el6.x86_64
--- Package perl-Test-Harness.x86_64 0:3.17-127.el6 will be installed
--- Package perl-Test-Simple.x86_64 0:0.92-127.el6 will be installed
--- Package redhat-lsb.x86_64 0:4.0-3.el6.centos will be installed
-- Processing Dependency: /usr/bin/make for package: 
redhat-lsb-4.0-3.el6.centos.x86_64
--- Package redhat-lsb-graphics.x86_64 0:4.0-3.el6.centos will be installed
--- Package redhat-lsb-printing.x86_64 0:4.0-3.el6.centos will be installed
-- Processing Dependency: /usr/bin/foomatic-rip for package: 
redhat-lsb-printing-4.0-3.el6.centos.x86_64
-- Running transaction check
--- Package foomatic.x86_64 0:4.0.4-1.el6_1.1 will be installed
-- Processing Dependency: foomatic-db for package: 
foomatic-4.0.4-1.el6_1.1.x86_64
--- Package perl-devel.x86_64 4:5.10.1-127.el6 will be installed
-- Processing Dependency: perl(ExtUtils::ParseXS) for package: 
4:perl-devel-5.10.1-127.el6.x86_64
--- Package redhat-lsb.x86_64 0:4.0-3.el6.centos will be installed
-- Processing Dependency: /usr/bin/make for package: 
redhat-lsb-4.0-3.el6.centos.x86_64
-- Running transaction check
--- 

Re: [CentOS] yum install make does not work

2012-12-19 Thread Les Mikesell
On Wed, Dec 19, 2012 at 11:35 AM, Theo Band theo.b...@greenpeak.com 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


Re: [CentOS] yum install make does not work

2012-12-19 Thread 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


Re: [CentOS] yum install make does not work

2012-12-19 Thread Marcin Lage
$ 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 pie...@hogranch.com

 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

2012-12-19 Thread Nicolas Thierry-Mieg
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

2012-12-19 Thread Frank Cox
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

2012-12-19 Thread Frank Cox
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

2012-12-19 Thread 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


Re: [CentOS] yum install make does not work

2012-12-19 Thread 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 pie...@hogranch.com

 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

2012-12-19 Thread Marcin Lage
**yum-plugin-priorities**

2012/12/19 Marcin Lage marcin.l...@gmail.com

 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 pie...@hogranch.com

 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

2012-12-19 Thread m . roth
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 pie...@hogranch.com

 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

2012-12-19 Thread 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?

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

2012-12-19 Thread Les Mikesell
On Wed, Dec 19, 2012 at 3:15 PM, Theo Band theo.b...@greenpeak.com 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

2012-12-19 Thread Nicolas Thierry-Mieg
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