CentOS升级乱七八糟问题解决
-----------------------------------------------------------------
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升级乱七八糟问题解决的更多相关文章
- Centos 升级MySQL版本或者Yum安装Mysql5.6
Centos 升级MySQL版本或者Yum安装Mysql5.6 1.从MySQL Yum仓库下载最新的rpm文件:http://dev.mysql.com/downloads/repo/yum/Cen ...
- CentOS升级Svn到最新版
CentOS升级Svn到最新版(金庆的专栏)CentOS/RHEL yum 安装的 subversion 是 1.6.11 版本,连VisulaSVN服务器时会有"Key usage vio ...
- 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 ...
- CentOS升级kernel
CentOS升级kernel 升级命令: yum update kernel yum update kernel-devel yum update kernel-firmware yum update ...
- Centos 升级 python
昨天把redmine的测试环境给搞Over了,想了下,干脆直接把环境给整成docker化的,配置环境的时候,安装docker-compose需要python2.7支持. CentOS 6 系统默认 P ...
- centOS升级python3.5
CentOS自带的版本是2.7.5 目前在看廖老师的教学,他给的新版本是3以上了,果断升级到最新的Python版本 (windows下面多线程里面有点问题没解决,所以才换到linux下继续学习) 一 ...
- centos升级支持到C++11, gcc4.8.2
升级到4.8[这个应该是目前最新的啦,不过网上查的话已经到5.2啦,感觉落后一点比较稳,当然还有就是这个版本是新的里面使用最多的] wget http://people.centos.org/tru/ ...
- CentOS升级MySQL到5.5
centOS的yum安装的MySQL是5.1版本,可通过官方的rpm包安装5.5版本 # 查看安装的相关项 rpm -qa|grep -i mysql # 停止服务 service mysqld st ...
- 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 ...
随机推荐
- 十三:jinja2过滤器之default过滤器和or过滤器
在模板里面有时候需要对传过来的数据进行一些处理,jinja2有一些内置的过滤器可以进行处理.类似于python内置函数,通过 “|” 进行使用,详见jinja2官方文档 使用方法:{{ 变量名|过滤器 ...
- 【DVWA】File Upload(文件上传漏洞)通关教程
日期:2019-08-01 17:28:33 更新: 作者:Bay0net 介绍: 0x01. 漏洞介绍 在渗透测试过程中,能够快速获取服务器权限的一个办法. 如果开发者对上传的内容过滤的不严,那么就 ...
- CoverflowJS
coverflow是苹果首创的将多首歌曲的封面以3D界面的形式显示出来的方式 GitHub地址:[https://github.com/coverflowjs/coverflow] 下载地址:[htt ...
- NFA转换为等价的DFA
在编译系统中,词法分析阶段是整个编译系统的基础.对于单词的识别,有限自动机FA是一种十分有效的工具.有限自动机由其映射f是否为单值而分为确定的有限自动机DFA和非确定的有限自动机NFA.在非确定的有限 ...
- cocos2dx[3.2](6) 节点类Node
与2.x相比,节点类Node的属性和功能做了大幅度的修改与增加. Node类是绝大部分类的父类(并不是所有的类,例如Director类是直接继承Ref类的),如Scene.Layer.Sprite以及 ...
- 利用python求非线性方程
最近在做的东西中有一件任务,相当于一个函数已知y来求x,网上找了各种办法最终得以实现.在此说明方法,并记录一些坑. 要求的函数比如:log(x) - log(1-x) + 2.2 * (1 -2x) ...
- Akka系列(二):Akka中的Actor系统
前言......... Actor模型作为Akka中最核心的概念,所以Actor在Akka中的组织结构是至关重要,本文主要介绍Akka中Actor系统. 1.Actor系统 Actor作为一种封装状态 ...
- Atomic实现原子性源码分析:CAS(比较并交换)、Unsafe类
1.CAS: 比较并交换(Compare And Swap),是Unsafe类中的一条CPU系统原语,原语的执行必须是连续的,在执行过程中不允许被中断,即CAS是一条CPU的原子指令,不会造成数据不一 ...
- 牛逼哄洪的 Java 8 Stream,性能也牛逼么?
那么,Stream API的性能到底如何呢,代码整洁的背后是否意味着性能的损耗呢?本文对Stream API的性能一探究竟. 为保证测试结果真实可信,我们将JVM运行在 -server模式下,测试数据 ...
- TableLayoutPanel
1.简单属性 百度经验:https://jingyan.baidu.com/article/9113f81b7966df2b3314c775.html Name属性:tableLayoutPanel经 ...