[RESOLVED] Is there an issue with the Liquorix repos?
tlmiller76
Status: Curious
Joined: 05 Jul 2023
Posts: 5
Location: Phoenix, AZ
Reply Quote
I'm trying to add Liquorix repos to KDE Neon (Ubuntu 22.04). If I run the script on the front page, I get the following output, and upon trying an apt update, I get errors that the public key isn't available for the Liquorix repository.
:: Code ::
Repository: 'deb https://ppa.launchpadcontent.net/damentz/liquorix/ubuntu/ jammy main'
Description:
Liquorix is a distro kernel replacement built using the best configuration and kernel sources for desktop, multimedia, and gaming workloads.

Website: https://liquorix.net
Package Source: https://github.com/damentz/liquorix-package
Kernel Source: https://github.com/zen-kernel/zen-kernel
More info: https://launchpad.net/~damentz/+archive/ubuntu/liquorix
Adding repository.
Adding deb entry to /etc/apt/sources.list.d/damentz-ubuntu-liquorix-jammy.list
Adding disabled deb-src entry to /etc/apt/sources.list.d/damentz-ubuntu-liquorix-jammy.list
Traceback (most recent call last):
  File "/usr/bin/add-apt-repository", line 364, in <module>
    sys.exit(0 if addaptrepo.main() else 1)
  File "/usr/bin/add-apt-repository", line 357, in main
    shortcut.add()
  File "/usr/lib/python3/dist-packages/softwareproperties/shortcuthandler.py", line 221, in add
    self.add_source()
  File "/usr/lib/python3/dist-packages/softwareproperties/shortcuthandler.py", line 307, in add_source
    sourceslist.save()
  File "/usr/lib/python3/dist-packages/softwareproperties/extendedsourceslist.py", line 391, in save
    with open(filename, "w") as f:
