summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--urpm/orphans.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/urpm/orphans.pm b/urpm/orphans.pm
index 11bd555e..aea64fb4 100644
--- a/urpm/orphans.pm
+++ b/urpm/orphans.pm
@@ -544,6 +544,9 @@ sub _all_unrequested_orphans {
foreach my $prop ($pkg->requires, $pkg->recommends_nosense) {
my $n = URPM::property2name($prop);
foreach my $p (@{$provides{$n} || []}) {
+ # FIXME: hackish in order to fix orphaning kernels with virtualbox installed on mga9+
+ # TODO: check if something else that's not orphaned still provides it instead
+ next if $n eq 'kmod(vboxdrv.ko)';
my $pfn = $p->fullname;
if ($p != $pkg && $l{$pfn} && $p->provides_overlap($prop)) {
delete $l{$pfn};