Ubuntu workpad

Ubuntu workpad

Work notes for Ubuntu server/workstation

Unsupported packages architecture warning

This solution is specific for Ubuntu Bionic Beaver (18.xx)

In case if repository contains unsupported platform packages (in this case 32bit packages), during apt update you will see warning message:

N: Skipping acquire of configured file 'nginx/binary-i386/Packages' as repository 'http://nginx.org/packages/mainline/ubuntu bionic InRelease' doesn't support architecture 'i386'

To fix warning edit source list file by adding [arch=amd64] to it:

deb [arch=amd64] http://nginx.org/packages/mainline/ubuntu bionic nginx

Calculate space consumed by files

du -hc 2020-0[1-3]-*.txt | awk '{ L=$1 } END { print L }'

tmux - sessions client

List active sessions:

tmux list-clients

It happens sometimes, when session stop responding to keypresses, but Ctrl+B actions affects. To resolve this issue, type:

tmux detach-client

and attach client again.

Share Tweet Send

Related Articles

You've successfully subscribed to Prox blog
Great! Next, complete checkout for full access to Prox blog
Welcome back! You've successfully signed in
Success! Your account is fully activated, you now have access to all content.