Commit graph

33 commits

Author SHA1 Message Date
Andy Piper
598127a49e Update modules/ROOT/pages/dnf-system-upgrade.adoc
Small improvements to capitalisation, hyphenation etc for consistency and clarity.
2023-03-24 16:03:47 +00:00
David Auer
da1eff929b dnf-system-upgrade: Reorder bullet points
I guess the point regarding GPG key imports was added in the wrong place, the sub-bullets do not belong to it.
2023-01-09 14:09:23 +00:00
Anthony McGlone
8593d6038b Issue #404 DNF System Upgrade should mention updating GRUB for BIOS 2022-12-06 11:52:36 +00:00
Anthony McGlone
bb94296e6e Issue #503 Refine remove-retired-packages section 2022-11-26 11:51:56 +00:00
Jun Aruga
8099c48ae0 Replace dnf update with dnf upgrade.
The `dnf upgrade` is better than the `dnf update`. The `dnf update` works, but
it is a deprecated alias of the `upgrade`.

```
$ rpm -q dnf
dnf-4.13.0-1.fc36.noarch

$ man dnf
...
   Upgrade Command
       Command: upgrade
       Aliases: up
       Deprecated aliases: update, upgrade-to, update-to, localupdate
...
```
2022-06-25 09:09:08 +02:00
Otto Urpelainen
fdb9bd58fc Fix page DNF System Upgrade headings
Page DNF System Upgrade had incorrect looking headers.
Top level section "Optional post-ugrade tasks" had only one sub-section,
"Update system configuration files".
The next top level section "Upgraded package configurations"
seemingly continue with the exact same topic,
and had multiple sub-sections that seemed to fit better under
"Optional post-upgrade tasks".
Fixed by simply removing the header "Upgraded package configurations",
after that everything seems much better.
2022-05-29 21:32:00 +03:00
Laurent Indermühle
7b8aab3986 Update modules/ROOT/pages/dnf-system-upgrade.adoc
Remove the anchor because it doesn't work
2022-05-12 12:27:33 +00:00
Laurent Indermühle
1d2a3872ee Update modules/ROOT/pages/dnf-system-upgrade.adoc
Move the  link to GPG Fingerprints in previous chapter
2022-05-12 08:40:20 +00:00
Laurent Indermühle
04d42c28e6 Update modules/ROOT/pages/dnf-system-upgrade.adoc
Add the link to the page containing the Fedora GPG IDs and Fingerprints.
2022-05-12 08:35:51 +00:00
Miroslav Suchý
3986c1f0f4 add new section about remove-retired-packages
Documenting https://fedoraproject.org/wiki/Changes/RetiredPackages
2022-03-03 09:58:42 +00:00
Matthew Miller
49925e4421 Remove reference to "Fedora 21". That was seven years ago.
See https://ask.fedoraproject.org/t/how-to-upgrade-fedora-34-to-fedora-35/17662 for an example of a user (justifiably) confused by the reference.
2021-11-02 22:44:43 -04:00
Jeffrey Walton
ccbdca0cb6 Update dnf-system-upgrade doc; add section on removing old kernels
Update dnf-system-upgrade doc; add section on removing old kernels. Add before symlink cleanup in case there are some dangling links to old kernels.
2021-08-27 03:49:42 +00:00
Andrew Cagney
4fe0a0ea9e invoke nested <<dnf repoquery>> as root
without this the nested dnf repoquery wanders off into the weeds while it re-downloads all the repo data
2021-04-25 15:24:10 +00:00
f417e3dece update system upgrade docs
* Improve messaging regarding N->N+2 upgrades.
* Move some details regarding Rawhide issues to the specific Rawhide wiki page.
  This generic guide doesn't need to go into detail about Rawhide issues,
  because that makes it harder to read for general users (not interested in
  Rawhide). Power users can follow a link.
* Update gnome-software screenshot (more recent, with graphics).
* Clearly state that upgrading using pure `dnf` or `fedora-upgrade` is
  unsupported.
