LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-27-2012, 02:33 PM   #1
Skillz
Member
 
Registered: Sep 2007
Posts: 252

Rep: Reputation: 32
yum groupinstall "Development Tools" "Development Libraries" error...


Keep getting an error when I run that command (yum groupinstall "Development Tools" "Development Libraries") here is the output.

Code:
---> Package hal.i386 0:0.5.8.1-62.el5 set to be updated
---> Package libXrandr.i386 0:1.1.1-3.3 set to be updated
---> Package bitstream-vera-fonts.noarch 0:1.10-7 set to be updated
---> Package libXcursor.i386 0:1.1.7-1.2 set to be updated
---> Package esound.i386 1:0.2.36-4 set to be updated
---> Package libXi.i386 0:1.0.1-4.el5_4 set to be updated
---> Package dbus-glib.i386 0:0.73-10.el5_5 set to be updated
---> Package nss-tools.i386 0:3.13.5-4.el5_8 set to be updated
---> Package audiofile-devel.i386 1:0.2.6-5 set to be updated
4ab77cb05c1e8b05721e9cf69d0f6e2b15f49ae4-filelists.sqlite.bz2                                                                 | 4.8 MB     00:00
Traceback (most recent call last):
  File "/usr/bin/yum", line 29, in ?
    yummain.user_main(sys.argv[1:], exit_code=True)
  File "/usr/share/yum-cli/yummain.py", line 229, in user_main
    errcode = main(args)
  File "/usr/share/yum-cli/yummain.py", line 145, in main
    (result, resultmsgs) = base.buildTransaction()
  File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 647, in buildTransaction
    (rescode, restring) = self.resolveDeps()
  File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 704, in resolveDeps
    for po, dep in self._checkFileRequires():
  File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 939, in _checkFileRequires
    if not self.tsInfo.getOldProvides(filename) and not self.tsInfo.getNewProvides(filename):
  File "/usr/lib/python2.4/site-packages/yum/transactioninfo.py", line 414, in getNewProvides
    for pkg, hits in self.pkgSack.getProvides(name, flag, version).iteritems():
  File "/usr/lib/python2.4/site-packages/yum/packageSack.py", line 300, in getProvides
    return self._computeAggregateDictResult("getProvides", name, flags, version)
  File "/usr/lib/python2.4/site-packages/yum/packageSack.py", line 470, in _computeAggregateDictResult
    sackResult = apply(method, args)
  File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 861, in getProvides
    return self._search("provides", name, flags, version)
  File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 43, in newFunc
    return func(*args, **kwargs)
  File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 837, in _search
    for pkg in self.searchFiles(name, strict=True):
  File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 43, in newFunc
    return func(*args, **kwargs)
  File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 586, in searchFiles
    self._sql_pkgKey2po(rep, cur, pkgs)
  File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 470, in _sql_pkgKey2po
    pkg = self._packageByKey(repo, ob['pkgKey'])
  File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 413, in _packageByKey
    po = self.pc(repo, cur.fetchone())
  File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 68, in __init__
    self._read_db_obj(db_obj)
  File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 94, in _read_db_obj
    setattr(self, item, _share_data(db_obj[item]))
TypeError: unsubscriptable object
 
Old 07-27-2012, 09:30 PM   #2
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
Have you run a 'yum clean all' and applied maintenance to your system:
Code:
yum clean all
yum -y update
 
Old 07-27-2012, 10:02 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
Skillz
by chance did you install a DIFFERENT version of python than was in the centos 5 update repo

most python / yum issues are from installing a second version of python the wrong way
 
Old 07-28-2012, 01:11 AM   #4
Skillz
Member
 
Registered: Sep 2007
Posts: 252

Original Poster
Rep: Reputation: 32
Quote:
Originally Posted by John VV View Post
Skillz
by chance did you install a DIFFERENT version of python than was in the centos 5 update repo

most python / yum issues are from installing a second version of python the wrong way
You might be onto something. Couple years ago when I first got the box up and running I believe I installed a BF2 server on the box and one of the admin controllers required a version of Python that wasn't installed on the server. IIRC, it had a newer version on the server but the controller required an older version and thus I followed the directions on installing it. If that's the problem, how would I go about on correcting the issue?
 
Old 07-28-2012, 01:25 AM   #5
Skillz
Member
 
Registered: Sep 2007
Posts: 252

Original Poster
Rep: Reputation: 32
Quote:
Originally Posted by macemoneta View Post
Have you run a 'yum clean all' and applied maintenance to your system:
Code:
yum clean all
yum -y update
yum clean all

That command seemed to fix the issue. Thanks!
 
  


Reply



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
some error in yum groupinstall "X Window System" alipour66m Red Hat 22 04-14-2012 12:47 AM
seeking howto "config manage" web development SaintDanBert Linux - Software 2 03-24-2011 04:07 PM
** No boot device ** in SMDK2450 development board, when execute "nboot" command . Moses .S Linux - Hardware 0 01-11-2011 12:59 AM
newbie: trying to understand web development "flow/process/stages" Ubunoob001 Programming 4 11-30-2010 07:45 PM
LXer: Third KDE 4 Development Snapshot Released:"Kludge" LXer Syndicated Linux News 0 02-24-2007 07:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:27 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