Public bug reported:
I've encountered this issue during a Precise to Trusty dist-upgrade.
Error message:
Unpacking moreutils (0.50) over (0.45) ...
dpkg: error processing archive /var/cache/apt/archives/moreutils_0.50_amd64.deb
(--unpack):
trying to overwrite '/usr/bin/errno', which is also in package errno
1.3-0ubuntu1
Reproduction instructions:
1) Install Ubuntu 12.04.4
2) sudo apt-get update
3) sudo apt-get dist-upgrade
4) sudo apt-get install errno moreutils
5) sudo reboot
6) If you use a VM take a snapshot
7) sudo sed -i s/precise/trusty/g /etc/apt/sources.list
8) sudo apt-get update
9) sudo apt-get dist-upgrade 2>&1 | tee upgrade.log
The issue - the file collision - is deeply buried in the upgrade log.
ProblemType: Package
DistroRelease: Ubuntu 14.04
Package: moreutils 0.50
ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
Uname: Linux 3.13.0-24-generic x86_64
ApportVersion: 2.14.1-0ubuntu3
Architecture: amd64
Date: Wed Apr 30 11:21:07 2014
ErrorMessage: trying to overwrite '/usr/bin/errno', which is also in package
errno 1.3-0ubuntu1
InstallationDate: Installed on 2014-04-02 (27 days ago)
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64
(20120425)
SourcePackage: moreutils
Title: package moreutils 0.50 failed to install/upgrade: trying to overwrite
'/usr/bin/errno', which is also in package errno 1.3-0ubuntu1
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: moreutils (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-package precise trusty
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1314560
Title:
package moreutils 0.50 failed to install/upgrade: trying to overwrite
'/usr/bin/errno', which is also in package errno 1.3-0ubuntu1
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/moreutils/+bug/1314560/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs