找回密码
 注册
查看: 1606|回复: 0

yum版本降级(以docker为例)

[复制链接]

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
发表于 2021-10-26 08:59:44 | 显示全部楼层 |阅读模式
查询版本:
; y- S" ~8 n1 ~
3 `% t4 k7 T" K- p/ Ryum search --showduplicates docker-ce
4 W: ]/ C1 _! J5 V" c/ W4 i0 X2 nLoaded plugins: fastestmirror1 i1 i( p% ~3 S( p# _7 L# R+ n: |
Loading mirror speeds from cached hostfile
" ~- Z+ a5 r7 a& j * base: mirrors.163.com
8 A2 {  i- {# g& I3 C * extras: mirrors.163.com( U2 S+ p1 R6 M4 d# T& @4 f, J
* updates: mirrors.163.com
( \8 p' w+ t2 A5 Y4 @5 z, r0 u: a========================================================== N/S matched: docker-ce ==========================================================  u2 E, s' ]1 u: Q# n+ ]
docker-ce-17.03.0.ce-1.el7.centos.x86_64 : The open-source application container engine8 v( h' ^- Q$ ~6 b8 ]  C; G# E/ W
docker-ce-17.03.1.ce-1.el7.centos.x86_64 : The open-source application container engine
" f- v, r, g0 q) n$ u9 L+ Rdocker-ce-17.03.2.ce-1.el7.centos.x86_64 : The open-source application container engine
8 K% Z3 I) a! e$ p; P4 Fdocker-ce-17.03.3.ce-1.el7.x86_64 : The open-source application container engine; y' z) V; ~# D6 X
docker-ce-17.06.0.ce-1.el7.centos.x86_64 : The open-source application container engine! d! ~" f7 a. h
docker-ce-17.06.1.ce-1.el7.centos.x86_64 : The open-source application container engine- y. ]6 S3 q* p1 v
docker-ce-17.06.2.ce-1.el7.centos.x86_64 : The open-source application container engine
# ^, r( d0 m: U# pdocker-ce-17.09.0.ce-1.el7.centos.x86_64 : The open-source application container engine, c# I* o* D0 w# x* [/ U% W( R
docker-ce-17.09.1.ce-1.el7.centos.x86_64 : The open-source application container engine
7 z2 r; S0 i" _4 i2 `9 @docker-ce-17.12.0.ce-1.el7.centos.x86_64 : The open-source application container engine, o! {. \9 K' Y0 Z2 w% r
docker-ce-17.12.1.ce-1.el7.centos.x86_64 : The open-source application container engine, W5 n& k, M! d6 h6 v- n
docker-ce-18.03.0.ce-1.el7.centos.x86_64 : The open-source application container engine
1 L" n+ U6 \- ~& E. idocker-ce-18.03.1.ce-1.el7.centos.x86_64 : The open-source application container engine9 g9 k) v" A) U- v
docker-ce-18.06.0.ce-3.el7.x86_64 : The open-source application container engine
  n) C! g" g( X/ K2 B# n+ qdocker-ce-18.06.1.ce-3.el7.x86_64 : The open-source application container engine% c, a, _2 _/ w
docker-ce-18.06.2.ce-3.el7.x86_64 : The open-source application container engine8 z6 @6 \$ K/ |7 I: P  d3 y3 W
docker-ce-18.06.3.ce-3.el7.x86_64 : The open-source application container engine# ~5 B, I  ^5 r  C0 o! E9 X! O
3:docker-ce-18.09.0-3.el7.x86_64 : The open-source application container engine
' {! r7 i  y! d$ ~. I3:docker-ce-18.09.1-3.el7.x86_64 : The open-source application container engine
0 T6 @5 k' ?7 j, X) t, l. I. N3:docker-ce-18.09.2-3.el7.x86_64 : The open-source application container engine
1 T8 y" ^7 ^3 y0 l% ]5 M2 Z3:docker-ce-18.09.3-3.el7.x86_64 : The open-source application container engine6 P3 [/ c7 y$ u& n& f& A- r
3:docker-ce-18.09.4-3.el7.x86_64 : The open-source application container engine; b3 ]1 D& o' m2 l" s0 O
3:docker-ce-18.09.5-3.el7.x86_64 : The open-source application container engine' P$ s/ z* t% G
3:docker-ce-18.09.6-3.el7.x86_64 : The open-source application container engine
  u& F& y' @0 l3 I" C! u. |3:docker-ce-18.09.7-3.el7.x86_64 : The open-source application container engine
