can cause broken symlinks in /usr/share/doc
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cdbs (Ubuntu) |
Won't Fix
|
Low
|
Martin Pitt |
Bug Description
Binary package hint: cdbs
Hi,
cdbs should only place symlinks to a depending package in /usr/share/doc in case there the same (for ubuntu: source)-version is specified.
consider the following
source pacakge pfoo builds A and B
A depends on B
-> symlinks get created for /usr/share/
pfoo is a new version.
B gets upgraded on a users system, A doesn't.
The new B doesn't contain /usr/share/
OTOH a >= dependency would equally fail:
B stays the same on the users system, A gets updated
the new B can contain a new doc entry someotherfile.
hence the new A contains a symlink to ../B/someotherfile
the old B on the users system doesn't containt that file.
This is an ubuntu only bug.
Cheers,
Stefan.
Changed in cdbs: | |
assignee: | nobody → pitti |
status: | New → In Progress |
(I fixed the description to correct the directions)
Indeed this can happen. We don't support partial upgrades, so it's not such a big deal (thus the bug priority), but it's a pathological case. Question is whether we want to sacrifice a lot of disk space just to support partial upgrades without losing some files, and I don't even think that this happens often. Did you actually see this case in practice?