Opened 19 years ago
Closed 13 years ago
#470 closed defect (fixed)
Debian packages cannot be installed on squeeze - invalid dependencies
Reported by: | Marc Heinrich | Owned by: | Bruno Cornec |
---|---|---|---|
Priority: | normal | Milestone: | 2.2.9.6 |
Component: | mondo | Version: | 2.2.9.5 |
Severity: | normal | Keywords: | Debain package install fails |
Cc: |
Description
Hi
when you try to install mindi_2.0.7.6-1_amd64.deb and mondo_2.2.9.5-1_amd64.deb on debian squeeze the installation fails as the are package dependencies which cannot be resolved as mkisofs and cdrecord are not available anymore on squeeze. (See http://en.wikipedia.org/wiki/Cdrtools --> Licensing)
This issue was already diskussed on the mailing List, but I thought it would be worth a Ticket. Original Post from John Pearson:
Secondly, you Depend: on "cdrecord". Because of (what amounts to) a license dispute with Jörg Schilling, Debian no longer provides "mkisofs" or "cdrecord" packages: they instead provide forked packages called "genisoimage" and "wodim" respectively, which includes binaries which ar (more or less) drop-in replacements. DEbian 5.0 provided "dummy" packages "cdrecord" and "mkisofs" to simplify upgrades; these two packages depend on the new "replacement" packages and provide symbolic links so that existing scripts can still just call "cdrecord" and "mkisofs". So in Debian 5.0, you could just depend on (and call) cdrecord and everything just worked. However, Debian 6.0 drops the "dummy" cdrecord and mkisofs packages; this makes the new mondorescue packages uninstallable on new Debian 6.0 installs, an there is no "cdrecord" package to satisfy the dependency. To fix this, your Debian 6.0 (and 5.0) packages should depend on "wodim" and "genisoimage" (or "wodim | cdrecord", and "genisoimage | mkisofs") rather than just "cdrecord" and "mkisofs". Additionally, you need to either update the packages so that they create the symbolic link for cdrecord and mkisofs if necessary, or update the scripts to check at runtime whether they should be calling (e.g.) cdrecord or wodim.
I fear you have to change the package dependencies, and change the commands used by mondo/mindi.
Thanks Marc
Fixed with http://trac.project-builder.org/changeset/1274 Will be good for 2.2.9.6