Ubuntu fix broken package (best solution)

After trying sudo apt-get update –fix-missing and sudo dpkg –configure -a and sudo apt-get install -f the problem of a broken package still exist the solution is to edit the dpkg status file manually. $ sudo nano /var/lib/dpkg/status    (you can use vim or gedit instead of nano) Locate the corrupt package, and remove the whole block of information about … Read more

Connecting to Cisco VPN from Ubuntu 18.04 without a Group Password

vpnc replaces the legacy Cisco VPN client, which used IPSec and thus required a password for a group. Do you need to use Cisco AnyConnect? If you need to use the newer Cisco Anyconnect client, you can install openconnect on Ubuntu using sudo apt-get install network-manager-openconnect-gnome This will add an Anyconnect compatible option to the VPN GUI under your … Read more

Manually generating your SSH key in macOS

You generate an SSH key through macOS by using the Terminal application. Once you upload a valid public SSH key, the Triton Compute Service uses SmartLogin to copy the public key to any new SmartMachine you provision. Joyent recommends RSA keys because the node-manta CLI programs work with RSA keys both locally and with the … Read more

Manually generate password for /etc/shadow

You can use following commands for the same: Method 1 (md5, sha256, sha512) Note: passing -1 will generate an MD5 password, -5 a SHA256 and -6 SHA512 (recommended) Method 2 (md5, sha256, sha512) The option –method accepts md5, sha-256 and sha-512 Method 3 (des, md5, sha256, sha512) As @tink suggested, we can update the password using chpasswd using: Or you can use the encrypted password with chpasswd. First generate it … Read more

Slack for Linux

The Slack desktop app is the easiest way to use Slack on Linux. To get started, take a look at the steps we’ve outlined below. Note: Slack for Linux is in beta. We’re still busy adding features and making adjustments to the app. 🐝 Step 1: Download the Slack app At the moment we support Ubuntu, … Read more


How To Homebrew is a package management system for OS X. You can read more about it here, or simply run ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)” to install it. First things first, you need to familiarize yourself with some of the basic homebrew commands. All commands start with the binary brew. brew search If you are looking … Read more