package e2fsprogs 1.45.5-2ubuntu1 failed to install/upgrade: trying to overwrite '/etc/mke2fs.conf', which is also in package android-sdk-platform-tools 27.0.0+12

Bug #1977884 reported by Rabee
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
e2fsprogs (Ubuntu)
New
Undecided
Unassigned

Bug Description

The error happens during updates

ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: e2fsprogs 1.45.5-2ubuntu1
ProcVersionSignature: Ubuntu 5.4.0-113.127-generic 5.4.181
Uname: Linux 5.4.0-113-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.20.11-0ubuntu27.24
Architecture: amd64
CasperMD5CheckResult: skip
Date: Tue Jun 7 11:06:48 2022
DpkgTerminalLog:
 Preparing to unpack .../00-e2fsprogs_1.45.5-2ubuntu1.1_amd64.deb ...
 Unpacking e2fsprogs (1.45.5-2ubuntu1.1) over (1.45.5-2ubuntu1) ...
 dpkg: error processing archive /tmp/apt-dpkg-install-oRpMVG/00-e2fsprogs_1.45.5-2ubuntu1.1_amd64.deb (--unpack):
  trying to overwrite '/etc/mke2fs.conf', which is also in package android-sdk-platform-tools 27.0.0+12
DuplicateSignature:
 package:e2fsprogs:1.45.5-2ubuntu1
 Unpacking e2fsprogs (1.45.5-2ubuntu1.1) over (1.45.5-2ubuntu1) ...
 dpkg: error processing archive /tmp/apt-dpkg-install-oRpMVG/00-e2fsprogs_1.45.5-2ubuntu1.1_amd64.deb (--unpack):
  trying to overwrite '/etc/mke2fs.conf', which is also in package android-sdk-platform-tools 27.0.0+12
ErrorMessage: trying to overwrite '/etc/mke2fs.conf', which is also in package android-sdk-platform-tools 27.0.0+12
InstallationDate: Installed on 2020-06-05 (732 days ago)
InstallationMedia: Zorin-OS 15.1 Education 64bit
Python3Details: /usr/bin/python3.8, Python 3.8.10, unpackaged
PythonDetails: /usr/bin/python2.7, Python 2.7.18, unpackaged
RelatedPackageVersions:
 dpkg 1.19.7ubuntu3.2
 apt 2.0.8
SourcePackage: e2fsprogs
Title: package e2fsprogs 1.45.5-2ubuntu1 failed to install/upgrade: trying to overwrite '/etc/mke2fs.conf', which is also in package android-sdk-platform-tools 27.0.0+12
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Rabee (rzyoud) wrote :
Revision history for this message
Mark Esler (eslerm) wrote (last edit ):

Hi Rabee,

The metapackage android-sdk-platform-tools installs several packages, which includes e2fsprogs (https://packages.ubuntu.com/focal/android-sdk-platform-tools). It also make a symbolic link from /usr/lib/android-sdk/platform-tools/mke2fs.conf to /etc/mke2fs.conf All of which should not cause package conflicts.

I attempted to reproduce your bug by installing the latest version of Zorin in a VM (I had to use Zorin 16, since the default apt sources in Zorin 15 did not work). Then I installed android-sdk-platform-tools which brought e2fsprogs to version 1.45.5-2ubuntu1. The upgrade from e2fsprogs to version 1.45.5-2ubuntu1.1 worked smoothly on my VM environment.

Does `ls -la /usr/lib/android-sdk/platform-tools/mke2fs.conf` print something like: `/usr/lib/android-sdk/platform-tools/mke2fs.conf -> /etc/mke2fs.conf`?

tags: removed: need-duplicate-check
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.