Public bug reported: 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) ** Affects: repo (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-package package-conflict xenial -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1699449 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 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/repo/+bug/1699449/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
