package python-argcomplete (not installed) failed to install/upgrade: trying to overwrite '/usr/bin/python-argcomplete-tcsh', which is also in package python3-argcomplete 1.7.0-0.1ubuntu1

Bug #1665314 reported by shemgp
212
This bug affects 42 people
Affects Status Importance Assigned to Milestone
python-argcomplete (Ubuntu)
Fix Released
Medium
Md. Rakib Ahmed Nishad
Artful
Fix Released
Medium
Md. Rakib Ahmed Nishad

Bug Description

Just upgraded Zesty development version and this error showed up.

ProblemType: Package
DistroRelease: Ubuntu 17.04
Package: python-argcomplete (not installed)
Uname: Linux 4.9.0-040900-generic x86_64
ApportVersion: 2.20.4-0ubuntu2
Architecture: amd64
Date: Wed Feb 15 20:13:00 2017
DuplicateSignature:
 package:python-argcomplete:(not installed)
 Unpacking python-argcomplete (1.7.0-0.1ubuntu1) ...
 dpkg: error processing archive /tmp/apt-dpkg-install-XsMv3P/52-python-argcomplete_1.7.0-0.1ubuntu1_all.deb (--unpack):
  trying to overwrite '/usr/bin/python-argcomplete-tcsh', which is also in package python3-argcomplete 1.7.0-0.1ubuntu1
ErrorMessage: trying to overwrite '/usr/bin/python-argcomplete-tcsh', which is also in package python3-argcomplete 1.7.0-0.1ubuntu1
InstallationDate: Installed on 2015-09-28 (506 days ago)
InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
RelatedPackageVersions:
 dpkg 1.18.10ubuntu1
 apt 1.4~beta4ubuntu1
SourcePackage: python-argcomplete
Title: package python-argcomplete (not installed) failed to install/upgrade: trying to overwrite '/usr/bin/python-argcomplete-tcsh', which is also in package python3-argcomplete 1.7.0-0.1ubuntu1
UpgradeStatus: Upgraded to zesty on 2017-01-08 (38 days ago)

Revision history for this message
shemgp (shemgp) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in python-argcomplete (Ubuntu):
status: New → Confirmed
Revision history for this message
Hans Joachim Desserud (hjd) wrote :

Thanks for taking your time to report this issue and help making Ubuntu better.

The underlying issue here seems to be that the path /usr/bin/python-argcomplete-tcsh is added by both python-argcomplete [1] and python3-argcomplete [2]. Looking at version 1.8.1-1 (which currently fails to build in artful-proposed), the python3-package seems to have added a 3-prefix to python-argcomplete-tcsh as well [3]. Maybe this version or a similar fix would resolve the conflict?

[1] https://packages.ubuntu.com/artful/all/python-argcomplete/filelist
[2] https://packages.ubuntu.com/artful/all/python3-argcomplete/filelist
[3] https://packages.debian.org/sid/all/python3-argcomplete/filelist

tags: added: artful bitesize packaging
Changed in python-argcomplete (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

Oops, I forgot to close-by-changelog this bug when I fixed the ftbfs

Changed in python-argcomplete (Ubuntu Artful):
status: Confirmed → Fix Released
Changed in python-argcomplete (Ubuntu Artful):
assignee: nobody → Md. Rakib Ahmed Nishad (dbmdran)
Revision history for this message
Hans Joachim Desserud (hjd) wrote :

Thanks for fixing this issue. Based on the recent duplicates, it looks like this is still present in 17.04. Are there any plans for an SRU (https://wiki.ubuntu.com/StableReleaseUpdates)? :)

Revision history for this message
Md. Rakib Ahmed Nishad (dbmdran) wrote : Re: [Bug 1665314] Re: package python-argcomplete (not installed) failed to install/upgrade: trying to overwrite '/usr/bin/python-argcomplete-tcsh', which is also in package python3-argcomplete 1.7.0-0.1ubuntu1

thank you for your kind information

On Fri, Oct 13, 2017 at 10:44 PM, Hans Joachim Desserud <
<email address hidden>> wrote:

> Thanks for fixing this issue. Based on the recent duplicates, it looks
> like this is still present in 17.04. Are there any plans for an SRU
> (https://wiki.ubuntu.com/StableReleaseUpdates)? :)
>
> --
> You received this bug notification because you are a bug assignee.
> https://bugs.launchpad.net/bugs/1665314
>
> Title:
> package python-argcomplete (not installed) failed to install/upgrade:
> trying to overwrite '/usr/bin/python-argcomplete-tcsh', which is also
> in package python3-argcomplete 1.7.0-0.1ubuntu1
>
> Status in python-argcomplete package in Ubuntu:
> Fix Released
> Status in python-argcomplete source package in Artful:
> Fix Released
>
> Bug description:
> Just upgraded Zesty development version and this error showed up.
>
> ProblemType: Package
> DistroRelease: Ubuntu 17.04
> Package: python-argcomplete (not installed)
> Uname: Linux 4.9.0-040900-generic x86_64
> ApportVersion: 2.20.4-0ubuntu2
> Architecture: amd64
> Date: Wed Feb 15 20:13:00 2017
> DuplicateSignature:
> package:python-argcomplete:(not installed)
> Unpacking python-argcomplete (1.7.0-0.1ubuntu1) ...
> dpkg: error processing archive /tmp/apt-dpkg-install-XsMv3P/
> 52-python-argcomplete_1.7.0-0.1ubuntu1_all.deb (--unpack):
> trying to overwrite '/usr/bin/python-argcomplete-tcsh', which is also
> in package python3-argcomplete 1.7.0-0.1ubuntu1
> ErrorMessage: trying to overwrite '/usr/bin/python-argcomplete-tcsh',
> which is also in package python3-argcomplete 1.7.0-0.1ubuntu1
> InstallationDate: Installed on 2015-09-28 (506 days ago)
> InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
> RelatedPackageVersions:
> dpkg 1.18.10ubuntu1
> apt 1.4~beta4ubuntu1
> SourcePackage: python-argcomplete
> Title: package python-argcomplete (not installed) failed to
> install/upgrade: trying to overwrite '/usr/bin/python-argcomplete-tcsh',
> which is also in package python3-argcomplete 1.7.0-0.1ubuntu1
> UpgradeStatus: Upgraded to zesty on 2017-01-08 (38 days ago)
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/python-
> argcomplete/+bug/1665314/+subscriptions
>

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.