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

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

[复制链接]

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
发表于 2025-3-31 21:00:00 | 显示全部楼层 |阅读模式
apt download 下载keystone的包:
8 O' S6 {1 O8 p$ M. Xroot@controller:/usr/src/deb# apt download keystone ' `' r# S- q& D2 o: z6 O1 l0 W* L
Get:1 http://mirrors.ustc.edu.cn/debian bookworm/main amd64 keystone all 2:22.0.0-2 [70.0 kB]
4 v1 R' c+ z/ c6 ^: t9 W8 ?Fetched 70.0 kB in 0s (509 kB/s)    " ?# j- M) ^5 ?) ~: y% t
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)' N2 ~& U# m  S: J- H

1 Y5 @, j: V# h( n' O2 z! `, |
7 B7 N& H6 ~' V1 y  B
apt rdepends 下载keystone的依赖包
4 U8 x" l2 A  e  m3 h
2 R( @  w" O- u, p  S
; [. Y" X5 r' v7 l' G8 japt install apt-rdepends   q! a  V' n& a3 U' o
Reading package lists... Done
" r5 y6 C5 B( [. j* vBuilding dependency tree... Done+ V' \; p$ N4 N
Reading state information... Done
4 M  \' `* S6 X0 o7 M9 |1 M, AThe following additional packages will be installed:
3 i, L. l9 w. O3 v  libapt-pkg-perl" w, T( D7 T5 T- C9 J* n* }9 k
The following NEW packages will be installed:
' q/ V- r  @) Q1 R; ~  apt-rdepends libapt-pkg-perl5 U" G8 o+ Q+ B' ]8 l: q7 ]/ [5 {
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
! K9 o* X% W/ L- @' D4 S5 jNeed to get 83.4 kB of archives.6 ]6 V  s/ \7 F, k" }# b( Q
After this operation, 271 kB of additional disk space will be used.) j( }$ n! r% r
Do you want to continue? [Y/n] y
) ]8 Q- u: e* X. o4 d) zGet:1 http://mirrors.ustc.edu.cn/debian bookworm/main amd64 libapt-pkg-perl amd64 0.1.40+b2 [69.2 kB]8 X) t- u5 F% z+ @
Get:2 http://mirrors.ustc.edu.cn/debian bookworm/main amd64 apt-rdepends all 1.3.0-10 [14.1 kB]8 e! m4 m/ ]1 w9 l" w. `* J: a4 Q
Fetched 83.4 kB in 0s (325 kB/s)   
5 H7 {% i! t1 \% k. LSelecting previously unselected package libapt-pkg-perl.0 F! P9 j. c% A3 Y
dpkg: warning: files list file for package 'glance-common' missing; assuming package has no files currently installed- L* N% p. z& y3 u" Z( T% {. u, c1 ~
dpkg: warning: files list file for package 'keystone' missing; assuming package has no files currently installed
1 |2 P: G9 K/ M- Y/ @0 o7 A* b1 Hdpkg: warning: files list file for package 'glance-store-common' missing; assuming package has no files currently installed
4 I6 W, E" U6 F( N4 I' wdpkg: warning: files list file for package 'glance-api' missing; assuming package has no files currently installed/ A7 ~( E8 `# T1 H2 h* P
(Reading database ... 196061 files and directories currently installed.)
2 a3 ?! _2 V- k. wPreparing to unpack .../libapt-pkg-perl_0.1.40+b2_amd64.deb ...) {1 ?+ P% S3 E+ H; o! T; p2 h
Unpacking libapt-pkg-perl (0.1.40+b2) ...
3 \2 k: n/ d; ?, T5 H+ `6 oSelecting previously unselected package apt-rdepends.' \7 a8 ^6 Z2 j
Preparing to unpack .../apt-rdepends_1.3.0-10_all.deb ...3 ~) G$ t' u( c+ J8 A" x4 x
Unpacking apt-rdepends (1.3.0-10) ...
+ t! q0 ~6 Y* |/ L* G. t2 `; TSetting up libapt-pkg-perl (0.1.40+b2) ...
! _! n# @; c% {2 QSetting up apt-rdepends (1.3.0-10) ...) S7 {7 ~8 L- |; n
Processing triggers for man-db (2.11.2-2) ...
) ?% S# D8 ^& J1 K! y5 {8 f4 W- P% \, Q" z! u- [" z
# s  j9 @) N$ A( a  U. ]/ u

+ e7 t+ b' J, p! k, broot@controller:/usr/src/deb# apt rdepends keystone
' n; E. K  m: @keystone
2 Q6 l. W: O0 D( tReverse Depends:
( \) N- ]* v% o. _  Depends: openstack-cloud-identity) I* c% j. `# d2 j7 K. L$ t8 c
root@controller:/usr/src/deb# apt download openstack-cloud-identity 8 X+ ]& q6 f0 j) Y- ^! n% ]0 _0 S4 f
Get:1 http://mirrors.ustc.edu.cn/debian bookworm/main amd64 openstack-cloud-identity all 0.34 [2,568 B]
: W6 `* W! I$ ]0 }/ @, u8 h- l$ VFetched 2,568 B in 0s (15.9 kB/s)            
# r& }: R3 b$ s- F1 R+ HW: 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)9 @' G9 w$ ^. k% w& Z  R* q. O% ~. f
' O" G0 `) l  L2 C0 M

. k2 z" z9 B- a8 x3 [# y& r! o. w' m- {, _7 C

# {9 c% t7 b0 ?! k- I2 ]
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2026-6-12 00:50 , Processed in 0.045907 second(s), 21 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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