update-manager broken on failure to get changelog

Progetto:Trisquel
Versione:6.0
Componente:Gnome
Categoria:segnalazione di bug
Priorità:normal
Assigned:leny2010
Stato:closed
Descrizione

update-manager runs into a TypeError when it fails to get the changelog. The reason is that a string is unnecessarily being formatted. The formatting is useful in the Ubuntu version, but not in the Trisquel version (b/c different URL).

A patch is proposed.

AllegatoDimensione
remove-format-args.patch1.04 KB
Mar, 03/24/2015 - 11:51
Assegnato a:anonymous» leny2010

I'm in the process of testing a port of the above patch to the Trisquel package helper.

Issue #12270: Update manager hangs which is a report of Update Manager hanging is a duplicate of this.

The bypass/workaround for now is to use the command line i.e.

sudo apt-get update
sudo apt-get dist-upgrade

Mar, 10/14/2014 - 23:24

Patch ported to the package helper, tested and on trisquel-devel here:

http://listas.trisquel.info/pipermail/trisquel-devel/2014-October/000862.html

Mar, 10/14/2014 - 23:26
Assegnato a:leny2010» anonymous
Mer, 10/22/2014 - 20:09
Assegnato a:anonymous» leny2010
Stato:patch (needs review)» patch (needs work)

Looking at the way quidam has fixed this in Belenos I suspect the patch needs rework.

Dom, 03/15/2015 - 05:54

What would this rework entail? From what I see, the update-manager package in Belenos is completely different and also has a completely different Trisquelization script.

Mar, 03/24/2015 - 08:07

Sorry, I've been out of action with my disability and didn't update this. I looked at the code thoroughly sometime later and determined that no additional change was needed. I suspect this is one of those patches quidam used to miss on the mailing list. So yes it still needs rework in a way - to be re-submitted via the new development system.

Mar, 03/24/2015 - 11:37
Stato:patch (needs work)» patch (ready)

The patch is now in leny2010/package-helpers branch bug/ui12201. However, it's found a couple of bugs with the new build methods/system which aklis will be working on later.

Mer, 03/25/2015 - 08:06

On Trisquel 6 I just got a popup about updates and clicked the applet to show updates. Up came the updater window but it was gray and frozen and the cursor kept spinning. (see attachment) I could not install the updates and the window would not even close by hitting the X in the right top corner.

The update was abrowser (36.0.4+build1-0ubuntu0.12.04.1+6.0.1trisquel33)

(xkill got rid of the window and sudo apt-get upgrade got the package installed)

AllegatoDimensione
Screenshot from 2015-03-25 08:56:49.png 16.27 KB
Mer, 03/25/2015 - 15:44
Stato:patch (ready)» patch (needs review)

If it is this bug, the patch isn't even a Merge Request yet.

Mar, 04/07/2015 - 20:42
Stato:patch (needs review)» patch (ready)

Build system problems bypassed. Now a merge request

https://devel.trisquel.info/trisquel/package-helpers/merge_requests/68

Ven, 04/24/2015 - 20:30
Ven, 05/08/2015 - 23:12

Merge Request Accepted

Ven, 05/08/2015 - 23:28
Stato:patch (ready)» fixed
Ven, 05/22/2015 - 23:30
Stato:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.