package snap (not installed) failed to install/upgrade: trying to overwrite '/usr/share/man/man1/snap.1.gz', which is also in package snapd 2.16+16.10ubuntu1

Bug #1639481 reported by Jason Yundt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
snap (Ubuntu)
New
Undecided
Unassigned
snapd (Ubuntu)
New
Undecided
Unassigned

Bug Description

I'm not really sure what happened. I had just booted my laptop, and opened Firefox when the bug reporter poped up.

ProblemType: Package
DistroRelease: Ubuntu 17.04
Package: snap (not installed)
ProcVersionSignature: Ubuntu 4.8.0-26.28-generic 4.8.0
Uname: Linux 4.8.0-26-generic x86_64
ApportVersion: 2.20.3-0ubuntu8
Architecture: amd64
Date: Thu Nov 3 07:20:55 2016
DuplicateSignature:
 package:snap:(not installed)
 Unpacking snap (2013-11-29-1ubuntu2) ...
 dpkg: error processing archive /tmp/apt-dpkg-install-uaMu9x/12-snap_2013-11-29-1ubuntu2_amd64.deb (--unpack):
  trying to overwrite '/usr/share/man/man1/snap.1.gz', which is also in package snapd 2.16+16.10ubuntu1
ErrorMessage: trying to overwrite '/usr/share/man/man1/snap.1.gz', which is also in package snapd 2.16+16.10ubuntu1
InstallationDate: Installed on 2016-11-02 (2 days ago)
InstallationMedia: Ubuntu 17.04 "Zesty Zapus" - Alpha amd64 (20161102)
RelatedPackageVersions:
 dpkg 1.18.10ubuntu1
 apt 1.3.1
SourcePackage: snap
Title: package snap (not installed) failed to install/upgrade: trying to overwrite '/usr/share/man/man1/snap.1.gz', which is also in package snapd 2.16+16.10ubuntu1
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Jason Yundt (swagfortress) wrote :
Revision history for this message
Seth Arnold (seth-arnold) wrote :

Jason, the trouble is you can't use both the SNAP DNA analysis tool and the Snappy packaging format on the same system -- they both package files with the same name but different contents.

You'll have to decide if you want to use the SNAP DNA tool (in which case apt-get purge snapd may help) or the Snappy packaging system (in which case apt-get purge snap may help). You probably still have a mess to clean up though :(

Thanks

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.