mrd6: adopted from packages-feed