There is no official PKG file for rebuilding the PS3 database, as this is a built-in system function. However, specific homebrew tools like KDW Rebuild Database can perform this from the XMB on modified consoles. Official Method (No Download Required)
A PKG file is a package file used by the PS3 to install software, updates, and other data. PKG files contain compressed data that can be extracted and installed on the console. In the case of rebuilding the PS3 database, a specific PKG file is used to restore the database to its factory settings. download rebuild database ps3 pkg
Second Hold: Press and hold the power button again. You will hear one beep, followed by a quick double-beep. Release the button immediately after the double-beep. There is no official PKG file for rebuilding