【linux系列】(202306)常用命令:yum

1
2
3
4
5
6
yum clean all
yum makecache
yum list --showduplicates | grep libseccomp
yum install --downloadonly --downloaddir . libseccomp
yum install --downloadonly --downloaddir . libseccomp*

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61


[root@ltypaas-xx24b003-zhyw03w temp]# yum install --downloadonly --downloaddir . libseccomp
Last metadata expiration check: 0:01:35 ago on Thu 15 Jun 2023 02:21:25 PM CST.
Package libseccomp-2.5.1-1.uelc20.01.aarch64 is already installed.
Dependencies resolved.
==================================================================================================================================================================
Package Architecture Version Repository Size
==================================================================================================================================================================
Upgrading:
libseccomp aarch64 2.5.2-1.0.4.uelc20.01 UniontechOS-20-BaseOS 69 k

Transaction Summary
==================================================================================================================================================================
Upgrade 1 Package

Total download size: 69 k
YUM will only download packages for the transaction.
Is this ok [y/N]: N
Operation aborted.


[root@ltypaas-xx24b003-zhyw03w temp]# yum install --downloadonly --downloaddir . libseccomp*
Last metadata expiration check: 0:01:46 ago on Thu 15 Jun 2023 02:21:25 PM CST.
Package libseccomp-2.5.1-1.uelc20.01.aarch64 is already installed.
Dependencies resolved.
==================================================================================================================================================================
Package Architecture Version Repository Size
==================================================================================================================================================================
Installing:
libseccomp-devel aarch64 2.5.2-1.0.4.uelc20.01 UniontechOS-20-AppStream 56 k
libseccomp-static aarch64 2.5.2-1.0.4.uelc20.01 UniontechOS-20-Plus 67 k
Upgrading:
libseccomp aarch64 2.5.2-1.0.4.uelc20.01 UniontechOS-20-BaseOS 69 k

Transaction Summary
==================================================================================================================================================================
Install 2 Packages
Upgrade 1 Package

Total download size: 192 k
YUM will only download packages for the transaction.
Is this ok [y/N]: y
Downloading Packages:
(1/3): libseccomp-2.5.2-1.0.4.uelc20.01.aarch64.rpm 34 MB/s | 69 kB 00:00
(2/3): libseccomp-devel-2.5.2-1.0.4.uelc20.01.aarch64.rpm 3.1 MB/s | 56 kB 00:00
(3/3): libseccomp-static-2.5.2-1.0.4.uelc20.01.aarch64.rpm 286 kB/s | 67 kB 00:00
------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 822 kB/s | 192 kB 00:00
Complete!
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'yum clean packages'.



[root@ltypaas-xx24b003-zhyw03w temp]# ll
total 200
-rw-r----- 1 root root 71080 Jun 15 14:23 libseccomp-2.5.2-1.0.4.uelc20.01.aarch64.rpm
-rw-r----- 1 root root 57748 Jun 15 14:23 libseccomp-devel-2.5.2-1.0.4.uelc20.01.aarch64.rpm
-rw-r----- 1 root root 68128 Jun 15 14:23 libseccomp-static-2.5.2-1.0.4.uelc20.01.aarch64.rpm
[root@ltypaas-xx24b003-zhyw03w temp]#

【linux系列】(202306)常用命令:yum
http://example.com/2023/06/15/linux/【linux系列】(202306)常用命令:yum/
作者
ningan123
发布于
2023年6月15日
许可协议