Results 1 to 9 of 9

Thread: yum broken

  1. #1
    Join Date
    Sep 2003
    Posts
    35

    yum broken

    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:

    Code:
    (process:27490): GLib-CRITICAL **: file gtimer.c: line 106 (g_timer_stop): assertion `timer != NULL' failed
    
    (process:27490): GLib-CRITICAL **: file gtimer.c: line 88 (g_timer_destroy): assertion `timer != NULL' failed
    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 97, in main
    result, resultmsgs = do()
    File "/usr/share/yum-cli/cli.py", line 512, in doCommands
    ypl = self.returnPkgLists()
    File "/usr/share/yum-cli/cli.py", line 1176, in returnPkgLists
    ypl = self.doPackageLists(pkgnarrow=pkgnarrow)
    File "__init__.py", line 885, in doPackageLists
    File "/usr/share/yum-cli/cli.py", line 75, in doRepoSetup
    self.doSackSetup(thisrepo=thisrepo)
    File "__init__.py", line 260, in doSackSetup
    File "repos.py", line 277, in populateSack
    File "/usr/lib/python2.3/site-packages/sqlitecachec.py", line 40, in getPrimary
    self.repoid))
    TypeError: Can not create index on requires table: near "NOT": syntax error
    I saw this too:

    Code:
    /sbin/ldconfig: /usr/lib/mysql/libmysqlclient.so.15 is not a symbolic link
    I tried uninstalling and reinstall yum but that did not work.

  2. #2
    Join Date
    Mar 2005
    Posts
    361
    umount and mont again /var/tmp.

    If you are using cpanel you can do as follow:

    # umount /var/tmp
    # /scripts/securetmp

  3. #3
    Join Date
    Sep 2003
    Posts
    35
    Uhm how and where to mount it back? (useing DA)

  4. #4
    Join Date
    Sep 2003
    Posts
    35
    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

  5. #5
    Join Date
    Oct 2004
    Location
    Kerala, India
    Posts
    4,771
    chielsen,

    Try removing the existing yum rpm and re-install it again.
    David | www.cliffsupport.com
    Affordable Server Management Solutions sales AT cliffsupport DOT com
    CliffWebManager | Access WHM from iPhone and Android

  6. #6
    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

  7. #7
    Join Date
    Sep 2003
    Posts
    35
    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.

  8. #8
    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!!

  9. #9
    Quote Originally Posted by pauluskc View Post
    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!!
    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!!!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •