Bug 330452 - qapt-deb-installer's Status and Details misleading and confusing
Summary: qapt-deb-installer's Status and Details misleading and confusing
Status: RESOLVED UNMAINTAINED
Alias: None
Product: muon
Classification: Unmaintained
Component: qapt-deb-installer (show other bugs)
Version: 2.0.1
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Jonathan Thomas
URL: http://fgouget.free.fr/bugs/testrd.ta...
Keywords: junior-jobs
Depends on:
Blocks:
 
Reported: 2014-01-27 00:20 UTC by Francois Gouget
Modified: 2024-09-23 18:22 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Francois Gouget 2014-01-27 00:20:10 UTC
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
Comment 1 Abhinav Aggarwal 2016-01-18 20:13:16 UTC
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.
Comment 2 Justin Zobel 2021-03-10 00:10:59 UTC
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.
Comment 3 Justin Zobel 2021-03-10 00:12:40 UTC
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.
Comment 4 Francois Gouget 2021-04-27 17:02:19 UTC
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.
Comment 5 Christoph Cullmann 2024-09-23 18:22:04 UTC
Muon is no longer maintained, please switch no a supported alternative like https://apps.kde.org/discover/ or the package manager native no your system.

Sorry for the inconvenience.