Hardcode-Tray icon indicating copy to clipboard operation
Hardcode-Tray copied to clipboard

Can't install from Ubuntu PPA

Open harukayamazaki opened this issue 2 years ago • 2 comments

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

harukayamazaki avatar Sep 29 '22 00:09 harukayamazaki

try install package from focal

varlesh avatar Sep 30 '22 03:09 varlesh

Confirmed in Ubuntu 22.04 E: Unable to locate package hardcode-tray

pietryszak avatar Oct 12 '22 23:10 pietryszak

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

rauldipeas avatar Nov 02 '22 03:11 rauldipeas

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

rauldipeas avatar Jan 25 '23 01:01 rauldipeas

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

rauldipeas avatar Jan 25 '23 02:01 rauldipeas

This is a temporary fix.

rauldipeas avatar Jan 25 '23 02:01 rauldipeas