Skip to main content

Sysup: Needed system RPMs were not installed issue

Comments

2 comments

  • GOT
    MIght have to try a few different things. I would start with rpm -qa|grep cpp And see specifically what is installed and then its worth trying rpm -w --no-deps cpp-xx-xx-xx-xx where the actual name is the package installed above, then yum install cpp
    0
  • cPanelLauren
    If you're not on CloudLinux, you should not have CloudLinux packages on the server. The issue here: Error: Package: gcc-4.8.5-39.el7.x86_64 (base) Requires: cpp = 4.8.5-39.el7 Installed: cpp-4.8.5-39.el7.cloudlinux.x86_64 (@cloudlinux-x86_64-server-7)
    You have cpp installed but it's the CloudLinux Package where the dependency for the GCC package is the non-cloudlinux version. To resolve this you have to remove cpp from CloudLinux and install the one from the base repository. The best way to do this would be using yum shell. yum shell remove cpp-4.8.5-39.el7.cloudlinux.x86_64 install cpp-4.8.5-39.el7.x86_64 run exit
    Commands that can be run in yum shell: Usage: yum [options] COMMAND List of Commands: check Check for problems in the rpmdb check-update Check for available package updates clean Remove cached data deplist List a package's dependencies distribution-synchronization Synchronize installed packages to the latest available versions downgrade downgrade a package erase Remove a package or packages from your system fs Acts on the filesystem data of the host, mainly for removing docs/lanuages for minimal hosts. fssnapshot Creates filesystem snapshots, or lists/deletes current snapshots. groups Display, or use, the groups information help Display a helpful usage message history Display, or use, the transaction history info Display details about a package or group of packages install Install a package or packages on your system list List a package or groups of packages load-transaction load a saved transaction from filename makecache Generate the metadata cache provides Find what package provides the given value reinstall reinstall a package repo-pkgs Treat a repo. as a group of packages, so we can install/remove all of them repolist Display the configured software repositories search Search package details for the given string shell Run an interactive yum shell swap Simple way to swap packages, instead of using shell update Update a package or packages on your system update-minimal Works like upgrade, but goes to the 'newest' package match which fixes a problem that affects your system updateinfo Acts on repository update information upgrade Update packages taking obsoletes into account version Display a version for the machine and/or available repos. Shell specific arguments: config - set config options repository (or repo) - enable/disable/list repositories transaction (or ts) - list, reset or run the transaction set run - run the transaction set exit or quit - exit the shell
    0

Please sign in to leave a comment.