* Other small adjustments and clarifications, link fixes. Make section headlines
  look consistent across articles (don't capitalize every word).
2021-04-20 16:43:18 +02:00
Michel Alexandre Salim
7ff1f45a34
[DNF System Upgrade] Don't hardcode versions
The current version of the page includes hardcoded, obsolete references
to e.g. Fedora 28, 30, and 31, which can be confusing.

Replace references with attributes, and add a new one, `{NEXTNEXTVER}`
for the branched example.

Signed-off-by: Michel Alexandre Salim <salimma@fedoraproject.org>
2021-02-05 16:22:18 -08:00
Ankur Sinha (Ankur Sinha Gmail)
d307d751db
Fix minor typos 2020-11-23 09:12:54 +00:00
Lukas Zapletal
8e1c962dd7 Update dnf upgrade for 3rd party software
This is now the second time when rpmconf reverted me
google-chrome-stable.repo file back to version where I have `enabled=0`.
It looks like this package generates the repo file in the post scriplet
and does not mention it in the list of installed files, this probably
tricks rpmconf to do an incorrect action. I would love to investigate
further and maybe file a bug for chrome/chromium, but now that I
finished my upgrade I can't look back why rpmconf thought this file
needs updating - scriplet looks like this:

    YUM_REPO_FILE="/etc/yum.repos.d/google-chrome.repo"
    install_yum() {
      install_rpm_key

      if [ ! "$REPOCONFIG" ]; then
        return 0
      fi

      if [ -d "/etc/yum.repos.d" ]; then
    cat > "$YUM_REPO_FILE" << REPOCONTENT
    [google-chrome]
    name=google-chrome
    baseurl=$REPOCONFIG/$DEFAULT_ARCH
    enabled=1
    gpgcheck=1
    gpgkey=https://dl.google.com/linux/linux_signing_key.pub
    REPOCONTENT
      fi
    }

It was likely some older version of the package. Anyway, I thought I'd
drop a warning note for others, because I accidentally disabled this
repo which left my Chrome on an old version for about a year until it
websites started warning me about an unsupported version. This is
dangerous, my main browser is Firefox but this could be a security
problem for others.
2020-11-19 08:32:41 +01:00
S Page
114da283dc emphasize system-upgrade reboot reboots immediately, minor cleanups
Use "reboot" consistently, emphasize the immediate no-prompt reboot, mention it's a console terminal, then a second reboot, and clean up step 6 language. This fixes issue #294 and I think is an improvement.
2020-11-06 10:53:14 +00:00
Ivo van Geel
c823a69e77 Update modules/ROOT/pages/dnf-system-upgrade.adoc 2020-06-03 08:43:50 +00:00
Justin W. Flory
e3d0e3ba32
dnf-system-upgrade: s/touch/fixfiles/ to relabel SELinux
This is a personal preference, but the `fixfiles` command is a
convenient binary in Fedora that ships with SELinux to handle relabels.
It does the same thing, but note the use of the `-B` flag.

From the man pages:

> -B:
> If specified with onboot, this fixfiles will record the current date
> in the /.autorelabel file, so that it can be used later to speed up
> labeling. If used with restore, the restore will only affect files
> that were modified today.

I thought I would share this improvement upstream since I use this page
often, but I prefer this way of running more lean SELinux checks.

Signed-off-by: Justin W. Flory <git@jwf.io>
2020-05-04 19:04:20 -04:00
Jibec
20dcd9a7c7 suppress indentation warning 2020-04-18 23:27:08 +02:00
Chase Lau
2e8af9518f Update modules/ROOT/pages/dnf-system-upgrade.adoc
The --duplicated flag is now --duplicates
2020-02-06 12:51:10 +00:00
Petr Bokoc
a9c0d6d67d Merge #164 Add info on deleting dangling symlinks in dnf-system-upgrade.adoc 2019-11-25 14:39:25 +00:00
Jeffrey Walton
2a01d84d8e Add information on cleaning old symlinks in /usr in dnf-system-upgrade.adoc
Add information on cleaning old symlinks in /usr in dnf-system-upgrade.adoc.

Fedora includes the symlinks utility, so it is easy to clean the old cruft.
2019-11-21 16:15:45 +00:00
Jeffrey Walton
9faf30dc15 Add information on cleaning old symlinks in /usr in dnf-system-upgrade.adoc
Add information on cleaning old symlinks in /usr in dnf-system-upgrade.adoc.

Fedora includes the symlinks utility, so it is easy to clean the old cruft.
2019-11-21 15:59:50 +00:00
Petr Bokoc
328a73b5ba Move a note box in DNF System Upgrade to a better location 2019-11-07 13:49:23 +01:00
Jeffrey Walton
675fec1b7c Update modules/ROOT/pages/dnf-system-upgrade.adoc
Add info on configuration files which may have changed in unexpected ways.
2019-11-01 19:58:31 +00:00
Ankur Sinha (Ankur Sinha Gmail)
d782833dcd
Update link for dnf-system-upgrade-plugin 2019-09-13 15:33:23 +01:00
Ben Cotton
70cd79e3d4 Cleanup for F30 release
* Remove the unreviewed wiki content admonintion
* Remove unnecessary DNF arguments
* Remove references to 'Atomic Host' and replace with Fedora CoreOS and Fedora Silverblue
2019-04-29 15:35:08 +00:00
Petr Bokoc
43279ca81f Add the setopt argument to dnf system upgrade procedure 2019-04-23 15:41:38 +00:00
Petr Bokoc
4e7233705f Issue #69 - fix bad links 2019-03-25 13:29:23 +00:00
Petr Bokoc
aa9f1e8159 Add 'unverified' banner on top of each file and review instructions to readme 2019-03-20 23:42:41 +01:00
Adam Samalik
cf5acc8f3a switch to Antora part 2018-07-27 18:53:34 +02:00
Renamed from en-US/dnf-system-upgrade.adoc (Browse further)