qapt-deb-installer mishandles dependencies on multiarch=foreign packages

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

Bug Description

Here is how to reproduce this bug:
 * Download http://fgouget.free.fr/bugs/testdep.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)

 * Install the testdep-foreign_1.0-1_amd64.deb package.

 * Then run:
   qapt-deb-installer testdep-foreign-detault_1.0-1_i386.deb

qapt-deb-installer will refuse to install that package, claiming that:

    Status: Error: Cannot satisfy dependencies

Yet testdep-foreign-default has 'testdep-foreign' as its sole dependency. Given that the 'testdep-foreign' package is a multiarch=foreign package it can satisfy dependencies for all architectures and thus should satisfy the testdep-foreign-default dependency. Running dpkg confirms this:

$ sudo dpkg -i testdep-foreign-default_1.0-1_i386.deb
Selecting previously unselected package testdep-foreign-default.
(Reading database ... 214865 files and directories currently installed.)
Unpacking testdep-foreign-default (from testdep-foreign-default_1.0-1_i386.deb) ...
Setting up testdep-foreign-default (1.0-1) ...

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: qapt-deb-installer 2.0.0-0ubuntu1
ProcVersionSignature: Ubuntu 3.8.0-26.38-generic 3.8.13.2
Uname: Linux 3.8.0-26-generic x86_64
ApportVersion: 2.9.2-0ubuntu8.1
Architecture: amd64
Date: Sat Jul 27 00:00:33 2013
InstallationDate: Installed on 2013-04-29 (88 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/testdep.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)

 * Install the testdep-foreign_1.0-1_amd64.deb package.

 * Then run:
   qapt-deb-installer testdep-foreign-detault_1.0-1_i386.deb

qapt-deb-installer will refuse to install that package, claiming that:

    Status: Error: Cannot satisfy dependencies

Yet testdep-foreign-default has 'testdep-foreign' as its sole dependency. Given that the 'testdep-foreign' package is a multiarch=foreign package it can satisfy dependencies for all architectures and thus should satisfy the testdep-foreign-default dependency. Running dpkg confirms this:

$ sudo dpkg -i testdep-foreign-default_1.0-1_i386.deb
Selecting previously unselected package testdep-foreign-default.
(Reading database ... 214865 files and directories currently installed.)
Unpacking testdep-foreign-default (from testdep-foreign-default_1.0-1_i386.deb) ...
Setting up testdep-foreign-default (1.0-1) ...

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: qapt-deb-installer 2.0.0-0ubuntu1
ProcVersionSignature: Ubuntu 3.8.0-26.38-generic 3.8.13.2
Uname: Linux 3.8.0-26-generic x86_64
ApportVersion: 2.9.2-0ubuntu8.1
Architecture: amd64
Date: Sat Jul 27 00:00:33 2013
InstallationDate: Installed on 2013-04-29 (88 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 , Andrew-crouthamel (andrew-crouthamel) wrote :

Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!

Changed in qapt:
status: New → Incomplete
Revision history for this message
In , Andrew-crouthamel (andrew-crouthamel) wrote :

Dear Bug Submitter,

This is a reminder that this bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? This bug will be moved back to REPORTED Status for manual review later, which may take a while. If you are able to, please lend us a hand.

Thank you for helping us make KDE software even better for everyone!

Changed in qapt:
status: Incomplete → New
Revision history for this message
Francois Gouget (fgouget) wrote :

This bug is still present in qapt-deb-installer 3.0.4-0ubuntu1.

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

This bug is still present in qapt-deb-installer 3.0.4-0ubuntu1.

Changed in qapt:
status: New → Unknown
Revision history for this message
Frode Haugsgjerd (froh) wrote :

This also affects me,qapt-deb-installer 3.0.5-1ubuntu1 (Ubuntu Studio 20.10). Reproducible with latest google-earth-pro-stable_current_amd64.deb

qapt-deb-installer should at a minimum print some useful info on the terminal. All I see is:

QCommandLineParser: already having an option named "h"
QCommandLineParser: already having an option named "help-all"
QCommandLineParser: already having an option named "v"

The binary has no verbose or debug option.

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.