将设为首页浏览此站
开启辅助访问 天气与日历 收藏本站联系我们切换到窄版

易陆发现论坛

 找回密码
 开始注册
查看: 59|回复: 1
收起左侧

suse12版本的cloud-init 的安装和repo文件操作步骤

[复制链接]
发表于 2022-9-2 10:53:00 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有帐号?开始注册

x
[home_garloff_OTC_cloudinit]
1 K% W% Y8 ^, j% `name=Cloud-Init and related packages (SLE_12)
  o5 D8 @. M! Z% V# a; Ltype=rpm-md& Q6 c& l+ \2 T/ W" k, m" H8 |0 b
baseurl=http://download.opensuse.org/repositories/home:/garloff:/OTC:/cloudinit/SLE_12/' s2 u% M" d, T7 D$ G% E5 k
gpgcheck=1
! p" ^! s6 L2 @* e" V7 V7 B/ dgpgkey=http://download.opensuse.org/repositories/home:/garloff:/OTC:/cloudinit/SLE_12/repodata/repomd.xml.key
! N+ M6 c/ P& P, I3 `  ^enabled=1
2 H! R% I: T. {2 p, ^5 x' k& [
. e7 L  r+ _) V' m9 X上面是repo文件5 i3 F: i# q: T$ R5 h

" q$ o  r6 Q, D- u2 q% O1 @linux:/etc/zypp/repos.d # zypper install cloud-init' w8 u) D8 G% k( Z" u3 |/ G

