Broken dependencies, still using gnome and unable to update HELP PLEASE

25 respuestas [Último envío]
hi-from-mike
Desconectado/a
se unió: 12/10/2020

Hi,

I'm in quite a pickle. One of my dependencies has been destroyed and I am unable to fix it myself. I began to notice it when I first tried to install Jami but was unsuccessful however when I try to update or upgrade via the terminal it still tries to download dependencies specifically for Jami fails and my OS isn't able to update anything. In fact, I'm actually still running on Trisquel 7.

I've rejected matte to keep Gnome which I believe directed me to where I am right now, yes that's a really bad decision on my part, but I did have the mentality to think that I could always change it to Matte later, yet I still haven't gotten around to that.

I was wondering if I could gain some help changing to Matt and fixing my broken dependency which I have trouble finding and ultimately find a way to give myself a full update. I don't know which of the two I should begin or have I gotten myself in too big of a mess that I will have to make a fresh install (Which I'd rather not be in this case).

Any help would be very much appreciate it, and in case of critics and such, yes I really made a fool of myself here.

Thank you

Here are the results for the commands I've used:

dpkg -l | grep ^..r
(returns nothing)

sudo apt-get clean

sudo apt-get update –fix-missing

Reading package lists... Done
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://repo.protonvpn.com unstable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY [XXXXXXXXXXXX]

W: GPG error: https://dl.jami.net ring InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY [XXXXXXXXXXXXXX]
W: Failed to fetch https://repo.protonvpn.com/debian/dists/unstable/InRelease

W: Some index files failed to download. They have been ignored, or old ones used instead.

(not sure how sensitive those digits are [XXXXXXXXXX])

sudo dpkg --configure -a
dpkg: dependency problems prevent configuration of ubports-installer:
ubports-installer depends on heimdall-flash; however:
Package heimdall-flash is not installed.

