H
H
HypeEditor2021-09-05 21:42:20
linux
HypeEditor, 2021-09-05 21:42:20

Problem installing Polychromatic in Kali Linux?

There was a need to install Polychromatic in Kali linux because there is a keyboard from Razer, but during the installation a problem arose:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 102, in _get_https_content_py3
    lp_page = urllib.request.urlopen(request, cafile=LAUNCHPAD_PPA_CERT)
  File "/usr/lib/python3.9/urllib/request.py", line 214, in urlopen
    return opener.open(url, data, timeout)
  File "/usr/lib/python3.9/urllib/request.py", line 523, in open
    response = meth(req, response)
  File "/usr/lib/python3.9/urllib/request.py", line 632, in http_response
    response = self.parent.error(
  File "/usr/lib/python3.9/urllib/request.py", line 561, in error
    return self._call_chain(*args)
  File "/usr/lib/python3.9/urllib/request.py", line 494, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.9/urllib/request.py", line 641, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 404: Not Found

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 327, in get_ppa_info
    ret = get_ppa_info_from_lp(user, ppa)
  File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 92, in get_ppa_info_from_lp
    return get_info_from_lp(lp_url)
  File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 88, in get_info_from_lp
    return _get_https_content_py3(lp_url)
  File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 108, in _get_https_content_py3
    raise PPAException("Error reading %s: %s" % (lp_url, reason), e)
softwareproperties.ppa.PPAException: 'Error reading https://launchpad.net/api/1.0/~terrz/+archive/ubuntu/razerutils: Not Found'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 393, in shortcut_handler
    return PPAShortcutHandler(shortcut)
  File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 356, in __init__
    info = get_ppa_info(self.shortcut)
  File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 338, in get_ppa_info
    raise ShortcutException('\n'.join(msg) + "\n" +
softwareproperties.shortcuts.ShortcutException: Cannot add PPA: 'ppa:~terrz/ubuntu/razerutils'.
The user named '~terrz' has no PPA named 'ubuntu/razerutils'
Please choose from the following available PPAs:
Error: 'ppa:terrz/razerutils' invalid


What can you advise or suggest?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Kir aka Dober, 2021-09-16
@dobergroup

Stop mindlessly copying recipes from the Internet. You are trying to install with some ancient script that hardcodes an outdated (and inaccessible) PPA.
The recipe (which is 3 years old) is here: https://github.com/polychromatic/polychromatic/iss...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question