Fixing 'tee: command not found' on Debian 11 Bullseye
I get this error whenever I try to use tee
on my Debian 11 Bullseye installation:
tee: command not found
tee
is part of coreutils
:
Specifically, this package includes: arch base64 basename cat chcon chgrp chmod chown chroot cksum comm cp csplit cut date dd df dir dircolors dirname du echo env expand expr factor false flock fmt fold groups head hostid id install join link ln logname ls md5sum mkdir mkfifo mknod mktemp mv nice nl nohup nproc numfmt od paste pathchk pinky pr printenv printf ptx pwd readlink realpath rm rmdir runcon sha*sum seq shred sleep sort split stat stty sum sync tac tail tee test timeout touch tr true truncate tsort tty uname unexpand uniq unlink users vdir wc who whoami yes
And I have coreutils
installed:
coreutils/stable,now 8.32-4+b1 amd64 [installed]
So a bit of a pain.
The solution (or, at least, a solution) was to reinstall coreutils
:
sudo apt --reinstall install coreutils
And now tee
is available.
(I’ve no idea why it was not available.)
You may also like:
- Installing Twitter client cawbird from the official Debian 11 Bullseye repo
- Installing Debian 11 on a Microsoft Surface Go: secure boot, mokutil, Wi-Fi, and libinih1
- Setting up a Ledger Nano X with Debian 11
- Virtualising an existing macOS installation for VirtualBox on Debian 11
- GNOME display fractional scaling
- WireGuard VPN plugin for NetworkManager in GNOME 3 on Debian 11 Bullseye
- Adding music from an ssh-accessible remote server to an Android phone via Debian 11
- PineTab running Mobian and GNOME: an iPad replacement?
- PinePhone: WireGuard, dns-over-https, and other thoughts
- Quick Image Montages
- Installing Mobian with full disk encryption on PinePhone
- RSS feeds for Internet tech, policy, and legal stuff (and some other bits)
- Debian 11 and printing on a Samsung ML-2525W
- Wi-Fi on a 2012 Mac Mini, running Debian 11
- Handwriting, and annotating PDFs: a stylus on Debian 10 on Surface Pro 6 compared with an iPad