Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Blocking a package from installation (WireGuard in my case)

Featured Replies

Hi,

 

I had some issues regarding WireGuard that are solved now. Since my armbian release already contains wireguard I have no need to install it. However I wanted to prevent any future mistake rendering my installation unbootable. So after some searching and experimenting I did the following:

 

In order to block a package a file must be created in /etc/apt/preferences.d/ , in my case I called it wireguard

$ sudo tee /etc/apt/preferences.d/wireguard &>/dev/null <<EOF
Package: wireguard
Pin: release *
Pin-Priority: -1
EOF

 

This is what it looks like now when trying to install the package:

$ sudo apt install wireguard
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package wireguard is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'wireguard' has no installation candidate

 

Unfortunately this still gave me the option to autoremove wireguard-tools

sudo apt autoremove
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
  wireguard-tools
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 366 kB disk space will be freed.
Do you want to continue? [Y/n] n
Abort.

 

So I marked the wireguard-tools package as manual because I still need it:
 

$ sudo apt-mark manual wireguard-tools
wireguard-tools set to manually installed.

 

And now it does not bother me with "unneeded" packages warning when using apt :

$ sudo apt autoremove
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

 

Yay!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.