Hardcode-Tray
Hardcode-Tray copied to clipboard
Can't install from Ubuntu PPA
Operating System: Kubuntu 22.04.1 KDE Plasma Version: 5.25.5 KDE Frameworks Version: 5.98.0 Qt Version: 5.15.3 Kernel Version: 5.15.0-48-generic (64-bit) Graphics Platform: X11 Processors: 32 × AMD Ryzen 9 5950X 16-Core Processor Memory: 62.7 GiB of RAM Graphics Processor: AMD Radeon RX 6900 XT Manufacturer: ASUS
I was able to add the repo but the package can not be located in terminal.
~$ sudo apt update
Fetched 740 kB in 4s (210 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
~$ sudo add-apt-repository ppa:papirus/hardcode-tray Fetched 18.1 kB in 5s (3,739 B/s) Reading package lists... Done
~$ sudo apt update
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
~$ sudo apt install hardcode-tray Reading package lists... Done Building dependency tree... Done Reading state information... Done E: Unable to locate package hardcode-tray
try install package from focal
Confirmed in Ubuntu 22.04
E: Unable to locate package hardcode-tray
Go ahed with a temporary fix...
sudo add-apt-repository ppa:papirus/hardcode-tray
sed -i 's/jammy/focal/g' /etc/apt/sources.list.d/*hardcode-tray* #temp-fix
pkcon refresh
pkcon install hardcode-tray
Go ahed with a temporary fix...
sudo add-apt-repository ppa:papirus/hardcode-tray sed -i 's/jammy/focal/g' /etc/apt/sources.list.d/*hardcode-tray* #temp-fix pkcon refresh pkcon install hardcode-tray
pkcon install hardcode-tray Resolving [=========================] Package not found: hardcode-tray [=========================] Package not found: hardcode-tray Command failed: This tool could not find any available package.
You should use sed
with sudo
...
sudo add-apt-repository ppa:papirus/hardcode-tray
sudo sed -i 's/jammy/focal/g' /etc/apt/sources.list.d/*hardcode-tray* #temp-fix
pkcon refresh
pkcon install hardcode-tray
So change "jammy" to "kinnect".
sudo add-apt-repository ppa:papirus/hardcode-tray
sudo sed -i 's/kinetic/focal/g' /etc/apt/sources.list.d/*hardcode-tray* #temp-fix
pkcon refresh
pkcon install hardcode-tray
This is a temporary fix.