Solved

Yum on Fedora Core 1

Posted on 2004-08-01
16
2,493 Views
Last Modified: 2013-12-06
I installed yum-2.0.7-1.noarch.rpm


And this is all it does

[root@ns3 root]# yum check-update
Segmentation fault

Whats wrong??



default yum conf

[root@ns3 root]# cat /etc/yum.conf
[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1

[base]
name=Red Hat Linux $releasever - $basearch - Base
baseurl=http://mirror.dulug.duke.edu/pub/yum-repository/redhat/$releasever/$basearch/


[updates]
name=Red Hat Linux $releasever - Updates
baseurl=http://mirror.dulug.duke.edu/pub/yum-repository/redhat/updates/$releasever/

0
Comment
Question by:clintonm9
  • 7
  • 7
16 Comments
 
LVL 40

Expert Comment

by:jlevie
ID: 11688233
It might be that your rpm database isn't quite right, try 'rpm --rebuilddb' and then see if you will run.
0
 

Author Comment

by:clintonm9
ID: 11693116
same thing! Any other ideas?
0
 
LVL 40

Expert Comment

by:jlevie
ID: 11694626
Does this system have the standard Fedora Core 1 python installation? Has anything been installed from other than a Core 1 distribution, and if so what?
0
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 

Author Comment

by:clintonm9
ID: 11695592
I downloaded the ISO and installed with no problems, then the very next step was putting yum on the system. I put yum on there and it did not work!

yarrow-i386-disc1.iso  
yarrow-i386-disc2.iso  
yarrow-i386-disc3.iso  
0
 
LVL 40

Expert Comment

by:jlevie
ID: 11696337
Dunno, what happens if you do 'yum list' or 'yum update'?
0
 

Author Comment

by:clintonm9
ID: 11696508
[root@ns3 root]# yum list
Segmentation fault
[root@ns3 root]# yum update
Segmentation fault

Instantly!!

I don't know why this would happen on a fresh system. Should i try apt-get?
0
 

Author Comment

by:clintonm9
ID: 11696521
Check this out as well.

[root@ns3 root]# up2date --help
Segmentation fault
[root@ns3 root]# yum --help
Segmentation fault


What does that mean?
0
 
LVL 40

Expert Comment

by:jlevie
ID: 11698080
Hmm, it sounds like something on the system, perhaps a library, is corrupt.

Do you get an MD5 errors from and 'rpm --verify --all'?
0
 

Author Comment

by:clintonm9
ID: 11698936
it prints all kind of stuff

[root@ns3 src]# rpm --verify --all
S.5....T c /etc/pam.d/system-auth
S.5....T c /etc/openldap/ldap.conf
..5.....   /usr/lib/locale/be_BY.utf8/LC_COLLATE
..5.....   /usr/lib/locale/ru_RU.utf8/LC_COLLATE
..5.....   /usr/lib/locale/ru_UA.utf8/LC_COLLATE
..5.....   /usr/lib/locale/sv_SE.utf8/LC_COLLATE
..5.....   /usr/lib/locale/zh_HK/LC_CTYPE
.......T c /etc/libuser.conf
S.5....T c /etc/ldap.conf
..5.....   /usr/src/linux-2.4.22-1.2115.nptl/include/asm-ia64/sn/sn2/shub_mmr_t.h
.......T c /etc/yum.conf
.M......   /dev/shm
..5.....   /usr/lib/isdn/te_etsi.qm1
.M......   /etc/cups
S.5....T c /etc/cups/cupsd.conf
.......T c /etc/cups/printers.conf
.M......   /var/spool/cups/tmp
S.5....T c /etc/profile
..5.....   /usr/sbin/pppdump
S.5....T c /etc/httpd/conf/httpd.conf
..5.....   /usr/bin/postgres
.....UG.   /var/lib/pgsql
.....UG. c /var/lib/pgsql/.bash_profile
.....UG.   /var/lib/pgsql/backups
.....UG.   /var/lib/pgsql/data
.M......   /dev/shm
.M....G.   /dev/tty1
.M....G.   /dev/tty2
.M....G.   /dev/tty3
.M....G.   /dev/tty4
.M....G.   /dev/tty5
.M....G.   /dev/tty6
.......T c /etc/inittab
S.5....T c /etc/rc.d/rc.local
.M......   /dev/shm
S.5....T c /etc/krb.conf
.......T c /etc/pam_smb.conf
S.5....T c /etc/sysconfig/pcmcia
S.5....T c /etc/aliases
S.5....T c /etc/mail/local-host-names
.......T c /etc/mail/sendmail.cf
S.5....T c /etc/mail/statistics
SM5....T c /etc/mail/submit.cf
S.5....T c /etc/mail/virtusertable
..5.....   /usr/bin/smbcquotas
..5.....   /usr/lib/Omni/libKyocera_FS_850A_FS_850.so.2.0.0
..5.....   /usr/lib/python2.2/site-packages/Ft/Xml/Xslt/XPatternParserc.so
.M....G. c /var/named/chroot/dev/null
.M...... c /var/named/chroot/dev/random
.....U.. c /var/named/chroot/etc/rndc.key
.....U..   /var/named/chroot/var/named
......G.   /var/run/dovecot-login
..5.....   /usr/lib/gconv/EUC-KR.so
..5.....   /usr/lib/gconv/UHC.so
..5.....   /usr/bin/python
..5.....   /usr/bin/python2.2
..5.....   /usr/lib/python2.2/fileinput.py
..5.....   /sbin/dump
.......T c /etc/yp.conf
S.5..... c /etc/rndc.key
S.5....T c /etc/sysconfig/named
..5.....   /usr/include/boost/graph/isomorphism.hpp
..5.....   /usr/include/boost/numeric/ublas/matrix.hpp
..5.....   /usr/include/boost/numeric/ublas/matrix_sparse.hpp
S.5....T c /etc/named.conf
.......T c /var/named/localhost.zone
.......T c /var/named/named.ca
.......T c /var/named/named.local
.......T c /etc/krb5.conf
S.5....T c /etc/sysconfig/rhn/up2date-uuid

and on and on
0
 

Author Comment

by:clintonm9
ID: 11704581
I installed yumf rom the cd the test.


Just installed off of CD 1
I copied /mnt/cdrom/Fedora/RPMS/yum-2.0.4-2.noarch.rpm then installed

[root@ns3 root]# rpm -Uhv yum-2.0.4-2.noarch.rpm
warning: yum-2.0.4-2.noarch.rpm: V3 DSA signature: NOKEY, key ID 4f2a6fd2
Preparing...                ########################################### [100%]
   1:yum                    ########################################### [100%]
[root@ns3 root]# yum
Segmentation fault


same thing!
0
 

Author Comment

by:clintonm9
ID: 11708610
I fixed it!

It was a bad mother board and it messed up the install. I reinistall the OS and it fixed it!
0
 
LVL 40

Expert Comment

by:jlevie
ID: 11709579
Are you seeing any other "interesting" problems with this system? Given the failure  of the Fedora copy of yum I'm wondering if there's some sort of a hardware problem.
0
 
LVL 40

Expert Comment

by:jlevie
ID: 11709788
Looks like we crossed "in the mail"...
0
 
LVL 40

Expert Comment

by:jlevie
ID: 11711681
Okay with me...
0
 

Accepted Solution

by:
OzzMod earned 0 total points
ID: 11741988
Closed, 125 points refunded.

Thanks

OzzMod
Community Support Moderator
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Why VNC doesn't work in Redhat? 11 71
AWS - HAProxy- KeepAlived 5 51
Moving from Mcrypt to OpenSSL 18 45
I NEED A "BARE" LINUX ... 9 55
1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

792 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question