+ Reply to Thread
Results 1 to 2 of 2

Thread: File /usr/share/yum-cli/yummain.py line 86

  1. #1
    joseph's Avatar
    joseph is offline Website Master Achievements:
    500 Experience Points1000 Experience Points5000 Experience Points10000 Experience PointsRecommendation Second Class
    joseph has disabled reputation
    Join Date
    2008-09-08
    Posts
    412

    Default File /usr/share/yum-cli/yummain.py line 86

    Just got this error on my CentOS box:

    Code:
    [root@bj219 lib]# yum update
    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 86, in main
        base.doLock(YUM_PID_FILE)
      File "__init__.py", line 497, in doLock
      File "__init__.py", line 540, in _lock
    OSError: [Errno 28] No space left on devic
    It's a disk space issue on /var, you need to release some space so that yum can work again!

    An alternative solution is to redefine cachedir in /etc/yum.conf:

    Code:
    [root@bj219 lib]# vi /etc/yum.conf 
    
    [main]
    cachedir=/home/yum
    ...

  2. #2
    joseph's Avatar
    joseph is offline Website Master Achievements:
    500 Experience Points1000 Experience Points5000 Experience Points10000 Experience PointsRecommendation Second Class
    joseph has disabled reputation
    Join Date
    2008-09-08
    Posts
    412

    Default

    When you're trying to update CentOS-4.1 to CentOS-4.8, it takes about 1.2GB disk space depending on the softwares you installed.

+ Reply to Thread

Similar Threads

  1. Replies: 0
    Last Post: 2009-04-28, 05:50 AM
  2. Replies: 0
    Last Post: 2009-04-09, 06:17 AM
  3. Replies: 0
    Last Post: 2009-03-02, 10:28 PM
  4. Compare two txt files line by line
    By admon.org in forum Linux Scripting
    Replies: 0
    Last Post: 2008-11-20, 05:13 AM
  5. File mode, file owner and mount point checking scrtipt
    By joseph in forum System Monitoring
    Replies: 0
    Last Post: 2008-09-15, 04:40 AM

Posting Permissions

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