( T" X. Q3 V( e5 INew repository or package signing key received:7 D8 P- w$ H" n/ h* I9 ~) H
Key ID: 84F7BE81CC6D4077, e9 w6 q" B+ O
Key Name: home:garloff:OTC OBS Project <home:garloff:OTC@build.opensuse.org>% c& F& P! p- E8 n: z+ t$ G
Key Fingerprint: 8A208CFD29C504168689A63184F7BE81CC6D4077' }  y! H1 U# y& l
Key Created: Fri May  4 01:00:16 2018$ v- i0 I0 [9 Z. V+ g
Key Expires: Sun Jul 12 01:00:16 2020 (EXPIRED)
: J& p$ d1 b5 DRepository: Cloud-Init and related packages (SLE_12)7 v) b, Z  Q0 M; C0 {. e7 O
% y# R  K+ Y# G- \6 V# n
Do you want to reject the key, trust temporarily, or trust always? [r/t/a/?] (r): r2 @7 ]/ g  {: C2 y/ G" o7 j
Error building the cache:/ ~% U; N5 P0 H
[|] Valid metadata not found at specified URL(s)! X4 s: C! v- W7 x* ]
Warning: Disabling repository 'Cloud-Init and related packages (SLE_12)' because of the above error.
$ ~6 w# v+ [" m/ `: A! bRetrieving repository 'openSUSE-12.2-Update-Non-Oss' metadata ...........................................[error]
4 B4 @( u$ N, O, s# S5 [Repository 'openSUSE-12.2-Update-Non-Oss' is invalid.- \# a# _- w. [! I+ l
[|] Valid metadata not found at specified URL(s)
+ p% S! c2 W; jPlease check if the URIs defined for this repository are pointing to a valid repository.5 D' j' j: z1 A" \+ K  G. Q
Warning: Disabling repository 'openSUSE-12.2-Update-Non-Oss' because of the above error.( r3 n* B5 M3 @1 @( v
Loading repository data...9 O( p) z- r, D! Z9 D; Q
Warning: Repository 'openSUSE-12.2-Update' appears to outdated. Consider using a different mirror or server.! E$ Q7 m  z3 `" M
Reading installed packages.../ y+ }7 G* e& h0 S2 a, u
'cloud-init' not found in package names. Trying capabilities.2 Z& b  B1 f7 d# L0 p$ y: N7 S2 ?
No provider of 'cloud-init' found.% i3 Z* j; {5 d: `$ w5 \+ M0 m
Resolving package dependencies...0 {2 v( h) \" ?  \8 _7 l
# N" W% B4 X* Y, n
Nothing to do.+ ]& E/ u  ]+ b
linux:/etc/zypp/repos.d # zypper install cloud-init, R  ^0 J" O. q5 I

, U0 ~& [5 @5 G' {New repository or package signing key received:% Q( e# K3 i: @8 r' z
Key ID: 84F7BE81CC6D4077
9 u& K8 Q9 \7 x' E0 Q0 VKey Name: home:garloff:OTC OBS Project <home:garloff:OTC@build.opensuse.org>
- z, N7 ]/ N4 f; z, L5 a/ I$ jKey Fingerprint: 8A208CFD29C504168689A63184F7BE81CC6D40773 ]6 Y3 e, f0 {; u# f0 z& [* t0 `
Key Created: Fri May  4 01:00:16 2018
$ r) @& C; _4 _/ FKey Expires: Sun Jul 12 01:00:16 2020 (EXPIRED)$ p1 l# F9 {( o' B6 X
Repository: Cloud-Init and related packages (SLE_12)
$ e$ V0 a( ]( h, B+ ]' A
8 C1 I! H; I2 z5 b1 g4 B- A+ mDo you want to reject the key, trust temporarily, or trust always? [r/t/a/?] (r): a& I  T0 _+ w* N; t. z
Building repository 'Cloud-Init and related packages (SLE_12)' cache .....................................[done]
2 U0 h( W+ j. R1 LRetrieving repository 'openSUSE-12.2-Update-Non-Oss' metadata ...........................................[error]
! e% s3 ]5 W. `( f2 J; B4 N9 [9 vRepository 'openSUSE-12.2-Update-Non-Oss' is invalid.
$ |5 w: ?- C/ F2 Y; g3 h2 S[|] Valid metadata not found at specified URL(s)
& x9 U# t4 K/ ]; u; p4 VPlease check if the URIs defined for this repository are pointing to a valid repository.
2 P, f4 G, w& |$ h+ b% r) @$ kWarning: Disabling repository 'openSUSE-12.2-Update-Non-Oss' because of the above error.
/ }% G: J7 K. f3 G' uLoading repository data...1 p* k# }' y' S' J; \& l: j
Warning: Repository 'openSUSE-12.2-Update' appears to outdated. Consider using a different mirror or server.3 x+ f0 t+ v) d
Reading installed packages...4 n! X4 \+ S: ~6 x7 X$ V
Resolving package dependencies...
# v9 l7 j3 E& k8 T/ {$ U, p6 Z2 y5 U3 ~9 o' B& F! @5 F
Problem: nothing provides python-PrettyTable needed by cloud-init-0.7.6-32.1.x86_64
. e8 m! k+ G2 X1 q Solution 1: do not install cloud-init-0.7.6-32.1.x86_64
, c4 G7 r1 U( E6 s Solution 2: break cloud-init-0.7.6-32.1.x86_64 by ignoring some of its dependencies. ]  n! S. e# k# X' q# C) H* w

  z/ a0 k" w% g# I! }5 F. NChoose from above solutions by number or cancel [1/2/c] (c): 1
3 U$ X! U  E0 S) ^Resolving dependencies...# K9 k* l$ l, @: _
Resolving package dependencies...
( G- d4 S! ^$ t5 e, w. E! ]
% A, @2 Z% F7 c* ?Nothing to do.
' ?5 V0 p6 }+ i4 p3 h& ?" elinux:/etc/zypp/repos.d # zypper install cloud-init -y5 k' B" N2 j$ s/ P2 z
Retrieving repository 'openSUSE-12.2-Update-Non-Oss' metadata ...........................................[error]
! {. r; [4 r2 a& xRepository 'openSUSE-12.2-Update-Non-Oss' is invalid.
) C$ i* ]9 {) o[|] Valid metadata not found at specified URL(s)
( t6 j7 e9 L' k. Z; t- t, {Please check if the URIs defined for this repository are pointing to a valid repository.
) B1 n7 ]! W! n$ ^Warning: Disabling repository 'openSUSE-12.2-Update-Non-Oss' because of the above error.
' Q% C+ i/ `# i( b" W0 {Loading repository data...
7 L6 P' p4 E; DWarning: Repository 'openSUSE-12.2-Update' appears to outdated. Consider using a different mirror or server.1 |7 W, K* @6 c4 _% Y& j( L. y
Reading installed packages...
  p$ k& o4 Y7 V' ~0 W3 j'-y' not found in package names. Trying capabilities.2 k- n: X1 Z" L4 u6 z
No provider of 'y' found.
, @# B5 q  D0 cResolving package dependencies...6 o( w3 o7 V) ?) D9 ]3 ~1 v

$ H3 r( D* Z, I2 zProblem: nothing provides python-PrettyTable needed by cloud-init-0.7.6-32.1.x86_64
' H9 [+ W3 q4 Y, K4 C Solution 1: do not install cloud-init-0.7.6-32.1.x86_645 W7 a, s3 F* z
Solution 2: break cloud-init-0.7.6-32.1.x86_64 by ignoring some of its dependencies
) t  p" u( {( [5 v' q
% B& }; T) p& o# rChoose from above solutions by number or cancel [1/2/c] (c): 2^H2
  I" U  q3 C  b2 ~( \7 eInvalid answer '2'. [1/2/c] (c): 2& e0 i" V) Z3 l
