Installing without some dependencies #26

Open
opened 2021-05-20 06:14:53 +00:00 by davidsch · 2 comments

rpm-showme is great and allowed me to find what packages pull in gcc for my container. Before I open bugs for said packages, I would like to verify that at least the basic functionallity is still there.

Do you have any tool/workflow to do this automatically?

The only somewhat clean way I could think of, was rebuilding without dependencies, but that feels like a huge waste of CPU power for removing a few bytes.

Manually removing gcc with rpm isn't an option, as I want to drop the whole depency chain.

Manually installing the other dependencies seems like a pain, but might be the easiest solution ...

rpm-showme is great and allowed me to find what packages pull in gcc for my container. Before I open bugs for said packages, I would like to verify that at least the basic functionallity is still there. Do you have any tool/workflow to do this automatically? The only somewhat clean way I could think of, was rebuilding without dependencies, but that feels like a huge waste of CPU power for removing a few bytes. Manually removing gcc with rpm isn't an option, as I want to drop the whole depency chain. Manually installing the other dependencies seems like a pain, but might be the easiest solution ...

Often, you can swap out a Requires for a Recommends, but other times it makes more sense to drop the dependency entirely.

Often, you can swap out a `Requires` for a `Recommends`, but other times it makes more sense to drop the dependency entirely.
Author

Yes, but how do I do this, without having to change the spec and recompiling the package?
Or is that the only approach?

Yes, but how do I do this, without having to change the spec and recompiling the package? Or is that the only approach?
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Docs/minimization#26
No description provided.