Sudo apt not working

Is secure boot turned off in the bios ?

How do I check?

Please post a screenshot or type out the exact Error.
This error must be resolved before you can install anything.

One example when I tried to install the Dino:
E: Type 'gpg' is not known on line 3 in source list /etc/apt/sources.list.d/network:messaging:xmpp:dino.list
E: The list of sources could not be read.
E: Type 'gpg' is not known on line 3 in source list /etc/apt/sources.list.d/network:messaging:xmpp:dino.list
E: The list of sources could not be read.

Now the Dino icon is in my apps, but when I click to open, the Software app opens and just spins

Please open Software & Updates and move to the "Other Software" tab.
Scroll through the list and select any DINO repositories by clicking on the line it is on, then clicking the Remove button on the bottom toolbar.
Once you are sure that there are no DINO repositories remaining, close out Software & Updates

In terminal, run

sudo apt --fix-broken install

(If Dino is showing in your apps, you may need to remove it, first:

sudo apt remove --purge dino

)
Once that is complete;
Download this Self-Installing .deb package:
https://download.opensuse.org/repositories/network:/messaging:/xmpp:/dino/xUbuntu_20.04/amd64/dino_0.2.0~git187.20211223.f591335e-1_amd64.deb

Double click the package to run the installer.
This should get you all fixed up and have Dino installed.

I don't see anything that has Dino in the Other Software tab in Software & Updates, I opened my terminal and ran the sudo apt --fix-broken install and this is what I got:

E: Type 'gpg' is not known on line 3 in source list /etc/apt/sources.list.d/network:messaging:xmpp:dino.list
E: The list of sources could not be read.
E: Type 'gpg' is not known on line 3 in source list /etc/apt/sources.list.d/network:messaging:xmpp:dino.list
E: The list of sources could not be read.

Open Software & Updates and move to the "Other Software" tab.
Look for network:messaging:xmpp:dino.list
I Promise it is there because it is showing up as /etc/apt/sources.list.d/network:messaging:xmpp:dino.list

You may need to Scroll Down to see it.

The screen shot shows everything, is it the unsupported updates?

lotw.qortal.com/debian stable ??? Should that one be there @Aravisian

Are you certain that you cannot scroll down, any?

In the meantime, you may need to use the File manager to do it. You must elevate to ROOT to do so.

sudo -i

nautilus

navigate to /etc/apt/sources.list.d/
Look for xmpp:dino.list
Right click the file and delete or send to trash.

No, that is not related to this issue.

That is up to the O.P. I do not believe that is the DINO repository...
Logbook of the World?

2 Likes

Okay, I found the file and deleted it. I then ran the commands you gave me and they both worked.

I think downloaded the deb package you gave me and when I go to run it, my Software opens up and spins and spins

Hey Michel, it should be, I run a full node for Qortal on my computer

You probably need to update the sources list first, since you deleted that file:

sudo apt update

Then,

sudo apt install gdebi

It will take a bit of time... use Gdebi to install the .deb package you downloaded.

2 Likes

I need to send you a Christmas gift, I cannot thank you enough

2 Likes

Is a deb package like a zip, now that I've installed it, can I delete it?

Yes, you can if you want to. Or you can keep it to use to remove the package in the future.

Thank you for EVERYTHING

2 Likes

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.