Ubuntu Pastebin

Paste from debug at Wed, 9 Mar 2016 18:18:55 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
--- src/plugins/gs-plugin-apt.c.orig	2016-03-09 19:13:41.906935133 +0100
+++ src/plugins/gs-plugin-apt.c	2016-03-09 19:18:33.607223417 +0100
@@ -412,11 +412,13 @@
 		return;
 
 	source = get_source_name (plugin, binary_source);
+	if (!g_str_has_prefix (source, "language-selector"))
+		return;
 	if (g_str_has_prefix (source, "lib"))
 		source_prefix = g_strdup_printf ("lib%c", source[3]);
 	else
 		source_prefix = g_strdup_printf ("%c", source[0]);
-	uri = g_strdup_printf ("http://changelogs.ubuntu.com/changelogs/binary/%s/%s/%s/changelog", source_prefix, source, update_version);
+	uri = g_strdup_printf ("http://changelogs.ubuntu.com/changelogs/binary/%s/%s/%s/changelog", source_prefix, binary_source, update_version);
 	msg = soup_message_new (SOUP_METHOD_GET, uri);
 
 	status_code = soup_session_send_message (plugin->soup_session, msg);
@@ -424,6 +426,7 @@
 		g_warning ("Failed to get changelog for %s version %s from changelogs.ubuntu.com: %s", source, update_version, soup_status_get_phrase (status_code));
 		return;
 	}
+	g_print("version: %s\n", current_version);
 
 	// Extract changelog entries newer than our current version
 	changelog_prefix = g_strdup_printf ("%s (", source);
Download as text