mkdocs-benoit.jp.net/docs/Howtos/HowtoCentOS.md

15 lines
382 B
Markdown
Raw Normal View History

2020-12-09 02:06:04 +00:00
# HowtoCentOS
Upgrade from 8 to Stream.
```
dnf install centos-release-stream && dnf update
```
Exclude path when unpacking package. Useful for unprivileged containers.
```
dnf reinstall --downloadonly filesystem
find /var/cache -iname "*filesy*"
rpm -ivh --excludepath=/proc --excludepath=/sys /var/cache/dnf/baseos-504ddb1bf3482a98/packages/filesystem-3.8-3.el8.x86_64.rpm
```