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
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-
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://
Get:2 http://
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-
Unpacking python-kerberos (1.1.5-2build1) ...
Selecting previously unselected package repo.
Preparing to unpack .../repo_
Unpacking repo (1.12.32-2) ...
dpkg: error processing archive /var/cache/
trying to overwrite '/usr/bin/repo', which is also in package phablet-tools 1.2+16.
Processing triggers for man-db (2.7.5-1) ...
Errors were encountered while processing:
/var/cache/
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)
ProcVersionSign
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/
trying to overwrite '/usr/bin/repo', which is also in package phablet-tools 1.2+16.
ErrorMessage: trying to overwrite '/usr/bin/repo', which is also in package phablet-tools 1.2+16.
InstallationDate: Installed on 2017-06-08 (12 days ago)
InstallationMedia: Ubuntu 16.04.2 LTS "Xenial Xerus" - Release amd64 (20170215.2)
RelatedPackageV
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.
UpgradeStatus: No upgrade log present (probably fresh install)
tags: | removed: need-duplicate-check |
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.