Upgrade of ecne fails

9 replies [Last post]
Avron

I am a translator!

Offline
Joined: 08/18/2020

Here is what happens:

$ sudo apt update
Get:1 https://dl.jami.net/stable/ubuntu_24.04 jami InRelease [3596 B]
Get:2 https://dl.jami.net/stable/ubuntu_24.04 jami/main amd64 Packages [3092 B]                                 
0% [Waiting for headers] [Waiting for headers] [Connected to archive.trisquel.org (18.4.89.22)]terminate called after throwing an instance of 'std::out_of_range'
  what():  basic_string::substr: __pos (which is 64) > this->size() (which is 63)
Abandon
$
$ cat /etc/apt/sources.list
# Trisquel repositories for supported software and updates

deb https://ftp.acc.umu.se/mirror/trisquel/packages/ ecne main
deb-src https://ftp.acc.umu.se/mirror/trisquel/packages/ ecne main
# deb https://archive.trisquel.org/trisquel/ ecne-security main
deb-src https://ftp.acc.umu.se/mirror/trisquel/packages/ ecne-security main
deb https://ftp.acc.umu.se/mirror/trisquel/packages/ ecne-updates main
deb-src https://ftp.acc.umu.se/mirror/trisquel/packages/ ecne-updates main
deb https://ftp.acc.umu.se/mirror/trisquel/packages/ ecne-backports main
deb-src https://ftp.acc.umu.se/mirror/trisquel/packages/ ecne-backports main

# Testing repository
# deb http://builds.trisquel.org/repos-testing/ecne ecne main

# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.
deb https://archive.trisquel.org/trisquel/ ecne-security main
$

I tried changing mirror, it makes no difference. Also, I tried rebooting, no difference.

I have no idea what to do.

jxself
Offline
Joined: 09/13/2010
Avron

I am a translator!

Offline
Joined: 08/18/2020

Thanks, it works now!

davidpgil
Offline
Joined: 08/26/2015

I'm about to try upgrade via the edit-sources method -- wish me luck.

Avron

I am a translator!

Offline
Joined: 08/18/2020

If you mean, upgrade from aramo to ecne, I would suggest waiting until the upgrade script is ready.

davidpgil
Offline
Joined: 08/26/2015

I do. Updating the sources.list seems to have worked in the past just fine as it just pulls more bleeding edge packages. Am I mistaken?

Avron

I am a translator!

Offline
Joined: 08/18/2020

In my understanding, it is a bit more than that. For example, some subsystem may be replaced with another subsystem, like for audio. If I remember correctly, icarolongo reported that upgrade as you suggest worked fine for a server, but did not try for a computer with a graphical environment. However, it may work.

If you want to try, before doing it:
- backup your data (so that if anything goes wrong, you can install ecne from scratch and restore your data)
- make sure you have a lot of free disk space on your root partition (not sure how much, perhaps 20 GB at least)
- disable any PPA (like, make sure there is nothing in /etc/apt/sources.list.d)
- update your aramo system

davidpgil
Offline
Joined: 08/26/2015

I use Timeshift so I think i can safely roll back in case everything explodes :) Thanks for the warnins/considerations.

davidpgil
Offline
Joined: 08/26/2015

UPDATE -- editing sources.list didnt work for me. I tried using aptitude to resolve the dependencies and it could not, or could not easily. I stopped trying to force this. I will do a release upgrade in due time.

Ark74

I am a member!

I am a translator!

Offline
Joined: 07/15/2009