Libvirt 版本降级过程记录 4.5.0 to 3.9.0
前言
搞 OpenStack 开发 Libvirt 版本会随着 OpenStack 版本切来切去的,记录一下 Libvirt 从 4.5 降级到 3.9.0 的过程。
步骤
直接 downgrade
[root@control01 ~]# yum downgrade 'libvirt*3.9.0*'
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.aliyun.com
* epel: mirrors.yun-idc.com
* extras: mirrors.tuna.tsinghua.edu.cn
* updates: mirrors.tuna.tsinghua.edu.cn
https://copr-be.cloud.fedoraproject.org/results/mcepl/vim8/epel-7-x86_64/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found
Trying other mirror.
To address this issue please refer to the below wiki article
https://wiki.centos.org/yum-errors
If above article doesn't help to resolve this issue please use https://bugs.centos.org/.
Resolving Dependencies
--> Running transaction check
---> Package libvirt-libs.x86_64 0:4.5.0-10.el7_6.2 will be a downgrade
---> Package libvirt-libs.x86_64 0:4.5.0-10.el7_6.3 will be erased
--> Finished Dependency Resolution
Error: Package: libvirt-daemon-driver-storage-gluster-4.5.0-10.el7_6.3.x86_64 (@updates)
Requires: libvirt-libs = 4.5.0-10.el7_6.3
Removing: libvirt-libs-4.5.0-10.el7_6.3.x86_64 (@updates)
libvirt-libs = 4.5.0-10.el7_6.3
Downgraded By: libvirt-libs-4.5.0-10.el7_6.2.x86_64 (updates)
libvirt-libs = 4.5.0-10.el7_6.2
Available: libvirt-libs-4.5.0-10.el7.i686 (base)
libvirt-libs = 4.5.0-10.el7
Error: Package: libvirt-4.5.0-10.el7_6.3.x86_64 (@updates)
Requires: libvirt-libs = 4.5.0-10.el7_6.3
Removing: libvirt-libs-4.5.0-10.el7_6.3.x86_64 (@updates)
libvirt-libs = 4.5.0-10.el7_6.3
Downgraded By: libvirt-libs-4.5.0-10.el7_6.2.x86_64 (updates)
libvirt-libs = 4.5.0-10.el7_6.2
Available: libvirt-libs-4.5.0-10.el7.i686 (base)
libvirt-libs = 4.5.0-10.el7
Error: Package: libvirt-daemon-driver-storage-rbd-4.5.0-10.el7_6.3.x86_64 (@updates)
Requires: libvirt-libs = 4.5.0-10.el7_6.3
Removing: libvirt-libs-4.5.0-10.el7_6.3.x86_64 (@updates)
libvirt-libs = 4.5.0-10.el7_6.3
Downgraded By: libvirt-libs-4.5.0-10.el7_6.2.x86_64 (updates)
libvirt-libs = 4.5.0-10.el7_6.2
Available: libvirt-libs-4.5.0-10.el7.i686 (base)
libvirt-libs = 4.5.0-10.el7
Error: Package: libvirt-daemon-driver-lxc-4.5.0-10.el7_6.3.x86_64 (@updates)
Requires: libvirt-libs = 4.5.0-10.el7_6.3
Removing: libvirt-libs-4.5.0-10.el7_6.3.x86_64 (@updates)
libvirt-libs = 4.5.0-10.el7_6.3
Downgraded By: libvirt-libs-4.5.0-10.el7_6.2.x86_64 (updates)
libvirt-libs = 4.5.0-10.el7_6.2
Available: libvirt-libs-4.5.0-10.el7.i686 (base)
libvirt-libs = 4.5.0-10.el7
Error: Package: libvirt-daemon-driver-storage-logical-4.5.0-10.el7_6.3.x86_64 (@updates)
Requires: libvirt-libs = 4.5.0-10.el7_6.3
Removing: libvirt-libs-4.5.0-10.el7_6.3.x86_64 (@updates)
libvirt-libs = 4.5.0-10.el7_6.3
Downgraded By: libvirt-libs-4.5.0-10.el7_6.2.x86_64 (updates)
libvirt-libs = 4.5.0-10.el7_6.2
Available: libvirt-libs-4.5.0-10.el7.i686 (base)
libvirt-libs = 4.5.0-10.el7
Error: Package: libvirt-daemon-driver-network-4.5.0-10.el7_6.3.x86_64 (@updates)
Requires: libvirt-libs = 4.5.0-10.el7_6.3
Removing: libvirt-libs-4.5.0-10.el7_6.3.x86_64 (@updates)
libvirt-libs = 4.5.0-10.el7_6.3
Downgraded By: libvirt-libs-4.5.0-10.el7_6.2.x86_64 (updates)
libvirt-libs = 4.5.0-10.el7_6.2
Available: libvirt-libs-4.5.0-10.el7.i686 (base)
libvirt-libs = 4.5.0-10.el7
Error: Package: libvirt-daemon-driver-nodedev-4.5.0-10.el7_6.3.x86_64 (@updates)
Requires: libvirt-libs = 4.5.0-10.el7_6.3
Removing: libvirt-libs-4.5.0-10.el7_6.3.x86_64 (@updates)
libvirt-libs = 4.5.0-10.el7_6.3
Downgraded By: libvirt-libs-4.5.0-10.el7_6.2.x86_64 (updates)
libvirt-libs = 4.5.0-10.el7_6.2
Available: libvirt-libs-4.5.0-10.el7.i686 (base)
libvirt-libs = 4.5.0-10.el7
Error: Package: libvirt-daemon-driver-storage-disk-4.5.0-10.el7_6.3.x86_64 (@updates)
Requires: libvirt-libs = 4.5.0-10.el7_6.3
Removing: libvirt-libs-4.5.0-10.el7_6.3.x86_64 (@updates)
libvirt-libs = 4.5.0-10.el7_6.3
Downgraded By: libvirt-libs-4.5.0-10.el7_6.2.x86_64 (updates)
libvirt-libs = 4.5.0-10.el7_6.2
Available: libvirt-libs-4.5.0-10.el7.i686 (base)
libvirt-libs = 4.5.0-10.el7
Error: Package: libvirt-client-4.5.0-10.el7_6.3.x86_64 (@updates)
Requires: libvirt-libs = 4.5.0-10.el7_6.3
Removing: libvirt-libs-4.5.0-10.el7_6.3.x86_64 (@updates)
libvirt-libs = 4.5.0-10.el7_6.3
Downgraded By: libvirt-libs-4.5.0-10.el7_6.2.x86_64 (updates)
libvirt-libs = 4.5.0-10.el7_6.2
Available: libvirt-libs-4.5.0-10.el7.i686 (base)
libvirt-libs = 4.5.0-10.el7
Error: Package: libvirt-daemon-driver-storage-mpath-4.5.0-10.el7_6.3.x86_64 (@updates)
Requires: libvirt-libs = 4.5.0-10.el7_6.3
Removing: libvirt-libs-4.5.0-10.el7_6.3.x86_64 (@updates)
libvirt-libs = 4.5.0-10.el7_6.3
Downgraded By: libvirt-libs-4.5.0-10.el7_6.2.x86_64 (updates)
libvirt-libs = 4.5.0-10.el7_6.2
Available: libvirt-libs-4.5.0-10.el7.i686 (base)
libvirt-libs = 4.5.0-10.el7
Error: Package: libvirt-daemon-driver-qemu-4.5.0-10.el7_6.3.x86_64 (@updates)
Requires: libvirt-libs = 4.5.0-10.el7_6.3
Removing: libvirt-libs-4.5.0-10.el7_6.3.x86_64 (@updates)
libvirt-libs = 4.5.0-10.el7_6.3
Downgraded By: libvirt-libs-4.5.0-10.el7_6.2.x86_64 (updates)
libvirt-libs = 4.5.0-10.el7_6.2
Available: libvirt-libs-4.5.0-10.el7.i686 (base)
libvirt-libs = 4.5.0-10.el7
Error: Package: libvirt-daemon-driver-nwfilter-4.5.0-10.el7_6.3.x86_64 (@updates)
Requires: libvirt-libs = 4.5.0-10.el7_6.3
Removing: libvirt-libs-4.5.0-10.el7_6.3.x86_64 (@updates)
libvirt-libs = 4.5.0-10.el7_6.3
Downgraded By: libvirt-libs-4.5.0-10.el7_6.2.x86_64 (updates)
libvirt-libs = 4.5.0-10.el7_6.2
Available: libvirt-libs-4.5.0-10.el7.i686 (base)
libvirt-libs = 4.5.0-10.el7
Error: Package: libvirt-daemon-driver-interface-4.5.0-10.el7_6.3.x86_64 (@updates)
Requires: libvirt-libs = 4.5.0-10.el7_6.3
Removing: libvirt-libs-4.5.0-10.el7_6.3.x86_64 (@updates)
libvirt-libs = 4.5.0-10.el7_6.3
Downgraded By: libvirt-libs-4.5.0-10.el7_6.2.x86_64 (updates)
libvirt-libs = 4.5.0-10.el7_6.2
Available: libvirt-libs-4.5.0-10.el7.i686 (base)
libvirt-libs = 4.5.0-10.el7
Error: Package: libvirt-daemon-driver-secret-4.5.0-10.el7_6.3.x86_64 (@updates)
Requires: libvirt-libs = 4.5.0-10.el7_6.3
Removing: libvirt-libs-4.5.0-10.el7_6.3.x86_64 (@updates)
libvirt-libs = 4.5.0-10.el7_6.3
Downgraded By: libvirt-libs-4.5.0-10.el7_6.2.x86_64 (updates)
libvirt-libs = 4.5.0-10.el7_6.2
Available: libvirt-libs-4.5.0-10.el7.i686 (base)
libvirt-libs = 4.5.0-10.el7
Error: Package: libvirt-daemon-driver-storage-core-4.5.0-10.el7_6.3.x86_64 (@updates)
Requires: libvirt-libs = 4.5.0-10.el7_6.3
Removing: libvirt-libs-4.5.0-10.el7_6.3.x86_64 (@updates)
libvirt-libs = 4.5.0-10.el7_6.3
Downgraded By: libvirt-libs-4.5.0-10.el7_6.2.x86_64 (updates)
libvirt-libs = 4.5.0-10.el7_6.2
Available: libvirt-libs-4.5.0-10.el7.i686 (base)
libvirt-libs = 4.5.0-10.el7
Error: Package: libvirt-daemon-driver-storage-iscsi-4.5.0-10.el7_6.3.x86_64 (@updates)
Requires: libvirt-libs = 4.5.0-10.el7_6.3
Removing: libvirt-libs-4.5.0-10.el7_6.3.x86_64 (@updates)
libvirt-libs = 4.5.0-10.el7_6.3
Downgraded By: libvirt-libs-4.5.0-10.el7_6.2.x86_64 (updates)
libvirt-libs = 4.5.0-10.el7_6.2
Available: libvirt-libs-4.5.0-10.el7.i686 (base)
libvirt-libs = 4.5.0-10.el7
Error: Package: libvirt-devel-4.5.0-10.el7_6.3.x86_64 (@updates)
Requires: libvirt-libs = 4.5.0-10.el7_6.3
Removing: libvirt-libs-4.5.0-10.el7_6.3.x86_64 (@updates)
libvirt-libs = 4.5.0-10.el7_6.3
Downgraded By: libvirt-libs-4.5.0-10.el7_6.2.x86_64 (updates)
libvirt-libs = 4.5.0-10.el7_6.2
Available: libvirt-libs-4.5.0-10.el7.i686 (base)
libvirt-libs = 4.5.0-10.el7
Error: Package: libvirt-daemon-4.5.0-10.el7_6.3.x86_64 (@updates)
Requires: libvirt-libs = 4.5.0-10.el7_6.3
Removing: libvirt-libs-4.5.0-10.el7_6.3.x86_64 (@updates)
libvirt-libs = 4.5.0-10.el7_6.3
Downgraded By: libvirt-libs-4.5.0-10.el7_6.2.x86_64 (updates)
libvirt-libs = 4.5.0-10.el7_6.2
Available: libvirt-libs-4.5.0-10.el7.i686 (base)
libvirt-libs = 4.5.0-10.el7
Error: Package: libvirt-daemon-driver-storage-scsi-4.5.0-10.el7_6.3.x86_64 (@updates)
Requires: libvirt-libs = 4.5.0-10.el7_6.3
Removing: libvirt-libs-4.5.0-10.el7_6.3.x86_64 (@updates)
libvirt-libs = 4.5.0-10.el7_6.3
Downgraded By: libvirt-libs-4.5.0-10.el7_6.2.x86_64 (updates)
libvirt-libs = 4.5.0-10.el7_6.2
Available: libvirt-libs-4.5.0-10.el7.i686 (base)
libvirt-libs = 4.5.0-10.el7
You could try using --skip-broken to work around the problem
** Found 1 pre-existing rpmdb problem(s), 'yum check' output follows:
python2-requests-2.14.2-1.el7.noarch has missing requires of python2-urllib3 = ('0', '1.21.1', None)
报错,原因是上面这些高版本的包,在 yum repo 没有对应的低版本包。所以先把这个包强制卸载掉。
rpm -e --nodeps \
libvirt-daemon-driver-storage-core \
libvirt-libs \
libvirt-daemon-driver-storage-disk \
libvirt-daemon-driver-storage-gluster \
libvirt-daemon-driver-storage-iscsi \
libvirt-daemon-driver-storage-logical \
libvirt-daemon-driver-storage-mpath \
libvirt-daemon-driver-storage-rbd \
libvirt-daemon-driver-storage-scsi
然后在 downgrade
[root@control01 ~]# yum downgrade 'libvirt*3.9.0*'
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.aliyun.com
* epel: mirrors.tuna.tsinghua.edu.cn
* extras: mirrors.tuna.tsinghua.edu.cn
* updates: mirrors.tuna.tsinghua.edu.cn
https://copr-be.cloud.fedoraproject.org/results/mcepl/vim8/epel-7-x86_64/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found
Trying other mirror.
To address this issue please refer to the below wiki article
https://wiki.centos.org/yum-errors
If above article doesn't help to resolve this issue please use https://bugs.centos.org/.
No Match for available package: libvirt-libs-4.5.0-10.el7.i686
No Match for available package: libvirt-libs-4.5.0-10.el7.x86_64
Nothing to do
还是失败,原因是因为环境的 yum repo CentOS /7 已经没有 3.9.0 版本的包了,所以修改一下 CentOS repo 配置文件。
vim CentOS-Base.repo
[base]
name=CentOS-$releasever - Base
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&infra=$infra
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
baseurl=http://vault.centos.org/7.5.1804/os/x86_64/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
#released updates.
[updates]
name=CentOS-$releasever - Updates
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates&infra=$infra
#baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
baseurl=http://vault.centos.org/7.5.1804/updates/x86_64/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras&infra=$infra
#baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/
baseurl=http://vault.centos.org/7.5.1804/extras/x86_64/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-$releasever - Plus
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus&infra=$infra
#baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
然后在 downgrade 就应该可以成功了,如果还是不行,那么请继续挖坑吧。
[root@control01 yum.repos.d]# libvirtd --version
libvirtd (libvirt) 3.9.0
Libvirt 版本降级过程记录 4.5.0 to 3.9.0的更多相关文章
- openWRT自学---自己编译的第一个 backfire10.03 版本的过程记录(转)
基于 backfire10.03(从http://downloads.openwrt.org/backfire/10.03/ 中下砸的源码包backfire_10.03_source.tar.bz2: ...
- openWRT自学---自己编译的第一个 backfire10.03 版本的过程记录 --- 实际是由于下载了错误的backfire源码包导致的
基于 backfire10.03(从http://downloads.openwrt.org/backfire/10.03/ 中下砸的源码包backfire_10.03_source.tar.bz2: ...
- win7 64位安装Dlib19.6版本的过程记录
本文为原创,未经允许不得转载. 1.去Dlib的官网下载dlib-19.6的源文件.然后解压到Myprograms下的Res文件夹下 2.到CMake的官网下载Cmake,我下载以后解压,然后进入到b ...
- 在fedora25x86下编译opencv的Android版本的过程记录
准备材料: 1. 32位的Fedora25(不建议使用64位系统----64位系统下也是可以编译的,这里为了简单起见,考虑使用32位操作系统.事实上,本人在64位操作系统下也做了尝试,也完成了编译.) ...
- MySQL 8.0 正式版 8.0.11 发布:比 MySQL 5.7 快 2 倍
ySQL 8.0 正式版 8.0.11 已发布,官方表示 MySQL 8 要比 MySQL 5.7 快 2 倍,还带来了大量的改进和更快的性能! 注意:从 MySQL 5.7 升级到 MySQL 8. ...
- redhat6.0 安装ORACLE11GR2过程记录
vawaretools安装 我的是8.0vm 1,vm=>install vmtools 2,会在redhat里出现一个虚拟光驱图标. 3,复制里面的文件到root目录下. 4,解压缩文件 ta ...
- xp硬盘安装Fedora14 过程记录及心得体会(fedora14 live版本680M 和fedora14 DVD版本3.2G的选择)
这次电脑奔溃了,奇怪的是直接ghost覆盖c盘竟然不中.之前电脑上硬盘安装的fedora14操作系统,也是双系统.不知道是不是这个问题,记得同学说过,在硬盘装fedora之后,要手动修改c盘隐藏的那个 ...
- DRBD详细解说及配置过程记录
一.DRBD介绍 DRBD(Distributed ReplicatedBlock Device)是一种基于软件的,无共享,分布式块设备复制的存储解决方案,在服务器之间的对块设备(硬盘,分区,逻辑卷等 ...
- 升级Windows 10 正式版过程记录与经验
升级Windows 10 正式版过程记录与经验 [多图预警]共50张,约4.6MB 系统概要: 预装Windows 8.1中文版 64位 C盘Users 文件夹已经挪动到D盘,并在原处建立了符号链接. ...
随机推荐
- aiomysql实现对数据库异步读取
有一个库叫做aiomysql,这是一个基于asyncio和pymysql的库.至于为什么可以在tornado中使用,是因为高版本tornado的底层使用了asyncio. import asyncio ...
- 解决引导内核遇到undefined instruction的错误
其实在上一篇随笔之前,就是在启动linux 内核的时候,出了点问题 刚Starting kernel ...就出现了undefined instrction,这是什么问题呢? 在网上也搜了不少资料,有 ...
- Linux环境测试机器端口连通性
生产中,有很大一部分的问题都是由于不同机器间网络不同导致的,那么如何判断两台机器之间的连通性?本文介绍几种常见的方式: telnet方法wget方法ssh方法curl方法1. telnet方法格式:t ...
- xss技巧记录
1.iframe的srcdoc属性 先演示一下 <iframe srcdoc="<script>alert(1)</script>"> 浏览器渲 ...
- 【TJOI 2019】唱、跳、rap和篮球
题意 有 $a$ 个 $0$,$b$ 个 $1$,$c$ 个 $2$,$d$ 个 $3$,求有多少种长度为 $n$ 且不包含 $0123$ 这个子串的字符串个数. $n\le 1000,\space ...
- Kruskal重构树+LCA || BZOJ 3732: Network
题面:https://www.lydsy.com/JudgeOnline/problem.php?id=3732 题解:Kruskal重构树板子 代码: #include<cstdio> ...
- 关于nmap扫描端口
nmap查看一个服务器的端口,是通过扫描来实现的.所以在本机执行nmap扫描的端口有可能被防火墙阻止,在外部是访问不了的. 如:开启ORACLE监听后,在本机使用nmap 127.0.0.1是可以扫描 ...
- echarts-all.js:1 Uncaught TypeError: Cannot read property 'getAttribute' of null
转载:https://blog.csdn.net/you23hai45/article/details/51595108 由于echarts图形ID是由后台传输过来的,并且是根据图形数据一起传过来,出 ...
- STM32CubeIDE查看内存使用情况
按照下图操作 在右下角即可显示
- 乱花渐入迷人眼------从解决jqueryEasyUI上传插件提交ajax请求谈网页调试
由于要给格斗男神写搏击俱乐部ERP系统,就要用到jquery Easyui插件规范数据和表单的录入,其中一项功能就是上传商品图片, 而且是在datagrid-detailview中使用filebox完 ...