Fix pkgdb2