( D' ^: D8 T4 Q/ i$ t8 l8 r' a3:docker-ce-18.09.8-3.el7.x86_64 : The open-source application container engine! D& W1 r) i2 S
3:docker-ce-18.09.9-3.el7.x86_64 : The open-source application container engine* ]( }7 {6 e. u$ I! p- Q" K! }
3:docker-ce-19.03.0-3.el7.x86_64 : The open-source application container engine  t4 X* u1 ^. m% q, p9 Q6 L4 d
3:docker-ce-19.03.1-3.el7.x86_64 : The open-source application container engine
" S4 \4 y/ C- ~& d7 Q2 M+ b3 L: H3:docker-ce-19.03.2-3.el7.x86_64 : The open-source application container engine2 N) B, F, H7 w* v
3:docker-ce-19.03.3-3.el7.x86_64 : The open-source application container engine
0 T' V! X/ v6 R/ r" |+ H3:docker-ce-19.03.4-3.el7.x86_64 : The open-source application container engine8 f6 v3 ?, j2 Q2 A, ]8 B  l0 r: T
3:docker-ce-19.03.5-3.el7.x86_64 : The open-source application container engine
  Z, s+ V; s) C/ v9 S; U3:docker-ce-19.03.6-3.el7.x86_64 : The open-source application container engine