Resolving dependencies...2 o  O% o. u% S/ D; x3 q/ R
Resolving package dependencies...
0 D# N8 K0 M5 y& |: ~6 T9 n+ u0 H; O0 g- `: M* }( R' [/ b
The following NEW packages are going to be installed:
) P* ^( l% q, Z( m8 P& }  cloud-init dmidecode gptfdisk growpart libicu49 python-Cheetah python-Jinja2 python-PyYAML python-argparse
4 Y) r; u: t' U7 L7 e* y4 Z1 C8 f  python-chardet python-configobj python-oauth python-oauthlib python-pyasn1 python-pyserial python-requests ' ?* I. Y  j, |1 F  {- v7 y
  python-rsa python-xml . ~7 U- q( \: g  {
4 w$ f, ~' C1 [) W( C
18 new packages to install.! R9 w* O) M9 h1 f6 P" R/ H4 k
Overall download size: 6.9 MiB. After the operation, additional 31.0 MiB will be used.7 c" ]& Q3 h0 L5 Q1 x9 S
Continue? [y/n/?] (y): y7 }. F6 |* V; `4 E/ ?/ D1 X
Retrieving package python-Cheetah-2.4.4-33.1.x86_64                       (1/18), 287.6 KiB (  1.4 MiB unpacked): f1 y9 g6 h: R+ u8 k( S/ @
Retrieving: python-Cheetah-2.4.4-33.1.x86_64.rpm ............................................[done (43.4 KiB/s)]" Z, L3 G/ ^8 ^& N; @: F8 \$ v
Retrieving package python-oauth-1.0.1-35.1.noarch                         (2/18),  16.0 KiB ( 49.6 KiB unpacked)
( r- z0 A( d4 p& }, YRetrieving: python-oauth-1.0.1-35.1.noarch.rpm ...........................................................[done]
) \2 D# b" p3 c7 ]: NRetrieving package python-pyserial-3.3-39.1.noarch                        (3/18), 133.2 KiB (585.5 KiB unpacked)
" N: X  H( z" W6 E  dRetrieving: python-pyserial-3.3-39.1.noarch.rpm .............................................[done (87.2 KiB/s)]
" Z- v: G) V6 j6 }. a; bRetrieving package python-Jinja2-2.6-8.1.1.noarch                         (4/18), 278.8 KiB (  1.6 MiB unpacked): x  r: x& B! E, ]
Retrieving: python-Jinja2-2.6-8.1.1.noarch.rpm ...........................................................[done]
- P9 W, _: P" A6 h# i& X; ORetrieving package python-argparse-1.2.1-7.1.1.noarch                     (5/18), 248.4 KiB (490.1 KiB unpacked)
' u' r! r) O! F& t1 j# V: P" a2 ORetrieving: python-argparse-1.2.1-7.1.1.noarch.rpm .......................................................[done]  n4 y; W4 N/ S+ ~4 L7 a
Retrieving package python-chardet-2.0.1-12.1.1.noarch                     (6/18), 177.9 KiB (  1.1 MiB unpacked)( W/ k5 X9 H+ j( g+ {2 o5 ^
Retrieving: python-chardet-2.0.1-12.1.1.noarch.rpm .......................................................[done]' c( u0 X( q) j
Retrieving package python-configobj-4.7.2-13.1.1.noarch                   (7/18),  51.5 KiB (243.8 KiB unpacked)
9 p) @6 |  h( n8 {3 E' h" r, a& _Retrieving: python-configobj-4.7.2-13.1.1.noarch.rpm .....................................................[done]
/ w% ^0 d! J: v  _/ S4 CRetrieving package python-pyasn1-0.1.3-2.1.1.noarch                       (8/18),  77.3 KiB (339.5 KiB unpacked)
" `. F2 A6 A; p) F0 a+ MRetrieving: python-pyasn1-0.1.3-2.1.1.noarch.rpm .........................................................[done]
# N  V* A" N) m8 w, v( L; xRetrieving package dmidecode-2.11-24.1.2.x86_64                           (9/18),  66.5 KiB (191.7 KiB unpacked)
( l2 t% y, E. [0 F7 q. BRetrieving: dmidecode-2.11-24.1.2.x86_64.rpm .............................................................[done]
, X' a/ l4 Q5 FRetrieving package libicu49-49.1-2.1.2.x86_64                            (10/18),   4.6 MiB ( 21.2 MiB unpacked)1 ]" a: |4 Y' N+ _+ `) W2 H
Retrieving: libicu49-49.1-2.1.2.x86_64.rpm ...................................................[done (1.1 MiB/s)]- \" v0 |  _) K
Retrieving package python-PyYAML-3.10-2.1.1.x86_64                       (11/18),  84.3 KiB (417.5 KiB unpacked)" T9 H5 U' |# b5 A. ~
Retrieving: python-PyYAML-3.10-2.1.1.x86_64.rpm ..........................................................[done]; z, I, v" D4 b& P
Retrieving package python-rsa-3.0.1-2.1.1.noarch                         (12/18),  43.8 KiB (190.0 KiB unpacked)
2 W0 r  U2 `% \3 t" x( mRetrieving: python-rsa-3.0.1-2.1.1.noarch.rpm ............................................................[done]
9 k7 E! [3 b8 r$ `5 |6 v, bRetrieving package gptfdisk-0.8.2-3.1.2.x86_64                           (13/18), 154.4 KiB (583.0 KiB unpacked)7 N- u: a7 o' l
Retrieving: gptfdisk-0.8.2-3.1.2.x86_64.rpm ..............................................................[done]
1 B3 K- y) L: A0 qRetrieving package python-oauthlib-0.1.3-2.1.1.noarch                    (14/18),  30.5 KiB (112.2 KiB unpacked)  P/ S, {, N, }4 r7 L
Retrieving: python-oauthlib-0.1.3-2.1.1.noarch.rpm .......................................................[done]
& A: a) s1 |9 R# }# j/ p1 W  S+ cRetrieving package python-requests-0.12.1-2.1.2.noarch                   (15/18), 110.4 KiB (409.0 KiB unpacked)0 o( A& X- W" v8 f/ m
Retrieving: python-requests-0.12.1-2.1.2.noarch.rpm ......................................................[done]) a# j8 {$ R+ \/ O4 g- K# ~
Retrieving package python-xml-2.7.3-3.9.1.x86_64                         (16/18), 181.5 KiB (871.8 KiB unpacked)4 G* @" {5 s; [& ~7 X# X  w/ ^
Retrieving: python-xml-2.7.3-3.9.1.x86_64.rpm ............................................................[done]8 h8 F8 P, M) d0 c* x2 z  H# }9 W2 {
Retrieving package growpart-0.27-1.2.noarch                              (17/18),  21.1 KiB ( 51.1 KiB unpacked)
  _" ^% t' ~0 hRetrieving: growpart-0.27-1.2.noarch.rpm ....................................................[done (68.4 KiB/s)]
! F9 s/ O, R" o9 N% r1 a( ?Retrieving package cloud-init-0.7.6-32.1.x86_64                          (18/18), 330.7 KiB (  1.3 MiB unpacked)
% o3 [( J/ j5 ]: Q, SRetrieving: cloud-init-0.7.6-32.1.x86_64.rpm .............................................................[done]6 W5 `& C6 z% r
Installing: python-Cheetah-2.4.4-33.1 ....................................................................[done]1 n2 `2 ~0 H# m+ E9 Q% [1 q
Installing: python-oauth-1.0.1-35.1 ......................................................................[done]
, e; L: O* b8 s; aInstalling: python-pyserial-3.3-39.1 .....................................................................[done]* m/ E  v: m' D$ @
Installing: python-Jinja2-2.6-8.1.1 ......................................................................[done]
$ ~5 O8 K/ x0 w* X0 \( b6 xInstalling: python-argparse-1.2.1-7.1.1 ..................................................................[done]
# E& P$ a- f0 t! j2 U5 UInstalling: python-chardet-2.0.1-12.1.1 ..................................................................[done]
$ f9 f' h; U* P8 i' dInstalling: python-configobj-4.7.2-13.1.1 ................................................................[done]8 i+ C8 w! _1 \) f
Installing: python-pyasn1-0.1.3-2.1.1 ....................................................................[done]9 I7 S# ~/ W/ N+ b0 A& q  j, _4 w
Installing: dmidecode-2.11-24.1.2 ........................................................................[done]/ Y% u8 V; W- W$ K0 ^
Installing: libicu49-49.1-2.1.2 ..........................................................................[done]
& o' g7 K+ K' _8 b. t3 ^Installing: python-PyYAML-3.10-2.1.1 .....................................................................[done]: q& v2 ~1 P" c  s
Installing: python-rsa-3.0.1-2.1.1 .......................................................................[done], P+ q* R1 i6 l5 G) p' G
Installing: gptfdisk-0.8.2-3.1.2 .........................................................................[done]
: N) w1 i: @: f  D9 y* n4 @Installing: python-oauthlib-0.1.3-2.1.1 ..................................................................[done]# j7 [( X/ ]4 i" D
Installing: python-requests-0.12.1-2.1.2 .................................................................[done]
) l- w% x/ r! l( t2 N" PInstalling: python-xml-2.7.3-3.9.1 .......................................................................[done]' a% q7 E: ^  a% f: k: a
Installing: growpart-0.27-1.2 ............................................................................[done]
% W7 X9 B4 ?% A; W1 u; pInstalling: cloud-init-0.7.6-32.1 ........................................................................[done]' x5 P( X- e" L
linux:/etc/zypp/repos.d #
; k! `4 L- D, m$ l  M9 ]3 |: T9 b5 T6 B  a. m
 楼主| 发表于 2022-9-7 09:15:43 | 显示全部楼层
扩容存在问题,放弃该版本,使用新版本suse15方式。
您需要登录后才可以回帖 登录 | 开始注册

本版积分规则

关闭

站长推荐上一条 /4 下一条

如有购买积分卡请联系497906712

QQ|返回首页|Archiver|手机版|小黑屋|易陆发现 点击这里给我发消息

GMT+8, 2022-10-4 04:53 , Processed in 0.042955 second(s), 22 queries .

Powered by LR.LINUX.cloud bbs168x X3.2 Licensed

© 2012-2022 Comsenz Inc.

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