Activity log for bug #146398

Date Who What changed Old value New value Message
2007-09-28 17:25:03 Francois Gouget bug added bug
2007-10-06 09:15:29 Michael Vogt gdebi: importance Undecided Medium
2007-10-06 09:15:29 Michael Vogt gdebi: status New Triaged
2008-02-20 20:42:27 Michael Vogt gdebi: status Triaged Fix Committed
2008-02-20 20:42:27 Michael Vogt gdebi: assignee mvo
2008-03-03 14:50:05 Launchpad Janitor gdebi: status Fix Committed Fix Released
2012-02-17 23:08:56 Francois Gouget gdebi (Ubuntu): status Fix Released New
2012-02-21 18:59:12 Brian Murray gdebi (Ubuntu): status New Triaged
2012-02-21 21:14:29 Brian Murray gdebi (Ubuntu): milestone later
2012-02-24 20:42:01 Brian Murray tags regression-release
2012-02-29 20:16:35 Luca Falavigna affects gdebi (Ubuntu) python-apt (Ubuntu)
2014-03-17 13:07:18 Julian Andres Klode tags regression-release apt.debfile regression-release
2015-08-06 07:48:06 Stella description Binary package hint: gdebi I have encountered this problem with the CrossOver Office (http://www.codeweavers.com/products/cxoffice/) packages. They come in multiple flavors, but only one can be installed at a given time. The more capable flavors use the 'Replaces' directive to smoothly 'upgrade' the less capable ones.This works fine with dpkg, but gdebi instead gives me an error as if the Replaces directive was not there (this directive is described in section 7.5.2 of the Debian Policy Manual). I have reproduced the situation with dummy packages so you have all the details. You can get them there: * source (1.4KB) http://fgouget.free.fr/tmp/gdebi/foo-packages.tar.gz * basic package (1.2KB) http://fgouget.free.fr/tmp/gdebi/foo_1.0.0-1_i386.deb * sophisticated package (1.2KB) http://fgouget.free.fr/tmp/gdebi/foo-pro_1.0.0-1_i386.deb Here is how to reproduce the problem: $ sudo gdebi foo_1.0.0-1_i386.deb Reading package lists: Done Reading state information: Done Reading state information: Done Reading state information: Done Package for testing gdebi's Replaces support This is the package to be replaced by the more 'sophisticated' version. Do you want to install the software package? [y/N]:y Selecting previously deselected package foo. (Reading database ... 151236 files and directories currently installed.) Unpacking foo (from foo_1.0.0-1_i386.deb) ... Setting up foo (1.0.0-1) ... $ sudo gdebi foo-pro_1.0.0-1_i386.deb Reading package lists: Done Reading state information: Done Reading state information: Done Reading state information: Done This package is uninstallable Conflicts with the installed package 'foo' So gdebi does not want to replace the foo package with foo-pro. I think it should maybe warn the user but still allow him to proceed. With dpkg there is no issue: $ dpkg -i foo-pro_1.0.0-1_i386.deb Selecting previously deselected package foo-pro. dpkg: considering removing foo in favour of foo-pro ... dpkg: yes, will remove foo in favour of foo-pro. (Reading database ... 151239 files and directories currently installed.) Unpacking foo-pro (from foo-pro_1.0.0-1_i386.deb) ... Setting up foo-pro (1.0.0-1) ... Binary package hint: gdebi I have encountered this problem with the CrossOver Office (http://www.codeweavers.com/products/cxoffice/) packages. They come in multiple flavors, but only one can be installed at a given time. The more capable flavors use the 'Replaces' directive to smoothly 'upgrade' the less capable ones.This works fine with dpkg, but gdebi instead gives me an error as if the Replaces directive was not there (this directive is described in section 7.5.2 of the Debian Policy Manual). I have reproduced the situation with dummy packages so you have all the details. You can get them there:  * source (1.4KB)    http://fgouget.free.fr/tmp/gdebi/foo-packages.tar.gz  * basic package (1.2KB)    http://fgouget.free.fr/tmp/gdebi/foo_1.0.0-1_i386.deb  * sophisticated package (1.2KB)    http://fgouget.free.fr/tmp/gdebi/foo-pro_1.0.0-1_i386.deb Here is how to reproduce the problem: $ sudo gdebi foo_1.0.0-1_i386.deb Reading package lists: Done Reading state information: Done Reading state information: Done Reading state information: Done Package for testing gdebi's Replaces support  This is the package to be replaced by the more 'sophisticated' version. Do you want to install the software package? [y/N]:y Selecting previously deselected package foo. (Reading database ... 151236 files and directories currently installed.) Unpacking foo (from foo_1.0.0-1_i386.deb) ... Setting up foo (1.0.0-1) ... $ sudo gdebi foo-pro_1.0.0-1_i386.deb Reading package lists: Done Reading state information: Done Reading state information: Done Reading state information: Done This package is uninstallable Conflicts with the installed package 'foo' So gdebi does not want to replace the foo package with foo-pro. I think it should maybe warn the user but still allow him to proceed. With dpkg there is no issue: $ dpkg -i foo-pro_1.0.0-1_i386.deb Selecting previously deselected package foo-pro. dpkg: considering removing foo in favour of foo-pro ... dpkg: yes, will remove foo in favour of foo-pro. (Reading database ... 151239 files and directories currently installed.) Unpacking foo-pro (from foo-pro_1.0.0-1_i386.deb) ... Setting up foo-pro (1.0.0-1) ...
2020-06-25 14:12:36 Francois Gouget attachment added Test packages https://bugs.launchpad.net/ubuntu/+source/python-apt/+bug/146398/+attachment/5387168/+files/foo-packages.tar.gz