[Touch-packages] [Bug 146398] Re: gdebi ignores Replaces directive in case of Conflict
Here is an updated foo-packages.tar.gz file to reproduce this issue. The updates mostly deal with changes in Debian policy such as adding debian/compat and updating DH_COMPAT. The new foo-packages.tar.gz also contains pre-built packages which you are free to use or delete and rebuild. ** Attachment added: "Test packages" https://bugs.launchpad.net/ubuntu/+source/python-apt/+bug/146398/+attachment/5387168/+files/foo-packages.tar.gz -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to python-apt in Ubuntu. https://bugs.launchpad.net/bugs/146398 Title: gdebi ignores Replaces directive in case of Conflict Status in python-apt package in Ubuntu: Triaged Bug 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) ... To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-apt/+bug/146398/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 146398] Re: gdebi ignores Replaces directive in case of Conflict
This 12+ years old bug is still present in gdebi 0.9.5.7 (as shipped in Ubuntu 16.10 to the current 20.04 and Debian 10 for instance). Given that gdebi 0.9.5.7 was released in 2015 I have to ask the question: Is gdebi still maintained? -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to python-apt in Ubuntu. https://bugs.launchpad.net/bugs/146398 Title: gdebi ignores Replaces directive in case of Conflict Status in python-apt package in Ubuntu: Triaged Bug 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) ... To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-apt/+bug/146398/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1761447] Re: package libperl5.26 5.26.0-8ubuntu1 failed to install/upgrade: Versuch, gemeinsam benutztes »/usr/share/doc/libperl5.26/changelog.Debian.gz« zu überschreiben, welche
*** This bug is a duplicate of bug 1764614 *** https://bugs.launchpad.net/bugs/1764614 ** This bug has been marked a duplicate of bug 1764614 package libperl5.26 5.26.0-8ubuntu1 [modified: usr/share/doc/libperl5.26/changelog.Debian.gz] failed to install/upgrade: trying to overwrite shared '/usr/share/doc/libperl5.26/changelog.Debian.gz', which is different from other instances of package libperl5.26:amd64 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to perl in Ubuntu. https://bugs.launchpad.net/bugs/1761447 Title: package libperl5.26 5.26.0-8ubuntu1 failed to install/upgrade: Versuch, gemeinsam benutztes »/usr/share/doc/libperl5.26/changelog.Debian.gz« zu überschreiben, welches verschieden von anderen Instanzen des Paketes libperl5.26:i386 ist Status in perl package in Ubuntu: New Bug description: I am unable to install "AnthemScore" (among other programs) ProblemType: Package DistroRelease: Ubuntu 17.10 Package: libperl5.26 5.26.0-8ubuntu1 ProcVersionSignature: Ubuntu 4.13.0-16.19-generic 4.13.4 Uname: Linux 4.13.0-16-generic x86_64 ApportVersion: 2.20.7-0ubuntu3.1 AptOrdering: libperl5.26:i386: Install NULL: ConfigurePending Architecture: amd64 Date: Thu Apr 5 11:52:54 2018 DpkgHistoryLog: Start-Date: 2018-04-05 11:52:53 Commandline: packagekit role='install-packages' Install: libperl5.26:i386 (5.26.0-8ubuntu1, automatic) DpkgTerminalLog: Vorbereitung zum Entpacken von .../libperl5.26_5.26.0-8ubuntu1_i386.deb ... Entpacken von libperl5.26:i386 (5.26.0-8ubuntu1) ... dpkg: Fehler beim Bearbeiten des Archivs /var/cache/apt/archives/libperl5.26_5.26.0-8ubuntu1_i386.deb (--unpack): Versuch, gemeinsam benutztes »/usr/share/doc/libperl5.26/changelog.Debian.gz« zu überschreiben, welches verschieden von anderen Instanzen des Paketes libperl5.26:i386 ist ErrorMessage: Versuch, gemeinsam benutztes »/usr/share/doc/libperl5.26/changelog.Debian.gz« zu überschreiben, welches verschieden von anderen Instanzen des Paketes libperl5.26:i386 ist InstallationDate: Installed on 2017-01-22 (437 days ago) InstallationMedia: Ubuntu 16.10 "Yakkety Yak" - Release amd64 (20161012.2) Python3Details: /usr/bin/python3.6, Python 3.6.3, python3-minimal, 3.6.3-0ubuntu2 PythonDetails: /usr/bin/python2.7, Python 2.7.14, python-minimal, 2.7.14-2ubuntu1 RelatedPackageVersions: dpkg 1.18.24ubuntu1 apt 1.5 SourcePackage: perl Title: package libperl5.26 5.26.0-8ubuntu1 failed to install/upgrade: Versuch, gemeinsam benutztes »/usr/share/doc/libperl5.26/changelog.Debian.gz« zu überschreiben, welches verschieden von anderen Instanzen des Paketes libperl5.26:i386 ist UpgradeStatus: Upgraded to artful on 2017-10-24 (162 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/perl/+bug/1761447/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1739862] Re: package libperl5.26 5.26.0-8ubuntu1 failed to install/upgrade: Versuch, gemeinsam benutztes »/usr/share/doc/libperl5.26/changelog.Debian.gz« zu überschreiben, welche
*** This bug is a duplicate of bug 1764614 *** https://bugs.launchpad.net/bugs/1764614 ** This bug has been marked a duplicate of bug 1764614 package libperl5.26 5.26.0-8ubuntu1 [modified: usr/share/doc/libperl5.26/changelog.Debian.gz] failed to install/upgrade: trying to overwrite shared '/usr/share/doc/libperl5.26/changelog.Debian.gz', which is different from other instances of package libperl5.26:amd64 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to perl in Ubuntu. https://bugs.launchpad.net/bugs/1739862 Title: package libperl5.26 5.26.0-8ubuntu1 failed to install/upgrade: Versuch, gemeinsam benutztes »/usr/share/doc/libperl5.26/changelog.Debian.gz« zu überschreiben, welches verschieden von anderen Instanzen des Paketes libperl5.26:i386 ist Status in perl package in Ubuntu: New Bug description: 6.0-8ubuntu1_i386.deb (--unpack): Versuch, gemeinsam benutztes »/usr/share/doc/libperl5.26/changelog.Debian.gz« zu überschreiben, welches verschieden von anderen Instanzen des Paketes libperl5.26:i386 ist Fehler traten auf beim Bearbeiten von: /var/cache/apt/archives/libperl5.26_5.26.0-8ubuntu1_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1) ProblemType: Package DistroRelease: Ubuntu 17.10 Package: libperl5.26 5.26.0-8ubuntu1 ProcVersionSignature: Ubuntu 4.13.0-19.22-generic 4.13.13 Uname: Linux 4.13.0-19-generic x86_64 ApportVersion: 2.20.7-0ubuntu3.6 AptOrdering: libperl5.26:i386: Install NULL: ConfigurePending Architecture: amd64 Date: Sat Dec 23 08:49:56 2017 DpkgTerminalLog: Vorbereitung zum Entpacken von .../libperl5.26_5.26.0-8ubuntu1_i386.deb ... Entpacken von libperl5.26:i386 (5.26.0-8ubuntu1) ... dpkg: Fehler beim Bearbeiten des Archivs /var/cache/apt/archives/libperl5.26_5.26.0-8ubuntu1_i386.deb (--unpack): Versuch, gemeinsam benutztes »/usr/share/doc/libperl5.26/changelog.Debian.gz« zu überschreiben, welches verschieden von anderen Instanzen des Paketes libperl5.26:i386 ist ErrorMessage: Versuch, gemeinsam benutztes »/usr/share/doc/libperl5.26/changelog.Debian.gz« zu überschreiben, welches verschieden von anderen Instanzen des Paketes libperl5.26:i386 ist InstallationDate: Installed on 2017-09-03 (110 days ago) InstallationMedia: Ubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412) Python3Details: /usr/bin/python3.6, Python 3.6.3, python3-minimal, 3.6.3-0ubuntu2 PythonDetails: /usr/bin/python2.7, Python 2.7.14, python-minimal, 2.7.14-2ubuntu1 RelatedPackageVersions: dpkg 1.18.24ubuntu1 apt 1.5.1 SourcePackage: perl Title: package libperl5.26 5.26.0-8ubuntu1 failed to install/upgrade: Versuch, gemeinsam benutztes »/usr/share/doc/libperl5.26/changelog.Debian.gz« zu überschreiben, welches verschieden von anderen Instanzen des Paketes libperl5.26:i386 ist UpgradeStatus: Upgraded to artful on 2017-10-30 (53 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/perl/+bug/1739862/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1766110] Re: package libperl5.26 5.26.0-8ubuntu1 [modified: usr/share/doc/libperl5.26/changelog.Debian.gz] failed to install/upgrade: tentative de remplacement de « /usr/share/do
*** This bug is a duplicate of bug 1764614 *** https://bugs.launchpad.net/bugs/1764614 ** This bug has been marked a duplicate of bug 1764614 package libperl5.26 5.26.0-8ubuntu1 [modified: usr/share/doc/libperl5.26/changelog.Debian.gz] failed to install/upgrade: trying to overwrite shared '/usr/share/doc/libperl5.26/changelog.Debian.gz', which is different from other instances of package libperl5.26:amd64 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to perl in Ubuntu. https://bugs.launchpad.net/bugs/1766110 Title: package libperl5.26 5.26.0-8ubuntu1 [modified: usr/share/doc/libperl5.26/changelog.Debian.gz] failed to install/upgrade: tentative de remplacement de « /usr/share/doc/libperl5.26/changelog.Debian.gz », qui est différent d'autres instances du paquet libperl5.26:amd64 Status in perl package in Ubuntu: New Bug description: dpkg: erreur de traitement de l'archive /var/cache/apt/archives/libperl5.26_5.26.0-8ubuntu1.1_amd64.deb (--unpack) : tentative de remplacement de « /usr/share/doc/libperl5.26/changelog.Debian.gz », qui est différent d'autres instances du paquet libperl5.26:amd64 Préparation du dépaquetage de .../perl_5.26.0-8ubuntu1.1_amd64.deb ... Dépaquetage de perl (5.26.0-8ubuntu1.1) sur (5.26.0-8ubuntu1) ... Préparation du dépaquetage de .../perl-base_5.26.0-8ubuntu1.1_amd64.deb ... Dépaquetage de perl-base (5.26.0-8ubuntu1.1) sur (5.26.0-8ubuntu1) ... Des erreurs ont été rencontrées pendant l'exécution : /var/cache/apt/archives/libperl5.26_5.26.0-8ubuntu1.1_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1) ProblemType: Package DistroRelease: Ubuntu 17.10 Package: libperl5.26 5.26.0-8ubuntu1 [modified: usr/share/doc/libperl5.26/changelog.Debian.gz] ProcVersionSignature: Ubuntu 4.13.0-38.43-generic 4.13.16 Uname: Linux 4.13.0-38-generic x86_64 ApportVersion: 2.20.7-0ubuntu3.7 Architecture: amd64 Date: Sun Apr 22 19:35:46 2018 ErrorMessage: tentative de remplacement de « /usr/share/doc/libperl5.26/changelog.Debian.gz », qui est différent d'autres instances du paquet libperl5.26:amd64 InstallationDate: Installed on 2017-10-26 (178 days ago) InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Release amd64 (20171018) Python3Details: /usr/bin/python3.6, Python 3.6.3, python3-minimal, 3.6.3-0ubuntu2 PythonDetails: /usr/bin/python2.7, Python 2.7.14, python-minimal, 2.7.14-2ubuntu1 RelatedPackageVersions: dpkg 1.18.24ubuntu1 apt 1.5.1 SourcePackage: perl Title: package libperl5.26 5.26.0-8ubuntu1 [modified: usr/share/doc/libperl5.26/changelog.Debian.gz] failed to install/upgrade: tentative de remplacement de « /usr/share/doc/libperl5.26/changelog.Debian.gz », qui est différent d'autres instances du paquet libperl5.26:amd64 UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/perl/+bug/1766110/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1767455] Re: package libperl5.26 5.26.0-8ubuntu1.1 failed to install/upgrade: tentative de remplacement de « /usr/share/doc/libperl5.26/changelog.Debian.gz », qui est différent d
*** This bug is a duplicate of bug 1764614 *** https://bugs.launchpad.net/bugs/1764614 ** This bug has been marked a duplicate of bug 1764614 package libperl5.26 5.26.0-8ubuntu1 [modified: usr/share/doc/libperl5.26/changelog.Debian.gz] failed to install/upgrade: trying to overwrite shared '/usr/share/doc/libperl5.26/changelog.Debian.gz', which is different from other instances of package libperl5.26:amd64 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to perl in Ubuntu. https://bugs.launchpad.net/bugs/1767455 Title: package libperl5.26 5.26.0-8ubuntu1.1 failed to install/upgrade: tentative de remplacement de « /usr/share/doc/libperl5.26/changelog.Debian.gz », qui est différent d'autres instances du paquet libperl5.26:i386 Status in perl package in Ubuntu: New Bug description: I can't upgrade Ubuntu because of this package. ProblemType: Package DistroRelease: Ubuntu 17.10 Package: libperl5.26 5.26.0-8ubuntu1.1 ProcVersionSignature: Ubuntu 4.13.0-25.29-generic 4.13.13 Uname: Linux 4.13.0-25-generic x86_64 ApportVersion: 2.20.7-0ubuntu3.7 Architecture: amd64 Date: Fri Apr 27 19:39:55 2018 ErrorMessage: tentative de remplacement de « /usr/share/doc/libperl5.26/changelog.Debian.gz », qui est différent d'autres instances du paquet libperl5.26:i386 InstallationDate: Installed on 2017-10-13 (196 days ago) InstallationMedia: Ubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412) Python3Details: /usr/bin/python3.6, Python 3.6.3, python3-minimal, 3.6.3-0ubuntu2 PythonDetails: /usr/bin/python2.7, Python 2.7.14, python-minimal, 2.7.14-2ubuntu1 RelatedPackageVersions: dpkg 1.18.24ubuntu1 apt 1.5.1 SourcePackage: perl Title: package libperl5.26 5.26.0-8ubuntu1.1 failed to install/upgrade: tentative de remplacement de « /usr/share/doc/libperl5.26/changelog.Debian.gz », qui est différent d'autres instances du paquet libperl5.26:i386 UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/perl/+bug/1767455/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp