(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?

** Description changed:

  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/doc/B/somefile -> ../A/somefile
+ -> symlinks get created for /usr/share/doc/A/somefile -> ../B/somefile
  
  pfoo is a new version.
- A gets upgraded on a users system, B doesn't.
- The new A doesn't contain /usr/share/doc/A/somefile any longer.
+ B gets upgraded on a users system, A doesn't.
+ The new B doesn't contain /usr/share/doc/B/somefile any longer.
  
  OTOH a >= dependency would equally fail:
- A stays the same on the users system, B gets updated
- the new A can contain a new doc entry someotherfile.
- hence the new B contains a symlink to ../A/someotherfile
- the old A on the users system doesn't containt that file.
+ 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 (Ubuntu)
   Importance: Undecided => Low
       Status: In Progress => Confirmed

-- 
can cause broken symlinks in /usr/share/doc
https://bugs.launchpad.net/bugs/194574
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to