package snapd (not installed) failed to install/upgrade: trying to overwrite '/usr/share/man/man1/snap.1.gz', which is also in package snap 2013-11-29-1ubuntu2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snap (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Xenial |
Fix Released
|
Medium
|
Unassigned | ||
Yakkety |
Won't Fix
|
Medium
|
Unassigned | ||
snapd (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Xenial |
Fix Released
|
Medium
|
Unassigned | ||
Yakkety |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
TEST CASE:
1. install snapd
2. install snap
3. verify that there is a file conflict error
4. install snap from xenial-proposed
5. verify that there is no longer a file conflict
Regression potential:
- low, only the man-page for snap(-dna) package got renamed which now actually matches the binary of the snap(-dna) package.
Ran 'sudo apt install snapd' on a clean installation of Ubuntu 16.04 Beta 2.
ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: snapd (not installed)
ProcVersionSign
Uname: Linux 4.4.0-15-generic x86_64
ApportVersion: 2.20-0ubuntu3
Architecture: amd64
Date: Tue Apr 19 08:40:57 2016
DuplicateSignature:
Unpacking snapd (2.0.1) ...
dpkg: error processing archive /var/cache/
trying to overwrite '/usr/share/
ErrorMessage: trying to overwrite '/usr/share/
InstallationDate: Installed on 2016-04-19 (0 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Beta amd64 (20160323)
RelatedPackageV
dpkg 1.18.4ubuntu1
apt 1.2.7
SourcePackage: snapd
Title: package snapd (not installed) failed to install/upgrade: trying to overwrite '/usr/share/
UpgradeStatus: No upgrade log present (probably fresh install)
tags: | removed: need-duplicate-check |
Changed in snap (Ubuntu): | |
status: | New → Confirmed |
Changed in snap (Ubuntu): | |
importance: | Undecided → Medium |
Changed in snapd (Ubuntu): | |
status: | Triaged → Invalid |
Changed in snap (Ubuntu): | |
status: | Confirmed → Triaged |
tags: | added: yakkety |
Changed in snap (Ubuntu Xenial): | |
status: | New → In Progress |
Changed in snap (Ubuntu Yakkety): | |
status: | New → In Progress |
Changed in snap (Ubuntu Xenial): | |
importance: | Undecided → Medium |
Changed in snap (Ubuntu Yakkety): | |
importance: | Undecided → Medium |
Changed in snapd (Ubuntu Xenial): | |
importance: | Undecided → Medium |
Changed in snapd (Ubuntu Yakkety): | |
importance: | Undecided → Medium |
Changed in snap (Ubuntu Xenial): | |
status: | Fix Committed → Incomplete |
Changed in snapd (Ubuntu Xenial): | |
status: | Confirmed → Opinion |
Changed in snap (Ubuntu Xenial): | |
status: | Incomplete → Invalid |
status: | Invalid → In Progress |
Changed in snapd (Ubuntu Xenial): | |
status: | Opinion → Confirmed |
Changed in snap (Ubuntu Xenial): | |
status: | In Progress → Fix Committed |
Changed in snap (Ubuntu Yakkety): | |
status: | In Progress → Won't Fix |
Changed in snapd (Ubuntu Yakkety): | |
status: | Confirmed → Won't Fix |
Changed in snapd (Ubuntu): | |
status: | Confirmed → Fix Released |
Changed in snapd (Ubuntu Xenial): | |
status: | Confirmed → Fix Released |
To recreate:
# When trying to run the command snap, ubuntu suggests to install this package:
sudo apt install snap
# After, it's not possible to run snap, it says that the package 'snap' is not installed. So, I tried to install snapd:
sudo apt install snapd
# this is when the problem occured. Removing the package snap then allows me to install snapd:
sudo apt autoremove
sudo apt remove snap
sudo apt install snapd
# Now it works! It appears that the package 'snap' shouldn't be the one suggested when trying to run the snap command?