Summary of errors in using the yum repository in linux

Source: Internet
Author: User

1. Disk Space is full when software is installed with yum

[Root @ node1 ~] # Yum install ftp -- software installation error ............................... .... error Downloading Packages: ftp-0.17-53.el6.i686: Insufficient space in download directory/var/cache/yum/i386/6/c6-tong/packages * free 0 * needed 56 k [root @ node1 ~] #

Figure:

650) this. width = 650; "title =" 5.jpg" alt = "wKiom1LjXnnjIy0qAAIOzJxrKa0616.jpg" src = "http://www.bkjia.com/uploads/allimg/140207/2154555538-0.jpg"/>

Solution:

[Root @ node1 ~] # Df-h -- view disk space, space full file system capacity used available % mount point/dev/mapper/VolGroup-lv_root6.5G 6.1G 0 100%/-- root partition space full, clear the file tmpfs 504 M 0 504 M 0%/dev/shm/dev/sda1 485 M 46 M 414 M 10%/boot/dev/sr0 3.6G 3.6G 0 100%/mnt [root @ node1 home] # df-h -- cleared result file system capacity used available % mount point/dev/mapper/VolGroup-lv_root6.5G 1.9G 4.2G 31%/tmpfs 504 M 0 504 M 0%/dev/shm/dev/sda1 485 M 46 M 414 M 10%/boot/dev/sr0 3.6G 3.6G 0 100%/mnt [root @ node1 home] #

Test results:

[Root @ node1 home] # yum install ftp -- Loaded plugins installed successfully: fastestmirrorDetermining fastest mirrorsc6-tong ........................................ running TransactionInstalling: ftp-0.17-53.el6.i686 1/1 Verifying: ftp-0.17-53.el6.i686 1/1 Installed: ftp. i686 0: 0. 17-53.el6Complete! [Root @ node1 home] #

2. Use yum to use the network source, and the network is disconnected

[root@node1 yum.repos.d]# yum install squidLoaded plugins: fastestmirrorLoading mirror speeds from cached hostfileCould not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=i386&repo=os error was14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.centos.org'"Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=i386&repo=centosplus error was14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.centos.org'"^C^C^C^Z[1]+  Stopped                 yum install squid[root@node1 yum.repos.d]# ping www.baidu.com^C

Solution: (check the network)

650) this. width = 650; "title =" 3.jpg" alt = "wKiom1LjZK_QIjqUAAIYF6-U5j4224.jpg" src = "http://www.bkjia.com/uploads/allimg/140207/21545560D-1.jpg"/>

Test results:

650) this. width = 650; "title =" 44.jpg" alt = "wKiom1LjZhDh-nn5AADUmIIL1ik482.jpg" src = "http://www.bkjia.com/uploads/allimg/140207/2154551c2-2.jpg"/>

3. Process occupation occurs when the software package is installed using yum.

650) this. width = 650; "title =" 41.jpg" alt = "wkiom1ljzt3jdvgraahpqt_hsv g183.jpg" src = "http://www.bkjia.com/uploads/allimg/140207/2154551010-3.jpg"/>

Solution:

650) this. width = 650; "title =" 13.jpg" alt = "wKioL1LjZVeDvnuHAABLcTcxfpk509.jpg" src = "http://www.bkjia.com/uploads/allimg/140207/215455K46-4.jpg"/>

Test results:

650) this. width = 650; "title =" 44.jpg" alt = "wKioL1LjZbLBoxqVAADUmIIL1ik182.jpg" src = "http://www.bkjia.com/uploads/allimg/140207/2154551508-5.jpg"/>

 

 

 

Linux network source: http://tongcheng.blog.51cto.com/6214144/1338949

Linux build Source: http://tongcheng.blog.51cto.com/6214144/1338876

This article is from the blog "The days that have passed together" and will not be reproduced!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.