Fix System updates & Fedora repos.
This commit is contained in:
parent
b8a0d14d9a
commit
f63c41a7c5
10 changed files with 30 additions and 23 deletions
|
@ -30,6 +30,10 @@ Topics:
|
||||||
File: creating-windows-virtual-machines-using-virtio-drivers
|
File: creating-windows-virtual-machines-using-virtio-drivers
|
||||||
- Name: Installing Software from Source
|
- Name: Installing Software from Source
|
||||||
File: installing-software-from-source
|
File: installing-software-from-source
|
||||||
|
- Name: Securing the system by keeping it up-to-date
|
||||||
|
File: securing-the-system-by-keeping-it-up-to-date
|
||||||
|
- Name: Adding or removing software repositories in Fedora
|
||||||
|
File: adding-or-removing-software-repositories-in-fedora
|
||||||
- Name: (FIX ME!) Third party repositories
|
- Name: (FIX ME!) Third party repositories
|
||||||
File: 3rd-party-repos
|
File: 3rd-party-repos
|
||||||
- Name: (FIX ME!) Anaconda
|
- Name: (FIX ME!) Anaconda
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
[id='setting-repositories-for-update-checks']
|
:experimental:
|
||||||
= Setting repositories for update checks
|
|
||||||
|
[id='adding-or-removing-software-repositories-in-fedora']
|
||||||
|
= Adding or removing software repositories in Fedora
|
||||||
|
|
||||||
This section describes how to add, enable, or disable a software repository with the DNF application.
|
This section describes how to add, enable, or disable a software repository with the DNF application.
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
[id='why-it-is-important-keeping-your-system-up-to-date']
|
[id='why-it-is-important-to-keep-your-system-up-to-date']
|
||||||
= Why it is important keeping your system up-to-date
|
= Why it is important to keep your system up-to-date
|
||||||
|
|
||||||
// Bara: This section is based on https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/security_guide/chap-keeping_your_system_up-to-date
|
// Bara: This section is based on https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/security_guide/chap-keeping_your_system_up-to-date
|
||||||
|
|
||||||
|
|
|
@ -14,11 +14,11 @@ Use the following commands as the `root` user or under the `sudo` utility.
|
||||||
+
|
+
|
||||||
[literal,subs="+quotes,attributes"]
|
[literal,subs="+quotes,attributes"]
|
||||||
----
|
----
|
||||||
dnf config-manger --add-repo _repository_
|
# dnf config-manger --add-repo _repository_
|
||||||
----
|
----
|
||||||
+
|
+
|
||||||
Replace _repository_ with the path to the created `.repo` file, for example:
|
Replace `_repository_` with the path to the created `.repo` file, for example:
|
||||||
+
|
+
|
||||||
----
|
----
|
||||||
dnf config-manager --add-repo /etc/yum.repos.d/fedora_extras.repo
|
# dnf config-manager --add-repo /etc/yum.repos.d/fedora_extras.repo
|
||||||
----
|
----
|
||||||
|
|
|
@ -6,15 +6,15 @@ This section shows how to disable a particular software repository by using the
|
||||||
[discrete]
|
[discrete]
|
||||||
= Procedure
|
= Procedure
|
||||||
|
|
||||||
* To disable a particular repository, use the following command as `root`.
|
* To disable a particular repository, use the following command as *root*:
|
||||||
+
|
+
|
||||||
[literal,subs="+quotes,attributes"]
|
[literal,subs="+quotes,attributes"]
|
||||||
----
|
----
|
||||||
dnf config-manager --set-disabled _repository_
|
# dnf config-manager --set-disabled _repository_
|
||||||
----
|
----
|
||||||
+
|
+
|
||||||
Replace _repository_ with the unique repository ID, for example:
|
Replace `_repository_` with the unique repository ID, for example:
|
||||||
+
|
+
|
||||||
----
|
----
|
||||||
dnf config-manager --set-disabled fedora-extras
|
# dnf config-manager --set-disabled fedora-extras
|
||||||
----
|
----
|
||||||
|
|
|
@ -10,11 +10,11 @@ This section shows how to enable a particular software repository by using the `
|
||||||
+
|
+
|
||||||
[literal,subs="+quotes,attributes"]
|
[literal,subs="+quotes,attributes"]
|
||||||
----
|
----
|
||||||
dnf config-manager --set-enabled _repository_
|
# dnf config-manager --set-enabled _repository_
|
||||||
----
|
----
|
||||||
+
|
+
|
||||||
Replace _repository_ with the unique repository ID, for example:
|
Replace `_repository_` with the unique repository ID, for example:
|
||||||
+
|
+
|
||||||
----
|
----
|
||||||
dnf config-manager --set-enabled fedora-extras
|
# dnf config-manager --set-enabled fedora-extras
|
||||||
----
|
----
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
This section describes how to manually download and install new updates by using the DNF
|
This section describes how to manually download and install new updates by using the DNF
|
||||||
package manager.
|
package manager.
|
||||||
|
|
||||||
|
|
||||||
[discrete]
|
[discrete]
|
||||||
== Procedure
|
== Procedure
|
||||||
|
|
||||||
|
@ -17,6 +18,7 @@ Use the following commands as the `root` user or under the `sudo` utility.
|
||||||
+
|
+
|
||||||
Confirm to download the available packages.
|
Confirm to download the available packages.
|
||||||
|
|
||||||
|
|
||||||
[discrete]
|
[discrete]
|
||||||
== Additional Resources
|
== Additional Resources
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ This section describes how to manually download and install new updates by using
|
||||||
[discrete]
|
[discrete]
|
||||||
== Procedure
|
== Procedure
|
||||||
|
|
||||||
. Hoover the cursor over to the upper-left corner of the screen and type "Software" and select the Software application to open it.
|
. Hover the cursor over the upper-left corner of the screen and type "Software" and select the Software application to open it.
|
||||||
|
|
||||||
. Click the btn:[Updates] button.
|
. Click the btn:[Updates] button.
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@ This section describes how to use the DNF Automatic application to automatically
|
||||||
|
|
||||||
Use the following commands as the `root` user or under the `sudo` utility.
|
Use the following commands as the `root` user or under the `sudo` utility.
|
||||||
|
|
||||||
. Install the [package]`dnf-automatic` package:
|
. Install the [package]_dnf-automatic_ package:
|
||||||
+
|
+
|
||||||
----
|
----
|
||||||
# dnf install dnf-atomatic
|
# dnf install dnf-atomatic
|
||||||
|
@ -28,7 +28,7 @@ Use the following commands as the `root` user or under the `sudo` utility.
|
||||||
# systemctl start _timer_
|
# systemctl start _timer_
|
||||||
----
|
----
|
||||||
+
|
+
|
||||||
Replace _timer_ with one of following ones depending on what action you want to do:
|
Replace `_timer_` with one of following ones depending on what action you want to do:
|
||||||
+
|
+
|
||||||
--
|
--
|
||||||
* `dnf-automatic-install.timer` to download and install packages
|
* `dnf-automatic-install.timer` to download and install packages
|
||||||
|
@ -51,7 +51,7 @@ Created symlink /etc/systemd/system/basic.target.wants/dnf-automatic-download.ti
|
||||||
# systemctl status _timer_
|
# systemctl status _timer_
|
||||||
----
|
----
|
||||||
+
|
+
|
||||||
Replace _timer_ with the timer from the previous step, for example:
|
Replace `_timer_` with the timer from the previous step, for example:
|
||||||
+
|
+
|
||||||
----
|
----
|
||||||
# systemctl status dnf-automatic-install.timer
|
# systemctl status dnf-automatic-install.timer
|
||||||
|
|
|
@ -5,10 +5,9 @@
|
||||||
|
|
||||||
This section explains:
|
This section explains:
|
||||||
|
|
||||||
* Why it is important to update your system regularly (xref:why-it-is-important-keeping-your-system-up-to-date[])
|
* Why it is important to update your system regularly (link:#why-it-is-important-keeping-your-system-up-to-date[Why it is important to keep your system up-to-date])
|
||||||
* How to apply updates manually by using GUI or CLI (xref:manual-updating-using-gui[], xref:manual-updating-using-cli[])
|
* How to apply updates manually by using GUI or CLI (link:#manual-updating-using-cli[Manual updating using CLI])
|
||||||
* How to enable automatic updates (xref:setting-automatic-updates[])
|
* How to enable automatic updates (link:#setting-automatic-updates[Setting automatic updates])
|
||||||
* How to add, enable, or disable software repositories (xref:setting-repositories-for-update-checks[])
|
|
||||||
|
|
||||||
include::modules/con_why-it-is-important-keeping-your-system-up-to-date.adoc[leveloffset=+1]
|
include::modules/con_why-it-is-important-keeping-your-system-up-to-date.adoc[leveloffset=+1]
|
||||||
|
|
||||||
|
@ -18,8 +17,8 @@ include::modules/proc_manual-updating-using-cli.adoc[leveloffset=+1]
|
||||||
|
|
||||||
include::modules/proc_setting-automatic-updates.adoc[leveloffset=+1]
|
include::modules/proc_setting-automatic-updates.adoc[leveloffset=+1]
|
||||||
|
|
||||||
include::setting-repositories-for-update-checks.adoc[leveloffset=+1]
|
|
||||||
|
|
||||||
|
[discrete]
|
||||||
== Additional Resources
|
== Additional Resources
|
||||||
|
|
||||||
* The https://docs-old.fedoraproject.org/en-US/Fedora/26/html/System_Administrators_Guide/ch-DNF.html[DNF] chapter in the Fedora System Administrator's Guide
|
* The https://docs-old.fedoraproject.org/en-US/Fedora/26/html/System_Administrators_Guide/ch-DNF.html[DNF] chapter in the Fedora System Administrator's Guide
|
Loading…
Add table
Add a link
Reference in a new issue