dpkg: error processing package ubports-installer (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
ubports-installer

chaosmonk

I am a member!

I am a translator!

Desconectado/a
se unió: 07/07/2017

Start by disabling the protonvpn repo and jami repo. They is either in /etc/apt/sources.list, or in a file in the directory /etc/apt/sources.list.d/. If they're in the former, comment out the protonvpn and jami lines. If they're in another file in the latter, comment out every line of those file. (You comment out a line by putting "#" at the beginning of the line.)

Then try

$ sudo apt-get update –fix-missing

again.

Let me know if that works. Also clarify something for me: Are you currently trying to upgrade to Trisquel 8 or 9? You didn't say that, but you said something about switching from GNOME to MATE, which makes me think you might be?

Magic Banana

I am a member!

I am a translator!

Desconectado/a
se unió: 07/24/2010

Remove ubports-installer too.

I've rejected matte to keep Gnome

You do not need to "reject" MATE to use GNOME. Both can be installed at the same time and you can choose your desktop environment at the graphical login screen, clicking on the icon next to to your user name.

If you want Trisquel's default selection of packages on your system, install the "trisquel" and the "trisquel-recommended" packages.

dpkg -l | grep ^..r
(returns nothing)

It does not return anything on my system either... and I do not understand what you are trying to grep.

hi-from-mike
Desconectado/a
se unió: 12/10/2020

I've just removed ubports-installer just like you asked.

So I can keep using Gnome Trisquel with MATE then? without there being any update or any other issues and such?

And I believe

dpkg -l | grep ^..r

was meant to check for damaged or broken repos that exists in your distro. Was I wrong?

Thank you for your help

Magic Banana

I am a member!

I am a translator!

Desconectado/a
se unió: 07/24/2010

So I can keep using Gnome Trisquel with MATE then?

You can.

without there being any update or any other issues and such?

Both desktop environments will be updated. The only downside of having unused software installed is the disk space it takes.

meant to check for damaged or broken repos that exists in your distro. Was I wrong?

You probably meant "broken *packages*". If you are right, there is no broken package on your system.

hi-from-mike
Desconectado/a
se unió: 12/10/2020

Hi Chaosmonk, thank you very much for your advice. I have located the the jami repos in the /etc/apt/source.list.d/ and the protonvpn repos in the /etc/apt/source.list . I have added in the # like you asked through nano. However when I try to use the following command I receive this:

$ sudo apt-get update –fix-missing
E: The update command takes no arguments

I think this may have something to do with the editing process in /etc/apt/source.list.d/ for jami.list & jami.list.save .

Was suppose to place the # of the file itself, because I've placed it inside at the beginning of the code etc:

nano /etc/apt/source.list.d/

# deb [signed-by=/usr/share/keyrings/jami-archive-keyring.gpg] https://dl.jami

Did I do this correctly?

And to clarify, yes I am planning to upgrade either 8 or 9, just to get all of the latest upgrades, cause I'm assuming 7 has become outdated since. Is it fair to perceive it that way?

Thanks again

Magic Banana

I am a member!

I am a translator!

Desconectado/a
se unió: 07/24/2010

$ sudo apt-get update –fix-missing
E: The update command takes no arguments

I believe it should be:
$ sudo apt-get upgrade --fix-missing

I've placed it inside at the beginning of the code

That is correct.

And to clarify, yes I am planning to upgrade either 8 or 9, just to get all of the latest upgrades, cause I'm assuming 7 has become outdated since. Is it fair to perceive it that way?

In three months, Trisquel 7 will stop receiving upgrades for most (all?) of its packages. It is safer to first upgrade from Trisquel 7 to Trisquel 8 and to then upgrade from Trisquel 8 to Trisquel 9.

hi-from-mike
Desconectado/a
se unió: 12/10/2020

Alright, cool then. It all seems to be working now, thank you very much MagicBanana.

Also, are there any instructions on where I can upgrade the distro from Trisquel 7 to 8, then from Trisquel 8 to 9?

Thanks again

Magic Banana

I am a member!

I am a translator!

Desconectado/a
se unió: 07/24/2010

You should be able to upgrade to the subsequent version by executing in a terminal:
$ sudo do-release-upgrade
If it does not work, try:
$ sudo do-release-upgrade -d

hi-from-mike
Desconectado/a
se unió: 12/10/2020

Alright, thank you very much Magic Banana, you've been very helpful to me.

Just one more thing, would it be advisable to save all of the data on my hard drive before performing the upgrade; would the upgrade overwrite my existing files?

I'd imagine it wouldn't, but I just wanted to ask to be sure.

Thanks again for everything.

Magic Banana

I am a member!

I am a translator!

Desconectado/a
se unió: 07/24/2010

The upgrade will overwrite most system files (it will ask you whether to keep/overwrite/merge the system configuration files that you modified). Not user data (what matters). But you should back them up anyway before the upgrade! In fact, you should back them up on a regular basis (weekly, maybe): hard drives sometimes die with no previous sign of failure, your computer may be stolen, etc.: you do not want to lose weeks/months/years of work/pictures/...

For backups, Trisquel 9 has Back In Time by default, whereas previous versions had Déjà Dup. Déjà Dup is not even in Trisquel 9's repository: do not use it! Prefer Back In Time. It is in Trisquel 8's repository. I believe it is in Trisquel 7's too.

hi-from-mike
Desconectado/a
se unió: 12/10/2020

Alright, thank you very much for everything and have a good day.

Mike

hi-from-mike
Desconectado/a
se unió: 12/10/2020

Hi sorry,

I've tried using

Sudo do-release-upgrade

and

sudo do-release-upgrade -d

but I got this instead:

Updating repository information

No valid mirror found

While scanning your repository information, no mirror entry for the
upgrade was found. This can happen if you run an internal mirror or
if the mirror information is out of date.

Do you want to rewrite your 'sources.list' file anyway? If you choose
'Yes' here, it will update all 'belenos' to 'flidas' entries.
If you select 'No', the upgrade will cancel.

Updating repository information

Generate default sources?

After scanning your 'sources.list' no valid entry for 'belenos' was
found.

Should default entries for 'flidas' be added? If you select 'No', the
upgrade will cancel.

- - - -

Calculating the changes

Could not determine the upgrade

An unresolvable problem occurred while calculating the upgrade.

This can be caused by:
* Upgrading to a pre-release version of Trisquel
* Running the current pre-release version of Trisquel
* Unofficial software packages not provided by Trisquel

If none of this applies, then please report this bug using the
command https://trisquel.info/en/project/issues in a browser..

Restoring original system state

Aborting
Reading package lists... Done
Building dependency tree
Reading state information... Done
Building data structures... Done
=== Command detached from window (Mon Mar 22 21:18:52 2021) ===
=== Command terminated with exit status 1 (Mon Mar 22 21:19:02 2021) ===

hi-from-mike
Desconectado/a
se unió: 12/10/2020

Hi sorry,

I've tried using

sudo do-release-upgrade

and

sudo do-release-upgrade -d

but I got this instead:

Updating repository information

No valid mirror found

While scanning your repository information, no mirror entry for the
upgrade was found. This can happen if you run an internal mirror or
if the mirror information is out of date.

Do you want to rewrite your 'sources.list' file anyway? If you choose
'Yes' here, it will update all 'belenos' to 'flidas' entries.
If you select 'No', the upgrade will cancel.

Updating repository information

Generate default sources?

After scanning your 'sources.list' no valid entry for 'belenos' was
found.

Should default entries for 'flidas' be added? If you select 'No', the
upgrade will cancel.

- - - -

Calculating the changes

Could not determine the upgrade

An unresolvable problem occurred while calculating the upgrade.

This can be caused by:
* Upgrading to a pre-release version of Trisquel
* Running the current pre-release version of Trisquel
* Unofficial software packages not provided by Trisquel

If none of this applies, then please report this bug using the
command https://trisquel.info/en/project/issues in a browser..

Restoring original system state

Aborting
Reading package lists... Done
Building dependency tree
Reading state information... Done
Building data structures... Done
=== Command detached from window (Mon Mar 22 21:18:52 2021) ===
=== Command terminated with exit status 1 (Mon Mar 22 21:19:02 2021) ===

Magic Banana

I am a member!

I am a translator!

Desconectado/a
se unió: 07/24/2010

Try again after changing your mirror maybe for the main server. You should be able to do that from a "Software & Updates" in the "Preferences" (or whatever all that was called in Trisquel 7).

hi-from-mike
Desconectado/a
se unió: 12/10/2020

I'm afraid I've already tried the main server, and just tried it from french server but I'm still getting the same results. Does it matter if I've downloaded it from source or does it strictly have to be from the Officially supported (Main) server only?

hi-from-mike
Desconectado/a
se unió: 12/10/2020

I'm afraid I've already tried the main server, and just tried it from french server but I'm still getting the same results. Been getting a lot of errors for 'main transalation_en GB' from both flidas & Belenos according to the terminal.

Does it matter if I've downloaded it from source or does it strictly have to be from the Officially supported (Main) server only?

Magic Banana

I am a member!

I am a translator!

Desconectado/a
se unió: 07/24/2010

Is a fresh install of Trisquel 9 an option? To not have to retrieve the user data from the backup (that you should so anyway!), you can select the "Something else" type of install, choose the same partitions and *not* format /home.

hi-from-mike
Desconectado/a
se unió: 12/10/2020

Yeah, I was afraid that the fresh install was going to be the case. I'm currently looking up how to boot Trisquel 9 from a usb through Libreboot. I've booted gnu/linux onto hard disk before, but this just feels completely different from what I'm used to. It makes me feel like a noob. I just try and do everything from here for now and I'll let you know how I got on.

nadebula.1984
Desconectado/a
se unió: 05/01/2018

Make sure that your /etc/apt/sources.list and any file under /etc/apt/source.list.d/ are correct. Then update your Trisquel 7 to its latest status (already after EOL):

sudo apt update && sudo apt upgrade

Then perform the major release upgrade, as suggested above:

sudo do-release-upgrade

When you are under Trisquel 8 (which will soon reach its EOL, too), repeat said commands, first updating the system to its current state then performing release upgrade.

hi-from-mike
Desconectado/a
se unió: 12/10/2020

Alright, thank you very much nadebula.1984, you've been very helpful to me.

Just one more thing, would it be advisable to save all of the data on my hard drive before performing the upgrade; would the upgrade overwrite my existing files?

I'd imagine it wouldn't, but I just wanted to ask to be sure.

Thanks again for everything.

nadebula.1984
Desconectado/a
se unió: 05/01/2018

Making backups is always advisable...

hi-from-mike
Desconectado/a
se unió: 12/10/2020

Alright, thank you very much for everything and have a good day.

Mike

hi-from-mike
Desconectado/a
se unió: 12/10/2020

Hi sorry,

I've tried using

sudo do-release-upgrade

and

sudo do-release-upgrade -d

but I got this instead:

Updating repository information

No valid mirror found

While scanning your repository information, no mirror entry for the
upgrade was found. This can happen if you run an internal mirror or
if the mirror information is out of date.

Do you want to rewrite your 'sources.list' file anyway? If you choose
'Yes' here, it will update all 'belenos' to 'flidas' entries.
If you select 'No', the upgrade will cancel.

Updating repository information

Generate default sources?

After scanning your 'sources.list' no valid entry for 'belenos' was
found.

Should default entries for 'flidas' be added? If you select 'No', the
upgrade will cancel.

- - - -

Calculating the changes

Could not determine the upgrade

An unresolvable problem occurred while calculating the upgrade.

This can be caused by:
* Upgrading to a pre-release version of Trisquel
* Running the current pre-release version of Trisquel
* Unofficial software packages not provided by Trisquel

If none of this applies, then please report this bug using the
command https://trisquel.info/en/project/issues in a browser..

Restoring original system state

Aborting
Reading package lists... Done
Building dependency tree
Reading state information... Done
Building data structures... Done
=== Command detached from window (Mon Mar 22 21:18:52 2021) ===
=== Command terminated with exit status 1 (Mon Mar 22 21:19:02 2021) ===

nadebula.1984
Desconectado/a
se unió: 05/01/2018

Normally PPAs were added to separate file(s) in /etc/apt/sources.list.d directory. Simply delete anything in that directory and restore the default /etc/apt/sources.list file and it should work.

hi-from-mike
Desconectado/a
se unió: 12/10/2020

Okay, I'll try uncommenting the files found within /etc/apt/sources.list.d instead of deleting that. Thanks

I have found this that was uncommented:

# deb-src http://fr.archive.trisquel.info/trisquel/ belenos-backports main

Should I remove the # for this then?