yum upgrade tips TypeError: unsubscriptable object

2011-07-21  来源:本站原创  分类:OS  人气:74 

In order to ensure server security, the need often do yum update. But today is the prompt implementation

TypeError: unsubscriptable object

After baidu to find answers:

Wrote

Yum problem is due to damage caused by the original data, you need to delete the original data and the database cache and then rebuild, the problem can be solved solution, followed by running the following command:

yum clean metadata / / phrase is usually performed can be solved if the sentence does not solve the problem, continue with the following operation
yum clean dbcache
yum makecache

Originally posted address: http://hi.baidu.com/cajecx/blog/item/9f75e7cda000f65b0eb34547.html

I question the implementation of the first line of command that is addressed.

Environment: CentOS 5.3

相关文章
  • yum upgrade tips TypeError: unsubscriptable object 2011-07-21

    In order to ensure server security, the need often do yum update. But today is the prompt implementation TypeError: unsubscriptable object After baidu to find answers: Wrote Yum problem is due to damage caused by the original data, you need to delete

  • dedecms upgrade tips php.ini register_globals must is Off solution 2010-11-30

    dedecms upgrade tips php.ini register_globals must is Off solution Due to work, for a long time failed to maintain Web site, visit the Web site back today and found an update is available, DEDECMS update frequency is not high, before the update is al

  • CentOS php yum upgrade to 5.3 the installation method 2011-08-26

    Transfer: http://www.unxmail.com/read.php?171 Evil centos 5, cups, all for so many years, presumably playing the know php, the php version is 5.1, many libraries are not the official php5.3 have released a long time, compile their own trouble, with I

  • RHEL 4.8 automatically upgrade through yum update 2010-04-19

    http://www.56diy.com/?p=63 RHEL 4.8 automatically upgrade through yum update # Yum uninstall the original package rpm-qa | grep yum rpm-nodeps yum * # Yum install package cd / opt wget http://www.haoxm.net/tools/yum_forAS4.tar.gz tar-zxvf yum_forAS4.

  • Class Tips: automatically convert to an object down 2010-12-25

    This is a more convenient technique, in the framework of realization of some automation code, there may be more commonly used to. Is passed over by the parameters of the framework are generally pass the object's interface or parent class, and then sp

  • RHEL AS5.2 automatic upgrade through yum update 2011-06-01

    Site Search by http://mirror-status.centos.org the nearest mirror site, replace the following files to the appropriate address: 1. To modify / etc / yum.repos.d / rhel-debuginfo.repo for the following: [Base] name = Red Hat Enterprise Linux $ release

  • use and management of more use linux yum reproduced. 2010-08-29

    yum is the abbreviation yellowdog updater modified. yellowdog is a Linux-distribution, RH will this technology be used to upgrade their distribution form the current yum (a similar principle and apt, but apt is compiled code, the efficiency is much h

  • linux yum reproduced using the detailed use of management 2010-11-21

    yum is yellowdog updater modified acronym. yellowdog is a Linux-distribution, RH will upgrade the technology used in this form their own distribution now yum (a similar principle and apt, but apt is the compiled code, the efficiency is much higher th

  • linux yum reproduced using detailed use management 2010-11-21

    yum is yellowdog updater modified abbreviation. yellowdog is a Linux distribution, RH will this technology be used to upgrade their distribution form the current yum (similar principle and apt, but apt is the compiled code, the efficiency is much hig

  • yum install and configure 2010-12-02

    A software upgrade to the software functionality improvements and safety upgrades, with the windows system similar to, linux operating system also needs regular updates to the software upgrade and maintain software are up to date. Linux operating sys

  • python学习手册:学习笔记2--Introducing Python Object Types 2015-02-10

    1. Why Use Built-in Types? 内建类型对象使程序易于编写 对于简单的任务来说,内建类型可代表其数据结构.例如使用lists来表示列表,用dictionaries表示查询表格等. 内建类型对象可用于扩展 复杂的数据结构可以使用内建类型对象来进行扩展.比如堆栈可以使用list进行扩展. 内建类型对象比传统的对象更加有效 因为python的内建类型对象是使用C来实现的. 内建类型对象是python标准的一部分 不像STL一样作为C++的扩展库,也不想LISP一样完全是内建类型,

  • RedHat 5.3 configuration YUM source from centos5 source and update the software CD-ROM 2010-04-20

    YUM name implies, Yellow Dog Updater, Modified. Yum RPM-based system to do the same work. It provides a simple command, Ke used to first install and update any other packages necessary to meet the required relationship between the package depends Zhi

  • yum command Xiangjie (linux command) 2010-05-08

    yum what? (linux command) 1. Yum what yum = Yellow dog Updater, Modified Main function is more convenient to add / delete / update the RPM package. It can automatically resolve package dependency problem. It can update the system easy to manage a lar

  • yum resources occupied 2010-06-30

    Yum upgrade some documents sometimes occur when the following conditions: another app is currently holding the yum lock; waiting for it to exit ... Yum can turn off the process by forcing: # Rm-f / var / run / yum.pid Restarts again / Sbin / service

  • linux command learn yum <1> 2010-08-17

    yum what? (linux command) 1. Yum what yum = Yellow dog Updater, Modified Main function is more convenient to add / delete / update the RPM package. It can automatically resolve package dependency problem. It can update the system easy to manage a lar

  • yum install apache + php + mysql, etc. 2010-09-05

    yum install apache + php + mysql, etc. 1. Installation Apahce, PHP, Mysql, and php to connect mysql database components. yum-y install httpd php mysql mysql-server php-mysql 2. Configuring boot services / sbin / chkconfig httpd on [set to start apach

  • Linux Knowledge VII: GCC.yum.rpm Detailed 2010-11-12

    GCC Installation | YUM Knowledge: yum install gcc: Online Installation | yum install gcc-g + + | yum install gcc-c + + | libstdc + +-devel gcc update for the corresponding c + + | libstdc package. yum check-update: check rpm package which can be upda

  • Detailed usage of yum 2010-12-21

    When using yum first, I felt very easy to use, let us start the service more concise, more fool! Sometimes yum will not succeed, however, why? If your network is a proxy to access Web site through a proxy, then the default yum configuration at this t

  • RedHat AS 5.3 yum source configuration [Reserved] 2011-05-12

    We all know rhel want to register with the new software is, for civilians, that cost is a little high. Oh, read the information on the Internet are written in chaotic, but today happens to have the time, finishing my redhat as5.3 under the yum config

  • Linux Knowledge seven: GCC.yum.rpm Detailed 2010-11-12

    GCC Installation | YUM knowledge: yum install gcc: Online Installation | yum install gcc-g + + | yum install gcc-c + + | libstdc + +-devel gcc update for the corresponding c + + | libstdc package. yum check-update: check which can be updated rpm pack