LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-04-2016, 08:44 AM   #1
mathewrond
LQ Newbie
 
Registered: Mar 2016
Posts: 6

Rep: Reputation: Disabled
Errors installing package


I am trying to install gcc package on AWS EC2 instance and receive below error message. Could you please help me resolve this issue?

Quote:
$yum install gcc

Error message
Quote:
Error: Package: glibc-2.17-55.140.amzn1.i686 (x-main)
Requires: glibc-common = 2.17-55.140.amzn1
Installed: glibc-common-2.17-106.167.amzn1.x86_64 (@amzn-main)
glibc-common = 2.17-106.167.amzn1
Available: glibc-common-2.17-55.140.amzn1.x86_64 (x-main)
glibc-common = 2.17-55.140.amzn1
I was trying to fix an error related to "no acceptable C compiler found in $PATH" when installing a python package in virtualenv.

Quote:
$yum install glibc-common-2.17-55.140.amzn1.x86_64
Loaded plugins: priorities, update-motd, upgrade-helper
Package matching glibc-common-2.17-55.140.amzn1.x86_64 already installed. Checking for update.
Nothing to do
any help with what to do next here please?
 
Old 11-05-2016, 05:09 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599
You have glibc-common-2.17-106.167.amzn1.x86_64 installed from repo "amzn-main" but repo "x-main" offers only lower version glibc-common-2.17-55.140.amzn1.x86_64. Check your 'yum repolist;' output? Also you don't want gcc but the compiler and all its dependencies. What does 'yum --disablerepo="*" --enablerepo="amzn-main" groupinstall "Development Tools";' return? AWS by default offers only the "amzn-main" and "amzn-updates" repos so if you add something else you must know what you're doing?
 
Old 11-05-2016, 12:08 PM   #3
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Does that distro have a build-essentials package that installs everything needed to compile and install ?
and don't forget to install developer packages, as it needs the header files to compile the source when you get it working

Last edited by BW-userx; 11-05-2016 at 12:11 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Errors while installing php python pecl package mgieser Linux - Enterprise 5 04-04-2011 10:49 AM
installing an unstable package from debian's online package archive ganninu Debian 13 11-07-2003 04:00 PM
PPP package errors ( installing USB DSL Modem) meat_n2_reg Linux - Software 7 11-05-2003 02:58 PM
Package dependecy errors when installing KDE 3.1.1 in RH8 kierl Linux - General 23 04-10-2003 02:16 PM
Which package gives the file -lXpm? <<Errors while installing Pcmcia-cs-3.1.25>> RKris Linux - Software 3 06-14-2002 06:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration