-----------------------------------------------------------------
Error: Package: libgpod-0.8.-.el7.x86_64 (@epel)
Requires: libimobiledevice.so.()(64bit)
Removing: libimobiledevice-1.1.-.el7.x86_64 (@anaconda)
libimobiledevice.so.()(64bit)
Updated By: libimobiledevice-1.2.-.el7.x86_64 (base)
~libimobiledevice.so.()(64bit)
Error: Package: libgpod-0.8.-.el7.x86_64 (@epel)
Requires: libplist.so.()(64bit)
Removing: libplist-1.10-.el7.x86_64 (@anaconda)
libplist.so.()(64bit)
Updated By: libplist-1.12-.el7.x86_64 (base)
~libplist.so.()(64bit)
Error: Package: libgpod-0.8.-.el7.x86_64 (@epel)
Requires: libusbmuxd.so.()(64bit)
Removing: usbmuxd-1.0.-.el7.x86_64 (@anaconda)
libusbmuxd.so.()(64bit)
Obsoleted By: usbmuxd-1.1.-.el7.x86_64 (base)
Not found
You could try using --skip-broken to work around the problem
** Found pre-existing rpmdb problem(s), 'yum check' output follows:
libgcc-4.8.-.el7.x86_64 is a duplicate with libgcc-4.8.-.el7.x86_64
libstdc++-4.8.-.el7.x86_64 is a duplicate with libstdc++-4.8.-.el7.x86_64
# rpm --erase --nodeps libstdc++-4.8.-.el7.x86_64
# rpm --erase --nodeps libstdc++-4.8.-.el7.x86_64
# yum install libstdc++
libgcc-4.8.-.el7.x86_64 is a duplicate with libgcc-4.8.-.el7.x86_64
rpm --erase --nodeps libgcc-4.8.-.el7.x86_64
rpm --erase --nodeps libgcc-4.8.-.el7.x86_64
yum install libgcc
yum报错, 说是伯克利的那个嵌入式数据库报错~
重建一下就好了 cd /var/lib/rpm
rm -rf __db*
rpm --rebuilddb

升级一下内核

查了一下, 安装了一堆乱七八糟的
rpm -qa | grep kernel 留一个能用的,全删掉
yum remove -y kernel-xxxxxx 公司服务器不让上网, 那就手动来搞
原命令是这样的,
rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
rpm -Uvh http://www.elrepo.org/elrepo-release-7.0-3.el7.elrepo.noarch.rpm
只能先下载下来文件, scp上去, 手动执行一下
https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
http://www.elrepo.org/elrepo-release-7.0-3.el7.elrepo.noarch.rpm rpm --import RPM-GPG-KEY-elrepo.org
安装repo
rpm -Uvh elrepo-release-7.0-3.el7.elrepo.noarch.rpm 然后,还是公司不让联网...好在公司自己有镜像网站, 赞一个, 自己编辑yum repo
---------------------------------------------------------------------------------
### Name: ELRepo.org Community Enterprise Linux Repository for el7
### URL: http://elrepo.org/ [elrepo]
name=ELRepo.org Community Enterprise Linux Repository - el7
baseurl=http://mirrors.xxxxxxx/elrepo/elrepo/el7/$basearch/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-elrepo.org
protect=0 [elrepo-testing]
name=ELRepo.org Community Enterprise Linux Testing Repository - el7
baseurl=http://mirrors.xxxxxxx/elrepo/testing/el7/$basearch/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-elrepo.org
protect=0 [elrepo-kernel]
name=ELRepo.org Community Enterprise Linux Kernel Repository - el7
baseurl=http://mirrors.xxxxxxx/elrepo/kernel/el7/$basearch/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-elrepo.org
protect=0 [elrepo-extras]
name=ELRepo.org Community Enterprise Linux Extras Repository - el7
baseurl=http://mirrors.xxxxxxx/elrepo/extras/el7/$basearch/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-elrepo.org
protect=0
--------------------------------------------------------------------------------- 看一下,哪个有效
yum --disablerepo="*" --enablerepo="elrepo-kernel" list available 安装个稳定版本吧:
yum --enablerepo=elrepo-kernel install kernel-ml 安装完
init 6 grub菜单, 选上新内核, 进去, 再次删除不需要的内核,~~~OK
----------------------------------------------------------------------------------
repo 官网
http://elrepo.org/tiki/tiki-index.php 外国人写的:
https://www.tecmint.com/install-upgrade-kernel-version-in-centos-7/
 

20200102 升级内核5.4.7

vim /boot/grub2/grub.cfg

CentOS升级乱七八糟问题解决的更多相关文章

  1. Centos 升级MySQL版本或者Yum安装Mysql5.6

    Centos 升级MySQL版本或者Yum安装Mysql5.6 1.从MySQL Yum仓库下载最新的rpm文件:http://dev.mysql.com/downloads/repo/yum/Cen ...

  2. CentOS升级Svn到最新版

    CentOS升级Svn到最新版(金庆的专栏)CentOS/RHEL yum 安装的 subversion 是 1.6.11 版本,连VisulaSVN服务器时会有"Key usage vio ...

  3. Centos——升级Python2.7及安装pip

    CentOS升级Python2.7及安装pip 1) 升级Python2.7 ? 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 ...

  4. CentOS升级kernel

    CentOS升级kernel 升级命令: yum update kernel yum update kernel-devel yum update kernel-firmware yum update ...

  5. Centos 升级 python

    昨天把redmine的测试环境给搞Over了,想了下,干脆直接把环境给整成docker化的,配置环境的时候,安装docker-compose需要python2.7支持. CentOS 6 系统默认 P ...

  6. centOS升级python3.5

    CentOS自带的版本是2.7.5  目前在看廖老师的教学,他给的新版本是3以上了,果断升级到最新的Python版本 (windows下面多线程里面有点问题没解决,所以才换到linux下继续学习) 一 ...

  7. centos升级支持到C++11, gcc4.8.2

    升级到4.8[这个应该是目前最新的啦,不过网上查的话已经到5.2啦,感觉落后一点比较稳,当然还有就是这个版本是新的里面使用最多的] wget http://people.centos.org/tru/ ...

  8. CentOS升级MySQL到5.5

    centOS的yum安装的MySQL是5.1版本,可通过官方的rpm包安装5.5版本 # 查看安装的相关项 rpm -qa|grep -i mysql # 停止服务 service mysqld st ...

  9. liunx CentOS 升级Python版本

    CentOS python版本是V2.6.6,升级3.4.3. 1.下载 安装包:wget http://www.python.org/ftp/python/3.4.3/Python-3.4.3.tg ...

随机推荐

  1. 浅谈Excel开发:二 Excel 菜单系统(转)

    编辑器加载中...http://www.cnblogs.com/yangecnu/p/Excel-Menu-System-Introduction.html 在开始Excel开发之前,需要把架子搭起来 ...

  2. 实现Servlet接口

    1 右键项目->Build Path->Configure Build Path 2 Add Library...->Server Runtime 3 Apache Tomcat-& ...

  3. Delphi导出Excel的设置操作

    procedure CreatRepSheet(SheetName:String;PageSize,PageLay:Integer); {新建Excel工作簿.进行页面设置} begin {新建Exc ...

  4. squid代理docker

    http://www.dockone.io/article/1380https://www.cnblogs.com/lixiaolun/p/7449017.html 为docker设置代理 创建目录 ...

  5. svn导出项目到myeclipse,运行报ClassNotFoundException

    一开始以为是 这样的svn导出项目到myeclipse,运行报ClassNotFoundException 后来不行 又看了一下  还不行 以为是这样的MyEclipse2014报错java.lang ...

  6. 面向对象及os模块、socket模块

    1.面向对象及面向过程 1)面向过程:核心过程二字,过程即解决问题的步骤,就是先干什么后干什么 基于该思想写程序就好比在这是一条流水线,是一种机械式的思维方式 优点:复杂的过程流程化 缺点:扩展性差 ...

  7. python 包的概念

    包的概念 包的概念: 在python中包即使模块,是一系列功能的集合体, 为什么要用包? 提高开发效率 如何用包 import ... from ... import ..... 如何认识它就是一包 ...

  8. vue--生命周期演示

    vue实例的生命周期:https://cn.vuejs.org/v2/guide/instance.html#%E5%88%9B%E5%BB%BA%E4%B8%80%E4%B8%AA-Vue-%E5% ...

  9. XSS绕过WAF的姿势

    初始测试 1.使用无害的payload,类似<b>,<i>,<u> 观察响应,判断应用程序是否被HTML编码,是否标签被过滤,是否过滤<>等等: 2.如 ...

  10. Git介绍、安装、命令和实战

    一.Git介绍 Git是一个开源的分布式版本控制系统,可以有效.高速地处理从很小到非常大的项目版本管理. 二.Git安装(Mac系统) 在Git官网下载安装包双击直接安装 在终端输入git来检测Git ...