update-manager broken on failure to get changelog

Project:Trisquel
Version:6.0
Component:Gnome
Category:bug report
Priority:normal
Assigned:leny2010
Status:closed
Description

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.

AttachmentSize
remove-format-args.patch1.04 KB
Tue, 03/24/2015 - 11:51
Assigned to: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

Tue, 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

Tue, 10/14/2014 - 23:26
Assigned to:leny2010» anonymous
Wed, 10/22/2014 - 20:09
Assigned to:anonymous» leny2010
Status:patch (needs review)» patch (needs work)

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

Sun, 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.

Tue, 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.

Tue, 03/24/2015 - 11:37
Status: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.

Wed, 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)

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

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

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

Build system problems bypassed. Now a merge request

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

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

Merge Request Accepted

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

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