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 ...
随机推荐
- Python学习之==>迭代器
一.概要 在了解Python的数据结构时,容器(container).可迭代对象(iterable).迭代器(iterator).生成器(generator).列表/集合/字典推导式(list,set ...
- 跨域请求配置 Amazon AWS S3 腾讯云 阿里云 COS OSS 文件桶解决方案以及推荐 Lebal:Research
跨域请求配置 跨域请求指的就是不同的域名和端口之间的访问.由于 ajax 的同源策略影响.跨域请求默认是不被允许的. 使用@font-face外挂字体时,可能遇到跨域请求CROS问题:F12控制台报错 ...
- logstash 写入数据到elasticsearch 索引相差8小时解决办法
问题说明 Logstash用的UTC时间, logstash在按每天输出到elasticsearch时,因为时区使用utc,造成每天8:00才创建当天索引,而8:00以前数据则输出到昨天的索引 # 使 ...
- Django ModelChoiceField:过滤查询集并将默认值设置为对象
我有一个Django Form类定义喜欢这个在Models: class AccountDetailsForm(forms.Form): ... adminuser = forms.ModelChoi ...
- Python学习之UDP版socket&SocketServer
7.6 基于UDP的socket 无连接的,不必与对方建立连接,而是直接把数据发送给对方: 适用于一次传输销量数据结构,可靠性不高的应用环境,因为其传输速率快 # 服务端 import socket ...
- 【Ruby on Rails 学习四】简单的代码快和错误处理
第一个例子: 1 ... 5000的加法运算 1 sum = 0 2 i = 1 3 while true 4 sum += i 5 i += 1 6 break if i == 5001 7 end ...
- P1880石子合并
1995年的noi区间dp题,这道题AC耗时达到了数月. 有一道题叫做果子合并,也是求合并的最小花费,但是那个题是可以随便合并两堆,但是这个题只能合并相邻的两堆,并且是一个环.对于环的问题,我们一般可 ...
- linux 内核数据结构之 avl树.
转载: http://blog.csdn.net/programmingring/article/details/37969745 https://zh.wikipedia.org/wiki/AVL% ...
- transform(转https://blog.csdn.net/qq_24189933/article/details/79293870)
transform 前面我们一起学习了CSS3中的渐变.圆角.阴影等几个属性的使用,今天开始我们一起来学习有关于CSS3制作动画的几个属性:变形(transform).转换(transition)和动 ...
- wex5 如何导包
wex5中 导jar包 要先把jar文件放在: E:\WeX5\runtime\BaasServer\WEB-INF\lib目录中(我wex5放的是E盘) 点击项目 --> 属性 --> ...