User not logged in - login - register
Home Calendar Books School Tool Photo Gallery Message Boards Users Statistics Advertise Site Info
go to bottom | |
 Message Boards » » has python imploded? Page [1]  
Aficionado
Suspended
22518 Posts
user info
edit post

what does this mean?

sudo yum update
Loading "installonlyn" plugin
Loading "rhnplugin" plugin
Loading "security" plugin
Setting up Update Process
Setting up repositories
rhn-tools-rhel-x86_64-cli 100% |=========================| 1.2 kB 00:00
rhel-x86_64-client-workst 100% |=========================| 1.4 kB 00:00
rhel-x86_64-client-5 100% |=========================| 1.4 kB 00:00
rhel-x86_64-client-supple 100% |=========================| 1.2 kB 00:00
Reading repository metadata in from local files
Skipping security plugin, no data
Traceback (most recent call last):
File "/usr/bin/yum", line 29, in ?
yummain.main(sys.argv[1:])
File "/usr/share/yum-cli/yummain.py", line 102, in main
result, resultmsgs = do()
File "/usr/share/yum-cli/cli.py", line 359, in doCommands
return self.yum_cli_commands[self.basecmd].doCommand(self, self.basecmd, self.extcmds)
File "/usr/share/yum-cli/yumcommands.py", line 150, in doCommand
return base.updatePkgs(extcmds)
File "/usr/share/yum-cli/cli.py", line 641, in updatePkgs
obsoleting_pkg = self.getPackageObject(obsoleting)
File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 1462, in getPackageObject
pkgs = self.pkgSack.searchPkgTuple(pkgtup)
File "/usr/lib/python2.4/site-packages/yum/packageSack.py", line 68, in searchPkgTuple
return self.searchNevra(name=n, arch=a, epoch=e, ver=v, rel=r)
File "/usr/lib/python2.4/site-packages/yum/packageSack.py", line 231, in searchNevra
return self._computeAggregateListResult("searchNevra", name, epoch, ver, rel, arch)
File "/usr/lib/python2.4/site-packages/yum/packageSack.py", line 323, in _computeAggregateListResult
sackResult = apply(method, args)
File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 544, in searchNevra
returnList.append(self.pc(rep,self.db2class(x)))
File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 429, in db2class
y.checksum = {'pkgid': 'YES','type': db.checksum_type,
File "/usr/lib64/python2.4/site-packages/sqlite/main.py", line 97, in __getattr__
raise AttributeError, key
AttributeError: CHECKSUM_VALUE

1/22/2009 6:36:41 PM

Aficionado
Suspended
22518 Posts
user info
edit post

sudo yum clean does nothing

1/22/2009 6:39:36 PM

teh_toch
All American
5342 Posts
user info
edit post

format and reinstall

1/22/2009 6:41:31 PM

Aficionado
Suspended
22518 Posts
user info
edit post

mother fucker i have already done that once today because there were all kinds of libraries missing left and right



[Edited on January 22, 2009 at 6:57 PM. Reason :

1/22/2009 6:43:10 PM

llama
All American
841 Posts
user info
edit post

We've been having some problems with RHN this week with the release of 5.3. I'd personally recommend against upgrading till it's all straightened out. Did you re-install with 5.2 or 5.3?


Quote :
"sudo yum clean does nothing"

not sure if you tried it but clean requires an option

sudo yum clean {headers | packages | metadata | dbcache | plugins | all}

1/22/2009 7:24:38 PM

ncsuapex
SpaceForRent
37776 Posts
user info
edit post

so after a fresh install when you try to use yum you get errors?

I take it youre installing RHEL 5.? 64bit?

Before you do a yum update can you use any other options with yum? like

yum check-update


Whats your /etc/yum.yum.repos.d looks like? Are you using the default yum repos that came installed?

When you do a yum clean, are you doing a "yum clean all" and whats it say after you do a yum clean all?


also whats the output of this?

rpm -qa | grep yum-metadata-parser

1/22/2009 7:31:36 PM

Aficionado
Suspended
22518 Posts
user info
edit post

Quote :
"Did you re-install with 5.2 or 5.3?"


5.1

Quote :
"not sure if you tried it but clean requires an option"


yeah, i used all with no success

Quote :
"so after a fresh install when you try to use yum you get errors?"


after a fresh install, i used yum update, left the computer for an hour or so, and i think that it froze/was disconnected at 119/768

tried to start it back up and got that output, now all the commands that i use have all kinds of lib errors and now i am locked out of the machine because ssh wont work because libcrypt.so is missing

it is all fucked up

yesterday it was fine, hell we had 5 people connected to the machine working with no problems. then this morning i go to log in and get a connection refused error. interesting, never had that one before. so i go to the other building to check out the machine. there are pages of errors at the login screen about libcrypt.so missing. so i try to fix it. damn near every command depends on some library that is missing, i cant even use rpm to open some packages to replace the missing libs, and they all have python scripts that are failing because of the missing libs.

so i just say fuck it, tar up all the data in rescue mode and reformat and reinstall with 5.1. register with the local rhn server to get updates (ga tech), works. start the update process and now i am here.

i am the only one that has sudo/root access, and i didnt fuck with any of the libraries so i am at a loss as to what is going on. i checked all the logs before the reformat and there was nothing out of the ordinary. i cant access the machine to get any more info so all the other suggestions will have to wait until tomorrow

Quote :
"yum check-update"


same error

Quote :
"Are you using the default yum repos that came installed?"


yes

Quote :
"When you do a yum clean, are you doing a "yum clean all" and whats it say after you do a yum clean all?"


yes and nothing spectacular, i dont have the exact output right now



[Edited on January 22, 2009 at 10:06 PM. Reason :

1/22/2009 10:02:17 PM

kiljadn
All American
44690 Posts
user info
edit post

the SUDO YUM CLEAN does nothing!!

1/22/2009 10:06:53 PM

teh_toch
All American
5342 Posts
user info
edit post

Quote :
"SUDO

YUM

CLEAN"

1/22/2009 10:15:42 PM

Aficionado
Suspended
22518 Posts
user info
edit post

just another example, i couldnt use wget because libssl.so was missing

since 99% of the time, people access this machine remotely, it starts at the command line, so when i tried startx, no good

1/22/2009 10:31:33 PM

llama
All American
841 Posts
user info
edit post

Run this and paste the output into the thread:

for i in `rpm -qa | grep yum`; do echo $i; rpm -V $i; done

1/23/2009 2:32:59 PM

Aficionado
Suspended
22518 Posts
user info
edit post

yum-3.2.8-9.el5
yum-updatesd-0.9-2.el5
yum-metadata-parser-1.1.2-2.el5
yum-security-1.1.10-9.el5
yum-rhn-plugin-0.5.3-6.el5

looks like i may need to go back to the 3.0.....



[Edited on January 23, 2009 at 2:41 PM. Reason :

1/23/2009 2:40:21 PM

llama
All American
841 Posts
user info
edit post

If you want to email me a sosreport from the system I'll take a look at it. PM me for my addy

1/23/2009 4:22:46 PM

 Message Boards » Tech Talk » has python imploded? Page [1]  
go to top | |
Admin Options : move topic | lock topic

© 2024 by The Wolf Web - All Rights Reserved.
The material located at this site is not endorsed, sponsored or provided by or on behalf of North Carolina State University.
Powered by CrazyWeb v2.39 - our disclaimer.