From Fedora Project Wiki
(Created page with "{{QA/Test_Case |description=This test case ensures that the {{package|basesystem}} package correctly defines and installs its core dependencies, providing a minimal environment. |setup= # Ensure you have a Fedora system. # Install a minimal environment, or start with a fresh installation. |actions= # Open a terminal. # Install the `basesystem` package if not already installed: `sudo dnf install basesystem`. # Check the dependencies of the `basesystem` package: `dnf repoq...") |
(No difference)
|
Latest revision as of 19:05, 12 August 2023
Description
This test case ensures that the basesystem
package correctly defines and installs its core dependencies, providing a minimal environment.
Setup
- Ensure you have a Fedora system.
- Install a minimal environment, or start with a fresh installation.
How to test
- Open a terminal.
- Install the
basesystem
package if not already installed:sudo dnf install basesystem
. - Check the dependencies of the
basesystem
package:dnf repoquery --requires basesystem
. - Validate that essential packages (like
filesystem
,bash
, etc.) are listed as dependencies. - Ensure all dependencies are correctly installed:
sudo dnf install $(dnf repoquery --requires basesystem)
. - Boot the system or create a chroot environment and ensure it operates as a minimal functional environment.
Expected Results
- The
basesystem
package should list essential packages as its dependencies. - There should be no missing or broken dependencies when attempting to install them.
- The system or chroot environment, when only containing the
basesystem
and its dependencies, should be functional at a minimal level (e.g., you can boot to a command prompt and basic commands work).
Optional
For deeper testing:
- Remove non-essential packages from the system and ensure the system remains operational with just the
basesystem
and its dependencies. - Check how other software or systems interact with this minimal environment.
- Attempt to install various software packages in this minimal environment to see if they function as expected.