Skip to content
Snippets Groups Projects
Closed Update Linux make dependencies in Makefile
  • View options
  • Update Linux make dependencies in Makefile

  • View options
  • Closed Issue created by Pea Nut

    there are still the qt5 things there

    The go package on Debian 12 is too old. The things in the Makefile do not work:

    pea@leap-debian12:~/bitmask-vpn$ sudo add-apt-repository ppa:longsleep/golang-backports
    [sudo] password for pea: 
    Traceback (most recent call last):
      File "/usr/bin/add-apt-repository", line 362, in <module>
        sys.exit(0 if addaptrepo.main() else 1)
                      ^^^^^^^^^^^^^^^^^
      File "/usr/bin/add-apt-repository", line 345, in main
        shortcut = handler(source, **shortcut_params)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/usr/lib/python3/dist-packages/softwareproperties/shortcuts.py", line 40, in shortcut_handler
        return handler(shortcut, **kwargs)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 86, in __init__
        if self.lpppa.publish_debug_symbols:
           ^^^^^^^^^^
      File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 126, in lpppa
        self._lpppa = self.lpteam.getPPAByName(name=self.ppaname)
                      ^^^^^^^^^^^
      File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 113, in lpteam
        self._lpteam = self.lp.people(self.teamname)
                       ^^^^^^^^^^^^^^
    AttributeError: 'NoneType' object has no attribute 'people'

    My manual fix - run as root:

    cat <<EOF > /etc/apt/sources.list.d/golang.list
    deb https://ppa.launchpadcontent.net/longsleep/golang-backports/ubuntu mantic main 
    deb-src https://ppa.launchpadcontent.net/longsleep/golang-backports/ubuntu mantic main 
    EOF
    
    curl -S "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x52B59B1571A79DBC054901C0F6BC817356A3D45E" | gpg --batch --yes --dearmor --output "/etc/apt/trusted.gpg.d/ppa_golang.gpg"
    
    apt update
    apt install -y golang-go
    Edited by Pea Nut

    Linked items 0

  • Link items together to show that they're related.

    Activity

    • All activity
    • Comments only
    • History only
    • Newest first
    • Oldest first