I'm in the process of building a debian package. The goal is to package up a directory into a .deb that will have 2 dependencies that are other packages I created.
When installing the .deb package, I see the errors regarding missing dependencies which is great, but it still dumps the directory and contents even though it's missing dependencies.
My question is if this is appropriate behavior? I do not want the directory created and populated if there are missing dependencies. Any help would be appreciated!
dpkg -i hdf5.deb Selecting previously unselected package hdf5. (Reading database ... 305222 files and directories currently installed.) Unpacking hdf5 (from hdf5.deb) ... dpkg: dependency problems prevent configuration of hdf5: hdf5 depends on szip (>= 2.9); however: Package szip is not installed. dpkg: error processing hdf5 (--install): dependency problems - leaving unconfigured Errors were encountered while processing: hdf5