Tries to overwrite files from anyevent-perl without Replacing it
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libanyevent-perl (Ubuntu) |
Invalid
|
Medium
|
Unassigned | ||
Lucid |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: initramfs-tools
$ lsb_release -rd
Description: Ubuntu 10.04 LTS
Release: 10.04
$ apt-cache policy libanyevent-perl
libanyevent-perl:
Installed: (none)
Candidate: 5.240-1
Version table:
5.240-1 0
500 http://
ProblemType: Package
DistroRelease: Ubuntu 10.04
Package: libanyevent-perl (not installed)
ProcVersionSign
Uname: Linux 2.6.32-21-generic i686
Architecture: i386
Date: Thu Apr 29 19:57:57 2010
ErrorMessage: trying to overwrite '/usr/share/
SourcePackage: initramfs-tools
Title: package libanyevent-perl (not installed) failed to install/upgrade: trying to overwrite '/usr/share/
TEST CASE:
1. Add karmic to /etc/apt/
2. Make sure libanyevent-perl is not installed.
3. Install anyevent-perl (from karmic, not available in lucid).
4. Install libanyevent-perl.
With 5.240-1 installation will fail (trying to overwrite files from
anyevent-perl). With the patch applied, dpkg should remove
anyevent-perl in favor of libanyevent-perl.
Related branches
affects: | initramfs-tools (Ubuntu) → libanyevent-perl (Ubuntu) |
Changed in libanyevent-perl (Ubuntu): | |
assignee: | Ansgar Burchardt (ansgar-43-1) → nobody |
status: | In Progress → Triaged |
milestone: | none → lucid-updates |
milestone: | lucid-updates → none |
tags: | added: testcase |
libanyevent-perl in Lucid should Conflict, Replace and Provide
anyevent-perl (which has been removed).
Even if libanyevent-perl in maverick does not do so in order to not
deviate from Debian, this should catch most people upgrading from
Karmic. The edge-case is people having anyevent-perl installed in
Karmic, upgrading to Lucid without installing libanyevent-perl and then
upgrading the Maverick.
A (untested) patch to add Conflicts, Replaces and Provides to d/control
is attached.
Regards,
Ansgar
tag patch