package repo (not installed) failed to install/upgrade: trying to overwrite '/usr/bin/repo', which is also in package phablet-tools 1.2+16.04.20160317-0ubuntu1

Bug #1699449 reported by Vamsinag Gunti
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
repo (Ubuntu)
New
Undecided
Unassigned

Bug Description

The error occurred during the installation of repo.
sudo apt-get install repo

Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  linux-headers-4.8.0-36 linux-headers-4.8.0-36-generic linux-image-4.8.0-36-generic linux-image-extra-4.8.0-36-generic snap-confine
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  python-kerberos
The following NEW packages will be installed:
  python-kerberos repo
0 upgraded, 2 newly installed, 0 to remove and 5 not upgraded.
Need to get 39,3 kB of archives.
After this operation, 113 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://de.archive.ubuntu.com/ubuntu xenial/universe amd64 python-kerberos amd64 1.1.5-2build1 [21,0 kB]
Get:2 http://de.archive.ubuntu.com/ubuntu xenial/universe amd64 repo all 1.12.32-2 [18,3 kB]
Fetched 39,3 kB in 0s (104 kB/s)
Selecting previously unselected package python-kerberos.
(Reading database ... 284710 files and directories currently installed.)
Preparing to unpack .../python-kerberos_1.1.5-2build1_amd64.deb ...
Unpacking python-kerberos (1.1.5-2build1) ...
Selecting previously unselected package repo.
Preparing to unpack .../repo_1.12.32-2_all.deb ...
Unpacking repo (1.12.32-2) ...
dpkg: error processing archive /var/cache/apt/archives/repo_1.12.32-2_all.deb (--unpack):
 trying to overwrite '/usr/bin/repo', which is also in package phablet-tools 1.2+16.04.20160317-0ubuntu1
Processing triggers for man-db (2.7.5-1) ...
Errors were encountered while processing:
 /var/cache/apt/archives/repo_1.12.32-2_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

This part of the error was the key: trying to overwrite '/usr/bin/repo', which is also in package phablet-tools

So I un-installed phablet-tools as I was in no need of it and tried re-installing repo and the application installed with no problem.
The system error occurred during this process and so I assume that this was the reason for the error. Also the problem occurred on a machine running Ubuntu 16.04 LTS.

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: repo (not installed)
ProcVersionSignature: Ubuntu 4.8.0-54.57~16.04.1-generic 4.8.17
Uname: Linux 4.8.0-54-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.6
AptOrdering:
 python-kerberos: Install
 repo: Install
 python-kerberos: Configure
 repo: Configure
 NULL: ConfigurePending
Architecture: amd64
Date: Wed Jun 21 10:21:57 2017
DuplicateSignature:
 package:repo:(not installed)
 Unpacking repo (1.12.32-2) ...
 dpkg: error processing archive /var/cache/apt/archives/repo_1.12.32-2_all.deb (--unpack):
  trying to overwrite '/usr/bin/repo', which is also in package phablet-tools 1.2+16.04.20160317-0ubuntu1
ErrorMessage: trying to overwrite '/usr/bin/repo', which is also in package phablet-tools 1.2+16.04.20160317-0ubuntu1
InstallationDate: Installed on 2017-06-08 (12 days ago)
InstallationMedia: Ubuntu 16.04.2 LTS "Xenial Xerus" - Release amd64 (20170215.2)
RelatedPackageVersions:
 dpkg 1.18.4ubuntu1.2
 apt 1.2.20
SourcePackage: repo
Title: package repo (not installed) failed to install/upgrade: trying to overwrite '/usr/bin/repo', which is also in package phablet-tools 1.2+16.04.20160317-0ubuntu1
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Vamsinag Gunti (vamsi3012) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Hans Joachim Desserud (hjd) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug 1617573, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Feel free to continue to report any other bugs you may find.

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.