yum broken

Posted by chielsen, 12-18-2007, 02:20 PM
I have waisted all not trying to get subversion working for apache 2.2.6 and in the process i have broken yum now to. I did yum erase subversion, and now with every yum command i get: I saw this too: I tried uninstalling and reinstall yum but that did not work.

Posted by sytker, 12-18-2007, 03:05 PM
umount and mont again /var/tmp. If you are using cpanel you can do as follow: # umount /var/tmp # /scripts/securetmp

Posted by chielsen, 12-18-2007, 04:42 PM
Uhm how and where to mount it back? (useing DA)

Posted by chielsen, 12-18-2007, 05:34 PM
I unmounted and ran this script, but I'm having the same error. #!/bin/sh dd if=/dev/zero of=/tmp.bin bs=1M count=1000 mkfs.ext3 /tmp.bin -F mv /tmp /tmp.old mv /usr/tmp /usr/tmp.old mv /var/tmp /var/tmp.old mkdir /tmp mount /tmp.bin /tmp -o noexec,nosuid,rw,loop ln -s /tmp /usr/tmp ln -s /tmp /var/tmp chmod 777 /tmp chmod 777 /usr/tmp chmod 777 /var/tmp echo "/tmp.bin /tmp ext3 noexec,nosuid,rw,loop 0 0" >> /etc/fstab

Posted by david510, 12-18-2007, 09:18 PM
chielsen, Try removing the existing yum rpm and re-install it again.

Posted by debetch, 12-21-2007, 12:35 AM
hi, i've been through the same issue as you, I've started to update my box and got stuck with the same error. To fix it i downloaded manualy all python packages as well sqlite: -rw-r--r-- 1 root root 5082782 May 5 2007 python-2.3.4-14.4.i386.rpm -rw-r--r-- 1 root root 1424611 May 5 2007 python-devel-2.3.4-14.4.i386.rpm -rw-r--r-- 1 root root 89680 May 5 2007 python-elementtree-1.2.6-5.el4.centos.i386.rpm -rw-r--r-- 1 root root 38348 May 5 2007 python-sqlite-1.1.7-1.2.1.i386.rpm -rw-r--r-- 1 root root 419343 May 5 2007 python-tools-2.3.4-14.4.i386.rpm -rw-r--r-- 1 root root 197395 May 5 2007 sqlite-3.3.6-2.i386.rpm -rw-r--r-- 1 root root 529694 Feb 28 2005 tix-8.1.4-98.i386.rpm -rw-r--r-- 1 root root 277396 May 5 2007 tkinter-2.3.4-14.4.i386.rpm -rw-r--r-- 1 root root 1898940 Nov 18 15:55 up2date-4.6.2-7.el4.centos.i386.rpm -rw-r--r-- 1 root root 395116 Nov 18 15:56 yum-2.4.3-4.el4.centos.noarch.rpm then rpm -Uvh ... then everything was ok. good luck

Posted by chielsen, 12-23-2007, 06:29 PM
Thanks, I ended up with installing / upgrading the list debtech provided with some deps: -rw-r--r-- 1 root root 110615 Dec 23 22:58 findutils-4.1.20-7.el4.3.i386.rpm -rw-r--r-- 1 root root 1192553 Dec 23 22:47 initscripts-7.93.31.EL-2.centos4.i386.rpm -rw-r--r-- 1 root root 105997 Dec 23 22:55 iputils-20020927-19.EL4.5.i386.rpm -rw-r--r-- 1 root root 96889 Dec 23 22:57 mkinitrd-4.2.1.10-1.1.i386.rpm -rw-r--r-- 1 root root 5082782 Dec 23 22:38 python-2.3.4-14.4.i386.rpm -rw-r--r-- 1 root root 1424611 Dec 23 22:38 python-devel-2.3.4-14.4.i386.rpm -rw-r--r-- 1 root root 89680 Dec 23 22:39 python-elementtree-1.2.6-5.el4.centos.i386.rpm -rw-r--r-- 1 root root 38348 Dec 23 22:39 python-sqlite-1.1.7-1.2.1.i386.rpm -rw-r--r-- 1 root root 419343 Dec 23 22:40 python-tools-2.3.4-14.4.i386.rpm -rw-r--r-- 1 root root 666230 Dec 23 22:50 rpm-4.3.3-23_nonptl.i386.rpm -rw-r--r-- 1 root root 602470 Dec 23 22:59 shadow-utils-4.0.3-61.RHEL4.i386.rpm -rw-r--r-- 1 root root 197395 Dec 23 22:40 sqlite-3.3.6-2.i386.rpm -rw-r--r-- 1 root root 529694 Dec 23 22:41 tix-8.1.4-98.i386.rpm -rw-r--r-- 1 root root 858247 Dec 23 22:48 tk-8.4.7-2.i386.rpm -rw-r--r-- 1 root root 277396 Dec 23 22:42 tkinter-2.3.4-14.4.i386.rpm -rw-r--r-- 1 root root 1898940 Dec 23 22:42 up2date-4.6.2-7.el4.centos.i386.rpm -rw-r--r-- 1 root root 395116 Dec 23 22:43 yum-2.4.3-4.el4.centos.noarch.rpm It works again now.

Posted by pauluskc, 01-15-2008, 02:31 PM
same problem, after I was updating yum itself it died. curious as to where you found the packages you updated and how you did the update? up2date is now also dying (probably the whole sqlite issue). Can you give me a couple tips on where to get the packages needed and how to install/update them? I love yum. I miss yum. I can kludge through the other ways, but please give me a tip or two. THANKS!!

Posted by pauluskc, 01-15-2008, 03:08 PM
hehehehhe.. kludged my way through it. This is a great RPM package site: rpm.pbone.net you can search for each of the packages list above (guys were dead-on with this fixing it). Then I made a seperate directory to hold the good RPMs and used lynx to download them. then the rpm -Uvh full.dotted.ver.pack.blah.blah.rpm command and it updated them. reminded me of a couple other dependencies that I was able to find at the pbone mirror. Yay! Thanks a whole bundle for your help with this path. I was just plain lost and now I'm found. But not religiously. CentOSedly. THANKS!!!

Byla tato odpověď nápomocná?

 Tisknout tento článek

Také čtěte

time overlap = total

Posted by ti_nhatrang, 02-07-2011, 10:21 AMHi guys, I got this table with call logs start and...

WHM/Cpanel Exim issue - how to better secure a partially open relay

Posted by MnMNmN, 02-14-2008, 10:04 PMHi all, I have a WHM/CPanel server. I have done some...

Create A Real Time Web Page

Posted by batulang, 08-14-2006, 06:34 AMHi Everybody, I was thinking is that possible to...

DirectAdmin email forwarding not forwarding

Posted by river1, 06-30-2008, 07:20 AMI had email forwarding from a site that I am running on a...

Open Source Video Blogging

Posted by CoolRock, 01-18-2008, 07:50 AMHi, I am currently looking for an open source video...