银河麒麟V10 使用yum方法安装posgresql
一、安装环境
虚拟机:银河麒麟V10
二、检查postgres是否安装
1、检查PostgreSQL 是否已经安装
[root@localhost ~]# rpm -qa | grep postgres # 检查PostgreSQL 是否已经安装
[root@localhost ~]# rpm -qal | grep postgres # 检查PostgreSQL 安装位置
如果没有安装,则没有结果输出
三、查看yum自带的postgres版本
通过yum能匹配导相应版本,可以直接进行安装。
(1)首先 yum update 升级,升级时间预计20分钟
![](https://images.cnblogs.com/OutliningIndicators/ContractedBlock.gif)
libsmbclient x86_64 4.11.12-25.p01.ky10 ks10-adv-updates 67 k libtar x86_64 1.2.20-20.ky10 ks10-adv-updates 32 k libwbclient x86_64 4.11.12-25.p01.ky10 ks10-adv-updates 37 k lvm2 x86_64 8:2.03.09-12.p03.ky10 ks10-adv-updates 1.6 M lvm2-dbusd x86_64 8:2.03.09-12.p03.ky10 ks10-adv-updates 111 k lvm2-devel x86_64 8:2.03.09-12.p03.ky10 ks10-adv-updates 45 k lvm2-help noarch 8:2.03.09-12.p03.ky10 ks10-adv-updates 287 k lvm2-lockd x86_64 8:2.03.09-12.p03.ky10 ks10-adv-updates 128 k mariadb x86_64 3:10.3.35-1.p01.ky10 ks10-adv-updates 6.1 M mariadb-common x86_64 3:10.3.35-1.p01.ky10 ks10-adv-updates 29 k mariadb-connector-c x86_64 3.0.6-9.ky10 ks10-adv-updates 127 k mariadb-errmessage x86_64 3:10.3.35-1.p01.ky10 ks10-adv-updates 197 k mariadb-server x86_64 3:10.3.35-1.p01.ky10 ks10-adv-updates 18 M mate-power-manager x86_64 1.12.1-1kord30~rc3.p03.ky10 ks10-adv-updates 2.9 M multipath-tools x86_64 0.8.4-18.ky10 ks10-adv-updates 295 k multipath-tools-help x86_64 0.8.4-18.ky10 ks10-adv-updates 56 k net-snmp x86_64 1:5.9-4.p03.ky10 ks10-adv-updates 814 k net-snmp-help noarch 1:5.9-4.p03.ky10 ks10-adv-updates 424 k net-snmp-libs x86_64 1:5.9-4.p03.ky10 ks10-adv-updates 614 k nss x86_64 3.54.0-8.p02.ky10 ks10-adv-updates 622 k nss-help x86_64 3.54.0-8.p02.ky10 ks10-adv-updates 69 k nss-softokn x86_64 3.54.0-8.p02.ky10 ks10-adv-updates 655 k nss-util x86_64 3.54.0-8.p02.ky10 ks10-adv-updates 442 k ntfs-3g x86_64 2:2022.5.17-2.ky10 ks10-adv-updates 527 k openssl x86_64 1:1.1.1f-15.p07.ky10 ks10-adv-updates 442 k openssl-devel x86_64 1:1.1.1f-15.p07.ky10 ks10-adv-updates 1.8 M openssl-help noarch 1:1.1.1f-15.p07.ky10 ks10-adv-updates 3.1 M openssl-libs x86_64 1:1.1.1f-15.p07.ky10 ks10-adv-updates 1.4 M openssl-perl x86_64 1:1.1.1f-15.p07.ky10 ks10-adv-updates 16 k pam x86_64 1.4.0-8.p03.se.04.ky10 ks10-adv-updates 451 k pam-devel x86_64 1.4.0-8.p03.se.04.ky10 ks10-adv-updates 22 k perl-Git noarch 2.27.0-11.ky10 ks10-adv-updates 26 k pkgconf x86_64 1.7.3-2.ky10 ks10-adv-updates 56 k pluma x86_64 1.16.2-1.ky10.6.p02 ks10-adv-updates 586 k pluma-data noarch 1.16.2-1.ky10.6.p02 ks10-adv-updates 2.7 M ppp x86_64 2.4.8-4.ky10 ks10-adv-updates 299 k python-pip-wheel noarch 20.2.2-6.ky10 ks10-adv-updates 1.3 M python-setuptools noarch 44.1.1-2.ky10 ks10-adv-updates 293 k python2-setuptools noarch 44.1.1-2.ky10 ks10-adv-updates 514 k python3 x86_64 3.7.9-18.se.04.p01.ky10 ks10-adv-updates 7.9 M python3-audit x86_64 1:3.0-6.se.03.ky10 ks10-adv-updates 73 k python3-bind noarch 32:9.11.21-10.p02.ky10 ks10-adv-updates 60 k python3-blivet noarch 1:3.2.2-8.p05.ky10 ks10-adv-updates 547 k python3-devel x86_64 3.7.9-18.se.04.p01.ky10 ks10-adv-updates 10 M python3-help noarch 3.7.9-18.se.04.p01.ky10 ks10-adv-updates 17 k python3-libselinux x86_64 3.1-4.se.03.ky10 ks10-adv-updates 161 k python3-perf x86_64 4.19.90-52.19.v2207.ky10 ks10-adv-updates 860 k python3-rpm x86_64 4.15.1-37.p01.ky10 ks10-adv-updates 70 k python3-setuptools noarch 44.1.1-2.ky10 ks10-adv-updates 508 k qemu-guest-agent x86_64 2:4.1.0-63.p16.ky10 ks10-adv-updates 162 k rpm x86_64 4.15.1-37.p01.ky10 ks10-adv-updates 452 k rpm-build x86_64 4.15.1-37.p01.ky10 ks10-adv-updates 90 k rpm-libs x86_64 4.15.1-37.p01.ky10 ks10-adv-updates 336 k ruby x86_64 2.5.8-118.ky10 ks10-adv-updates 2.7 M ruby-help noarch 2.5.8-118.ky10 ks10-adv-updates 5.3 M ruby-irb noarch 2.5.8-118.ky10 ks10-adv-updates 51 k rubygem-io-console x86_64 0.4.6-118.ky10 ks10-adv-updates 16 k rubygem-json x86_64 2.1.0-118.ky10 ks10-adv-updates 38 k rubygem-openssl x86_64 2.1.2-118.ky10 ks10-adv-updates 130 k rubygem-psych x86_64 3.0.2-118.ky10 ks10-adv-updates 44 k rubygem-rdoc noarch 6.0.1.1-118.ky10 ks10-adv-updates 404 k rubygems noarch 2.7.6-118.ky10 ks10-adv-updates 259 k samba-client x86_64 4.11.12-25.p01.ky10 ks10-adv-updates 5.2 M samba-common x86_64 4.11.12-25.p01.ky10 ks10-adv-updates 100 k selinux-policy noarch 3.14.2-76.se.19.ky10 ks10-adv-updates 30 k selinux-policy-devel noarch 3.14.2-76.se.19.ky10 ks10-adv-updates 932 k selinux-policy-targeted noarch 3.14.2-76.se.19.ky10 ks10-adv-updates 9.0 M shadow x86_64 2:4.8.1-5.se.05.p01.ky10 ks10-adv-updates 599 k sudo x86_64 1.9.2-10.ky10 ks10-adv-updates 822 k sysstat x86_64 12.2.1-2.ky10 ks10-adv-updates 398 k systemd x86_64 243-55.p02.se.01.ky10 ks10-adv-updates 3.4 M systemd-devel x86_64 243-55.p02.se.01.ky10 ks10-adv-updates 343 k systemd-help noarch 243-55.p02.se.01.ky10 ks10-adv-updates 661 k systemd-libs x86_64 243-55.p02.se.01.ky10 ks10-adv-updates 439 k systemd-udev x86_64 243-55.p02.se.01.ky10 ks10-adv-updates 1.3 M ukui-greeter x86_64 1.2.1-48.1.p28.ky10 ks10-adv-updates 1.3 M ukui-screensaver x86_64 0.3.62-1s2.p21.ky10 ks10-adv-updates 207 k vim-common x86_64 2:8.2-63.p01.ky10 ks10-adv-updates 6.8 M vim-enhanced x86_64 2:8.2-63.p01.ky10 ks10-adv-updates 1.3 M vim-filesystem noarch 2:8.2-63.p01.ky10 ks10-adv-updates 17 k vim-minimal x86_64 2:8.2-63.p01.ky10 ks10-adv-updates 609 k xorg-x11-server x86_64 1.20.8-10.p07.ky10 ks10-adv-updates 5.9 M 安装依赖关系: grub2-tools-efi x86_64 1:2.04-21.se.03.p08.ky10 ks10-adv-updates 433 k 移除依赖的软件包: kernel-devel x86_64 4.19.90-52.15.v2207.ky10 @anaconda 47 M 事务概要 ====================================================================================================================================================== 安装 6 软件包 升级 140 软件包 移除 1 软件包 总下载:361 M 确定吗?[y/N]: y 下载软件包: (1/146): grub2-tools-efi-2.04-21.se.03.p08.ky10.x86_64.rpm 119 kB/s | 433 kB 00:03 (2/146): kernel-4.19.90-52.19.v2207.ky10.x86_64.rpm 171 kB/s | 754 kB 00:04 (3/146): kernel-devel-4.19.90-52.19.v2207.ky10.x86_64.rpm 139 kB/s | 13 MB 01:36 (4/146): kernel-modules-extra-4.19.90-52.19.v2207.ky10.x86_64.rpm 139 kB/s | 2.2 MB 00:16 (5/146): OpenIPMI-2.0.29-1.p02.ky10.x86_64.rpm 127 kB/s | 617 kB 00:04 (6/146): anaconda-33.19-31.p16.ky10.x86_64.rpm 174 kB/s | 413 kB 00:02 (7/146): kernel-modules-4.19.90-52.19.v2207.ky10.x86_64.rpm 179 kB/s | 21 MB 01:59 (8/146): anaconda-tui-33.19-31.p16.ky10.x86_64.rpm 138 kB/s | 106 kB 00:00 (9/146): audit-3.0-6.se.03.ky10.x86_64.rpm 121 kB/s | 176 kB 00:01 (10/146): audit-libs-3.0-6.se.03.ky10.x86_64.rpm 314 kB/s | 101 kB 00:00 (11/146): bash-5.0-17.p02.se.04.ky10.x86_64.rpm 163 kB/s | 1.1 MB 00:07 (12/146): anaconda-core-33.19-31.p16.ky10.x86_64.rpm 170 kB/s | 2.4 MB 00:14 (13/146): bind-libs-9.11.21-10.p02.ky10.x86_64.rpm 85 kB/s | 76 kB 00:00 (14/146): bind-9.11.21-10.p02.ky10.x86_64.rpm 231 kB/s | 2.0 MB 00:08 (15/146): bind-utils-9.11.21-10.p02.ky10.x86_64.rpm 199 kB/s | 324 kB 00:01 (16/146): blivet-data-3.2.2-8.p05.ky10.noarch.rpm 164 kB/s | 82 kB 00:00 (17/146): bind-libs-lite-9.11.21-10.p02.ky10.x86_64.rpm 118 kB/s | 1.0 MB 00:08 (18/146): bluez-libs-5.54-11.ky10.x86_64.rpm 198 kB/s | 59 kB 00:00 (19/146): bluez-5.54-11.ky10.x86_64.rpm 173 kB/s | 1.5 MB 00:09 (20/146): curl-7.71.1-20.ky10.x86_64.rpm 204 kB/s | 128 kB 00:00 (21/146): device-mapper-1.02.171-12.p03.ky10.x86_64.rpm 190 kB/s | 221 kB 00:01 (22/146): device-mapper-event-1.02.171-12.p03.ky10.x86_64.rpm 242 kB/s | 43 kB 00:00 (23/146): bpftool-4.19.90-52.19.v2207.ky10.x86_64.rpm 146 kB/s | 1.3 MB 00:09 (24/146): dhcp-help-4.4.2-9.ky10.noarch.rpm 292 kB/s | 245 kB 00:00 (25/146): dmidecode-3.2-3.p01.ky10.x86_64.rpm 184 kB/s | 75 kB 00:00 (26/146): exiv2-0.27.5-2.ky10.x86_64.rpm 133 kB/s | 1.7 MB 00:13 (27/146): dhcp-4.4.2-9.ky10.x86_64.rpm 207 kB/s | 4.4 MB 00:21 (28/146): giflib-5.2.1-3.ky10.x86_64.rpm 342 kB/s | 44 kB 00:00 (29/146): git-2.27.0-11.ky10.x86_64.rpm 215 kB/s | 6.1 MB 00:29 (30/146): grub2-common-2.04-21.se.03.p08.ky10.noarch.rpm 213 kB/s | 2.8 MB 00:13 (31/146): grub2-pc-2.04-21.se.03.p08.ky10.x86_64.rpm 168 kB/s | 11 kB 00:00 (32/146): grub2-pc-modules-2.04-21.se.03.p08.ky10.noarch.rpm 178 kB/s | 919 kB 00:05 (33/146): kernel-core-4.19.90-52.19.v2207.ky10.x86_64.rpm 176 kB/s | 41 MB 03:59 (34/146): grub2-tools-2.04-21.se.03.p08.ky10.x86_64.rpm 143 kB/s | 1.9 MB 00:13 (35/146): grub2-tools-minimal-2.04-21.se.03.p08.ky10.x86_64.rpm 246 kB/s | 367 kB 00:01 (36/146): gvfs-1.40.2-8.p02.ky10.x86_64.rpm 219 kB/s | 525 kB 00:02 (37/146): grub2-tools-extra-2.04-21.se.03.p08.ky10.x86_64.rpm 178 kB/s | 820 kB 00:04 (38/146): gvfs-client-1.40.2-8.p02.ky10.x86_64.rpm 209 kB/s | 736 kB 00:03 (39/146): harfbuzz-devel-2.8.1-3.ky10.x86_64.rpm 99 kB/s | 145 kB 00:01 (40/146): harfbuzz-2.8.1-3.ky10.x86_64.rpm 158 kB/s | 716 kB 00:04 (41/146): kernel-tools-4.19.90-52.19.v2207.ky10.x86_64.rpm 214 kB/s | 924 kB 00:04 (42/146): kpartx-0.8.4-18.ky10.x86_64.rpm 402 kB/s | 37 kB 00:00 (43/146): kernel-tools-libs-4.19.90-52.19.v2207.ky10.x86_64.rpm 94 kB/s | 763 kB 00:08 (44/146): kylin-settings-14.10.63-1s4.p10.ky10.x86_64.rpm 32 kB/s | 57 kB 00:01 (45/146): less-590-2.ky10.x86_64.rpm 79 kB/s | 102 kB 00:01 (46/146): libX11-1.6.9-6.p00.ky10.x86_64.rpm 160 kB/s | 733 kB 00:04 (47/146): libX11-devel-1.6.9-6.p00.ky10.x86_64.rpm 139 kB/s | 684 kB 00:04 (48/146): libarchive-3.4.3-6.ky10.x86_64.rpm 244 kB/s | 486 kB 00:01 (49/146): libchkuid-1.0-3.se.07.ky10.x86_64.rpm 333 kB/s | 15 kB 00:00 (50/146): libcurl-7.71.1-20.ky10.x86_64.rpm 161 kB/s | 249 kB 00:01 (51/146): libdb-5.3.28-36.p02.ky10.x86_64.rpm 193 kB/s | 3.4 MB 00:17 (52/146): libgcc-7.3.0-20220207.45.p01.ky10.x86_64.rpm 198 kB/s | 70 kB 00:00 (53/146): libgexiv2-0.10.8-6.p01.ky10.x86_64.rpm 204 kB/s | 59 kB 00:00 (54/146): libitm-7.3.0-20220207.45.p01.ky10.x86_64.rpm 162 kB/s | 55 kB 00:00 (55/146): libksba-1.4.0-4.ky10.x86_64.rpm 94 kB/s | 140 kB 00:01 (56/146): libkysec-3.3.6-33.se.14.ky10.x86_64.rpm 65 kB/s | 25 kB 00:00 (57/146): libkysec-core-1.0.1-16.se.05.ky10.x86_64.rpm 176 kB/s | 19 kB 00:00 (58/146): libkysec-devel-3.3.6-33.se.14.ky10.x86_64.rpm 88 kB/s | 29 kB 00:00 (59/146): libsecurity1-1.1-17.se.07.ky10.x86_64.rpm 169 kB/s | 14 kB 00:00 (60/146): libsecurity1-devel-1.1-17.se.07.ky10.x86_64.rpm 43 kB/s | 13 kB 00:00 (61/146): libselinux-3.1-4.se.03.ky10.x86_64.rpm 148 kB/s | 112 kB 00:00 (62/146): libselinux-devel-3.1-4.se.03.ky10.x86_64.rpm 232 kB/s | 100 kB 00:00 (63/146): libsmbclient-4.11.12-25.p01.ky10.x86_64.rpm 153 kB/s | 67 kB 00:00 (64/146): libtar-1.2.20-20.ky10.x86_64.rpm 182 kB/s | 32 kB 00:00 (65/146): libwbclient-4.11.12-25.p01.ky10.x86_64.rpm 310 kB/s | 37 kB 00:00 (66/146): lvm2-2.03.09-12.p03.ky10.x86_64.rpm 190 kB/s | 1.6 MB 00:08 (67/146): lvm2-dbusd-2.03.09-12.p03.ky10.x86_64.rpm 144 kB/s | 111 kB 00:00 (68/146): lvm2-devel-2.03.09-12.p03.ky10.x86_64.rpm 151 kB/s | 45 kB 00:00 (69/146): lvm2-help-2.03.09-12.p03.ky10.noarch.rpm 138 kB/s | 287 kB 00:02 (70/146): lvm2-lockd-2.03.09-12.p03.ky10.x86_64.rpm 255 kB/s | 128 kB 00:00 (71/146): mariadb-10.3.35-1.p01.ky10.x86_64.rpm 179 kB/s | 6.1 MB 00:35 (72/146): mariadb-common-10.3.35-1.p01.ky10.x86_64.rpm 329 kB/s | 29 kB 00:00 (73/146): mariadb-connector-c-3.0.6-9.ky10.x86_64.rpm 193 kB/s | 127 kB 00:00 (74/146): mariadb-errmessage-10.3.35-1.p01.ky10.x86_64.rpm 123 kB/s | 197 kB 00:01 (75/146): kylin-control-center-3.9.5-kord172s1.p67.ky10.x86_64.rpm 178 kB/s | 22 MB 02:04 (76/146): mate-power-manager-1.12.1-1kord30~rc3.p03.ky10.x86_64.rpm 189 kB/s | 2.9 MB 00:15 (77/146): multipath-tools-0.8.4-18.ky10.x86_64.rpm 225 kB/s | 295 kB 00:01 (78/146): multipath-tools-help-0.8.4-18.ky10.x86_64.rpm 273 kB/s | 56 kB 00:00 (79/146): net-snmp-5.9-4.p03.ky10.x86_64.rpm 202 kB/s | 814 kB 00:04 (80/146): net-snmp-help-5.9-4.p03.ky10.noarch.rpm 206 kB/s | 424 kB 00:02 (81/146): net-snmp-libs-5.9-4.p03.ky10.x86_64.rpm 129 kB/s | 614 kB 00:04 (82/146): nss-3.54.0-8.p02.ky10.x86_64.rpm 232 kB/s | 622 kB 00:02 (83/146): nss-help-3.54.0-8.p02.ky10.x86_64.rpm 193 kB/s | 69 kB 00:00 (84/146): nss-softokn-3.54.0-8.p02.ky10.x86_64.rpm 131 kB/s | 655 kB 00:04 (85/146): nss-util-3.54.0-8.p02.ky10.x86_64.rpm 171 kB/s | 442 kB 00:02 (86/146): ntfs-3g-2022.5.17-2.ky10.x86_64.rpm 178 kB/s | 527 kB 00:02 (87/146): openssl-1.1.1f-15.p07.ky10.x86_64.rpm 156 kB/s | 442 kB 00:02 (88/146): openssl-devel-1.1.1f-15.p07.ky10.x86_64.rpm 211 kB/s | 1.8 MB 00:08 (89/146): openssl-help-1.1.1f-15.p07.ky10.noarch.rpm 212 kB/s | 3.1 MB 00:15 (90/146): mariadb-server-10.3.35-1.p01.ky10.x86_64.rpm 170 kB/s | 18 MB 01:48 (91/146): openssl-perl-1.1.1f-15.p07.ky10.x86_64.rpm 474 kB/s | 16 kB 00:00 (92/146): openssl-libs-1.1.1f-15.p07.ky10.x86_64.rpm 166 kB/s | 1.4 MB 00:08 (93/146): pam-devel-1.4.0-8.p03.se.04.ky10.x86_64.rpm 332 kB/s | 22 kB 00:00 (94/146): perl-Git-2.27.0-11.ky10.noarch.rpm 321 kB/s | 26 kB 00:00 (95/146): pkgconf-1.7.3-2.ky10.x86_64.rpm 95 kB/s | 56 kB 00:00 (96/146): pam-1.4.0-8.p03.se.04.ky10.x86_64.rpm 326 kB/s | 451 kB 00:01 (97/146): pluma-1.16.2-1.ky10.6.p02.x86_64.rpm 237 kB/s | 586 kB 00:02 (98/146): ppp-2.4.8-4.ky10.x86_64.rpm 160 kB/s | 299 kB 00:01 (99/146): python-pip-wheel-20.2.2-6.ky10.noarch.rpm 161 kB/s | 1.3 MB 00:08 (100/146): python-setuptools-44.1.1-2.ky10.noarch.rpm 175 kB/s | 293 kB 00:01 (101/146): pluma-data-1.16.2-1.ky10.6.p02.noarch.rpm 186 kB/s | 2.7 MB 00:15 (102/146): python2-setuptools-44.1.1-2.ky10.noarch.rpm 206 kB/s | 514 kB 00:02 (103/146): python3-audit-3.0-6.se.03.ky10.x86_64.rpm 141 kB/s | 73 kB 00:00 (104/146): python3-bind-9.11.21-10.p02.ky10.noarch.rpm 389 kB/s | 60 kB 00:00 (105/146): python3-blivet-3.2.2-8.p05.ky10.noarch.rpm 205 kB/s | 547 kB 00:02 (106/146): python3-3.7.9-18.se.04.p01.ky10.x86_64.rpm 186 kB/s | 7.9 MB 00:43 (107/146): python3-help-3.7.9-18.se.04.p01.ky10.noarch.rpm 199 kB/s | 17 kB 00:00 (108/146): python3-libselinux-3.1-4.se.03.ky10.x86_64.rpm 304 kB/s | 161 kB 00:00 (109/146): python3-perf-4.19.90-52.19.v2207.ky10.x86_64.rpm 166 kB/s | 860 kB 00:05 (110/146): python3-rpm-4.15.1-37.p01.ky10.x86_64.rpm 208 kB/s | 70 kB 00:00 (111/146): python3-setuptools-44.1.1-2.ky10.noarch.rpm 193 kB/s | 508 kB 00:02 (112/146): qemu-guest-agent-4.1.0-63.p16.ky10.x86_64.rpm 223 kB/s | 162 kB 00:00 (113/146): rpm-4.15.1-37.p01.ky10.x86_64.rpm 201 kB/s | 452 kB 00:02 (114/146): rpm-build-4.15.1-37.p01.ky10.x86_64.rpm 231 kB/s | 90 kB 00:00 (115/146): rpm-libs-4.15.1-37.p01.ky10.x86_64.rpm 173 kB/s | 336 kB 00:01 (116/146): python3-devel-3.7.9-18.se.04.p01.ky10.x86_64.rpm 193 kB/s | 10 MB 00:55 (117/146): ruby-2.5.8-118.ky10.x86_64.rpm 217 kB/s | 2.7 MB 00:12 (118/146): ruby-irb-2.5.8-118.ky10.noarch.rpm 264 kB/s | 51 kB 00:00 (119/146): rubygem-io-console-0.4.6-118.ky10.x86_64.rpm 346 kB/s | 16 kB 00:00 (120/146): rubygem-json-2.1.0-118.ky10.x86_64.rpm 260 kB/s | 38 kB 00:00 (121/146): rubygem-openssl-2.1.2-118.ky10.x86_64.rpm 106 kB/s | 130 kB 00:01 (122/146): rubygem-psych-3.0.2-118.ky10.x86_64.rpm 330 kB/s | 44 kB 00:00 (123/146): rubygem-rdoc-6.0.1.1-118.ky10.noarch.rpm 266 kB/s | 404 kB 00:01 (124/146): rubygems-2.7.6-118.ky10.noarch.rpm 210 kB/s | 259 kB 00:01 (125/146): ruby-help-2.5.8-118.ky10.noarch.rpm 186 kB/s | 5.3 MB 00:29 (126/146): samba-common-4.11.12-25.p01.ky10.x86_64.rpm 176 kB/s | 100 kB 00:00 (127/146): selinux-policy-3.14.2-76.se.19.ky10.noarch.rpm 327 kB/s | 30 kB 00:00 (128/146): selinux-policy-devel-3.14.2-76.se.19.ky10.noarch.rpm 154 kB/s | 932 kB 00:06 (129/146): samba-client-4.11.12-25.p01.ky10.x86_64.rpm 159 kB/s | 5.2 MB 00:33 (130/146): shadow-4.8.1-5.se.05.p01.ky10.x86_64.rpm 190 kB/s | 599 kB 00:03 (131/146): sudo-1.9.2-10.ky10.x86_64.rpm 147 kB/s | 822 kB 00:05 (132/146): sysstat-12.2.1-2.ky10.x86_64.rpm 145 kB/s | 398 kB 00:02 (133/146): systemd-243-55.p02.se.01.ky10.x86_64.rpm 138 kB/s | 3.4 MB 00:25 (134/146): systemd-devel-243-55.p02.se.01.ky10.x86_64.rpm 251 kB/s | 343 kB 00:01 (135/146): systemd-help-243-55.p02.se.01.ky10.noarch.rpm 206 kB/s | 661 kB 00:03 (136/146): systemd-libs-243-55.p02.se.01.ky10.x86_64.rpm 202 kB/s | 439 kB 00:02 (137/146): selinux-policy-targeted-3.14.2-76.se.19.ky10.noarch.rpm 162 kB/s | 9.0 MB 00:56 (138/146): systemd-udev-243-55.p02.se.01.ky10.x86_64.rpm 242 kB/s | 1.3 MB 00:05 (139/146): ukui-screensaver-0.3.62-1s2.p21.ky10.x86_64.rpm 212 kB/s | 207 kB 00:00 (140/146): ukui-greeter-1.2.1-48.1.p28.ky10.x86_64.rpm 196 kB/s | 1.3 MB 00:06 (141/146): vim-enhanced-8.2-63.p01.ky10.x86_64.rpm 147 kB/s | 1.3 MB 00:09 (142/146): vim-filesystem-8.2-63.p01.ky10.noarch.rpm 193 kB/s | 17 kB 00:00 (143/146): vim-minimal-8.2-63.p01.ky10.x86_64.rpm 160 kB/s | 609 kB 00:03 (144/146): vim-common-8.2-63.p01.ky10.x86_64.rpm 201 kB/s | 6.8 MB 00:34 (145/146): xorg-x11-server-1.20.8-10.p07.ky10.x86_64.rpm 205 kB/s | 5.9 MB 00:29 (146/146): firefox-79.0-7.p05.ky10.x86_64.rpm 145 kB/s | 103 MB 12:09 ------------------------------------------------------------------------------------------------------------------------------------------------------ 总计 411 kB/s | 361 MB 15:00 运行事务检查 事务检查成功。 运行事务测试 事务测试成功。 运行事务 运行脚本: mariadb-connector-c-3.0.6-9.ky10.x86_64 1/1 运行脚本: selinux-policy-targeted-3.14.2-76.se.19.ky10.noarch 1/1 运行脚本: firefox-79.0-7.p05.ky10.x86_64 1/1 准备中 : 1/1 运行脚本: bash-5.0-17.p02.se.04.ky10.x86_64 1/1 升级 : bash-5.0-17.p02.se.04.ky10.x86_64 1/287 升级 : openssl-libs-1:1.1.1f-15.p07.ky10.x86_64 2/287 运行脚本: openssl-libs-1:1.1.1f-15.p07.ky10.x86_64 2/287 升级 : libgcc-7.3.0-20220207.45.p01.ky10.x86_64 3/287 升级 : libX11-1.6.9-6.p00.ky10.x86_64 4/287 升级 : ruby-irb-2.5.8-118.ky10.noarch 5/287 升级 : rubygem-io-console-0.4.6-118.ky10.x86_64 6/287 升级 : rubygem-json-2.1.0-118.ky10.x86_64 7/287 升级 : rubygem-psych-3.0.2-118.ky10.x86_64 8/287 升级 : ruby-2.5.8-118.ky10.x86_64 9/287 升级 : ruby-help-2.5.8-118.ky10.noarch 10/287 升级 : rubygem-rdoc-6.0.1.1-118.ky10.noarch 11/287 升级 : rubygems-2.7.6-118.ky10.noarch 12/287 升级 : rubygem-openssl-2.1.2-118.ky10.x86_64 13/287 升级 : pkgconf-1.7.3-2.ky10.x86_64 14/287 升级 : audit-libs-1:3.0-6.se.03.ky10.x86_64 15/287 升级 : grub2-common-1:2.04-21.se.03.p08.ky10.noarch 16/287 升级 : libsecurity1-1.1-17.se.07.ky10.x86_64 17/287 升级 : libselinux-3.1-4.se.03.ky10.x86_64 18/287 运行脚本: libselinux-3.1-4.se.03.ky10.x86_64 18/287 升级 : systemd-libs-243-55.p02.se.01.ky10.x86_64 19/287 运行脚本: systemd-libs-243-55.p02.se.01.ky10.x86_64 19/287 升级 : libdb-5.3.28-36.p02.ky10.x86_64 20/287 运行脚本: libdb-5.3.28-36.p02.ky10.x86_64 20/287 升级 : libarchive-3.4.3-6.ky10.x86_64 21/287 升级 : libcurl-7.71.1-20.ky10.x86_64 22/287 升级 : mariadb-connector-c-3.0.6-9.ky10.x86_64 23/287 升级 : mariadb-common-3:10.3.35-1.p01.ky10.x86_64 24/287 警告:/etc/my.cnf 已建立为 /etc/my.cnf.rpmnew 升级 : net-snmp-libs-1:5.9-4.p03.ky10.x86_64 25/287 升级 : libchkuid-1.0-3.se.07.ky10.x86_64 26/287 运行脚本: libchkuid-1.0-3.se.07.ky10.x86_64 26/287 升级 : nss-softokn-3.54.0-8.p02.ky10.x86_64 27/287 升级 : nss-util-3.54.0-8.p02.ky10.x86_64 28/287 升级 : nss-3.54.0-8.p02.ky10.x86_64 29/287 运行脚本: nss-3.54.0-8.p02.ky10.x86_64 29/287 升级 : multipath-tools-help-0.8.4-18.ky10.x86_64 30/287 升级 : mariadb-errmessage-3:10.3.35-1.p01.ky10.x86_64 31/287 升级 : curl-7.71.1-20.ky10.x86_64 32/287 升级 : rpm-libs-4.15.1-37.p01.ky10.x86_64 33/287 运行脚本: rpm-libs-4.15.1-37.p01.ky10.x86_64 33/287 升级 : rpm-4.15.1-37.p01.ky10.x86_64 34/287 运行脚本: rpm-4.15.1-37.p01.ky10.x86_64 34/287 升级 : selinux-policy-3.14.2-76.se.19.ky10.noarch 35/287 运行脚本: selinux-policy-3.14.2-76.se.19.ky10.noarch 35/287 升级 : libselinux-devel-3.1-4.se.03.ky10.x86_64 36/287 升级 : vim-minimal-2:8.2-63.p01.ky10.x86_64 37/287 升级 : libsecurity1-devel-1.1-17.se.07.ky10.x86_64 38/287 升级 : grub2-pc-modules-1:2.04-21.se.03.p08.ky10.noarch 39/287 升级 : mate-power-manager-1.12.1-1kord30~rc3.p03.ky10.x86_64 40/287 运行脚本: mate-power-manager-1.12.1-1kord30~rc3.p03.ky10.x86_64 40/287 升级 : exiv2-0.27.5-2.ky10.x86_64 41/287 升级 : harfbuzz-2.8.1-3.ky10.x86_64 42/287 升级 : kernel-tools-libs-4.19.90-52.19.v2207.ky10.x86_64 43/287 运行脚本: kernel-tools-libs-4.19.90-52.19.v2207.ky10.x86_64 43/287 升级 : vim-filesystem-2:8.2-63.p01.ky10.noarch 44/287 升级 : vim-common-2:8.2-63.p01.ky10.x86_64 45/287 升级 : systemd-help-243-55.p02.se.01.ky10.noarch 46/287 升级 : python3-help-3.7.9-18.se.04.p01.ky10.noarch 47/287 升级 : python-setuptools-44.1.1-2.ky10.noarch 48/287 升级 : python-pip-wheel-20.2.2-6.ky10.noarch 49/287 升级 : openssl-help-1:1.1.1f-15.p07.ky10.noarch 50/287 升级 : openssl-1:1.1.1f-15.p07.ky10.x86_64 51/287 升级 : net-snmp-help-1:5.9-4.p03.ky10.noarch 52/287 升级 : lvm2-help-8:2.03.09-12.p03.ky10.noarch 53/287 升级 : libkysec-core-1.0.1-16.se.05.ky10.x86_64 54/287 升级 : libkysec-3.3.6-33.se.14.ky10.x86_64 55/287 运行脚本: libkysec-3.3.6-33.se.14.ky10.x86_64 55/287 升级 : python3-setuptools-44.1.1-2.ky10.noarch 56/287 升级 : python3-3.7.9-18.se.04.p01.ky10.x86_64 57/287 升级 : python3-libselinux-3.1-4.se.03.ky10.x86_64 58/287 升级 : shadow-2:4.8.1-5.se.05.p01.ky10.x86_64 59/287 运行脚本: shadow-2:4.8.1-5.se.05.p01.ky10.x86_64 59/287 升级 : pam-1.4.0-8.p03.se.04.ky10.x86_64 60/287 运行脚本: pam-1.4.0-8.p03.se.04.ky10.x86_64 60/287 运行脚本: systemd-243-55.p02.se.01.ky10.x86_64 61/287 升级 : systemd-243-55.p02.se.01.ky10.x86_64 61/287 运行脚本: systemd-243-55.p02.se.01.ky10.x86_64 61/287 运行脚本: audit-1:3.0-6.se.03.ky10.x86_64 62/287 升级 : audit-1:3.0-6.se.03.ky10.x86_64 62/287 运行脚本: audit-1:3.0-6.se.03.ky10.x86_64 62/287 升级 : device-mapper-8:1.02.171-12.p03.ky10.x86_64 63/287 运行脚本: device-mapper-8:1.02.171-12.p03.ky10.x86_64 63/287 升级 : bind-libs-32:9.11.21-10.p02.ky10.x86_64 64/287 运行脚本: bind-libs-32:9.11.21-10.p02.ky10.x86_64 64/287 升级 : bind-libs-lite-32:9.11.21-10.p02.ky10.x86_64 65/287 运行脚本: bind-libs-lite-32:9.11.21-10.p02.ky10.x86_64 65/287 升级 : python3-bind-32:9.11.21-10.p02.ky10.noarch 66/287 运行脚本: bind-32:9.11.21-10.p02.ky10.x86_64 67/287 升级 : bind-32:9.11.21-10.p02.ky10.x86_64 67/287 运行脚本: bind-32:9.11.21-10.p02.ky10.x86_64 67/287 升级 : libsmbclient-4.11.12-25.p01.ky10.x86_64 68/287 升级 : libwbclient-4.11.12-25.p01.ky10.x86_64 69/287 升级 : samba-client-4.11.12-25.p01.ky10.x86_64 70/287 运行脚本: samba-client-4.11.12-25.p01.ky10.x86_64 70/287 运行脚本: samba-common-4.11.12-25.p01.ky10.x86_64 71/287 升级 : samba-common-4.11.12-25.p01.ky10.x86_64 71/287 运行脚本: samba-common-4.11.12-25.p01.ky10.x86_64 71/287 升级 : device-mapper-event-8:1.02.171-12.p03.ky10.x86_64 72/287 运行脚本: device-mapper-event-8:1.02.171-12.p03.ky10.x86_64 72/287 升级 : lvm2-8:2.03.09-12.p03.ky10.x86_64 73/287 运行脚本: lvm2-8:2.03.09-12.p03.ky10.x86_64 73/287 升级 : grub2-tools-minimal-1:2.04-21.se.03.p08.ky10.x86_64 74/287 运行脚本: systemd-udev-243-55.p02.se.01.ky10.x86_64 75/287 升级 : systemd-udev-243-55.p02.se.01.ky10.x86_64 75/287 运行脚本: systemd-udev-243-55.p02.se.01.ky10.x86_64 75/287 安装 : kernel-core-4.19.90-52.19.v2207.ky10.x86_64 76/287 运行脚本: kernel-core-4.19.90-52.19.v2207.ky10.x86_64 76/287 安装 : kernel-modules-4.19.90-52.19.v2207.ky10.x86_64 77/287 运行脚本: kernel-modules-4.19.90-52.19.v2207.ky10.x86_64 77/287 安装 : kernel-modules-extra-4.19.90-52.19.v2207.ky10.x86_64 78/287 运行脚本: kernel-modules-extra-4.19.90-52.19.v2207.ky10.x86_64 78/287 升级 : grub2-tools-extra-1:2.04-21.se.03.p08.ky10.x86_64 79/287 运行脚本: grub2-tools-1:2.04-21.se.03.p08.ky10.x86_64 80/287 升级 : grub2-tools-1:2.04-21.se.03.p08.ky10.x86_64 80/287 运行脚本: grub2-tools-1:2.04-21.se.03.p08.ky10.x86_64 80/287 升级 : kpartx-0.8.4-18.ky10.x86_64 81/287 升级 : mariadb-3:10.3.35-1.p01.ky10.x86_64 82/287 运行脚本: mariadb-server-3:10.3.35-1.p01.ky10.x86_64 83/287 升级 : mariadb-server-3:10.3.35-1.p01.ky10.x86_64 83/287 运行脚本: mariadb-server-3:10.3.35-1.p01.ky10.x86_64 83/287 升级 : systemd-devel-243-55.p02.se.01.ky10.x86_64 84/287 升级 : blivet-data-1:3.2.2-8.p05.ky10.noarch 85/287 升级 : python3-blivet-1:3.2.2-8.p05.ky10.noarch 86/287 升级 : python3-rpm-4.15.1-37.p01.ky10.x86_64 87/287 升级 : libkysec-devel-3.3.6-33.se.14.ky10.x86_64 88/287 升级 : pluma-1.16.2-1.ky10.6.p02.x86_64 89/287 运行脚本: pluma-1.16.2-1.ky10.6.p02.x86_64 89/287 升级 : pluma-data-1.16.2-1.ky10.6.p02.noarch 90/287 运行脚本: pluma-data-1.16.2-1.ky10.6.p02.noarch 90/287 升级 : less-590-2.ky10.x86_64 91/287 升级 : perl-Git-2.27.0-11.ky10.noarch 92/287 升级 : git-2.27.0-11.ky10.x86_64 93/287 升级 : gvfs-client-1.40.2-8.p02.ky10.x86_64 94/287 升级 : dhcp-help-12:4.4.2-9.ky10.noarch 95/287 运行脚本: dhcp-12:4.4.2-9.ky10.x86_64 96/287 升级 : dhcp-12:4.4.2-9.ky10.x86_64 96/287 运行脚本: dhcp-12:4.4.2-9.ky10.x86_64 96/287 升级 : anaconda-tui-33.19-31.p16.ky10.x86_64 97/287 升级 : anaconda-core-33.19-31.p16.ky10.x86_64 98/287 升级 : bluez-libs-5.54-11.ky10.x86_64 99/287 升级 : bluez-5.54-11.ky10.x86_64 100/287 运行脚本: bluez-5.54-11.ky10.x86_64 100/287 升级 : anaconda-33.19-31.p16.ky10.x86_64 101/287 运行脚本: anaconda-33.19-31.p16.ky10.x86_64 101/287 升级 : gvfs-1.40.2-8.p02.ky10.x86_64 102/287 运行脚本: gvfs-1.40.2-8.p02.ky10.x86_64 102/287 升级 : rpm-build-4.15.1-37.p01.ky10.x86_64 103/287 升级 : python3-devel-3.7.9-18.se.04.p01.ky10.x86_64 104/287 升级 : lvm2-devel-8:2.03.09-12.p03.ky10.x86_64 105/287 升级 : multipath-tools-0.8.4-18.ky10.x86_64 106/287 运行脚本: multipath-tools-0.8.4-18.ky10.x86_64 106/287 升级 : grub2-pc-1:2.04-21.se.03.p08.ky10.x86_64 107/287 安装 : kernel-4.19.90-52.19.v2207.ky10.x86_64 108/287 升级 : lvm2-dbusd-8:2.03.09-12.p03.ky10.x86_64 109/287 运行脚本: lvm2-dbusd-8:2.03.09-12.p03.ky10.x86_64 109/287 升级 : lvm2-lockd-8:2.03.09-12.p03.ky10.x86_64 110/287 运行脚本: lvm2-lockd-8:2.03.09-12.p03.ky10.x86_64 110/287 升级 : bind-utils-32:9.11.21-10.p02.ky10.x86_64 111/287 安装 : grub2-tools-efi-1:2.04-21.se.03.p08.ky10.x86_64 112/287 升级 : python3-audit-1:3.0-6.se.03.ky10.x86_64 113/287 升级 : OpenIPMI-2.0.29-1.p02.ky10.x86_64 114/287 运行脚本: OpenIPMI-2.0.29-1.p02.ky10.x86_64 114/287 升级 : net-snmp-1:5.9-4.p03.ky10.x86_64 115/287 运行脚本: net-snmp-1:5.9-4.p03.ky10.x86_64 115/287 运行脚本: ppp-2.4.8-4.ky10.x86_64 116/287 升级 : ppp-2.4.8-4.ky10.x86_64 116/287 运行脚本: ppp-2.4.8-4.ky10.x86_64 116/287 升级 : qemu-guest-agent-2:4.1.0-63.p16.ky10.x86_64 117/287 运行脚本: qemu-guest-agent-2:4.1.0-63.p16.ky10.x86_64 117/287 运行脚本: sysstat-12.2.1-2.ky10.x86_64 118/287 升级 : sysstat-12.2.1-2.ky10.x86_64 118/287 运行脚本: sysstat-12.2.1-2.ky10.x86_64 118/287 升级 : xorg-x11-server-1.20.8-10.p07.ky10.x86_64 119/287 升级 : pam-devel-1.4.0-8.p03.se.04.ky10.x86_64 120/287 升级 : sudo-1.9.2-10.ky10.x86_64 121/287 运行脚本: sudo-1.9.2-10.ky10.x86_64 121/287 升级 : ukui-greeter-1.2.1-48.1.p28.ky10.x86_64 122/287 升级 : ukui-screensaver-0.3.62-1s2.p21.ky10.x86_64 123/287 升级 : python3-perf-4.19.90-52.19.v2207.ky10.x86_64 124/287 升级 : vim-enhanced-2:8.2-63.p01.ky10.x86_64 125/287 升级 : kylin-control-center-3.9.5-kord172s1.p67.ky10.x86_64 126/287 运行脚本: kylin-control-center-3.9.5-kord172s1.p67.ky10.x86_64 126/287 升级 : openssl-perl-1:1.1.1f-15.p07.ky10.x86_64 127/287 升级 : kernel-tools-4.19.90-52.19.v2207.ky10.x86_64 128/287 升级 : harfbuzz-devel-2.8.1-3.ky10.x86_64 129/287 运行脚本: libgexiv2-0.10.8-6.p01.ky10.x86_64 130/287 升级 : libgexiv2-0.10.8-6.p01.ky10.x86_64 130/287 升级 : selinux-policy-devel-3.14.2-76.se.19.ky10.noarch 131/287 运行脚本: selinux-policy-devel-3.14.2-76.se.19.ky10.noarch 131/287 运行脚本: selinux-policy-targeted-3.14.2-76.se.19.ky10.noarch 132/287 升级 : selinux-policy-targeted-3.14.2-76.se.19.ky10.noarch 132/287 运行脚本: selinux-policy-targeted-3.14.2-76.se.19.ky10.noarch 132/287 运行脚本: firefox-79.0-7.p05.ky10.x86_64 133/287 升级 : firefox-79.0-7.p05.ky10.x86_64 133/287 运行脚本: firefox-79.0-7.p05.ky10.x86_64 133/287 升级 : libX11-devel-1.6.9-6.p00.ky10.x86_64 134/287 升级 : openssl-devel-1:1.1.1f-15.p07.ky10.x86_64 135/287 安装 : kernel-devel-4.19.90-52.19.v2207.ky10.x86_64 136/287 运行脚本: kernel-devel-4.19.90-52.19.v2207.ky10.x86_64 136/287 运行脚本: kylin-settings-14.10.63-1s4.p10.ky10.x86_64 137/287 升级 : kylin-settings-14.10.63-1s4.p10.ky10.x86_64 137/287 运行脚本: kylin-settings-14.10.63-1s4.p10.ky10.x86_64 137/287 运行脚本: libksba-1.4.0-4.ky10.x86_64 138/287 升级 : libksba-1.4.0-4.ky10.x86_64 138/287 运行脚本: libksba-1.4.0-4.ky10.x86_64 138/287 升级 : python2-setuptools-44.1.1-2.ky10.noarch 139/287 升级 : ntfs-3g-2:2022.5.17-2.ky10.x86_64 140/287 升级 : nss-help-3.54.0-8.p02.ky10.x86_64 141/287 升级 : libtar-1.2.20-20.ky10.x86_64 142/287 升级 : libitm-7.3.0-20220207.45.p01.ky10.x86_64 143/287 升级 : giflib-5.2.1-3.ky10.x86_64 144/287 升级 : dmidecode-1:3.2-3.p01.ky10.x86_64 145/287 升级 : bpftool-4.19.90-52.19.v2207.ky10.x86_64 146/287 运行脚本: firefox-79.0-7.p03.ky10.x86_64 147/287 清理 : firefox-79.0-7.p03.ky10.x86_64 147/287 运行脚本: firefox-79.0-7.p03.ky10.x86_64 147/287 清理 : nss-softokn-3.54.0-8.p01.ky10.x86_64 148/287 清理 : nss-util-3.54.0-8.p01.ky10.x86_64 149/287 清理 : nss-3.54.0-8.p01.ky10.x86_64 150/287 运行脚本: nss-3.54.0-8.p01.ky10.x86_64 150/287 运行脚本: multipath-tools-0.8.4-12.ky10.x86_64 151/287 清理 : multipath-tools-0.8.4-12.ky10.x86_64 151/287 运行脚本: multipath-tools-0.8.4-12.ky10.x86_64 151/287 运行脚本: net-snmp-1:5.9-4.p01.ky10.x86_64 152/287 清理 : net-snmp-1:5.9-4.p01.ky10.x86_64 152/287 运行脚本: net-snmp-1:5.9-4.p01.ky10.x86_64 152/287 清理 : ppp-2.4.8-1.ky10.x86_64 153/287 运行脚本: bluez-5.54-7.ky10.x86_64 154/287 清理 : bluez-5.54-7.ky10.x86_64 154/287 运行脚本: bluez-5.54-7.ky10.x86_64 154/287 运行脚本: lvm2-lockd-8:2.03.09-12.p01.ky10.x86_64 155/287 清理 : lvm2-lockd-8:2.03.09-12.p01.ky10.x86_64 155/287 运行脚本: lvm2-lockd-8:2.03.09-12.p01.ky10.x86_64 155/287 清理 : xorg-x11-server-1.20.8-10.p06.ky10.x86_64 156/287 运行脚本: qemu-guest-agent-2:4.1.0-63.p14.ky10.x86_64 157/287 清理 : qemu-guest-agent-2:4.1.0-63.p14.ky10.x86_64 157/287 运行脚本: qemu-guest-agent-2:4.1.0-63.p14.ky10.x86_64 157/287 清理 : bind-utils-32:9.11.21-10.ky10.x86_64 158/287 清理 : anaconda-33.19-31.p14.ky10.x86_64 159/287 运行脚本: anaconda-33.19-31.p14.ky10.x86_64 159/287 清理 : anaconda-core-33.19-31.p14.ky10.x86_64 160/287 运行脚本: dhcp-12:4.4.2-7.ky10.x86_64 161/287 清理 : dhcp-12:4.4.2-7.ky10.x86_64 161/287 运行脚本: dhcp-12:4.4.2-7.ky10.x86_64 161/287 运行脚本: OpenIPMI-2.0.29-1.ky10.x86_64 162/287 清理 : OpenIPMI-2.0.29-1.ky10.x86_64 162/287 运行脚本: OpenIPMI-2.0.29-1.ky10.x86_64 162/287 运行脚本: lvm2-dbusd-8:2.03.09-12.p01.ky10.x86_64 163/287 清理 : lvm2-dbusd-8:2.03.09-12.p01.ky10.x86_64 163/287 运行脚本: lvm2-dbusd-8:2.03.09-12.p01.ky10.x86_64 163/287 清理 : selinux-policy-targeted-3.14.2-76.se.14.ky10.noarch 164/287 运行脚本: selinux-policy-targeted-3.14.2-76.se.14.ky10.noarch 164/287 清理 : lvm2-devel-8:2.03.09-12.p01.ky10.x86_64 165/287 清理 : python3-blivet-1:3.2.2-8.p04.ky10.noarch 166/287 清理 : openssl-devel-1:1.1.1f-15.p06.ky10.x86_64 167/287 清理 : grub2-pc-1:2.04-21.se.01.p08.ky10.x86_64 168/287 运行脚本: lvm2-8:2.03.09-12.p01.ky10.x86_64 169/287 清理 : lvm2-8:2.03.09-12.p01.ky10.x86_64 169/287 运行脚本: lvm2-8:2.03.09-12.p01.ky10.x86_64 169/287 运行脚本: device-mapper-event-8:1.02.171-12.p01.ky10.x86_64 170/287 清理 : device-mapper-event-8:1.02.171-12.p01.ky10.x86_64 170/287 运行脚本: device-mapper-event-8:1.02.171-12.p01.ky10.x86_64 170/287 运行脚本: systemd-udev-243-55.p01.se.01.ky10.x86_64 171/287 清理 : systemd-udev-243-55.p01.se.01.ky10.x86_64 171/287 运行脚本: systemd-udev-243-55.p01.se.01.ky10.x86_64 171/287 清理 : rpm-build-4.15.1-36.p01.ky10.x86_64 172/287 清理 : git-2.27.0-8.ky10.x86_64 173/287 清理 : mariadb-3:10.3.9-12.p01.ky10.x86_64 174/287 运行脚本: mariadb-server-3:10.3.9-12.p01.ky10.x86_64 175/287 清理 : mariadb-server-3:10.3.9-12.p01.ky10.x86_64 175/287 运行脚本: mariadb-server-3:10.3.9-12.p01.ky10.x86_64 175/287 清理 : python3-rpm-4.15.1-36.p01.ky10.x86_64 176/287 清理 : gvfs-1.40.2-8.p01.ky10.x86_64 177/287 运行脚本: samba-client-4.11.12-15.p01.ky10.x86_64 178/287 清理 : samba-client-4.11.12-15.p01.ky10.x86_64 178/287 运行脚本: samba-client-4.11.12-15.p01.ky10.x86_64 178/287 清理 : libsmbclient-4.11.12-15.p01.ky10.x86_64 179/287 运行脚本: libwbclient-4.11.12-15.p01.ky10.x86_64 180/287 清理 : libwbclient-4.11.12-15.p01.ky10.x86_64 180/287 清理 : samba-common-4.11.12-15.p01.ky10.x86_64 181/287 运行脚本: samba-common-4.11.12-15.p01.ky10.x86_64 181/287 清理 : grub2-tools-1:2.04-21.se.01.p08.ky10.x86_64 182/287 清理 : vim-enhanced-2:8.2-58.p01.ky10.x86_64 183/287 运行脚本: sysstat-12.2.1-1.p00.ky10.x86_64 184/287 清理 : sysstat-12.2.1-1.p00.ky10.x86_64 184/287 运行脚本: sysstat-12.2.1-1.p00.ky10.x86_64 184/287 清理 : sudo-1.9.2-5.ky10.x86_64 185/287 运行脚本: sudo-1.9.2-5.ky10.x86_64 185/287 清理 : python3-devel-3.7.9-18.se.03.ky10.x86_64 186/287 清理 : ruby-irb-2.5.8-116.ky10.noarch 187/287 清理 : rubygem-json-2.1.0-116.ky10.x86_64 188/287 清理 : rubygem-rdoc-6.0.1.1-116.ky10.noarch 189/287 清理 : ruby-help-2.5.8-116.ky10.noarch 190/287 清理 : rubygem-psych-3.0.2-116.ky10.x86_64 191/287 清理 : rubygem-io-console-0.4.6-116.ky10.x86_64 192/287 清理 : rubygems-2.7.6-116.ky10.noarch 193/287 清理 : ruby-2.5.8-116.ky10.x86_64 194/287 清理 : rubygem-openssl-2.1.2-116.ky10.x86_64 195/287 清理 : mariadb-connector-c-3.0.6-8.ky10.x86_64 196/287 清理 : python3-libselinux-3.1-4.se.02.ky10.x86_64 197/287 清理 : bind-libs-lite-32:9.11.21-10.ky10.x86_64 198/287 运行脚本: bind-libs-lite-32:9.11.21-10.ky10.x86_64 198/287 清理 : bind-libs-32:9.11.21-10.ky10.x86_64 199/287 运行脚本: bind-libs-32:9.11.21-10.ky10.x86_64 199/287 清理 : python3-bind-32:9.11.21-10.ky10.noarch 200/287 运行脚本: bind-32:9.11.21-10.ky10.x86_64 201/287 清理 : bind-32:9.11.21-10.ky10.x86_64 201/287 运行脚本: bind-32:9.11.21-10.ky10.x86_64 201/287 清理 : ukui-greeter-1.2.1-48.1.p25.ky10.x86_64 202/287 运行脚本: ukui-greeter-1.2.1-48.1.p25.ky10.x86_64 202/287 清理 : grub2-tools-extra-1:2.04-21.se.01.p08.ky10.x86_64 203/287 清理 : kpartx-0.8.4-12.ky10.x86_64 204/287 清理 : ukui-screensaver-0.3.62-1s2.p20.ky10.x86_64 205/287 清理 : pluma-1.16.2-1.ky10.6.ky10.x86_64 206/287 运行脚本: pluma-1.16.2-1.ky10.6.ky10.x86_64 206/287 运行脚本: libgexiv2-0.10.8-6.ky10.x86_64 207/287 清理 : libgexiv2-0.10.8-6.ky10.x86_64 207/287 清理 : kylin-control-center-3.9.5-kord172s1.p61.ky10.x86_64 208/287 清理 : harfbuzz-devel-2.8.1-2.ky10.x86_64 209/287 清理 : pluma-data-1.16.2-1.ky10.6.ky10.noarch 210/287 运行脚本: pluma-data-1.16.2-1.ky10.6.ky10.noarch 210/287 清理 : pam-devel-1.4.0-8.p03.se.02.ky10.x86_64 211/287 运行脚本: kylin-settings-14.10.63-1s4.p09.ky10.x86_64 212/287 清理 : kylin-settings-14.10.63-1s4.p09.ky10.x86_64 212/287 运行脚本: kylin-settings-14.10.63-1s4.p09.ky10.x86_64 212/287 清理 : libselinux-devel-3.1-4.se.02.ky10.x86_64 213/287 清理 : libkysec-devel-3.3.6-33.se.12.ky10.x86_64 214/287 清理 : systemd-devel-243-55.p01.se.01.ky10.x86_64 215/287 清理 : selinux-policy-devel-3.14.2-76.se.14.ky10.noarch 216/287 清理 : selinux-policy-3.14.2-76.se.14.ky10.noarch 217/287 运行脚本: selinux-policy-3.14.2-76.se.14.ky10.noarch 217/287 清理 : libX11-devel-1.6.9-5.ky10.x86_64 218/287 清理 : rpm-4.15.1-36.p01.ky10.x86_64 219/287 运行脚本: rpm-4.15.1-36.p01.ky10.x86_64 219/287 清理 : rpm-libs-4.15.1-36.p01.ky10.x86_64 220/287 运行脚本: rpm-libs-4.15.1-36.p01.ky10.x86_64 220/287 清理 : curl-7.71.1-12.ky10.x86_64 221/287 清理 : libcurl-7.71.1-12.ky10.x86_64 222/287 清理 : mate-power-manager-1.12.1-1kord30~rc3.p02.ky10.x86_64 223/287 运行脚本: mate-power-manager-1.12.1-1kord30~rc3.p02.ky10.x86_64 223/287 清理 : grub2-tools-minimal-1:2.04-21.se.01.p08.ky10.x86_64 224/287 清理 : device-mapper-8:1.02.171-12.p01.ky10.x86_64 225/287 运行脚本: device-mapper-8:1.02.171-12.p01.ky10.x86_64 225/287 清理 : net-snmp-libs-1:5.9-4.p01.ky10.x86_64 226/287 清理 : python3-audit-1:3.0-6.se.02.ky10.x86_64 227/287 清理 : shadow-2:4.8.1-5.se.03.p01.ky10.x86_64 228/287 清理 : pam-1.4.0-8.p03.se.02.ky10.x86_64 229/287 运行脚本: pam-1.4.0-8.p03.se.02.ky10.x86_64 229/287 运行脚本: audit-1:3.0-6.se.02.ky10.x86_64 230/287 清理 : audit-1:3.0-6.se.02.ky10.x86_64 230/287 运行脚本: audit-1:3.0-6.se.02.ky10.x86_64 230/287 运行脚本: systemd-243-55.p01.se.01.ky10.x86_64 231/287 清理 : systemd-243-55.p01.se.01.ky10.x86_64 231/287 清理 : systemd-libs-243-55.p01.se.01.ky10.x86_64 232/287 清理 : vim-common-2:8.2-58.p01.ky10.x86_64 233/287 清理 : libchkuid-1.0-3.se.06.ky10.x86_64 234/287 运行脚本: libchkuid-1.0-3.se.06.ky10.x86_64 234/287 运行脚本: libdb-5.3.28-36.p01.ky10.x86_64 235/287 清理 : libdb-5.3.28-36.p01.ky10.x86_64 235/287 清理 : libarchive-3.4.3-5.ky10.x86_64 236/287 清理 : exiv2-0.26-27.ky10.x86_64 237/287 清理 : vim-minimal-2:8.2-58.p01.ky10.x86_64 238/287 清理 : python3-perf-4.19.90-52.15.v2207.ky10.x86_64 239/287 运行脚本: libksba-1.4.0-2.ky10.x86_64 240/287 清理 : libksba-1.4.0-2.ky10.x86_64 240/287 运行脚本: libksba-1.4.0-2.ky10.x86_64 240/287 清理 : kernel-tools-4.19.90-52.15.v2207.ky10.x86_64 241/287 清理 : libsecurity1-devel-1.1-17.se.05.ky10.x86_64 242/287 清理 : mariadb-errmessage-3:10.3.9-12.p01.ky10.x86_64 243/287 清理 : grub2-pc-modules-1:2.04-21.se.01.p08.ky10.noarch 244/287 清理 : grub2-common-1:2.04-21.se.01.p08.ky10.noarch 245/287 清理 : blivet-data-1:3.2.2-8.p04.ky10.noarch 246/287 清理 : anaconda-tui-33.19-31.p14.ky10.x86_64 247/287 删除 : kernel-devel-4.19.90-52.15.v2207.ky10.x86_64 248/287 清理 : openssl-perl-1:1.1.1f-15.p06.ky10.x86_64 249/287 清理 : mariadb-common-3:10.3.9-12.p01.ky10.x86_64 250/287 清理 : vim-filesystem-2:8.2-58.p01.ky10.noarch 251/287 清理 : systemd-help-243-55.p01.se.01.ky10.noarch 252/287 清理 : multipath-tools-help-0.8.4-12.ky10.x86_64 253/287 清理 : perl-Git-2.27.0-8.ky10.noarch 254/287 清理 : lvm2-help-8:2.03.09-12.p01.ky10.noarch 255/287 清理 : dhcp-help-12:4.4.2-7.ky10.noarch 256/287 清理 : net-snmp-help-1:5.9-4.p01.ky10.noarch 257/287 清理 : nss-help-3.54.0-8.p01.ky10.x86_64 258/287 清理 : python2-setuptools-44.1.1-1.ky10.noarch 259/287 清理 : python3-setuptools-44.1.1-1.ky10.noarch 260/287 清理 : python3-3.7.9-18.se.03.ky10.x86_64 261/287 清理 : openssl-1:1.1.1f-15.p06.ky10.x86_64 262/287 清理 : libkysec-3.3.6-33.se.12.ky10.x86_64 263/287 清理 : kernel-tools-libs-4.19.90-52.15.v2207.ky10.x86_64 264/287 运行脚本: kernel-tools-libs-4.19.90-52.15.v2207.ky10.x86_64 264/287 清理 : libselinux-3.1-4.se.02.ky10.x86_64 265/287 清理 : harfbuzz-2.8.1-2.ky10.x86_64 266/287 清理 : openssl-help-1:1.1.1f-15.p06.ky10.noarch 267/287 清理 : python-pip-wheel-20.2.2-4.ky10.noarch 268/287 清理 : python-setuptools-44.1.1-1.ky10.noarch 269/287 清理 : python3-help-3.7.9-18.se.03.ky10.noarch 270/287 清理 : libgcc-7.3.0-20220207.45.ky10.x86_64 271/287 清理 : libsecurity1-1.1-17.se.05.ky10.x86_64 272/287 清理 : bash-5.0-17.p02.se.03.ky10.x86_64 273/287 清理 : libkysec-core-1.0.1-16.se.04.ky10.x86_64 274/287 清理 : openssl-libs-1:1.1.1f-15.p06.ky10.x86_64 275/287 运行脚本: openssl-libs-1:1.1.1f-15.p06.ky10.x86_64 275/287 清理 : audit-libs-1:3.0-6.se.02.ky10.x86_64 276/287 清理 : libX11-1.6.9-5.ky10.x86_64 277/287 清理 : pkgconf-1.7.3-1.ky10.x86_64 278/287 清理 : gvfs-client-1.40.2-8.p01.ky10.x86_64 279/287 清理 : less-590-1.ky10.x86_64 280/287 清理 : bluez-libs-5.54-7.ky10.x86_64 281/287 清理 : ntfs-3g-2:2022.5.17-1.ky10.x86_64 282/287 清理 : libtar-1.2.20-18.ky10.x86_64 283/287 清理 : libitm-7.3.0-20220207.45.ky10.x86_64 284/287 清理 : giflib-5.2.1-2.ky10.x86_64 285/287 清理 : dmidecode-1:3.2-3.ky10.x86_64 286/287 清理 : bpftool-4.19.90-52.15.v2207.ky10.x86_64 287/287 运行脚本: mate-power-manager-1.12.1-1kord30~rc3.p03.ky10.x86_64 287/287 运行脚本: libwbclient-4.11.12-25.p01.ky10.x86_64 287/287 运行脚本: kernel-core-4.19.90-52.19.v2207.ky10.x86_64 287/287 运行脚本: grub2-tools-1:2.04-21.se.03.p08.ky10.x86_64 287/287 运行脚本: pluma-1.16.2-1.ky10.6.p02.x86_64 287/287 运行脚本: pluma-data-1.16.2-1.ky10.6.p02.noarch 287/287 运行脚本: selinux-policy-targeted-3.14.2-76.se.19.ky10.noarch 287/287 运行脚本: firefox-79.0-7.p05.ky10.x86_64 287/287 运行脚本: bpftool-4.19.90-52.15.v2207.ky10.x86_64 287/287 运行脚本: vim-common-2:8.2-63.p01.ky10.x86_64 287/287 运行脚本: systemd-243-55.p02.se.01.ky10.x86_64 287/287 运行脚本: systemd-udev-243-55.p02.se.01.ky10.x86_64 287/287 验证 : grub2-tools-efi-1:2.04-21.se.03.p08.ky10.x86_64 1/287 验证 : kernel-4.19.90-52.19.v2207.ky10.x86_64 2/287 验证 : kernel-core-4.19.90-52.19.v2207.ky10.x86_64 3/287 验证 : kernel-devel-4.19.90-52.19.v2207.ky10.x86_64 4/287 验证 : kernel-modules-4.19.90-52.19.v2207.ky10.x86_64 5/287 验证 : kernel-modules-extra-4.19.90-52.19.v2207.ky10.x86_64 6/287 验证 : OpenIPMI-2.0.29-1.p02.ky10.x86_64 7/287 验证 : OpenIPMI-2.0.29-1.ky10.x86_64 8/287 验证 : anaconda-33.19-31.p16.ky10.x86_64 9/287 验证 : anaconda-33.19-31.p14.ky10.x86_64 10/287 验证 : anaconda-core-33.19-31.p16.ky10.x86_64 11/287 验证 : anaconda-core-33.19-31.p14.ky10.x86_64 12/287 验证 : anaconda-tui-33.19-31.p16.ky10.x86_64 13/287 验证 : anaconda-tui-33.19-31.p14.ky10.x86_64 14/287 验证 : audit-1:3.0-6.se.03.ky10.x86_64 15/287 验证 : audit-1:3.0-6.se.02.ky10.x86_64 16/287 验证 : audit-libs-1:3.0-6.se.03.ky10.x86_64 17/287 验证 : audit-libs-1:3.0-6.se.02.ky10.x86_64 18/287 验证 : bash-5.0-17.p02.se.04.ky10.x86_64 19/287 验证 : bash-5.0-17.p02.se.03.ky10.x86_64 20/287 验证 : bind-32:9.11.21-10.p02.ky10.x86_64 21/287 验证 : bind-32:9.11.21-10.ky10.x86_64 22/287 验证 : bind-libs-32:9.11.21-10.p02.ky10.x86_64 23/287 验证 : bind-libs-32:9.11.21-10.ky10.x86_64 24/287 验证 : bind-libs-lite-32:9.11.21-10.p02.ky10.x86_64 25/287 验证 : bind-libs-lite-32:9.11.21-10.ky10.x86_64 26/287 验证 : bind-utils-32:9.11.21-10.p02.ky10.x86_64 27/287 验证 : bind-utils-32:9.11.21-10.ky10.x86_64 28/287 验证 : blivet-data-1:3.2.2-8.p05.ky10.noarch 29/287 验证 : blivet-data-1:3.2.2-8.p04.ky10.noarch 30/287 验证 : bluez-5.54-11.ky10.x86_64 31/287 验证 : bluez-5.54-7.ky10.x86_64 32/287 验证 : bluez-libs-5.54-11.ky10.x86_64 33/287 验证 : bluez-libs-5.54-7.ky10.x86_64 34/287 验证 : bpftool-4.19.90-52.19.v2207.ky10.x86_64 35/287 验证 : bpftool-4.19.90-52.15.v2207.ky10.x86_64 36/287 验证 : curl-7.71.1-20.ky10.x86_64 37/287 验证 : curl-7.71.1-12.ky10.x86_64 38/287 验证 : device-mapper-8:1.02.171-12.p03.ky10.x86_64 39/287 验证 : device-mapper-8:1.02.171-12.p01.ky10.x86_64 40/287 验证 : device-mapper-event-8:1.02.171-12.p03.ky10.x86_64 41/287 验证 : device-mapper-event-8:1.02.171-12.p01.ky10.x86_64 42/287 验证 : dhcp-12:4.4.2-9.ky10.x86_64 43/287 验证 : dhcp-12:4.4.2-7.ky10.x86_64 44/287 验证 : dhcp-help-12:4.4.2-9.ky10.noarch 45/287 验证 : dhcp-help-12:4.4.2-7.ky10.noarch 46/287 验证 : dmidecode-1:3.2-3.p01.ky10.x86_64 47/287 验证 : dmidecode-1:3.2-3.ky10.x86_64 48/287 验证 : exiv2-0.27.5-2.ky10.x86_64 49/287 验证 : exiv2-0.26-27.ky10.x86_64 50/287 验证 : firefox-79.0-7.p05.ky10.x86_64 51/287 验证 : firefox-79.0-7.p03.ky10.x86_64 52/287 验证 : giflib-5.2.1-3.ky10.x86_64 53/287 验证 : giflib-5.2.1-2.ky10.x86_64 54/287 验证 : git-2.27.0-11.ky10.x86_64 55/287 验证 : git-2.27.0-8.ky10.x86_64 56/287 验证 : grub2-common-1:2.04-21.se.03.p08.ky10.noarch 57/287 验证 : grub2-common-1:2.04-21.se.01.p08.ky10.noarch 58/287 验证 : grub2-pc-1:2.04-21.se.03.p08.ky10.x86_64 59/287 验证 : grub2-pc-1:2.04-21.se.01.p08.ky10.x86_64 60/287 验证 : grub2-pc-modules-1:2.04-21.se.03.p08.ky10.noarch 61/287 验证 : grub2-pc-modules-1:2.04-21.se.01.p08.ky10.noarch 62/287 验证 : grub2-tools-1:2.04-21.se.03.p08.ky10.x86_64 63/287 验证 : grub2-tools-1:2.04-21.se.01.p08.ky10.x86_64 64/287 验证 : grub2-tools-extra-1:2.04-21.se.03.p08.ky10.x86_64 65/287 验证 : grub2-tools-extra-1:2.04-21.se.01.p08.ky10.x86_64 66/287 验证 : grub2-tools-minimal-1:2.04-21.se.03.p08.ky10.x86_64 67/287 验证 : grub2-tools-minimal-1:2.04-21.se.01.p08.ky10.x86_64 68/287 验证 : gvfs-1.40.2-8.p02.ky10.x86_64 69/287 验证 : gvfs-1.40.2-8.p01.ky10.x86_64 70/287 验证 : gvfs-client-1.40.2-8.p02.ky10.x86_64 71/287 验证 : gvfs-client-1.40.2-8.p01.ky10.x86_64 72/287 验证 : harfbuzz-2.8.1-3.ky10.x86_64 73/287 验证 : harfbuzz-2.8.1-2.ky10.x86_64 74/287 验证 : harfbuzz-devel-2.8.1-3.ky10.x86_64 75/287 验证 : harfbuzz-devel-2.8.1-2.ky10.x86_64 76/287 验证 : kernel-tools-4.19.90-52.19.v2207.ky10.x86_64 77/287 验证 : kernel-tools-4.19.90-52.15.v2207.ky10.x86_64 78/287 验证 : kernel-tools-libs-4.19.90-52.19.v2207.ky10.x86_64 79/287 验证 : kernel-tools-libs-4.19.90-52.15.v2207.ky10.x86_64 80/287 验证 : kpartx-0.8.4-18.ky10.x86_64 81/287 验证 : kpartx-0.8.4-12.ky10.x86_64 82/287 验证 : kylin-control-center-3.9.5-kord172s1.p67.ky10.x86_64 83/287 验证 : kylin-control-center-3.9.5-kord172s1.p61.ky10.x86_64 84/287 验证 : kylin-settings-14.10.63-1s4.p10.ky10.x86_64 85/287 验证 : kylin-settings-14.10.63-1s4.p09.ky10.x86_64 86/287 验证 : less-590-2.ky10.x86_64 87/287 验证 : less-590-1.ky10.x86_64 88/287 验证 : libX11-1.6.9-6.p00.ky10.x86_64 89/287 验证 : libX11-1.6.9-5.ky10.x86_64 90/287 验证 : libX11-devel-1.6.9-6.p00.ky10.x86_64 91/287 验证 : libX11-devel-1.6.9-5.ky10.x86_64 92/287 验证 : libarchive-3.4.3-6.ky10.x86_64 93/287 验证 : libarchive-3.4.3-5.ky10.x86_64 94/287 验证 : libchkuid-1.0-3.se.07.ky10.x86_64 95/287 验证 : libchkuid-1.0-3.se.06.ky10.x86_64 96/287 验证 : libcurl-7.71.1-20.ky10.x86_64 97/287 验证 : libcurl-7.71.1-12.ky10.x86_64 98/287 验证 : libdb-5.3.28-36.p02.ky10.x86_64 99/287 验证 : libdb-5.3.28-36.p01.ky10.x86_64 100/287 验证 : libgcc-7.3.0-20220207.45.p01.ky10.x86_64 101/287 验证 : libgcc-7.3.0-20220207.45.ky10.x86_64 102/287 验证 : libgexiv2-0.10.8-6.p01.ky10.x86_64 103/287 验证 : libgexiv2-0.10.8-6.ky10.x86_64 104/287 验证 : libitm-7.3.0-20220207.45.p01.ky10.x86_64 105/287 验证 : libitm-7.3.0-20220207.45.ky10.x86_64 106/287 验证 : libksba-1.4.0-4.ky10.x86_64 107/287 验证 : libksba-1.4.0-2.ky10.x86_64 108/287 验证 : libkysec-3.3.6-33.se.14.ky10.x86_64 109/287 验证 : libkysec-3.3.6-33.se.12.ky10.x86_64 110/287 验证 : libkysec-core-1.0.1-16.se.05.ky10.x86_64 111/287 验证 : libkysec-core-1.0.1-16.se.04.ky10.x86_64 112/287 验证 : libkysec-devel-3.3.6-33.se.14.ky10.x86_64 113/287 验证 : libkysec-devel-3.3.6-33.se.12.ky10.x86_64 114/287 验证 : libsecurity1-1.1-17.se.07.ky10.x86_64 115/287 验证 : libsecurity1-1.1-17.se.05.ky10.x86_64 116/287 验证 : libsecurity1-devel-1.1-17.se.07.ky10.x86_64 117/287 验证 : libsecurity1-devel-1.1-17.se.05.ky10.x86_64 118/287 验证 : libselinux-3.1-4.se.03.ky10.x86_64 119/287 验证 : libselinux-3.1-4.se.02.ky10.x86_64 120/287 验证 : libselinux-devel-3.1-4.se.03.ky10.x86_64 121/287 验证 : libselinux-devel-3.1-4.se.02.ky10.x86_64 122/287 验证 : libsmbclient-4.11.12-25.p01.ky10.x86_64 123/287 验证 : libsmbclient-4.11.12-15.p01.ky10.x86_64 124/287 验证 : libtar-1.2.20-20.ky10.x86_64 125/287 验证 : libtar-1.2.20-18.ky10.x86_64 126/287 验证 : libwbclient-4.11.12-25.p01.ky10.x86_64 127/287 验证 : libwbclient-4.11.12-15.p01.ky10.x86_64 128/287 验证 : lvm2-8:2.03.09-12.p03.ky10.x86_64 129/287 验证 : lvm2-8:2.03.09-12.p01.ky10.x86_64 130/287 验证 : lvm2-dbusd-8:2.03.09-12.p03.ky10.x86_64 131/287 验证 : lvm2-dbusd-8:2.03.09-12.p01.ky10.x86_64 132/287 验证 : lvm2-devel-8:2.03.09-12.p03.ky10.x86_64 133/287 验证 : lvm2-devel-8:2.03.09-12.p01.ky10.x86_64 134/287 验证 : lvm2-help-8:2.03.09-12.p03.ky10.noarch 135/287 验证 : lvm2-help-8:2.03.09-12.p01.ky10.noarch 136/287 验证 : lvm2-lockd-8:2.03.09-12.p03.ky10.x86_64 137/287 验证 : lvm2-lockd-8:2.03.09-12.p01.ky10.x86_64 138/287 验证 : mariadb-3:10.3.35-1.p01.ky10.x86_64 139/287 验证 : mariadb-3:10.3.9-12.p01.ky10.x86_64 140/287 验证 : mariadb-common-3:10.3.35-1.p01.ky10.x86_64 141/287 验证 : mariadb-common-3:10.3.9-12.p01.ky10.x86_64 142/287 验证 : mariadb-connector-c-3.0.6-9.ky10.x86_64 143/287 验证 : mariadb-connector-c-3.0.6-8.ky10.x86_64 144/287 验证 : mariadb-errmessage-3:10.3.35-1.p01.ky10.x86_64 145/287 验证 : mariadb-errmessage-3:10.3.9-12.p01.ky10.x86_64 146/287 验证 : mariadb-server-3:10.3.35-1.p01.ky10.x86_64 147/287 验证 : mariadb-server-3:10.3.9-12.p01.ky10.x86_64 148/287 验证 : mate-power-manager-1.12.1-1kord30~rc3.p03.ky10.x86_64 149/287 验证 : mate-power-manager-1.12.1-1kord30~rc3.p02.ky10.x86_64 150/287 验证 : multipath-tools-0.8.4-18.ky10.x86_64 151/287 验证 : multipath-tools-0.8.4-12.ky10.x86_64 152/287 验证 : multipath-tools-help-0.8.4-18.ky10.x86_64 153/287 验证 : multipath-tools-help-0.8.4-12.ky10.x86_64 154/287 验证 : net-snmp-1:5.9-4.p03.ky10.x86_64 155/287 验证 : net-snmp-1:5.9-4.p01.ky10.x86_64 156/287 验证 : net-snmp-help-1:5.9-4.p03.ky10.noarch 157/287 验证 : net-snmp-help-1:5.9-4.p01.ky10.noarch 158/287 验证 : net-snmp-libs-1:5.9-4.p03.ky10.x86_64 159/287 验证 : net-snmp-libs-1:5.9-4.p01.ky10.x86_64 160/287 验证 : nss-3.54.0-8.p02.ky10.x86_64 161/287 验证 : nss-3.54.0-8.p01.ky10.x86_64 162/287 验证 : nss-help-3.54.0-8.p02.ky10.x86_64 163/287 验证 : nss-help-3.54.0-8.p01.ky10.x86_64 164/287 验证 : nss-softokn-3.54.0-8.p02.ky10.x86_64 165/287 验证 : nss-softokn-3.54.0-8.p01.ky10.x86_64 166/287 验证 : nss-util-3.54.0-8.p02.ky10.x86_64 167/287 验证 : nss-util-3.54.0-8.p01.ky10.x86_64 168/287 验证 : ntfs-3g-2:2022.5.17-2.ky10.x86_64 169/287 验证 : ntfs-3g-2:2022.5.17-1.ky10.x86_64 170/287 验证 : openssl-1:1.1.1f-15.p07.ky10.x86_64 171/287 验证 : openssl-1:1.1.1f-15.p06.ky10.x86_64 172/287 验证 : openssl-devel-1:1.1.1f-15.p07.ky10.x86_64 173/287 验证 : openssl-devel-1:1.1.1f-15.p06.ky10.x86_64 174/287 验证 : openssl-help-1:1.1.1f-15.p07.ky10.noarch 175/287 验证 : openssl-help-1:1.1.1f-15.p06.ky10.noarch 176/287 验证 : openssl-libs-1:1.1.1f-15.p07.ky10.x86_64 177/287 验证 : openssl-libs-1:1.1.1f-15.p06.ky10.x86_64 178/287 验证 : openssl-perl-1:1.1.1f-15.p07.ky10.x86_64 179/287 验证 : openssl-perl-1:1.1.1f-15.p06.ky10.x86_64 180/287 验证 : pam-1.4.0-8.p03.se.04.ky10.x86_64 181/287 验证 : pam-1.4.0-8.p03.se.02.ky10.x86_64 182/287 验证 : pam-devel-1.4.0-8.p03.se.04.ky10.x86_64 183/287 验证 : pam-devel-1.4.0-8.p03.se.02.ky10.x86_64 184/287 验证 : perl-Git-2.27.0-11.ky10.noarch 185/287 验证 : perl-Git-2.27.0-8.ky10.noarch 186/287 验证 : pkgconf-1.7.3-2.ky10.x86_64 187/287 验证 : pkgconf-1.7.3-1.ky10.x86_64 188/287 验证 : pluma-1.16.2-1.ky10.6.p02.x86_64 189/287 验证 : pluma-1.16.2-1.ky10.6.ky10.x86_64 190/287 验证 : pluma-data-1.16.2-1.ky10.6.p02.noarch 191/287 验证 : pluma-data-1.16.2-1.ky10.6.ky10.noarch 192/287 验证 : ppp-2.4.8-4.ky10.x86_64 193/287 验证 : ppp-2.4.8-1.ky10.x86_64 194/287 验证 : python-pip-wheel-20.2.2-6.ky10.noarch 195/287 验证 : python-pip-wheel-20.2.2-4.ky10.noarch 196/287 验证 : python-setuptools-44.1.1-2.ky10.noarch 197/287 验证 : python-setuptools-44.1.1-1.ky10.noarch 198/287 验证 : python2-setuptools-44.1.1-2.ky10.noarch 199/287 验证 : python2-setuptools-44.1.1-1.ky10.noarch 200/287 验证 : python3-3.7.9-18.se.04.p01.ky10.x86_64 201/287 验证 : python3-3.7.9-18.se.03.ky10.x86_64 202/287 验证 : python3-audit-1:3.0-6.se.03.ky10.x86_64 203/287 验证 : python3-audit-1:3.0-6.se.02.ky10.x86_64 204/287 验证 : python3-bind-32:9.11.21-10.p02.ky10.noarch 205/287 验证 : python3-bind-32:9.11.21-10.ky10.noarch 206/287 验证 : python3-blivet-1:3.2.2-8.p05.ky10.noarch 207/287 验证 : python3-blivet-1:3.2.2-8.p04.ky10.noarch 208/287 验证 : python3-devel-3.7.9-18.se.04.p01.ky10.x86_64 209/287 验证 : python3-devel-3.7.9-18.se.03.ky10.x86_64 210/287 验证 : python3-help-3.7.9-18.se.04.p01.ky10.noarch 211/287 验证 : python3-help-3.7.9-18.se.03.ky10.noarch 212/287 验证 : python3-libselinux-3.1-4.se.03.ky10.x86_64 213/287 验证 : python3-libselinux-3.1-4.se.02.ky10.x86_64 214/287 验证 : python3-perf-4.19.90-52.19.v2207.ky10.x86_64 215/287 验证 : python3-perf-4.19.90-52.15.v2207.ky10.x86_64 216/287 验证 : python3-rpm-4.15.1-37.p01.ky10.x86_64 217/287 验证 : python3-rpm-4.15.1-36.p01.ky10.x86_64 218/287 验证 : python3-setuptools-44.1.1-2.ky10.noarch 219/287 验证 : python3-setuptools-44.1.1-1.ky10.noarch 220/287 验证 : qemu-guest-agent-2:4.1.0-63.p16.ky10.x86_64 221/287 验证 : qemu-guest-agent-2:4.1.0-63.p14.ky10.x86_64 222/287 验证 : rpm-4.15.1-37.p01.ky10.x86_64 223/287 验证 : rpm-4.15.1-36.p01.ky10.x86_64 224/287 验证 : rpm-build-4.15.1-37.p01.ky10.x86_64 225/287 验证 : rpm-build-4.15.1-36.p01.ky10.x86_64 226/287 验证 : rpm-libs-4.15.1-37.p01.ky10.x86_64 227/287 验证 : rpm-libs-4.15.1-36.p01.ky10.x86_64 228/287 验证 : ruby-2.5.8-118.ky10.x86_64 229/287 验证 : ruby-2.5.8-116.ky10.x86_64 230/287 验证 : ruby-help-2.5.8-118.ky10.noarch 231/287 验证 : ruby-help-2.5.8-116.ky10.noarch 232/287 验证 : ruby-irb-2.5.8-118.ky10.noarch 233/287 验证 : ruby-irb-2.5.8-116.ky10.noarch 234/287 验证 : rubygem-io-console-0.4.6-118.ky10.x86_64 235/287 验证 : rubygem-io-console-0.4.6-116.ky10.x86_64 236/287 验证 : rubygem-json-2.1.0-118.ky10.x86_64 237/287 验证 : rubygem-json-2.1.0-116.ky10.x86_64 238/287 验证 : rubygem-openssl-2.1.2-118.ky10.x86_64 239/287 验证 : rubygem-openssl-2.1.2-116.ky10.x86_64 240/287 验证 : rubygem-psych-3.0.2-118.ky10.x86_64 241/287 验证 : rubygem-psych-3.0.2-116.ky10.x86_64 242/287 验证 : rubygem-rdoc-6.0.1.1-118.ky10.noarch 243/287 验证 : rubygem-rdoc-6.0.1.1-116.ky10.noarch 244/287 验证 : rubygems-2.7.6-118.ky10.noarch 245/287 验证 : rubygems-2.7.6-116.ky10.noarch 246/287 验证 : samba-client-4.11.12-25.p01.ky10.x86_64 247/287 验证 : samba-client-4.11.12-15.p01.ky10.x86_64 248/287 验证 : samba-common-4.11.12-25.p01.ky10.x86_64 249/287 验证 : samba-common-4.11.12-15.p01.ky10.x86_64 250/287 验证 : selinux-policy-3.14.2-76.se.19.ky10.noarch 251/287 验证 : selinux-policy-3.14.2-76.se.14.ky10.noarch 252/287 验证 : selinux-policy-devel-3.14.2-76.se.19.ky10.noarch 253/287 验证 : selinux-policy-devel-3.14.2-76.se.14.ky10.noarch 254/287 验证 : selinux-policy-targeted-3.14.2-76.se.19.ky10.noarch 255/287 验证 : selinux-policy-targeted-3.14.2-76.se.14.ky10.noarch 256/287 验证 : shadow-2:4.8.1-5.se.05.p01.ky10.x86_64 257/287 验证 : shadow-2:4.8.1-5.se.03.p01.ky10.x86_64 258/287 验证 : sudo-1.9.2-10.ky10.x86_64 259/287 验证 : sudo-1.9.2-5.ky10.x86_64 260/287 验证 : sysstat-12.2.1-2.ky10.x86_64 261/287 验证 : sysstat-12.2.1-1.p00.ky10.x86_64 262/287 验证 : systemd-243-55.p02.se.01.ky10.x86_64 263/287 验证 : systemd-243-55.p01.se.01.ky10.x86_64 264/287 验证 : systemd-devel-243-55.p02.se.01.ky10.x86_64 265/287 验证 : systemd-devel-243-55.p01.se.01.ky10.x86_64 266/287 验证 : systemd-help-243-55.p02.se.01.ky10.noarch 267/287 验证 : systemd-help-243-55.p01.se.01.ky10.noarch 268/287 验证 : systemd-libs-243-55.p02.se.01.ky10.x86_64 269/287 验证 : systemd-libs-243-55.p01.se.01.ky10.x86_64 270/287 验证 : systemd-udev-243-55.p02.se.01.ky10.x86_64 271/287 验证 : systemd-udev-243-55.p01.se.01.ky10.x86_64 272/287 验证 : ukui-greeter-1.2.1-48.1.p28.ky10.x86_64 273/287 验证 : ukui-greeter-1.2.1-48.1.p25.ky10.x86_64 274/287 验证 : ukui-screensaver-0.3.62-1s2.p21.ky10.x86_64 275/287 验证 : ukui-screensaver-0.3.62-1s2.p20.ky10.x86_64 276/287 验证 : vim-common-2:8.2-63.p01.ky10.x86_64 277/287 验证 : vim-common-2:8.2-58.p01.ky10.x86_64 278/287 验证 : vim-enhanced-2:8.2-63.p01.ky10.x86_64 279/287 验证 : vim-enhanced-2:8.2-58.p01.ky10.x86_64 280/287 验证 : vim-filesystem-2:8.2-63.p01.ky10.noarch 281/287 验证 : vim-filesystem-2:8.2-58.p01.ky10.noarch 282/287 验证 : vim-minimal-2:8.2-63.p01.ky10.x86_64 283/287 验证 : vim-minimal-2:8.2-58.p01.ky10.x86_64 284/287 验证 : xorg-x11-server-1.20.8-10.p07.ky10.x86_64 285/287 验证 : xorg-x11-server-1.20.8-10.p06.ky10.x86_64 286/287 验证 : kernel-devel-4.19.90-52.15.v2207.ky10.x86_64 287/287 已升级: OpenIPMI-2.0.29-1.p02.ky10.x86_64 anaconda-33.19-31.p16.ky10.x86_64 anaconda-core-33.19-31.p16.ky10.x86_64 anaconda-tui-33.19-31.p16.ky10.x86_64 audit-1:3.0-6.se.03.ky10.x86_64 audit-libs-1:3.0-6.se.03.ky10.x86_64 bash-5.0-17.p02.se.04.ky10.x86_64 bind-32:9.11.21-10.p02.ky10.x86_64 bind-libs-32:9.11.21-10.p02.ky10.x86_64 bind-libs-lite-32:9.11.21-10.p02.ky10.x86_64 bind-utils-32:9.11.21-10.p02.ky10.x86_64 blivet-data-1:3.2.2-8.p05.ky10.noarch bluez-5.54-11.ky10.x86_64 bluez-libs-5.54-11.ky10.x86_64 bpftool-4.19.90-52.19.v2207.ky10.x86_64 curl-7.71.1-20.ky10.x86_64 device-mapper-8:1.02.171-12.p03.ky10.x86_64 device-mapper-event-8:1.02.171-12.p03.ky10.x86_64 dhcp-12:4.4.2-9.ky10.x86_64 dhcp-help-12:4.4.2-9.ky10.noarch dmidecode-1:3.2-3.p01.ky10.x86_64 exiv2-0.27.5-2.ky10.x86_64 firefox-79.0-7.p05.ky10.x86_64 giflib-5.2.1-3.ky10.x86_64 git-2.27.0-11.ky10.x86_64 grub2-common-1:2.04-21.se.03.p08.ky10.noarch grub2-pc-1:2.04-21.se.03.p08.ky10.x86_64 grub2-pc-modules-1:2.04-21.se.03.p08.ky10.noarch grub2-tools-1:2.04-21.se.03.p08.ky10.x86_64 grub2-tools-extra-1:2.04-21.se.03.p08.ky10.x86_64 grub2-tools-minimal-1:2.04-21.se.03.p08.ky10.x86_64 gvfs-1.40.2-8.p02.ky10.x86_64 gvfs-client-1.40.2-8.p02.ky10.x86_64 harfbuzz-2.8.1-3.ky10.x86_64 harfbuzz-devel-2.8.1-3.ky10.x86_64 kernel-tools-4.19.90-52.19.v2207.ky10.x86_64 kernel-tools-libs-4.19.90-52.19.v2207.ky10.x86_64 kpartx-0.8.4-18.ky10.x86_64 kylin-control-center-3.9.5-kord172s1.p67.ky10.x86_64 kylin-settings-14.10.63-1s4.p10.ky10.x86_64 less-590-2.ky10.x86_64 libX11-1.6.9-6.p00.ky10.x86_64 libX11-devel-1.6.9-6.p00.ky10.x86_64 libarchive-3.4.3-6.ky10.x86_64 libchkuid-1.0-3.se.07.ky10.x86_64 libcurl-7.71.1-20.ky10.x86_64 libdb-5.3.28-36.p02.ky10.x86_64 libgcc-7.3.0-20220207.45.p01.ky10.x86_64 libgexiv2-0.10.8-6.p01.ky10.x86_64 libitm-7.3.0-20220207.45.p01.ky10.x86_64 libksba-1.4.0-4.ky10.x86_64 libkysec-3.3.6-33.se.14.ky10.x86_64 libkysec-core-1.0.1-16.se.05.ky10.x86_64 libkysec-devel-3.3.6-33.se.14.ky10.x86_64 libsecurity1-1.1-17.se.07.ky10.x86_64 libsecurity1-devel-1.1-17.se.07.ky10.x86_64 libselinux-3.1-4.se.03.ky10.x86_64 libselinux-devel-3.1-4.se.03.ky10.x86_64 libsmbclient-4.11.12-25.p01.ky10.x86_64 libtar-1.2.20-20.ky10.x86_64 libwbclient-4.11.12-25.p01.ky10.x86_64 lvm2-8:2.03.09-12.p03.ky10.x86_64 lvm2-dbusd-8:2.03.09-12.p03.ky10.x86_64 lvm2-devel-8:2.03.09-12.p03.ky10.x86_64 lvm2-help-8:2.03.09-12.p03.ky10.noarch lvm2-lockd-8:2.03.09-12.p03.ky10.x86_64 mariadb-3:10.3.35-1.p01.ky10.x86_64 mariadb-common-3:10.3.35-1.p01.ky10.x86_64 mariadb-connector-c-3.0.6-9.ky10.x86_64 mariadb-errmessage-3:10.3.35-1.p01.ky10.x86_64 mariadb-server-3:10.3.35-1.p01.ky10.x86_64 mate-power-manager-1.12.1-1kord30~rc3.p03.ky10.x86_64 multipath-tools-0.8.4-18.ky10.x86_64 multipath-tools-help-0.8.4-18.ky10.x86_64 net-snmp-1:5.9-4.p03.ky10.x86_64 net-snmp-help-1:5.9-4.p03.ky10.noarch net-snmp-libs-1:5.9-4.p03.ky10.x86_64 nss-3.54.0-8.p02.ky10.x86_64 nss-help-3.54.0-8.p02.ky10.x86_64 nss-softokn-3.54.0-8.p02.ky10.x86_64 nss-util-3.54.0-8.p02.ky10.x86_64 ntfs-3g-2:2022.5.17-2.ky10.x86_64 openssl-1:1.1.1f-15.p07.ky10.x86_64 openssl-devel-1:1.1.1f-15.p07.ky10.x86_64 openssl-help-1:1.1.1f-15.p07.ky10.noarch openssl-libs-1:1.1.1f-15.p07.ky10.x86_64 openssl-perl-1:1.1.1f-15.p07.ky10.x86_64 pam-1.4.0-8.p03.se.04.ky10.x86_64 pam-devel-1.4.0-8.p03.se.04.ky10.x86_64 perl-Git-2.27.0-11.ky10.noarch pkgconf-1.7.3-2.ky10.x86_64 pluma-1.16.2-1.ky10.6.p02.x86_64 pluma-data-1.16.2-1.ky10.6.p02.noarch ppp-2.4.8-4.ky10.x86_64 python-pip-wheel-20.2.2-6.ky10.noarch python-setuptools-44.1.1-2.ky10.noarch python2-setuptools-44.1.1-2.ky10.noarch python3-3.7.9-18.se.04.p01.ky10.x86_64 python3-audit-1:3.0-6.se.03.ky10.x86_64 python3-bind-32:9.11.21-10.p02.ky10.noarch python3-blivet-1:3.2.2-8.p05.ky10.noarch python3-devel-3.7.9-18.se.04.p01.ky10.x86_64 python3-help-3.7.9-18.se.04.p01.ky10.noarch python3-libselinux-3.1-4.se.03.ky10.x86_64 python3-perf-4.19.90-52.19.v2207.ky10.x86_64 python3-rpm-4.15.1-37.p01.ky10.x86_64 python3-setuptools-44.1.1-2.ky10.noarch qemu-guest-agent-2:4.1.0-63.p16.ky10.x86_64 rpm-4.15.1-37.p01.ky10.x86_64 rpm-build-4.15.1-37.p01.ky10.x86_64 rpm-libs-4.15.1-37.p01.ky10.x86_64 ruby-2.5.8-118.ky10.x86_64 ruby-help-2.5.8-118.ky10.noarch ruby-irb-2.5.8-118.ky10.noarch rubygem-io-console-0.4.6-118.ky10.x86_64 rubygem-json-2.1.0-118.ky10.x86_64 rubygem-openssl-2.1.2-118.ky10.x86_64 rubygem-psych-3.0.2-118.ky10.x86_64 rubygem-rdoc-6.0.1.1-118.ky10.noarch rubygems-2.7.6-118.ky10.noarch samba-client-4.11.12-25.p01.ky10.x86_64 samba-common-4.11.12-25.p01.ky10.x86_64 selinux-policy-3.14.2-76.se.19.ky10.noarch selinux-policy-devel-3.14.2-76.se.19.ky10.noarch selinux-policy-targeted-3.14.2-76.se.19.ky10.noarch shadow-2:4.8.1-5.se.05.p01.ky10.x86_64 sudo-1.9.2-10.ky10.x86_64 sysstat-12.2.1-2.ky10.x86_64 systemd-243-55.p02.se.01.ky10.x86_64 systemd-devel-243-55.p02.se.01.ky10.x86_64 systemd-help-243-55.p02.se.01.ky10.noarch systemd-libs-243-55.p02.se.01.ky10.x86_64 systemd-udev-243-55.p02.se.01.ky10.x86_64 ukui-greeter-1.2.1-48.1.p28.ky10.x86_64 ukui-screensaver-0.3.62-1s2.p21.ky10.x86_64 vim-common-2:8.2-63.p01.ky10.x86_64 vim-enhanced-2:8.2-63.p01.ky10.x86_64 vim-filesystem-2:8.2-63.p01.ky10.noarch vim-minimal-2:8.2-63.p01.ky10.x86_64 xorg-x11-server-1.20.8-10.p07.ky10.x86_64 已安装: grub2-tools-efi-1:2.04-21.se.03.p08.ky10.x86_64 kernel-4.19.90-52.19.v2207.ky10.x86_64 kernel-core-4.19.90-52.19.v2207.ky10.x86_64 kernel-devel-4.19.90-52.19.v2207.ky10.x86_64 kernel-modules-4.19.90-52.19.v2207.ky10.x86_64 kernel-modules-extra-4.19.90-52.19.v2207.ky10.x86_64 已移除: kernel-devel-4.19.90-52.15.v2207.ky10.x86_64 完毕! [root@localhost ~]#
(2)[root@localhost ~]# yum search postgres* # 查找postgres对应版本进行安装
(3)输入yum list | grep postgresql查看postgresql源和安装的版本
四、使用yum方法安装posgresql
1、重点安装
主要安装:postgresql-contrib,postgresql-libs和postgresql-server这三个服务
[root@localhost ~]# yum install postgresql-contrib postgresql-libs postgresql-server -y
![](https://images.cnblogs.com/OutliningIndicators/ContractedBlock.gif)
[root@localhost ~]# yum install postgresql-contrib postgresql-libs postgresql-server -y 上次元数据过期检查:1:46:29 前,执行于 2023年03月16日 星期四 09时31分08秒。 依赖关系解决。 ====================================================================================================================================================== Package Architecture Version Repository Size ====================================================================================================================================================== 安装: postgresql-contrib x86_64 10.5-22.ky10 ks10-adv-os 613 k postgresql-libs x86_64 10.5-22.ky10 ks10-adv-os 250 k postgresql-server x86_64 10.5-22.ky10 ks10-adv-os 4.8 M 安装依赖关系: postgresql x86_64 10.5-22.ky10 ks10-adv-os 911 k uuid x86_64 1.6.2-44.ky10 ks10-adv-os 34 k uuid-help x86_64 1.6.2-44.ky10 ks10-adv-os 45 k 事务概要 ====================================================================================================================================================== 安装 6 软件包 总下载:6.6 M 安装大小:28 M 下载软件包: (1/6): postgresql-libs-10.5-22.ky10.x86_64.rpm 91 kB/s | 250 kB 00:02 (2/6): postgresql-contrib-10.5-22.ky10.x86_64.rpm 143 kB/s | 613 kB 00:04 (3/6): uuid-1.6.2-44.ky10.x86_64.rpm 159 kB/s | 34 kB 00:00 (4/6): uuid-help-1.6.2-44.ky10.x86_64.rpm 105 kB/s | 45 kB 00:00 (5/6): postgresql-10.5-22.ky10.x86_64.rpm 145 kB/s | 911 kB 00:06 (6/6): postgresql-server-10.5-22.ky10.x86_64.rpm 96% [==================================================== ] 173 kB/s | 6.3 MB 00:01 ETA(6/6): postgresql-server-10.5-22.ky10.x86_64.rpm 181 kB/s | 4.8 MB 00:27 ------------------------------------------------------------------------------------------------------------ 总计 227 kB/s | 6.6 MB 00:29 运行事务检查 事务检查成功。 运行事务测试 事务测试成功。 运行事务 准备中 : 1/1 安装 : postgresql-libs-10.5-22.ky10.x86_64 1/6 运行脚本: postgresql-libs-10.5-22.ky10.x86_64 1/6 安装 : postgresql-10.5-22.ky10.x86_64 2/6 安装 : uuid-help-1.6.2-44.ky10.x86_64 3/6 安装 : uuid-1.6.2-44.ky10.x86_64 4/6 运行脚本: uuid-1.6.2-44.ky10.x86_64 4/6 安装 : postgresql-contrib-10.5-22.ky10.x86_64 5/6 运行脚本: postgresql-server-10.5-22.ky10.x86_64 6/6 安装 : postgresql-server-10.5-22.ky10.x86_64 6/6 运行脚本: postgresql-server-10.5-22.ky10.x86_64 6/6 验证 : postgresql-10.5-22.ky10.x86_64 1/6 验证 : postgresql-contrib-10.5-22.ky10.x86_64 2/6 验证 : postgresql-libs-10.5-22.ky10.x86_64 3/6 验证 : postgresql-server-10.5-22.ky10.x86_64 4/6 验证 : uuid-1.6.2-44.ky10.x86_64 5/6 验证 : uuid-help-1.6.2-44.ky10.x86_64 6/6 已安装: postgresql-10.5-22.ky10.x86_64 postgresql-contrib-10.5-22.ky10.x86_64 postgresql-libs-10.5-22.ky10.x86_64 postgresql-server-10.5-22.ky10.x86_64 uuid-1.6.2-44.ky10.x86_64 uuid-help-1.6.2-44.ky10.x86_64 完毕! [root@localhost ~]#
2、全部安装
[root@localhost ~]# yum -y install postgresql # 安装相应程序包,全部安装
[root@localhost ~]# yum -y install qt5-qtbase-postgresql # 安装相应程序包
五、创建postgres用户
1、创建用户:
useradd postgres
2、修改postgres用户密码方法一:
echo "PGsql@123456" | passwd --stdin postgres
[root@localhost /]# echo "PGsql@123456" | passwd --stdin postgres 更改用户 postgres 的密码 。 passwd:所有的身份验证令牌已经成功更新。 [root@localhost /]# echo "`1234qwert" | passwd --stdin postgres
修改postgres用户密码方法二:
passwd postgres #添加密码 我的密码
"`1234qwert"
注意:分为postgres用户密码和数据库密码,这里我们保持一致
设置数据库密码:
su - postgres # 切换postgres用户 psql ALTER USER postgres WITH PASSWORD '`1234qwert';
\q退出
\l 列出当前库:
六、修改默认数据目录
Postgresql默认的数据目录是/var/lib/pgsql/版本号/data目录,这要求你在/var下有足够的存储空间,我们这里将其换掉,假设/home的空间很大。
首先在/home下创建一个Postgresql的数据目录,指定所有者postgres同时分配权限
1、创建目录:mkdir /home/postgresql_data
2、分配给postgres权限:chown postgres:postgres /home/postgresql_data
3、chmod 750 /home/postgresql_data
4、设置环境变量vim /etc/profile
[root@localhost ~]# vim /etc/profile
在末尾打开后增加如下信息:i-->插入功能
export PATH=/usr/pgsql-10/bin:$PATH export LD_LIBRARY_PATH=/usr/pgsql-10/lib export PGDATA=/home/postgresql_data
esc-->:wq退出
5、添加后刷新一下
[root@localhost ~]# source /etc/profile
七、切换到postgres用户
1、切换到postgres用户。如果提示“警告:无法更改到 /home/postgres 目录: 没有那个文件或目录”就要切换到已有的目录下
2、cd /home/postgresql_data/使用initdb初始化数据库,这样在/home/postgresql_data下会增加很多东西,如下所示:
3、/home/postgresql_data目录下增加如下内容
4、修改/usr/lib/systemd/system/postgresql.service文件的内容。
第一步:先切换root用户,否则postgres无权限
[root@localhost system]# cd /usr/lib/systemd/system/ll
#Location of database directory #Location of database direcotry指定正确的PGDATA:
Environment=PGDATA=/home/postgresql_data
第二步:修改postgresql.service:
[root@localhost system]# vi postgresql.service
注意:如果不能正常保存并出现如下提示:该意思是postgres用户无修改权限,这时我们就要修改为root权限
5、修改配置
cd /home/postgresql_data/
编辑vim pg_hba.conf修改
文件末尾按键盘“i”键,输入host all all 0.0.0.0/0 md5之后按键盘“esc”输入:wq保存退出。
编辑vim postgresql.conf:修改在文件中找到#listen_addresses = 'localhost' 按键盘“i”切换为输入模式,改为listen_addresses = '*'
找到#password_encryption = md5修改为password_encryption = on
取消端口注释port=5432;
八、配置数据库服务开机启动并立即启动数据库服务
1、设置开机自动启动服务:systemctl enable postgresql.service
2、开启postgres服务:service postgresql start (systemctl start postgresql.service)
3、查看postgres服务状态service postgresql status # active (running)表示该服务正在运行
4、关闭postgres服务:service postgresql stop(systemctl stop postgresql.service) # inactive (dead)表示该服务已经停止运行
5、排错:如果启动失败如下图:
处理办法:进入目录/home/postgresql_data下的postmaster.pid删除再重启服务就好了
6、 关闭防火墙输入systemctl stop firewalld
7、 开机关闭防火墙输入systemctl disable firewalld
8、 启动防火墙输入systemctl status firewalld.service