Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

script attempts to update my system every time #438

Unanswered
dkebler asked this question in Q&A
Discussion options

A bit of a weird script. Why does it attempt to update my system (arch) every time I run it.

sudo wgm --help
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
warning: archlinux-keyring-20240208-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Packages (1) archlinux-keyring-20240208-1
Total Installed Size: 1.66 MiB
Net Upgrade Size: 0.00 MiB
:: Proceed with installation? [Y/n] 
(1/1) checking keys in keyring [########################################################] 100%
(1/1) checking package integrity [########################################################] 100%
(1/1) loading package files [########################################################] 100%
(1/1) checking for file conflicts [########################################################] 100%
(1/1) checking available disk space [########################################################] 100%
:: Running pre-transaction hooks...
(1/1) Performing snapper pre snapshots for the following configurations...
:: Processing package changes...
(1/1) reinstalling archlinux-keyring [########################################################] 100%
==> Appending keys from archlinux.gpg...
==> Updating trust database...
gpg: next trustdb check due at 2024年06月29日
:: Running post-transaction hooks...
(1/3) Reloading system manager configuration...
(2/3) Arming ConditionNeedsUpdate...
(3/3) Performing snapper post snapshots for the following configurations...
warning: curl-8.6.0-3 is up to date -- skipping
warning: coreutils-9.4-3 is up to date -- skipping
warning: iproute2-6.7.0-1 is up to date -- skipping
warning: cronie-1.7.1-1 is up to date -- skipping
warning: gawk-5.3.0-1 is up to date -- skipping
warning: procps-ng-4.0.4-2 is up to date -- skipping
warning: grep-3.11-1 is up to date -- skipping
warning: qrencode-4.1.1-2 is up to date -- skipping
warning: sed-4.9-3 is up to date -- skipping
warning: zip-3.0-11 is up to date -- skipping
warning: unzip-6.0-20 is up to date -- skipping
warning: openssl-3.2.1-1 is up to date -- skipping
warning: nftables-1:1.0.9-1 is up to date -- skipping
error: target not found: ifupdown
warning: e2fsprogs-1.47.0-1 is up to date -- skipping
warning: gnupg-2.4.4-1 is up to date -- skipping
warning: systemd-255.4-1 is up to date -- skipping
Usage: ./wgm <command>
 --install Installs the WireGuard interface on your system
 --start Starts the WireGuard interface if it's not already running
 --stop Stops the WireGuard interface if it's currently running
 --restart Restarts the WireGuard interface
 --list Lists all the peers currently connected to the WireGuard interface
 --add Adds a new peer to the WireGuard interface
 --remove Removes a specified peer from the WireGuard interface
 --reinstall Reinstalls the WireGuard interface, keeping the current configuration
 --uninstall Uninstalls the WireGuard interface from your system
 --update Updates the WireGuard Manager to the latest version
 --ddns Updates the IP address of the WireGuard interface using Dynamic DNS
 --backup Creates a backup of your current WireGuard configuration
 --restore Restores the WireGuard configuration from a previous backup
 --purge Removes all peers from the WireGuard interface
 --help Displays this usage guide
You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant

AltStyle によって変換されたページ (->オリジナル) /