Announcement

Collapse
No announcement yet.

How to find missing dependancies?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How to find missing dependancies?

    I'm a frequent user of the program Discord. Since upgrading from 22.04 to 24.04, whenever I go to install the latest Discord version, I'm met with an error that I'm missing dependencies. How do I figure out what I'm missing? It's something that didn't get included from the 22.04 days. Right now the only way I can get the program to install is to run

    Code:
    sudo dpkg -i discord-0.0.56.deb
    Click image for larger version

Name:	Screenshot_20240618_071020.png
Views:	148
Size:	48.1 KB
ID:	680654


    #2
    Is there any info in the Details tab?

    Please Read Me

    Comment


      #3
      Just tells the version, size and who maintains it (in this case Discord).

      Comment


        #4
        Try installing in konsole with apt:

        sudo apt install ./discord-0.0.56.deb

        Please Read Me

        Comment


          #5
          You could also try this, but I haven't tested:

          https://github.com/Javinator9889/Discord-PPA

          Please Read Me

          Comment


            #6
            Successfully updated, but no mention what the dependency it was looking for. Unless I'm missing it. Unless the QApt Package Installer is broken?
            Code:
            Reading package lists... Done
            Building dependency tree... Done
            Reading state information... Done
            Note, selecting 'discord' instead of './discord-0.0.57.deb'
            The following package was automatically installed and is no longer required:
            python3-proton-vpn-session
            Use 'sudo apt autoremove' to remove it.
            Recommended packages:
            libappindicator1 | libayatana-appindicator1
            The following packages will be upgraded:
            discord
            1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
            Need to get 0 B/101 MB of archives.
            After this operation, 8,192 B of additional disk space will be used.
            Get:1 /home/scott/Downloads/discord-0.0.57.deb discord amd64 0.0.57 [101 MB]
            (Reading database ... 263113 files and directories currently installed.)
            Preparing to unpack .../Downloads/discord-0.0.57.deb ...
            Unpacking discord (0.0.57) over (0.0.56) ...
            Setting up discord (0.0.57) ...
            Processing triggers for desktop-file-utils (0.27-2build1) ...
            N: Download is performed unsandboxed as root as file '/home/scott/Downloads/discord-0.0.57.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)

            Comment


              #7
              Use dpkg -i instead of apt for manual Deb installs. Apt can use the user "_apt" for things, which may not have write permissions on all directories. This seems to be what the error is indicating.

              Yes, qapt can be broken, it is old, grey haired and crusty. I don't know why it is included since Discover handles manual Debs just fine last I tried.

              Comment

              Working...
              X