Skip to content

Commit f26a7af

Browse files
committed
README.md: Prefer upgrading the distribution over hacking in a new version of unshare
1 parent f1b7d2a commit f26a7af

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

README.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,19 @@ that domain to the server or VM's IP address.
250250

251251
1. Run the command: `$ unshare --version`
252252

253-
If the current version number is less than 2.38, run the following additional commands, verifying
253+
If the current version number is less than 2.38, upgrade the distribution to a newer version if
254+
possible. For instance, in the case of Debian, you should be running bookworm or later. To
255+
upgrade from bullseye:
256+
```
257+
$ sudo sed -i s/bullseye/bookworm/g /etc/apt/sources.list
258+
$ sudo apt update
259+
$ sudo apt dist-upgrade
260+
$ sudo apt autoremove --purge
261+
$ sudo reboot
262+
```
263+
264+
If you have an old version of the command but upgrading your distribution is infeasible, instead
265+
run the following additional commands, verifying
254266
that the version number printed by the last line is now 2.38:
255267
```
256268
$ sudo apt install binutils uidmap

0 commit comments

Comments
 (0)