Skip to content

Commit 8dc9586

Browse files
committed
2016-02-25优化了源设置
1 parent 0efd011 commit 8dc9586

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CentOS-Extra-Packages.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
- 导入key:`rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6`
2222
- `sudo yum clean all`
2323
- `sudo yum makecache`
24-
- `sudo yum update`
24+
- `sudo yum update -y`
2525

2626
<h2 id="ubuntu">第三方源</h2>
2727

@@ -59,7 +59,7 @@
5959
- 更新包信息:
6060
- `sudo yum clean all`
6161
- `sudo yum makecache`
62-
- `sudo yum update`
62+
- `sudo yum update -y`
6363

6464
- 测试:
6565
- 命令:`sudo yum check-update`

0 commit comments

Comments
 (0)