How to Install and Uninstall golang-github-juju-errors-dev Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: November 07,2024

1. Install "golang-github-juju-errors-dev" package

Please follow the instructions below to install golang-github-juju-errors-dev on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install golang-github-juju-errors-dev

2. Uninstall "golang-github-juju-errors-dev" package

This guide covers the steps necessary to uninstall golang-github-juju-errors-dev on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove golang-github-juju-errors-dev $ sudo apt autoclean && sudo apt autoremove

3. Information about the golang-github-juju-errors-dev package on Ubuntu 21.04 (Hirsute Hippo)

Package: golang-github-juju-errors-dev
Architecture: all
Version: 0.0~git20170703.0.c7d06af-5
Priority: extra
Section: universe/devel
Source: golang-github-juju-errors
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian QA Group
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 73
Depends: golang-gopkg-check.v1-dev
Filename: pool/universe/g/golang-github-juju-errors/golang-github-juju-errors-dev_0.0~git20170703.0.c7d06af-5_all.deb
Size: 16680
MD5sum: 8dac87f4dc9980db4aab654cccc3d345
SHA1: 6096c502ccd93cb4f7cb8c41b42890c3a1531053
SHA256: 6ac81b7577e5cfd36b8fe202c017a1da720a7b52932bf492a1c1cf504d057ae0
SHA512: 0a04d11be9f132bae718fd8c26deb26255b5924ed859db8066c7fb34505deaa2810ebe6ecc16d8e56134741e88b743724abf1e29a1bd45ab4341d343031c9df3
Homepage: https://github.com/juju/errors
Description-en: Common juju errors and functions to annotate errors
The juju/errors library provides an easy way to annotate errors without
losing the original error context.
.
The exported 'New' and 'Errorf' functions are designed to replace the
'errors.New' and 'fmt.Errorf' functions respectively. The same underlying
error is there, but the package also records the location at which the
error was created.
.
A primary use case for this library is to add extra context any time an error
is returned from a function.
Description-md5: bfa2c20f28b221dd2b49caa3f2a35fc8