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

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

[复制链接]

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
发表于 2025-3-31 21:00:00 | 显示全部楼层 |阅读模式
apt download 下载keystone的包:
7 t# M1 L+ d  a5 R) b- }root@controller:/usr/src/deb# apt download keystone 4 i8 @6 O1 ]+ ?$ T, C$ S" e
Get:1 http://mirrors.ustc.edu.cn/debian bookworm/main amd64 keystone all 2:22.0.0-2 [70.0 kB]
" X! K% C% e; f: ^8 q4 y" PFetched 70.0 kB in 0s (509 kB/s)    : J: X5 Y  M; r; C# |8 n7 E
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)- D: s: b4 b/ b% b- c- u6 `. g

" F8 l  |  ^7 I* d
6 b7 t+ D8 ]% f& s+ z. ?5 a) S% ~. Y; A+ `5 W# W
apt rdepends 下载keystone的依赖包
. B: d* r9 u0 z- z9 n; ?0 \+ e+ P; E/ `3 T/ u9 _+ h3 t

7 D! g! }$ j- J0 B  W  Yapt install apt-rdepends 8 S: D# s( N+ L2 p
Reading package lists... Done
4 X( R' i/ B4 @. T) \$ v# F' o# zBuilding dependency tree... Done
( x5 y) {6 A3 t- \& A6 X7 [  cReading state information... Done
; \  _0 n" [1 M6 u$ SThe following additional packages will be installed:( T, g2 S+ K$ Y' |1 [( d
  libapt-pkg-perl) C  e9 g7 n% \; F& P5 {  D
The following NEW packages will be installed:+ k+ U- e. c' y1 Q% y7 I4 `
  apt-rdepends libapt-pkg-perl
4 b" f9 i  X- S; q, E0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
2 `; s) O1 F3 x+ K9 L( d8 A( LNeed to get 83.4 kB of archives.3 c. D! q$ C+ X9 l7 I
After this operation, 271 kB of additional disk space will be used.
- U1 d. r& v& A' f. K; |Do you want to continue? [Y/n] y
( F: G  B* G5 q5 EGet:1 http://mirrors.ustc.edu.cn/debian bookworm/main amd64 libapt-pkg-perl amd64 0.1.40+b2 [69.2 kB]  N# h: i3 ^/ i/ }) Y
Get:2 http://mirrors.ustc.edu.cn/debian bookworm/main amd64 apt-rdepends all 1.3.0-10 [14.1 kB]
& O3 H; N; U7 E" wFetched 83.4 kB in 0s (325 kB/s)   ' [6 M, T& n& h* t  Y/ Z2 f
Selecting previously unselected package libapt-pkg-perl.
$ Y3 ]) Y6 G+ Z: N9 J" c) \3 a8 Ndpkg: warning: files list file for package 'glance-common' missing; assuming package has no files currently installed
. B# z) m$ {# ?, c" T7 w& R" Sdpkg: warning: files list file for package 'keystone' missing; assuming package has no files currently installed/ @+ c: _8 w' q# K: n+ `
dpkg: warning: files list file for package 'glance-store-common' missing; assuming package has no files currently installed
6 P0 m$ H0 Q% J: i: _dpkg: warning: files list file for package 'glance-api' missing; assuming package has no files currently installed) D, g6 @$ Y. o) R" ?3 T
(Reading database ... 196061 files and directories currently installed.)+ R, a+ v- R+ M( H+ e# ?7 Q
Preparing to unpack .../libapt-pkg-perl_0.1.40+b2_amd64.deb ...
. @" `/ ^; ^5 w8 _( x2 wUnpacking libapt-pkg-perl (0.1.40+b2) ...  F& Z- r( B/ j$ L* v1 {1 B+ T1 R
Selecting previously unselected package apt-rdepends.; S2 L6 z* F6 d% E+ e
Preparing to unpack .../apt-rdepends_1.3.0-10_all.deb ...
# e8 {' d, n% }% {( `/ IUnpacking apt-rdepends (1.3.0-10) ...
5 U0 i+ k0 x: Q- HSetting up libapt-pkg-perl (0.1.40+b2) ...  }) l( a# U, g+ @( D
Setting up apt-rdepends (1.3.0-10) ...& q) a  B6 o- O; U- n+ s/ A
Processing triggers for man-db (2.11.2-2) ...
) l0 f- @4 F( n4 s: [+ K/ L1 g9 K
' R  _. a/ t1 S: R7 X
; [$ t: t2 w" M; k7 G. H4 C5 [6 t' v* g0 D) \6 h* z* X+ o
root@controller:/usr/src/deb# apt rdepends keystone
3 M5 r, C2 @! [7 lkeystone
# y) i  e# a7 tReverse Depends:
+ |- Y4 H7 F9 p, C2 B7 @7 T  Depends: openstack-cloud-identity
' a/ D  n/ p7 C" s5 V) K- Broot@controller:/usr/src/deb# apt download openstack-cloud-identity $ V4 {# N# Y3 Z, p
Get:1 http://mirrors.ustc.edu.cn/debian bookworm/main amd64 openstack-cloud-identity all 0.34 [2,568 B]
/ N- r. ~5 _6 Y) x. h' H7 n2 DFetched 2,568 B in 0s (15.9 kB/s)             ' A; {4 W9 k: V& Z. r
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)
* Q% F% j; s* W( Y+ R9 f6 K: `
1 M6 L, `: E6 T) V* M0 |3 ]& J( [- E9 K) [  O/ ^/ e! J% ^
, B0 Z* b3 I; V  H

5 J! |& _( I! B
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2026-6-12 00:40 , Processed in 0.017523 second(s), 22 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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