( B4 B8 Y5 E9 ^8 I% v0 \# y5 l3:docker-ce-19.03.7-3.el7.x86_64 : The open-source application container engine1 r  Q+ u/ v* i: D
3:docker-ce-19.03.8-3.el7.x86_64 : The open-source application container engine) ^2 X4 M% Q" M
3:docker-ce-19.03.9-3.el7.x86_64 : The open-source application container engine
5 G  ^0 R9 y3 J9 E5 ?, l, c3:docker-ce-19.03.10-3.el7.x86_64 : The open-source application container engine
, ]) y4 `0 m7 u2 T# b, f' t# P3 v3:docker-ce-19.03.11-3.el7.x86_64 : The open-source application container engine
1 q: d  Y( P) W# F! G3:docker-ce-19.03.12-3.el7.x86_64 : The open-source application container engine4 @) y2 O& S& S7 T
3:docker-ce-19.03.13-3.el7.x86_64 : The open-source application container engine
! p2 Z/ w& _  c# D% ^& T% g, {) D6 w3:docker-ce-19.03.14-3.el7.x86_64 : The open-source application container engine
% B1 x. f- l6 }8 z: c- o" p3:docker-ce-19.03.15-3.el7.x86_64 : The open-source application container engine! j, K* f; w; b' K+ c' B
3:docker-ce-20.10.0-3.el7.x86_64 : The open-source application container engine
# `( E+ ~7 O* K  U4 r' L5 k3:docker-ce-20.10.1-3.el7.x86_64 : The open-source application container engine7 u' x0 }2 S) E6 t- k. K1 V
3:docker-ce-20.10.2-3.el7.x86_64 : The open-source application container engine7 u9 H1 _5 U3 v+ Z5 D) ~, A
3:docker-ce-20.10.3-3.el7.x86_64 : The open-source application container engine- H0 d0 ~0 Q) w, _+ S$ X' {2 l
3:docker-ce-20.10.4-3.el7.x86_64 : The open-source application container engine
; T6 y4 u; n+ Q! g2 ?3:docker-ce-20.10.5-3.el7.x86_64 : The open-source application container engine
) v+ F' m7 b7 @& L3 W7 H5 w3 t" q3:docker-ce-20.10.6-3.el7.x86_64 : The open-source application container engine
7 F, L$ L, L$ \9 h3:docker-ce-20.10.7-3.el7.x86_64 : The open-source application container engine
# l# S  a0 H. N. L3 n! r2 d- E1 q1 a3:docker-ce-20.10.8-3.el7.x86_64 : The open-source application container engine" j3 k2 J: X! F4 G. m
3:docker-ce-20.10.9-3.el7.x86_64 : The open-source application container engine
  j8 J) C/ u( p8 x. \3 ~! ?3:docker-ce-20.10.9-3.el7.x86_64 : The open-source application container engine' y5 j  Z7 D7 X( }! j% h
1:docker-ce-cli-18.09.0-3.el7.x86_64 : The open-source application container engine
9 |2 p" [+ B: z* A- P/ i6 ^1:docker-ce-cli-18.09.1-3.el7.x86_64 : The open-source application container engine% s9 N# S% Y! N# \3 C" s
1:docker-ce-cli-18.09.2-3.el7.x86_64 : The open-source application container engine
# y! u9 j, e! O$ I! |. _' X1:docker-ce-cli-18.09.3-3.el7.x86_64 : The open-source application container engine
4 E8 J: B2 _0 E1 ]( j9 f5 N% ~1:docker-ce-cli-18.09.4-3.el7.x86_64 : The open-source application container engine
8 P" K- W& V4 C1:docker-ce-cli-18.09.5-3.el7.x86_64 : The open-source application container engine/ P, W1 c0 f/ U/ S9 `
1:docker-ce-cli-18.09.6-3.el7.x86_64 : The open-source application container engine
9 F( v6 Z! i' S, |& g1:docker-ce-cli-18.09.7-3.el7.x86_64 : The open-source application container engine; w" _$ Y4 c. L" `$ `  \7 r
1:docker-ce-cli-18.09.8-3.el7.x86_64 : The open-source application container engine) N% h/ Q; b' m( U! p: Z% x
1:docker-ce-cli-18.09.9-3.el7.x86_64 : The open-source application container engine
1 y8 H- s) w" N0 }. `9 r3 X4 N1:docker-ce-cli-19.03.0-3.el7.x86_64 : The open-source application container engine
: A6 l/ C' R8 H$ q. J8 V- D1:docker-ce-cli-19.03.1-3.el7.x86_64 : The open-source application container engine
$ i: b- @1 Z8 Y) k& o1:docker-ce-cli-19.03.2-3.el7.x86_64 : The open-source application container engine
& B, y( Y: N: Q2 P1:docker-ce-cli-19.03.3-3.el7.x86_64 : The open-source application container engine
: K3 A; U+ K0 X; d1:docker-ce-cli-19.03.4-3.el7.x86_64 : The open-source application container engine( c( Y% u/ V" D) v
1:docker-ce-cli-19.03.5-3.el7.x86_64 : The open-source application container engine
- c) I" ~# j8 p1:docker-ce-cli-19.03.6-3.el7.x86_64 : The open-source application container engine8 z$ ]8 x! V; Z' R+ j1 q
1:docker-ce-cli-19.03.7-3.el7.x86_64 : The open-source application container engine
# X* V" C9 k# H2 B( I3 h2 }. P1:docker-ce-cli-19.03.8-3.el7.x86_64 : The open-source application container engine
) h/ K+ ]; p( s% {( C7 M1:docker-ce-cli-19.03.9-3.el7.x86_64 : The open-source application container engine
! ?1 o+ r  R" x1:docker-ce-cli-19.03.10-3.el7.x86_64 : The open-source application container engine
2 C* G  U0 ?& {. O5 S8 F! i" V% r1:docker-ce-cli-19.03.11-3.el7.x86_64 : The open-source application container engine/ p# B& y9 U* [; |$ v2 N
1:docker-ce-cli-19.03.12-3.el7.x86_64 : The open-source application container engine
: E" r& A& B; U, H, e, i1:docker-ce-cli-19.03.13-3.el7.x86_64 : The open-source application container engine) q8 G; @" p8 j- {8 M* O2 C5 ^
1:docker-ce-cli-19.03.14-3.el7.x86_64 : The open-source application container engine" S( K5 m9 q- O3 s
1:docker-ce-cli-19.03.15-3.el7.x86_64 : The open-source application container engine
7 t  u/ L3 H9 D1 V& p1:docker-ce-cli-20.10.0-3.el7.x86_64 : The open-source application container engine
+ t8 W5 s( R* F/ L5 f$ v1:docker-ce-cli-20.10.1-3.el7.x86_64 : The open-source application container engine
! _# q/ G6 j* d6 O% ?* `1:docker-ce-cli-20.10.2-3.el7.x86_64 : The open-source application container engine
2 A; r- w" `9 B/ [1:docker-ce-cli-20.10.3-3.el7.x86_64 : The open-source application container engine
( A: I/ b7 k% f! {+ L9 ?8 V1 T1:docker-ce-cli-20.10.4-3.el7.x86_64 : The open-source application container engine
4 e- |9 e& H+ w. [# @1:docker-ce-cli-20.10.5-3.el7.x86_64 : The open-source application container engine  J3 W; Z1 h' \  _! ^! e
1:docker-ce-cli-20.10.6-3.el7.x86_64 : The open-source application container engine5 d4 K3 ]- \2 v
1:docker-ce-cli-20.10.7-3.el7.x86_64 : The open-source application container engine) f& l5 I3 d1 Q( Z2 y8 K& c/ M$ T. u
1:docker-ce-cli-20.10.8-3.el7.x86_64 : The open-source application container engine& |  u" ~& H7 ^0 L5 A' [3 [
1:docker-ce-cli-20.10.9-3.el7.x86_64 : The open-source application container engine9 ^: s- _8 ^: U( Q; v' L
1:docker-ce-cli-20.10.9-3.el7.x86_64 : The open-source application container engine
; _$ B' |' N- ^docker-ce-rootless-extras-20.10.0-3.el7.x86_64 : Rootless support for Docker% I+ {9 o! z0 t; b! }0 N
docker-ce-rootless-extras-20.10.1-3.el7.x86_64 : Rootless support for Docker
6 Q9 Z& G, o# q  P2 bdocker-ce-rootless-extras-20.10.2-3.el7.x86_64 : Rootless support for Docker
( d" Y# \7 [( q- ^* `8 \docker-ce-rootless-extras-20.10.3-3.el7.x86_64 : Rootless support for Docker" r! _9 H9 W% N4 h0 ~$ l+ U2 @1 O
docker-ce-rootless-extras-20.10.4-3.el7.x86_64 : Rootless support for Docker
4 `. H$ x' l9 H. C, Tdocker-ce-rootless-extras-20.10.5-3.el7.x86_64 : Rootless support for Docker
5 J. n/ ^7 ~. f* H" ^- Idocker-ce-rootless-extras-20.10.6-3.el7.x86_64 : Rootless support for Docker
5 a, S( ^& t& i! Adocker-ce-rootless-extras-20.10.7-3.el7.x86_64 : Rootless support for Docker, _- }8 d7 t7 n0 i, l
docker-ce-rootless-extras-20.10.8-3.el7.x86_64 : Rootless support for Docker
) ^/ t, P3 l6 d2 o: M( xdocker-ce-rootless-extras-20.10.9-3.el7.x86_64 : Rootless support for Docker! @- H  w. d1 Q
docker-ce-rootless-extras-20.10.9-3.el7.x86_64 : Rootless support for Docker
" q, x' O  D1 q; v7 l+ l$ gdocker-ce-selinux-17.03.0.ce-1.el7.centos.noarch : SELinux Policies for the open-source application container engine
, i1 b4 o! B# P# E. \docker-ce-selinux-17.03.1.ce-1.el7.centos.noarch : SELinux Policies for the open-source application container engine
" L2 C- I  F1 c, C+ Odocker-ce-selinux-17.03.2.ce-1.el7.centos.noarch : SELinux Policies for the open-source application container engine
3 G! G) b! C$ L; r* Xdocker-ce-selinux-17.03.3.ce-1.el7.noarch : SELinux Policies for the open-source application container engine
  J. c/ o% ^( W/ t) ]4 j2 d+ n6 z" d2 {+ v' w
  Name and summary matches only, use "search all" for everything.
9 \* j0 r1 x4 S6 T$ N/ U
  W. g) y, [% q6 m+ o1 J
* r) E9 M' {. W, {; Y
# s4 x4 y7 v9 P! }* @6 y, D+ q* F( B3 K
逐一版本降版本:
& e5 ]+ \  w. }, U) B3 [! g# G yum downgrade docker-ce
4 s0 o6 T6 K/ x! t- J+ O# qLoaded plugins: fastestmirror9 ^1 Y9 t5 ~$ N2 ?7 v
Loading mirror speeds from cached hostfile
: V; v1 d: g4 D6 A * base: mirrors.163.com
3 a  G; ]8 g* f/ R$ M * extras: mirrors.163.com
; S: C) K0 h* U, [ * updates: mirrors.163.com" T7 f4 h. e! \! S% T
Resolving Dependencies
0 L& _/ ^' I9 c& Q: ?- ]( N3 u8 ^--> Running transaction check+ `5 `. M& [0 K7 ~0 h
---> Package docker-ce.x86_64 3:20.10.8-3.el7 will be a downgrade
/ s( B2 ?0 o2 T* X---> Package docker-ce.x86_64 3:20.10.9-3.el7 will be erased$ j7 L1 Y) M7 \  E9 e
--> Finished Dependency Resolution! }7 M- w, E+ X0 Y4 }' H9 \
: n& ^  Z  g* M/ q5 ~0 `
Dependencies Resolved
- ?, @8 J1 i6 v, W$ ?& v/ _% c8 D5 D- d
============================================================================================================================================
1 [% H( |- N. V5 H% ^* Y8 u3 q Package                       Arch                       Version                                Repository                            Size4 K7 C5 j' R( _8 p6 ]& t
============================================================================================================================================9 r; e9 [" o0 t  N$ @. @
Downgrading:0 `, n: i" Y+ V( N% @
docker-ce                     x86_64                     3:20.10.8-3.el7                        docker-ce-stable                      23 M3 D8 [. L, Y& P# L3 H6 p. p

; \6 }! ]  L: n& }7 A( `Transaction Summary) j8 x/ D- y% I7 F/ u: N
============================================================================================================================================" I/ ]9 J# N4 C! D
Downgrade  1 Package
: Z3 Q' u/ H8 Q( }+ S2 u  w
) G' R$ Q- b+ F2 nTotal download size: 23 M
" s: B$ S! O; A  y, l; N1 }' }Is this ok [y/d/N]: y
: `- }1 y' s3 p0 i; E7 @Downloading packages:5 X* Q1 x! `5 D
docker-ce-20.10.8-3.el7.x86_64.rpm                                                                                   |  23 MB  00:00:24     1 ]3 R# d9 a  z
Running transaction check7 g) j* E8 ?( ^7 ?
Running transaction test5 t/ l+ Y& e6 r
Transaction test succeeded1 O* T, K( M* A
Running transaction
. J, c) t5 m2 |! \" ~3 _* J  Installing : 3:docker-ce-20.10.8-3.el7.x86_64                                                                                         1/2
; ~/ [" Q0 }7 @! [1 R  Cleanup    : 3:docker-ce-20.10.9-3.el7.x86_64                                                                                         2/2 5 ?% [2 H! _7 W9 W/ z$ c
  Verifying  : 3:docker-ce-20.10.8-3.el7.x86_64                                                                                         1/2 + O0 s$ D- t# k7 \" p
  Verifying  : 3:docker-ce-20.10.9-3.el7.x86_64                                                                                         2/2 / O( e, o/ g% a

5 ^  n8 K# t1 QRemoved:% G  I7 R2 F6 ~# D/ P; i8 @
  docker-ce.x86_64 3:20.10.9-3.el7                                                                                                          ) Q4 y% f0 f3 {- Y

! B0 k% \3 S. L" l1 |0 TInstalled:6 p7 i% J- v6 s/ Y
  docker-ce.x86_64 3:20.10.8-3.el7                                                                                                          ; c0 i+ \( Y+ W8 n8 r* H$ ?
& }3 V, X* P" F, @2 N6 q  a
Complete!- i) O2 o( ~% H7 S

) }( c1 d& Z+ [* i- Q" Z
5 |7 B+ x  [' u: y指定版本降:
; ^7 s) M1 b* v0 ]& j, k! O, B  I
+ A( p/ k' W3 u( c( c

% Q6 }0 g1 S- C) K. F& L# yum downgrade docker-ce-20.10.6-3.el7.x86_64 -y
  b1 C/ Q: ^- m- Q4 X9 JLoaded plugins: fastestmirror& i- |7 y0 M% u( A
Loading mirror speeds from cached hostfile% w  y; n1 e. s9 o6 w
* base: mirrors.163.com# k0 N5 X& u! J
* extras: mirrors.163.com
2 b8 W$ W+ z7 ]! J& W * updates: mirrors.163.com
1 \/ T0 a) x7 W  Y" E) XResolving Dependencies$ ^$ ?, w' L0 F1 T, L
--> Running transaction check; `, N, R# N& k
---> Package docker-ce.x86_64 3:20.10.6-3.el7 will be a downgrade
+ M' M' j* S* S5 R6 ^& k4 [: b---> Package docker-ce.x86_64 3:20.10.8-3.el7 will be erased
2 f& D8 G/ f" |--> Finished Dependency Resolution
7 U8 W# L/ ^. b( b# f
; I7 Q. @7 _6 I, d: a9 rDependencies Resolved
% l! O" p- R9 N, c
. I+ ?  L3 X! m+ ]  Q+ H& i# y============================================================================================================================================
9 n" U& D' r( _3 @: I Package                       Arch                       Version                                Repository                            Size- p+ t. f/ Q/ N
============================================================================================================================================2 h! d" ?) ~. t2 J7 I
Downgrading:
) D# u& z# e; Q+ t& z. w7 t! z) j docker-ce                     x86_64                     3:20.10.6-3.el7                        docker-ce-stable                      27 M8 }) A8 W; d5 u

0 y7 ~; X# Z, m* U0 FTransaction Summary
) Z3 K$ [! ^) i5 S0 j============================================================================================================================================' i/ o" I4 b3 v- W
Downgrade  1 Package
, X7 i' ]0 b8 Z2 w, D$ W! o0 `
& g& K; L- Q) G8 x- I, w2 VTotal download size: 27 M% a9 m) q9 X" [6 o1 U2 u# u1 l! U
Downloading packages:
. Z1 L! {: c& {, D% d! R4 R: N$ Cdocker-ce-20.10.6-3.el7.x86_64.rpm                                                                                   |  27 MB  00:00:28     ' C; ]. j; h1 F1 b3 V
Running transaction check
$ Z% f9 E' u+ L" Q6 l# M- c2 IRunning transaction test# J% B$ T; r8 D) ^5 _
Transaction test succeeded
; i& o6 E2 o9 ARunning transaction8 C/ P) A" \- P2 S
  Installing : 3:docker-ce-20.10.6-3.el7.x86_64                                                                                         1/2
7 q! E, T: z  ~0 Q6 u6 b6 Y, g! C  Cleanup    : 3:docker-ce-20.10.8-3.el7.x86_64                                                                                         2/2 * M0 [3 `% b( s9 R
  Verifying  : 3:docker-ce-20.10.6-3.el7.x86_64                                                                                         1/2 * b+ [  p* J" Q* y$ s" k/ v) X
  Verifying  : 3:docker-ce-20.10.8-3.el7.x86_64                                                                                         2/2
9 D8 u' h" ?; H  D. `
2 \1 T) k1 v1 tRemoved:
4 a( X8 ~3 u, a9 y8 ^% s- o+ L5 ]# u4 h) P  docker-ce.x86_64 3:20.10.8-3.el7                                                                                                          * a; ?% n/ D( b- n+ f

" G& h+ K3 q" L1 r% LInstalled:
" n+ E1 g( k) D) X2 Q  docker-ce.x86_64 3:20.10.6-3.el7                                                                                                         
* I8 D# E6 U8 O) u" i' L. ?+ s$ y6 e, ~) p
Complete!
) `3 S# ?( ~' ^: B
% s" Q) w( j% q* O" w& R. L+ T3 c0 b6 T1 c& \
, ]" j, w+ ~5 s6 T/ |# E8 c
+ K8 N0 i7 s$ F
您需要登录后才可以回帖 登录 | 注册

本版积分规则

返回首页|Archiver|手机版|小黑屋|易陆发现技术论坛 ( 蜀ICP备2026014127号-1 )

GMT+8, 2026-6-12 02:06 , Processed in 0.015437 second(s), 23 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表