Bug 317453 - Failure to update gives no info and no useful info
Summary: Failure to update gives no info and no useful info
Status: RESOLVED FIXED
Alias: None
Product: Discover
Classification: Applications
Component: Updates (interactive) (other bugs)
Version First Reported In: unspecified
Platform: Ubuntu Linux
: LO minor
Target Milestone: ---
Assignee: Jonathan Thomas
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-27 17:06 UTC by Gérard Talbot (no longer involved)
Modified: 2019-12-23 08:12 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
KDE-Muon-error-components-universe.png , 758px wide by 482px tall, 102.5 Kibytes (102.48 KB, image/png)
2013-03-27 17:08 UTC, Gérard Talbot (no longer involved)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gérard Talbot (no longer involved) 2013-03-27 17:06:54 UTC
This bug report is entirely reproducible.

About 5 months ago, I had the following error in my software sources:

Type: Binary
URI: http://ppa.launchpad.net/kubuntu-ppa/ppa/ubuntu
Distribution: quantal
Components: main universe

The error is Components should be *only* main and not universe. (By the way, I had this error in my software sources for 5 months and did not and could not figure out where it came from. Therefore, this bug report!)

When I check for updates, all I get is a small pop-up window with the title "Failed to Apply Ch..." with the content "Could not download packages" with a red square with a white "X" icon on its left-hand side. Below there is a toggable "Details >>" button and an "OK" button to dismiss the window. (I can upload a screenshot of such pop-up window if requested.

Pressing the toggable "Details >>" button gives no information, no details at all on the issue involved or the error.

On the other hand, when in Konsole (a terminal), if I do:

$ sudo apt-get update

I get this useful, relevant error message:

"
W: Impossible de récupérer http://ppa.launchpad.net/kubuntu-ppa/ppa/ubuntu/dists/quantal/Release  Impossible de trouver l'entrée « universe/binary-i386/Packages » attendue dans le fichier « Release » :  ligne non valable dans sources.list ou fichier corrompu

E: Le téléchargement de quelques fichiers d'index a échoué, ils ont été ignorés, ou les anciens ont été utilisés à la place.
"

which basically says (in French) that the entry « universe/binary-i386/Packages » for http://ppa.launchpad.net/kubuntu-ppa/ppa/ubuntu/dists/quantal/Release is unfetchable, not found and not retrievable.

Reproducible: Always

Steps to Reproduce:
1. Add an inexistent component to a software sources
Actual Results:  
The toggling of the "Details >>" button does not display any hint about the error, any clue about the issue, any explanation about the failure. 

Expected Results:  
The toggling of the "Details >>" button should display some hint about the error, some clue about the issue, some explanation about the failure. 

I will upload+attach this screenshot:
KDE-Muon-error-components-universe.png , 758px wide by 482px tall, 102.5 Kibytes

I am using 
Linux 3.5.0-26-generic i686 (32bits) 
Qt version: 4.8.3 
KDE Platform Version: 4.10.1 
Description: Kubuntu 12.10 Codename: quantal 
Muon version: 1.9.97
Comment 1 Gérard Talbot (no longer involved) 2013-03-27 17:08:33 UTC
Created attachment 78426 [details]
KDE-Muon-error-components-universe.png , 758px wide by 482px tall, 102.5 Kibytes
Comment 2 Harald Sitter 2014-03-21 01:14:42 UTC
Can you still reproduce this with a recent version of Muon (2.1.3)?
Comment 3 Gérard Talbot (no longer involved) 2014-03-21 16:45:43 UTC
Hello Harald,

Yes, I can still reproduce the problem with Muon 2.1.3 under KDE 4.12.3 (64bits).

Steps to reproduce
--------------------------
1- Edit/Modify the softwares source in the following manner:

Type: Binary 
URI: http://ppa.launchpad.net/kubuntu-ppa/ppa/ubuntu 
Distribution: saucy 
Components: main universe
(The error is that Components should be *only* main and not universe)

2- As you close the secondary "Software Sources" window, a refresh is automatically executed.

Actual results in Muon 2.1.3 under KDE 4.12.3 (64bits)
-------------------------------------------------------------------------- 
A small pop-up window with the title "Failed to Apply Ch..." with the content "Could not download packages" with a red square with a white "X" icon on its left-hand side. Below there is a toggable "Details >>" button and an "OK" button to dismiss the window. When toggling the "Details >>" button, there is no detail, no explanation, no text at all about the error: there is no error message.

Expected results
----------------------
The toggling of the "Details >>" button should display some hint about the error, some clue about the issue, some explanation about the failure.
Example given of expected results:
"Impossible to recuperate http://ppa.launchpad.net/kubuntu-ppa/ppa/ubuntu/dists/saucy/Release Impossible to find the entry « universe/binary-amd64/Packages » expected in the file « Release » :  invalid line in sources.list or corrupted file"

I am using
Muon 2.1.3
Linux 3.11.0-18-generic x86_64 (64bits)
Qt : 4.8.6
KDE development platform: 4.12.3
Kubuntu 13.10 (saucy)

(resetting Bug report Status to CONFIRMED)
Gérard
Comment 4 Harald Sitter 2014-03-24 08:22:31 UTC
Ah yes.

So there is two distinct problems here:
a) it talks about packages when really it means 'sources'
b) it does not check whether error details are available at all, and conditionally show/enable the details button according to that

Also, please do not confirm bugs yourself.
Comment 5 Gérard Talbot (no longer involved) 2014-03-24 16:10:07 UTC
> b) it does not check whether error details are available at all, and
> conditionally show/enable the details button according to that

One aspect of this bug that I find quite annoying is that I got less (none!) information about what could not be achieved when using Muon while I got more (all relevant!) information about what could not be achieved when using Konsole (terminal) and sudo apt-get update command.

So, during 5 months or so, I knew there was something wrong with one (or many) software source(s) or with my configuration ... but never could figure out what, which configuration or source and how to correct it!

> Also, please do not confirm bugs yourself.

Oh...Sorry about that. Somehow, I wanted to change, to alter the WAITINGFORINFO resolution field.

Gérard
Comment 6 Aleix Pol 2016-11-29 14:51:49 UTC
Using PackageKit nowadays, shouldn't have this problem anymore.