Re:OpenSUSE 13.1 Released
by icebraining on Tuesday November 19, 2013 @02:15PM
(#6763622)
I could either rebuild the package myself, (which is not always trivial if the package maintainer did a lot more than just build and install the source)
You can get all those changes by fetching the source package from which the .deb is built by running "apt-get source <package>". Then just edit the dependencies in debian/control and rebuild the package using "debuild".
Apt provides no option, and if you attempt it, it will not allow you to do anything else to the system unless you remove the package with the missing dependency, requiring you to then re-install the same file every time you make a change to the system.
Zypper shows you a large warning about the consequence of installing packages without their dependencies. It then asks you if you would like to cancel the transaction, try and find the dependencies, or proceed at your own risk. It then honors that choice.
The latter is perfect!
edit: I'll agree that this is bad practice, but this happens a lot with projects that were built back when Oracle JDK was legal to distribute that way, and they require that package. I can install the correct version of Java in all the ways the package expects - but then I need to create an empty package with the name it wants. I think that's a worse work-around than explicitly overriding the dependencies.