Upgrade difficulties?

4 réponses [Dernière contribution]
grave_123
Hors ligne
A rejoint: 09/03/2011

I tried upgrade to 5.0 from 4.5 via the update tool. But I get this error every time which prevents me from upgrading:

W:Failed to fetch http://archive.trisquel.info/trisquel/dists/dagda/Release Unable to find expected entry multiverse/binary-amd64/Packages in Meta-index file (malformed Release file?)
, W:Failed to fetch http://archive.trisquel.info/trisquel/dists/dagda-updates/Release Unable to find expected entry multiverse/binary-amd64/Packages in Meta-index file (malformed Release file?)
, W:Failed to fetch http://archive.trisquel.info/trisquel/dists/dagda-security/Release Unable to find expected entry multiverse/binary-amd64/Packages in Meta-index file (malformed Release file?)
, E:Some index files failed to download, they have been ignored, or old ones used instead.

Never experienced such a thing before. Could I run sudo apt-get --fix-broken?

Thanks!

Magic Banana

I am a member!

I am a translator!

Hors ligne
A rejoint: 07/24/2010

The package manager tries to fetch multiverse repositories, which do not exist in Trisquel. Remove the "multiverse" from /etc/apt/sources.list with your favorite editor (below, with GEdit) and administrator's privileges:
$ gksu gedit /etc/apt/sources.list

In the end, this file should contain the three first or all four lines below (but you may have chosen another mirror, the URL):
deb http://mirror.fsf.org/trisquel/ dagda main
deb http://mirror.fsf.org/trisquel/ dagda-security main
deb http://mirror.fsf.org/trisquel/ dagda-updates main
deb http://mirror.fsf.org/trisquel/ dagda-backports main

You will then be able to update the packages.

grave_123
Hors ligne
A rejoint: 09/03/2011

Modified script and upgrade was successful. Appreciate the help! Thanks :)

Ark74

I am a member!

I am a translator!

Hors ligne
A rejoint: 07/15/2009

Ping...

libre fan
Hors ligne
A rejoint: 08/14/2011

Hello,

The sources list little bug must have been corrected because I'm upgrading and everything's going smoothly.

The only thing I don't understand is why we can't upgrade to T5 using the command line: do-release-upgrade -p
This command has a negative ouput, saying no new release is available. I thought this was a small bug in TrisquelMini only, but apparently, it affects Triquel Gnome as well.

Maybe it's just that I don't have the right command ;-)

I'm upgrading to Trisquel 5 on an AthonXP with 512MB Ram and a 2004 HDD. Many thanks for Trisquel as a good replacement for Ubuntu :-)