YaST2 Developers Documentation: repair | ![]() |
![]() functions files intro |
Package database files
Package database files (version >=4)
Current package database files
if a backup (YaST) of the package database was created. Save rpm?_db_files[X] -> rpm?_db_files[X].old
Mount point where the target system is mounted.
Help text to show errors.
Error text.
Dialog description for the install missing or damaged packages.
Missing packages database files.
Not installed base packages or damaged packages.
All new installed packages.
This will be local when converted to a Module:: Has Pkg::TargetInit run?
Before first opening pkg database, we need to close it preventively (because it could be opened with a different root path). This variable says, if it is first time now.
This will be local when converted to a Module:: Has Pkg::SourceStartCache run?
Reset the module settings.
Constructor.
Open the package database.
Check if target product is the same as the source (bug #45306)
Return false if db files are missing. Save missing files in the list not_found_files.
Make a backup of the package database files.
Revert the YaST backup of the package database.
Rebuild the package database.
Revert a backup of the package database from /var/adm/backup/rpmdb.
Repair or initialise a damaged package damaged. Call CheckDB before.
Return all packages which should be verified
Check if all minimal required packages are installed.
Verify all specified packages.
Install selected Packages. The packages are damaged or not install. Call CheckMinimum or VerifyPackages before.
|
YaST2 Developers Documentation | ![]() |