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

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

[复制链接]

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
发表于 2025-3-31 21:00:00 | 显示全部楼层 |阅读模式
apt download 下载keystone的包: ' J6 y$ F) O% G+ t( V) S2 X
root@controller:/usr/src/deb# apt download keystone
/ }; r5 s. J; M3 D" mGet:1 http://mirrors.ustc.edu.cn/debian bookworm/main amd64 keystone all 2:22.0.0-2 [70.0 kB]0 \) r% `! D" _5 d8 Q; L4 |  y
Fetched 70.0 kB in 0s (509 kB/s)   
  }3 d5 n" ?$ [  V  j& FW: 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)
9 B6 d; p4 g5 l+ n) R: U4 L+ S* f# H( I+ {

- |" o7 Y7 Q) a2 C2 r8 V: U0 J! y' j5 d4 E$ h4 w2 w
apt rdepends 下载keystone的依赖包
( t/ O" F6 Z! h  o; ]! A* Q
# \4 p7 ?3 e( C# {6 e  X+ k  G4 o/ E  S: l
apt install apt-rdepends * \: E2 P( c0 O4 i0 R
Reading package lists... Done
; t. |7 h' y+ zBuilding dependency tree... Done
$ [1 I( j) D2 G1 UReading state information... Done
7 I# z: ]8 d( @" U9 L6 g" cThe following additional packages will be installed:; ], v  A* W! A
  libapt-pkg-perl* \6 o; q' e1 W2 r7 j0 i! N
The following NEW packages will be installed:
! g- I: {# ?+ ^; W  apt-rdepends libapt-pkg-perl) z" c4 l! O. k2 F5 R
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
& L/ b; k; q- [9 W1 V' }Need to get 83.4 kB of archives.
; w2 L" C' `* w9 }/ e+ _" C! vAfter this operation, 271 kB of additional disk space will be used.1 n8 L- B) P8 S; G& `' C' ]- {
Do you want to continue? [Y/n] y
0 S% x) s5 x* {# _5 O9 t/ X, zGet:1 http://mirrors.ustc.edu.cn/debian bookworm/main amd64 libapt-pkg-perl amd64 0.1.40+b2 [69.2 kB]/ m& e: g, A/ s, I( c
Get:2 http://mirrors.ustc.edu.cn/debian bookworm/main amd64 apt-rdepends all 1.3.0-10 [14.1 kB]1 `9 O% v+ I! M2 _. B% O5 \/ V
Fetched 83.4 kB in 0s (325 kB/s)   
" d# [9 `4 f! b. t  u5 pSelecting previously unselected package libapt-pkg-perl.
8 d+ U  z7 s1 ^/ ]$ P  f7 b2 q9 Odpkg: warning: files list file for package 'glance-common' missing; assuming package has no files currently installed% l$ z5 V8 y6 s4 A
dpkg: warning: files list file for package 'keystone' missing; assuming package has no files currently installed( v% p9 a2 y" T2 `
dpkg: warning: files list file for package 'glance-store-common' missing; assuming package has no files currently installed
! T/ l- m2 z0 H" K1 Z9 ?- ydpkg: warning: files list file for package 'glance-api' missing; assuming package has no files currently installed& n' T9 x6 v/ @0 R  R
(Reading database ... 196061 files and directories currently installed.)6 q( m0 m: Y" x/ G7 Z& `  M
Preparing to unpack .../libapt-pkg-perl_0.1.40+b2_amd64.deb ...: J: T, ?1 K% m& C0 L- D
Unpacking libapt-pkg-perl (0.1.40+b2) ...
) ]! k, W! c5 w. `7 G. J3 hSelecting previously unselected package apt-rdepends.' Q" @! W! p! ~
Preparing to unpack .../apt-rdepends_1.3.0-10_all.deb ...
- z$ {/ V7 l# \# ?- y2 A0 w1 {Unpacking apt-rdepends (1.3.0-10) ...
8 m0 B& }1 h& GSetting up libapt-pkg-perl (0.1.40+b2) ...
0 r& J* Z8 b  tSetting up apt-rdepends (1.3.0-10) ...
% D' v# x: l; s3 ^8 e9 l, S  VProcessing triggers for man-db (2.11.2-2) ...
' @- O2 C( R8 v& Z7 k, f' R9 I. N. V# m% b
3 V( Y- G' ^4 A; m

) v7 n. D* L7 `3 d0 C! iroot@controller:/usr/src/deb# apt rdepends keystone
; D' \$ L$ `1 Gkeystone
# ]; d; l9 Z0 \* |* E8 ?. _Reverse Depends:, `7 A- f& Q7 [5 x4 a0 K
  Depends: openstack-cloud-identity
) k, P8 v8 f7 w; g: E8 Q/ Uroot@controller:/usr/src/deb# apt download openstack-cloud-identity 8 p9 \9 |3 x$ U" ?0 D7 Z
Get:1 http://mirrors.ustc.edu.cn/debian bookworm/main amd64 openstack-cloud-identity all 0.34 [2,568 B]
5 i* v5 H: }* o& C* ]Fetched 2,568 B in 0s (15.9 kB/s)            
& {. w/ h8 z; Y; I- N$ x( SW: 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)
) n4 X( t7 v  F2 k6 p8 g* C9 S* X' Z0 d+ v  A

# _" M! e6 }' e7 u; B6 D: S- l8 L+ l; x8 @4 {+ g

: V- E4 h: g  [6 U1 D2 @% H
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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