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

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

[复制链接]

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
发表于 2025-3-31 21:00:00 | 显示全部楼层 |阅读模式
apt download 下载keystone的包: 6 r9 R. K( W9 y; @* e6 i9 p; W
root@controller:/usr/src/deb# apt download keystone
6 A& x( O6 X1 @' LGet:1 http://mirrors.ustc.edu.cn/debian bookworm/main amd64 keystone all 2:22.0.0-2 [70.0 kB]
- a, Q2 V3 Z" p) D  tFetched 70.0 kB in 0s (509 kB/s)   
3 X  K% y7 z) n/ V' \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)
& ]8 q/ H. Z. u$ Q  O0 ]. v- R7 J% U) o2 m5 ~- S

' v7 p9 ~, q/ E6 T+ ?1 A) [3 {9 q; r3 G$ J7 k
apt rdepends 下载keystone的依赖包: [' r- k+ n) E/ e5 z
5 V" Y7 k) Z4 z& c0 B

* I8 E" f; f7 ]apt install apt-rdepends 8 h3 ~) D4 k9 q. R  {  w/ \1 f! S
Reading package lists... Done7 b  Z- C$ ]4 o$ ]$ `
Building dependency tree... Done
4 O8 G& B6 i' S5 y6 FReading state information... Done0 ]4 O4 t6 \: ?  {' J& Q
The following additional packages will be installed:1 G3 x% h5 A: y
  libapt-pkg-perl  B% U: z5 V. E7 ?; \% W; Z
The following NEW packages will be installed:# }1 U% v% O; t
  apt-rdepends libapt-pkg-perl5 ]/ H( W" j# r: ]: s: [
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded., l) l, \% k* z6 i. D+ l) a, D* s: W$ Q
Need to get 83.4 kB of archives.
5 M% |0 x2 _; O! |After this operation, 271 kB of additional disk space will be used.8 B' x6 Y6 X. o  M! d8 p
Do you want to continue? [Y/n] y, f$ {% w" v$ u# a
Get:1 http://mirrors.ustc.edu.cn/debian bookworm/main amd64 libapt-pkg-perl amd64 0.1.40+b2 [69.2 kB]
$ |2 g3 @* Q6 {$ E7 o) Q% yGet:2 http://mirrors.ustc.edu.cn/debian bookworm/main amd64 apt-rdepends all 1.3.0-10 [14.1 kB], \" r, O# Z: f+ k$ d+ R- |: L
Fetched 83.4 kB in 0s (325 kB/s)   
! w3 r2 Y7 i/ Q' L0 [Selecting previously unselected package libapt-pkg-perl.
" W4 F+ z2 X! P4 G; [% X! pdpkg: warning: files list file for package 'glance-common' missing; assuming package has no files currently installed+ m& L) X3 Y1 F2 h  K- b1 ^
dpkg: warning: files list file for package 'keystone' missing; assuming package has no files currently installed% d4 e( j* u# V  C3 d. n% g) |
dpkg: warning: files list file for package 'glance-store-common' missing; assuming package has no files currently installed2 \/ }- V- T, X$ b; F) m3 n
dpkg: warning: files list file for package 'glance-api' missing; assuming package has no files currently installed
& |! {  ?( R% `- C. w' o(Reading database ... 196061 files and directories currently installed.)* f* M' V* |. N! W4 _# _/ T
Preparing to unpack .../libapt-pkg-perl_0.1.40+b2_amd64.deb ...: I& {& A9 u; j7 f
Unpacking libapt-pkg-perl (0.1.40+b2) ...
' Y  |$ u: P1 {# Y5 Z  e1 ISelecting previously unselected package apt-rdepends.8 O) T* h* l( [9 ]6 p' ~. l* G
Preparing to unpack .../apt-rdepends_1.3.0-10_all.deb ...
' h4 t+ d! h! ^+ ?& X/ P4 {8 ?Unpacking apt-rdepends (1.3.0-10) ...
0 r. Z( B$ g9 E3 B( WSetting up libapt-pkg-perl (0.1.40+b2) ...4 u4 d# i' N, u7 h8 o. Z# V4 s
Setting up apt-rdepends (1.3.0-10) ...: B$ F5 [6 x& }
Processing triggers for man-db (2.11.2-2) ...$ A! v, O0 \1 T4 l2 t: m' ?

) A4 r% a' @/ r
& ~5 m* ^4 T/ t
* ~9 M( w' E2 c  Qroot@controller:/usr/src/deb# apt rdepends keystone3 n; Z% h7 [& O, S) [
keystone3 Y4 T4 Y* G7 i# I! I
Reverse Depends:
- b0 G9 ?" @9 }% f  Depends: openstack-cloud-identity
% Z1 [- S  n# j& V' |root@controller:/usr/src/deb# apt download openstack-cloud-identity
7 {! l& @* P7 u5 d% ]" Z: r& \4 EGet:1 http://mirrors.ustc.edu.cn/debian bookworm/main amd64 openstack-cloud-identity all 0.34 [2,568 B]& Y/ G+ N# D; Y* U( I
Fetched 2,568 B in 0s (15.9 kB/s)             1 j9 N7 V. i$ d. ?0 f) 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)
0 W% k  j: _- o
3 M/ |& R$ c- Y' d' j
  h( X' m7 P5 a5 v0 h+ I+ p1 g6 T2 b9 ^% i' }
9 E* O9 O5 ^3 m! N0 ?& G
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2026-6-11 23:40 , Processed in 0.023460 second(s), 22 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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