![]() ![]() What I really want is not to have no dependency checking at all, but rather something like a hypothetical –ignore-deps-errors option. ![]() As I spoke aloud –nodeps to Kiel, I suddenly remembered my past experience with this and felt appropriately stupid. I wasn’t able to see this till I had Kiel Christofferson join me in a shared screen and watch as I typed my install command. And since the configuration file /etc/interchange.cfg doesn’t exist yet, the interchange-standard-demo package can’t register itself there. ![]() Since the interch user and group that the interchange package creates doesn’t exist yet, files can’t be owned by the correct user/group. However, –nodeps disables RPM’s tracking of those dependencies, causing them to be installed in what happened to be a pessimistic order that breaks many things. I expected interchange to be installed first, followed by either of the interchange-standard-* packages that depend on it. Then when I installed them all at once: rpm -ivh interchange-*.rpm -nodeps I was working with 3 RPMs, a base interchange package and 2 ancillary interchange-* packages which depend on the base package, such as here: interchange-5.6.0-1.x86_64.rpm However, I found out by confusing experience that –nodeps not only allows otherwise fatal dependency errors to be skipped, but it also disables RPM’s entire dependency tracking system! This shouldn’t be done as a matter of course, but for a quick test, is fine. The –nodeps option allows RPM to continue installing despite the fact that I’m missing a handful of packages that $package depends on. When testing out an RPM install without having all the required dependencies installed on the system, it’s natural to do: rpm -ivh $package -nodeps I was surprised about something non-obvious in RPM’s dependency handling for the second time today, the first time having been so many years ago that I had completely forgotten. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |