易陆发现互联网技术论坛

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

debian 系统使用apt donwnload 和rdepends 下载包,以及依赖包

[复制链接]
发表于 2025-3-31 21:00:00 | 显示全部楼层 |阅读模式

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

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

x
apt download 下载keystone的包:
* r9 j( q6 \) `8 [root@controller:/usr/src/deb# apt download keystone $ D; `" J7 b+ M
Get:1 http://mirrors.ustc.edu.cn/debian bookworm/main amd64 keystone all 2:22.0.0-2 [70.0 kB]
- i1 Z0 f7 T# y) \- C, ~" X* JFetched 70.0 kB in 0s (509 kB/s)    * V1 K2 H9 \; \
W: Download is performed unsandboxed as root as file '/usr/src/deb/keystone_2%3a22.0.0-2_all.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
* ]5 {5 G7 j* ?- |
) |; Z6 {  R  }  Z. k- j2 `% ^& V: T6 p$ o* ]

0 k+ N! B# w: t. i" |apt rdepends 下载keystone的依赖包
9 k2 U0 R  o! V! d" E* I/ Z/ I  ?) w, y9 J: N
  H9 R3 F; w1 c+ |+ ?, T0 e5 d
apt install apt-rdepends
4 f7 h- ^! ?7 `& w( M' h# sReading package lists... Done! o) I* k% Z# K  B9 }
Building dependency tree... Done) d# ?' V  f" f
Reading state information... Done
& V" n2 J$ h+ ?: HThe following additional packages will be installed:# j$ A) X. a) ^# ]* S4 x. z
  libapt-pkg-perl
6 v3 `$ g2 L+ [% a; KThe following NEW packages will be installed:
& s+ s* X9 G) K1 m( |0 q4 {  apt-rdepends libapt-pkg-perl- o1 _. `9 R: L+ G( D) X: S
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
$ Y# X& Z$ x) p$ N2 f6 @, q- E8 xNeed to get 83.4 kB of archives.
3 {9 t% \! R0 \0 j# _) y3 s) W' C/ n* E, |After this operation, 271 kB of additional disk space will be used.
4 o- \4 R& X, H. H  S' p1 dDo you want to continue? [Y/n] y& K* k& d; F  C! W0 f& C
Get:1 http://mirrors.ustc.edu.cn/debian bookworm/main amd64 libapt-pkg-perl amd64 0.1.40+b2 [69.2 kB]. G' l- B1 U* |/ v" p
Get:2 http://mirrors.ustc.edu.cn/debian bookworm/main amd64 apt-rdepends all 1.3.0-10 [14.1 kB]' ]# h! v) z, U' G
Fetched 83.4 kB in 0s (325 kB/s)   
$ d+ {3 |' x9 |% FSelecting previously unselected package libapt-pkg-perl.
) g1 o- p0 Q0 O9 c  Q" Ydpkg: warning: files list file for package 'glance-common' missing; assuming package has no files currently installed( k( V7 D) I) l9 h: s
dpkg: warning: files list file for package 'keystone' missing; assuming package has no files currently installed% g6 r! b' l1 r' w/ g0 h2 e0 h
dpkg: warning: files list file for package 'glance-store-common' missing; assuming package has no files currently installed
% P( W+ ^  m' P& Idpkg: warning: files list file for package 'glance-api' missing; assuming package has no files currently installed
' u) n, {" |4 @5 Z' I/ }(Reading database ... 196061 files and directories currently installed.)$ A# ?3 E5 v: R  c( Q
Preparing to unpack .../libapt-pkg-perl_0.1.40+b2_amd64.deb ...
! E3 d- [) b4 s& H1 t0 o* c+ T$ l, VUnpacking libapt-pkg-perl (0.1.40+b2) .... I+ b1 B% L/ q
Selecting previously unselected package apt-rdepends.' I" L# _2 x# N* `5 T
Preparing to unpack .../apt-rdepends_1.3.0-10_all.deb ...5 [  v0 _3 k" K
Unpacking apt-rdepends (1.3.0-10) ...
, i, R- }$ A: g6 ASetting up libapt-pkg-perl (0.1.40+b2) ...8 F, `+ |  R# Q: k$ [
Setting up apt-rdepends (1.3.0-10) ...7 v/ f: `) R; R. y% |! n" z
Processing triggers for man-db (2.11.2-2) ...
# m* t( y/ O+ W2 L; w5 l2 v! R* h# C" k) I8 L
2 O3 T  \! g5 o( p5 {3 Q

4 ^) b% x9 M6 N1 K/ Kroot@controller:/usr/src/deb# apt rdepends keystone+ Y/ ]9 D9 ]$ ]: |4 g
keystone1 Y/ ]# D/ h6 V5 N2 B) I: `
Reverse Depends:9 t# [3 ?& L5 r7 @- w
  Depends: openstack-cloud-identity
! N$ U; A: G' Z/ y+ [) C6 ?1 P0 sroot@controller:/usr/src/deb# apt download openstack-cloud-identity
! k) u: Z; c1 H8 m0 CGet:1 http://mirrors.ustc.edu.cn/debian bookworm/main amd64 openstack-cloud-identity all 0.34 [2,568 B]" N8 }3 p; L& L% U$ O7 h8 q
Fetched 2,568 B in 0s (15.9 kB/s)             1 B- @8 f- L! C% x2 z* t, j. x! e
W: Download is performed unsandboxed as root as file '/usr/src/deb/openstack-cloud-identity_0.34_all.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)# w$ h1 ?# u& x- u/ W4 `8 u# A8 [

( r2 B+ Q. I3 l! p/ j" U* P6 t0 j6 y' E/ |2 V' a# b. e2 ~

1 X/ |  O" k4 J1 d6 A# h, U
7 T! s* ?: u4 p9 E- z1 S
您需要登录后才可以回帖 登录 | 开始注册

本版积分规则

关闭

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

北京云银创陇科技有限公司以云计算运维,代码开发

QQ|返回首页|Archiver|小黑屋|易陆发现技术论坛 ( 蜀ICP备2026014127号-1 )点击这里给我发消息

GMT+8, 2026-4-8 21:18 , Processed in 0.055031 second(s), 22 queries .

Powered by Discuz! X3.4 Licensed

© 2012-2025 Discuz! Team.

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