linux - rpm added the wrong package. After removing it, add the correct package. When installing, the version is still the previous one.
为情所困
为情所困 2017-06-24 09:42:46
0
4
937

After adding the package using rpm

rpm -ivh 包名1

Remove

rpm -e 包名1

Add another version of the package

rpm -ivh 包名2

Install

yum install 软件

Why is the package that has been installed still deleted?

为情所困
为情所困

reply all (4)
学习ing

Execute the commandyum clean allSolved

    Ty80

    Package name 1 and package name 2 are the same package, but the versions are different, and the version of package name 1 is higher than that of package name 2. If there is ` in front of the configuration, what you encountered will happen.
    For example vue:''2.14'
    If vue has a higher version than 2.1.4, when npm install, vue will be updated to the latest existing version!

      扔个三星炸死你

      You can specify the version to be installed by @‘version number’

        三叔

        rpm -eThe package name following is not the package name you installed

        You should firstrpm -qa | grep xxxFind out the installed and unnecessary package names

        Thenrpm -e xxx//The xxx here is the package name searched bygrep

          Latest Downloads
          More>
          Web Effects
          Website Source Code
          Website Materials
          Front End Template
          About us Disclaimer Sitemap
          php.cn:Public welfare online PHP training,Help PHP learners grow quickly!