Files moved around in clamav without appropriate Breaks/Replaces, causing upgrade failures
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
clamav (Ubuntu) |
Fix Released
|
High
|
Christian Ehrhardt | ||
Xenial |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
* Upgrades can fail due to file collisions since SRUs that bumped the
version in trusty. Due to that the formerly breaks/replaces no more
applies correctly.
[Test Case]
* The following upgrade paths leads to an error without the fix (ok to be
run in a container)
# install trusty
$ apt install clamav-daemon
# upgrade to Xenial repo
$ apt update && apt upgrade
[Regression Potential]
* Since we "just" bump the breaks/replaces this should be fairly safe.
The only case that comes to my mind is when old custom versions with
odd versions were installed, but even then it either does just trigger
the same issues. OTOH most likely even in that rare (and unsupported
case) they should be fine.
[Other Info]
* n/a
---
This bug appeared updating from Ubuntu 14.04 to Ubuntu 15.04
ProblemType: Package
DistroRelease: Ubuntu 15.04
Package: clamav-daemon 0.98.7+
ProcVersionSign
Uname: Linux 3.19.0-43-generic x86_64
ApportVersion: 2.17.2-0ubuntu1.8
Architecture: amd64
Date: Sun Jan 10 21:18:16 2016
DuplicateSignature: package:
ErrorMessage: intentando sobreescribir `/usr/share/
InstallationDate: Installed on 2015-07-25 (168 days ago)
InstallationMedia: Ubuntu 14.04.2 LTS "Trusty Tahr" - Release amd64 (20150218.1)
ProcCmdline: BOOT_IMAGE=
RelatedPackageV
dpkg 1.17.25ubuntu1.1
apt 1.0.9.7ubuntu4.2
SourcePackage: clamav
Title: package clamav-daemon 0.98.7+
UpgradeStatus: Upgraded to vivid on 2016-01-10 (0 days ago)
tags: | removed: need-duplicate-check |
tags: | added: server-next |
Changed in clamav (Ubuntu): | |
assignee: | nobody → ChristianEhrhardt (paelzer) |
status: | Triaged → In Progress |
description: | updated |
Changed in clamav (Ubuntu): | |
status: | In Progress → New |
Looks like this has happened because trusty- updates/ security have a newer upstream version to which the Breaks/Replaces applies but isn't declared as a result of this happening after the package version that declares the Breaks/Replaces, IYSWIM.