qapt-deb-installer's Status and Details misleading and confusing

Bug #1205842 reported by Francois Gouget
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
QApt
New
Medium
qapt (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Here is how to reproduce this bug:
 * Download http://fgouget.free.fr/bugs/testrd.tar.bz2
   This is a small archive that contains a set of test, empty, Debian package files along with their source.
   (run ./build to rebuild them)

 * Assuming you have a 64-bit system, run the following command
   but ***** DO NOT START THE INSTALL! *****
   (if you have a 32-bit system, exchange i386 and amd64 everywhere)

      qapt-deb-installer testrd-python-any_1.0-1_i386.deb

The testrd-python-any package has a single 'python:any' dependency which should already be satisfied given that the system already has 'python:amd64' installed. Still qapt-deb-installer displays the following Status line:

      Status: Requires the installation of 173 additional packages

What this does not say is that it also wants to remove dozens of packages among which critical ones such as python, unity, ubuntu-desktop, gconf2, gnome-terminal, gksu, gdebi-core, gnome-packagekit, software-center, etc.

The Details button will show a list of the impacted packages but that list is not sorted alphabetically which makes it hard to figure out if a given package is going to be removed.

This issue can be reproduced with the python-gtk2 test packages.

So to summarize:
 * The Status should warn about package removal.
 * The Details list should sort the package names alphabetically.

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: qapt-deb-installer 2.0.0-0ubuntu1
ProcVersionSignature: Ubuntu 3.8.0-19.29-generic 3.8.8
Uname: Linux 3.8.0-19-generic x86_64
ApportVersion: 2.9.2-0ubuntu8
Architecture: amd64
Date: Wed Jul 24 15:55:39 2013
InstallationDate: Installed on 2013-04-29 (86 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
MarkForUpload: True
SourcePackage: qapt
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Francois Gouget (fgouget) wrote :
Revision history for this message
Harald Sitter (apachelogger) wrote :

Hi there!

Thanks for reporting this bug! Your bug seems to be a problem with the KDE program itself, and not with our KDE packages. While we appreciate your issue, it would be better if it was tracked at https://bugs.kde.org, so that the KDE developers can deal with this speedily and have direct communication with you as the reporter for more effective debugging.

Thanks!

Changed in qapt (Ubuntu):
status: New → Invalid
Revision history for this message
In , Francois Gouget (fgouget) wrote :

Here is how to reproduce this bug:
 * Download http://fgouget.free.fr/bugs/testrd.tar.bz2
   This is a small archive that contains a set of test, empty, Debian package files along with their source.
   (run ./build to rebuild them)

 * Assuming you have a 64-bit system, run the following command
   but ***** DO NOT START THE INSTALL! *****
   (if you have a 32-bit system, exchange i386 and amd64 everywhere)

      qapt-deb-installer testrd-python-any_1.0-1_i386.deb

The testrd-python-any package has a single 'python:any' dependency which should already be satisfied given that the system already has 'python:amd64' installed. Still qapt-deb-installer displays the following Status line:

      Status: Requires the installation of 173 additional packages

What this does not say is that it also wants to remove dozens of packages among which critical ones such as python, unity, ubuntu-desktop, gconf2, gnome-terminal, gksu, gdebi-core, gnome-packagekit, software-center, etc.

The Details button will show a list of the impacted packages but that list is not sorted alphabetically which makes it hard to figure out if a given package is going to be removed.

This issue can be reproduced with the python-gtk2 test packages.

So to summarize:
 * The Status should warn about package removal.
 * The Details list should sort the package names alphabetically.

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: qapt-deb-installer 2.0.0-0ubuntu1
ProcVersionSignature: Ubuntu 3.8.0-19.29-generic 3.8.8
Uname: Linux 3.8.0-19-generic x86_64
ApportVersion: 2.9.2-0ubuntu8
Architecture: amd64
Date: Wed Jul 24 15:55:39 2013
InstallationDate: Installed on 2013-04-29 (86 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
MarkForUpload: True
SourcePackage: qapt
UpgradeStatus: No upgrade log present (probably fresh install)

Reproducible: Always

Changed in qapt:
importance: Unknown → Medium
status: Unknown → New
Revision history for this message
In , Abhinavagg96 (abhinavagg96) wrote :

Hello,I am new here.
I would like to fix this bug. Can someone please guide me where to find the code for this component?
Thanks.

Revision history for this message
In , Justin Zobel (justin-zobel) wrote :

Thank you for the bug report.

As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists.

If this bug is no longer persisting or relevant please change the status to resolved.

Revision history for this message
In , Francois Gouget (fgouget) wrote :

I updated the test package to depend on python3 instead of python since the latter is not present on my test platform (Ubuntu 20.10) anymore.

And all the issues I reported are still present:
* qapt-deb-installer still wants to install many packages despite python3:amd64 already being installed.

* The Status still does not warn that it will try to remove many packages.

  Status: Requires the installation of 177 additional packages

* The Details list still does not sort packages alphabetically.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.