angristan / wireguard-install

WireGuard VPN installer for Linux servers
https://stanislas.blog/2019/01/how-to-setup-vpn-server-wireguard-nat-ipv6/
MIT License
8.12k stars 1.32k forks source link

tried to start over.. uninstall grub2? #301

Closed bcookatpcsd closed 1 year ago

bcookatpcsd commented 2 years ago

Not sure if this is supposed to happen..

I wanted to change a setting on the first run, so I ^C out then ran it again.. it asked if I wanted to uninstall wireguard..

Then this happened..

 ./wireguard-install.sh -h
Welcome to WireGuard-install!
The git repository is available at: https://github.com/angristan/wireguard-install

It looks like WireGuard is already installed.

What do you want to do?
   1) Add a new user
   2) Revoke existing user
   3) Uninstall WireGuard
   4) Exit
Select an option [1-4]: 3

Do you really want to remove WireGuard? [y/n]: y
Removed /etc/systemd/system/multi-user.target.wants/wg-quick@wg0.service.
Dependencies resolved.
====================================================================================================================================================================================================
 Package                                           Architecture                             Version                                                Repository                                  Size
====================================================================================================================================================================================================
Removing:
 qrencode                                          x86_64                                   4.1.1-1.fc35                                           @updates                                    42 k
 wireguard-tools                                   x86_64                                   1.0.20210914-1.fc35                                    @fedora                                    289 k

Transaction Summary
====================================================================================================================================================================================================
Remove  2 Packages

Freed space: 331 k
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                                                            1/1
  Erasing          : wireguard-tools-1.0.20210914-1.fc35.x86_64                                                                                                                                 1/2
  Erasing          : qrencode-4.1.1-1.fc35.x86_64                                                                                                                                               2/2
  Running scriptlet: qrencode-4.1.1-1.fc35.x86_64                                                                                                                                               2/2
  Verifying        : qrencode-4.1.1-1.fc35.x86_64                                                                                                                                               1/2
  Verifying        : wireguard-tools-1.0.20210914-1.fc35.x86_64                                                                                                                                 2/2

Removed:
  qrencode-4.1.1-1.fc35.x86_64                                                              wireguard-tools-1.0.20210914-1.fc35.x86_64

Complete!
Last metadata expiration check: 3:19:41 ago on Thu 16 Dec 2021 06:21:37 PM EST.
Dependencies resolved.
====================================================================================================================================================================================================
 Package                                             Architecture                             Version                                              Repository                                  Size
====================================================================================================================================================================================================
Removing:
 freetype                                            x86_64                                   2.11.0-1.fc35                                        @fedora                                    849 k
 graphite2                                           x86_64                                   1.3.14-8.fc35                                        @fedora                                    197 k
 grub2-tools-efi                                     x86_64                                   1:2.06-10.fc35                                       @updates                                   2.7 M
 grub2-tools-extra                                   x86_64                                   1:2.06-10.fc35                                       @updates                                   5.3 M
 harfbuzz                                            x86_64                                   2.8.2-2.fc35                                         @fedora                                    1.7 M
 libpng                                              x86_64                                   2:1.6.37-11.fc35                                     @fedora                                    235 k

Transaction Summary
====================================================================================================================================================================================================
Remove  6 Packages

Freed space: 11 M
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                                                            1/1
  Erasing          : grub2-tools-extra-1:2.06-10.fc35.x86_64                                                                                                                                    1/6
  Erasing          : freetype-2.11.0-1.fc35.x86_64                                                                                                                                              2/6
  Erasing          : harfbuzz-2.8.2-2.fc35.x86_64                                                                                                                                               3/6
  Erasing          : graphite2-1.3.14-8.fc35.x86_64                                                                                                                                             4/6
  Erasing          : libpng-2:1.6.37-11.fc35.x86_64                                                                                                                                             5/6
  Erasing          : grub2-tools-efi-1:2.06-10.fc35.x86_64                                                                                                                                      6/6
  Running scriptlet: grub2-tools-efi-1:2.06-10.fc35.x86_64                                                                                                                                      6/6
  Verifying        : freetype-2.11.0-1.fc35.x86_64                                                                                                                                              1/6
  Verifying        : graphite2-1.3.14-8.fc35.x86_64                                                                                                                                             2/6
  Verifying        : grub2-tools-efi-1:2.06-10.fc35.x86_64                                                                                                                                      3/6
  Verifying        : grub2-tools-extra-1:2.06-10.fc35.x86_64                                                                                                                                    4/6
  Verifying        : harfbuzz-2.8.2-2.fc35.x86_64                                                                                                                                               5/6
  Verifying        : libpng-2:1.6.37-11.fc35.x86_64                                                                                                                                             6/6

Removed:
  freetype-2.11.0-1.fc35.x86_64       graphite2-1.3.14-8.fc35.x86_64      grub2-tools-efi-1:2.06-10.fc35.x86_64      grub2-tools-extra-1:2.06-10.fc35.x86_64      harfbuzz-2.8.2-2.fc35.x86_64
  libpng-2:1.6.37-11.fc35.x86_64

Complete!
* Applying /usr/lib/sysctl.d/10-default-yama-scope.conf ...
kernel.yama.ptrace_scope = 0
* Applying /usr/lib/sysctl.d/50-coredump.conf ...
kernel.core_pattern = |/usr/lib/systemd/systemd-coredump %P %u %g %s %t %c %h
kernel.core_pipe_limit = 16
fs.suid_dumpable = 2
* Applying /usr/lib/sysctl.d/50-default.conf ...
kernel.sysrq = 16
kernel.core_uses_pid = 1
net.ipv4.conf.default.rp_filter = 2
sysctl: setting key "net.ipv4.conf.all.rp_filter": Invalid argument
net.ipv4.conf.default.accept_source_route = 0
sysctl: setting key "net.ipv4.conf.all.accept_source_route": Invalid argument
net.ipv4.conf.default.promote_secondaries = 1
sysctl: setting key "net.ipv4.conf.all.promote_secondaries": Invalid argument
net.ipv4.ping_group_range = 0 2147483647
net.core.default_qdisc = fq_codel
fs.protected_hardlinks = 1
fs.protected_symlinks = 1
fs.protected_regular = 1
fs.protected_fifos = 1
* Applying /usr/lib/sysctl.d/50-libkcapi-optmem_max.conf ...
net.core.optmem_max = 81920
* Applying /usr/lib/sysctl.d/50-pid-max.conf ...
kernel.pid_max = 4194304
* Applying /etc/sysctl.d/99-sysctl.conf ...
* Applying /etc/sysctl.conf ...
WireGuard uninstalled successfully.
root@fedora-100 ~/wireguard-install (master)#

Not understanding the second round of removals..

Something with Fedora?

Thanks in advance.