final byte[] primPkg = getPrimary(nextPkg, ii);
if(primPkg == null) {
final File f = new File(ctx.repo.path, string(dir));
final File desc = new File(f, DESCRIPTOR);
ctx.repo.remove(new PkgParser(ctx, ii).parse(new IOFile(desc)));
<BUG>deleteFromDisc(f, ii);
} else PKGDEP.thrw(ii, string(primPkg), pkg);</BUG>
}
}
}

final byte[] primPkg = getPrimary(nextPkg, ii);
if(primPkg == null) {
final File f = new File(ctx.repo.path, string(dir));
final File desc = new File(f, DESCRIPTOR);
ctx.repo.remove(new PkgParser(ctx, ii).parse(new IOFile(desc)));
if(!new IOFile(f).delete()) CANNOTDELPKG.thrw(ii);
} else PKGDEP.thrw(ii, string(primPkg), pkg);
}
}
}
