diff --git a/content/en/docs/Administration/using-the-dnf-to-manage-software-packages.md b/content/en/docs/Administration/using-the-dnf-to-manage-software-packages.md index e3306c6c1fbdbb17187294f975f398a011b3fd68..f02692ab435cd7e1fde09325de6db73d1437e797 100644 --- a/content/en/docs/Administration/using-the-dnf-to-manage-software-packages.md +++ b/content/en/docs/Administration/using-the-dnf-to-manage-software-packages.md @@ -48,7 +48,7 @@ The /etc/dnf/dnf.conf file contains the **main** part. The following is an exa ``` [main] -gpgcheck=0 +gpgcheck=1 installonly_limit=3 clean_requirements_on_remove=True best=True diff --git a/content/en/docs/ApplicationDev/building-an-rpm-package.md b/content/en/docs/ApplicationDev/building-an-rpm-package.md index bb3693195b72c438607b408b9abf0c58fffdc6bd..70e2262d71e3f109b42097b03f023d6ac4fcf061 100644 --- a/content/en/docs/ApplicationDev/building-an-rpm-package.md +++ b/content/en/docs/ApplicationDev/building-an-rpm-package.md @@ -647,7 +647,6 @@ You have obtained the **root** permission, and have configured a repo source f ``` [general] apiurl = http://openeuler-build.huawei.com/ - no_verify = 1 [http://openeuler-build.huawei.com/] user=userName pass=passWord diff --git a/content/en/docs/ApplicationDev/preparation.md b/content/en/docs/ApplicationDev/preparation.md index f2772258557074c5f7c7a8496156477848a05710..10db10bc8ef4298fc52314eb0c79718b8744f255 100644 --- a/content/en/docs/ApplicationDev/preparation.md +++ b/content/en/docs/ApplicationDev/preparation.md @@ -149,7 +149,8 @@ You can configure a repo source by directly obtaining the repo source file or by enabled=1 - gpgcheck=0 + gpgcheck=1 + gpgkey=http://repo.openeuler.org/openEuler-20.03-LTS/OS/aarch64/RPM-GPG-KEY-openEuler ### Configuring a Repo Source by Mounting an ISO File diff --git "a/content/zh/docs/Administration/\344\275\277\347\224\250DNF\347\256\241\347\220\206\350\275\257\344\273\266\345\214\205.md" "b/content/zh/docs/Administration/\344\275\277\347\224\250DNF\347\256\241\347\220\206\350\275\257\344\273\266\345\214\205.md" index 276fa75b261de5e2dd40c550dc42364792bbce0f..dea2cd745e9d8a1b488da678fdaa2cd7609ed569 100644 --- "a/content/zh/docs/Administration/\344\275\277\347\224\250DNF\347\256\241\347\220\206\350\275\257\344\273\266\345\214\205.md" +++ "b/content/zh/docs/Administration/\344\275\277\347\224\250DNF\347\256\241\347\220\206\350\275\257\344\273\266\345\214\205.md" @@ -49,7 +49,7 @@ DNF 的主要配置文件是 /etc/dnf/dnf.conf,该文件中“main”部分保 ``` [main] -gpgcheck=0 +gpgcheck=1 installonly_limit=3 clean_requirements_on_remove=True best=True diff --git "a/content/zh/docs/ApplicationDev/\345\274\200\345\217\221\347\216\257\345\242\203\345\207\206\345\244\207.md" "b/content/zh/docs/ApplicationDev/\345\274\200\345\217\221\347\216\257\345\242\203\345\207\206\345\244\207.md" index 141b209c3c6aef4cf24e0640d9c308ad203b2352..4140f2ddb81e9301e17e585fd8893e715bc60627 100644 --- "a/content/zh/docs/ApplicationDev/\345\274\200\345\217\221\347\216\257\345\242\203\345\207\206\345\244\207.md" +++ "b/content/zh/docs/ApplicationDev/\345\274\200\345\217\221\347\216\257\345\242\203\345\207\206\345\244\207.md" @@ -148,7 +148,8 @@ openEuler操作系统具体安装方法请参考《openEuler 20.03 LTS 安装指 enabled=1 - gpgcheck=0 + gpgcheck=1 + gpgkey=http://repo.openeuler.org/openEuler-20.03-LTS/OS/aarch64/RPM-GPG-KEY-openEuler ### 通过挂载ISO的方式配置repo源 diff --git "a/content/zh/docs/ApplicationDev/\346\236\204\345\273\272RPM\345\214\205.md" "b/content/zh/docs/ApplicationDev/\346\236\204\345\273\272RPM\345\214\205.md" index 6518e0def9388cfe6dc423ffd7b972086a6d9ec2..29f36c617bdf18fbc833e922f1ded1f41c1573fa 100644 --- "a/content/zh/docs/ApplicationDev/\346\236\204\345\273\272RPM\345\214\205.md" +++ "b/content/zh/docs/ApplicationDev/\346\236\204\345\273\272RPM\345\214\205.md" @@ -644,7 +644,6 @@ RPM软件包构建完成后,通过网页端获取对应RPM软件包的方法 ``` [general] apiurl = http://openeuler-build.huawei.com/ - no_verify = 1 [http://openeuler-build.huawei.com/] user=userName pass=passWord