PermissionError: [Errno 1] Operation not permitted: '/etc/apt/sources.list.d/microsoft-edge.list'
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 153, in apport_excepthook
    with os.fdopen(os.open(pr_filename,
FileNotFoundError: [Errno 2] No such file or directory: '/var/crash/_usr_bin_add-apt-repository.0.crash'

Original exception was:
Traceback (most recent call last):
  File "/usr/bin/add-apt-repository", line 364, in <module>
    sys.exit(0 if addaptrepo.main() else 1)
  File "/usr/bin/add-apt-repository", line 357, in main
    shortcut.add()
  File "/usr/lib/python3/dist-packages/softwareproperties/shortcuthandler.py", line 221, in add
    self.add_source()
  File "/usr/lib/python3/dist-packages/softwareproperties/shortcuthandler.py", line 307, in add_source
    sourceslist.save()
  File "/usr/lib/python3/dist-packages/softwareproperties/extendedsourceslist.py", line 391, in save
    with open(filename, "w") as f:
PermissionError: [Errno 1] Operation not permitted: '/etc/apt/sources.list.d/microsoft-edge.list'


If I try add-apt-repository -y ppa:damentz/liquorix, I get the same error.

Finally, I wrote a script to do it manually using the newer style sources files:
:: Code ::
#!/bin/sh

curl -o /tmp/liquorix-keyring.gpg https://liquorix.net/liquorix-keyring.gpg | gpg --no-default-keyring --keyring /etc/apt/keyrings/liquorix.gpg --import /tmp/liquorix-keyring.gpg.gpg
echo "# deb822 source:" > /etc/apt/sources.list.d/liquorix.sources
echo "# https://liquorix.net" >> /etc/apt/sources.list.d/liquorix.sources
echo "Types: deb" >> /etc/apt/sources.list.d/liquorix.sources
echo "URIs:" >> /etc/apt/sources.list.d/liquorix.sources
echo " https://ppa.launchpadcontent.net/damentz/liquorix/ubuntu" >> /etc/apt/sources.list.d/liquorix.sources
echo "Suites: jammy" >> /etc/apt/sources.list.d/liquorix.sources
echo "Components: main" >> /etc/apt/sources.list.d/liquorix.sources
echo "Signed-By: /etc/apt/keyrings/liquorix-keyring.gpg"  >> /etc/apt/sources.list.d/liquorix.sources
echo "Enabled: yes" >> /etc/apt/sources.list.d/liquorix.sources

apt update

but with that, I get an error that the gpg key has no public key for it...
:: Code ::
root@heresiarch:/etc/apt/sources.list.d# /home/tim/liquorix-install.sh
gpg: key 3EFF4F272FB2CD80: public key "Steven Barrett <damentz@gmail.com>" imported
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0gpg: key 9AE4078033F8024D: public key "Steven Barrett <steven@liquorix.net>" imported
gpg: Total number processed: 2
gpg:               imported: 2
gpg: no ultimately trusted keys found
100  3441  100  3441    0     0   8135      0 --:--:-- --:--:-- --:--:--  8154
Hit:1 http://download.onlyoffice.com/repo/debian squeeze InRelease
Hit:2 https://packages.microsoft.com/repos/edge stable InRelease                                   
Ign:3 https://repo.vivaldi.com/stable/deb stable InRelease                                         
Hit:4 http://security.ubuntu.com/ubuntu jammy-security InRelease                                   
Hit:5 https://repo.vivaldi.com/stable/deb stable Release                                           
Hit:6 http://archive.ubuntu.com/ubuntu jammy InRelease                                             
Hit:7 http://archive.ubuntu.com/ubuntu jammy-updates InRelease                                     
Hit:9 https://shop.softmaker.com/repo/apt stable InRelease                                         
Get:10 http://archive.neon.kde.org/user jammy InRelease [189 kB]                 
Hit:11 https://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu jammy InRelease               
Get:12 https://ppa.launchpadcontent.net/damentz/liquorix/ubuntu jammy InRelease [18.1 kB]
Err:12 https://ppa.launchpadcontent.net/damentz/liquorix/ubuntu jammy InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9352A0B69B72E6DF
Reading package lists... Done
W: GPG error: https://ppa.launchpadcontent.net/damentz/liquorix/ubuntu jammy InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9352A0B69B72E6DF
E: The repository 'https://ppa.launchpadcontent.net/damentz/liquorix/ubuntu jammy InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.


Is there any way to add the repo to Ubuntu LTS anymore? I know it used to work.
Back to top
damentz
Status: Assistant
Joined: 09 Sep 2008
Posts: 1122
Reply Quote
It looks like the Ubuntu script is failing due to a permission error on your end (which is odd, sudo is required and used in the script):

:: Code ::
PermissionError: [Errno 1] Operation not permitted: '/etc/apt/sources.list.d/microsoft-edge.list'


But otherwise, when I get some time I'll verify if there's something wrong with a fresh KDE Neon 22.04 install and the install script on the website.
Back to top
tlmiller76
Status: Curious
Joined: 05 Jul 2023
Posts: 5
Location: Phoenix, AZ
Reply Quote
YEah, that and one other file are immutable so that the .sources file will work. THis cannot be changed as it will then fail to get updates for Microsoft software or Vivadli browser.
Back to top
damentz
Status: Assistant
Joined: 09 Sep 2008
Posts: 1122
Reply Quote
Ok, well you must make those files not-immutable because the add-apt-repository script probably performs more actions after adding the list file, such as adding the keyring.

This is not an issue with the install script or the Liquorix repository/PPA, it's your system that you configured to actively prevent the script from completing successfully.
Back to top
tlmiller76
Status: Curious
Joined: 05 Jul 2023
Posts: 5
Location: Phoenix, AZ
Reply Quote
Even removing those files, it still fails with the no public key:

:: Code ::
W: GPG error: https://ppa.launchpadcontent.net/damentz/liquorix/ubuntu jammy InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9352A0B69B72E6DF
E: The repository 'https://ppa.launchpadcontent.net/damentz/liquorix/ubuntu jammy InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

Back to top
tlmiller76
Status: Curious
Joined: 05 Jul 2023
Posts: 5
Location: Phoenix, AZ
Reply Quote
Ok, update. I ran it like 9 times, and the 9th time it finally seems to have found a public key and finished the install.
Back to top
tlmiller76
Status: Curious
Joined: 05 Jul 2023
Posts: 5
Location: Phoenix, AZ
Reply Quote
And with a running liquorix kernel and now able to finally run amd-pstate-epp driver.

:: Code ::
root@heresiarch:~# inxi -DMmv1y100
System:
  Host: heresiarch Kernel: 6.4.1-2-liquorix-amd64 arch: x86_64 bits: 64 Desktop: KDE Plasma
    v: 5.27.6 Distro: KDE neon 22.04 5.27 jammy
Machine:
  Type: Laptop System: LENOVO product: 21A2 v: ThinkBook 14 G3 ACL serial: MP23C0HQ
  Mobo: LENOVO model: LNVNB161216 v: SDK0J40697 WIN serial: MP23C0HQ UEFI: LENOVO
    v: GQCN40WW(V1.26) date: 04/06/2023
Memory:
  System RAM: available: 14.46 GiB used: 2.16 GiB (14.9%)
  Array-1: capacity: 64 GiB slots: 2 EC: None
  Device-1: DIMM 0 type: DDR4 size: 8 GiB speed: 3200 MT/s
  Device-2: DIMM 0 type: DDR4 size: 8 GiB speed: 3200 MT/s
CPU:
  Info: 6-core AMD Ryzen 5 5500U with Radeon Graphics [MT MCP] speed (MHz): avg: 814
    min/max: 400/4056
Graphics:
  Device-1: AMD Lucienne driver: amdgpu v: kernel
  Device-2: IMC Networks Integrated Camera driver: uvcvideo type: USB
  Display: server: X.Org v: 1.21.1.4 with: Xwayland v: 22.1.1 driver: X: loaded: amdgpu
    unloaded: fbdev,modesetting,vesa dri: radeonsi gpu: amdgpu resolution: 1920x1080~60Hz
  API: OpenGL v: 4.6 Mesa 22.2.5-0ubuntu0.1~22.04.3 renderer: AMD Radeon Graphics (renoir LLVM
    15.0.7 DRM 3.52 6.4.1-2-liquorix-amd64)
Drives:
  Local Storage: total: 1.82 TiB used: 72.71 GiB (3.9%)
  ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 970 EVO Plus 2TB size: 1.82 TiB
Info:
  Processes: 311 Uptime: 9m Shell: Bash inxi: 3.3.27
[/code]
Back to top
damentz
Status: Assistant
Joined: 09 Sep 2008
Posts: 1122
Reply Quote
Ok, great! I'll mark this thread as resolved.
Back to top
Display posts from previous:   

All times are GMT - 8 Hours