• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

Error installing on FC4 (package selinux-policy-targeted)

H

hq4ever

Guest
Hi everyone

I've installed a fresh FC4 server, it's set with firewall disabled (hardware implemented) and seLinux set to :: Warn.

I did a yum check-update followed by yum update

Now, when I run the plesk auto-installer it get the following error
Trying to add '@psacln' to /etc/ftpchroot... done

Install package xinetd
Install package psa-proftpd-xinetd

Starting xinetd: [ OK ]
Install package libc-client
Install package selinux-policy-strict
Install package selinux-policy-strict-sources
Install package selinux-policy-targeted
package selinux-policy-targeted-1.27.1-2.28 (which is newer than selinux -policy-targeted-1.27.1-2.22) is already installed
Error while execute command rpm -U /root/psa/PSA_8.0.0/update-rpm-FedoraCore-4-i 386/selinux-policy-targeted-1.27.1-2.22.noarch.rpm
ERROR: error while executing RPM
ERROR: Installation failed

I would appreciate any help you could provide me with this.

Thank you.
Maxim.
 
When trying to run
Code:
rpm -U /root/psa/PSA_8.0.0/update-rpm-FedoraCore-4-i386/selinux-policy-targeted-1.27.1-2.22.noarch.rpm
        package selinux-policy-targeted-1.27.1-2.28 (which is newer than selinux-policy-targeted-1.27.1-2.22) is already installed

The error is obvious.
The question is how can I tell plesk installer to ignore version errors ?
 
Doing a
Code:
[root@myhost ~]# ./psa_installer_v3.0.1_build060406.10_os_FedoraCore_4_i386 --usage
 Product source and proxy:
    --source-type <type>         Specify source type (plesk|local|network)
    --source <url or path>       Directory or URL for source
    --target <dir>               Specify target directory for download or mirroring
    --proxy-host <host>          Set proxy host
    --proxy-port <port>          Set proxy port
    --proxy-user <user>          Set user for auth proxy
    --proxy-password <pass>      Set password for auth proxy
 Releases:
    --show-releases              Only show releases for your OS (hide early releases)
    --select-release-id <id>     Select release ID (version) for operate
    --select-release-latest      Select laterst available for your OS release
    --select-release-current     Select your installed release
 Components:
    --show-components            Show components in selected release for your OS
    --install-component <id>     Install specified component from selected release
    --install-everything         Install all components from selected release
 Packages installation:
    --allow-kernel-install       Allow install kernel (see manual)
    --show-packages              Only show packages for install
 Mirroring:
    --show-all-releases          Show all available on server releases for all OS
    --show-os-list               Show OS's for selected release and exit
    --mirror-os <id>             Make local mirror for install (see manual)
 Commuticate with Plesk(tm) GUI:
    --enable-xml-output          Turn on XML output
    --query-status               Only query autoinstaller status
    --check-updates              Only check updates
    --notify-email <email>       Specify e-mail address for notify
    --ignore-key-errors          Ignore key errors
    --no-daemon                  Do not daemonize on installation action
 OS detection:
    --override-os-name <arg>     Override detected OS name
    --override-os-vendor <arg>   Override detected OS vendor
    --override-os-version <arg>  Override detected OS version
    --override-os-arch <arg>     Override detected OS architecture
    --override-environment <arg> Override detected environment
                                 (possible values are dedicated, vz, vserver)
  Custom RPM packages installer:
    (just install selected packages from specified dirs with local resolver):
    --add-packages-dir <dir>     Add packages from dir to resolver's repository
    --install-package <name>     Install package with specified name

    --no-clear                   No clear screen between pages in text mode
    --truncate-log               Truncate log in /tmp on open (do not append to log)
    --separate-logs              Write to separate log files on each start
    --install-system-only        Install only system packages required for Plesk installation
                                 (usefull for prepare machine to install Plesk packages
                                 manually, works only on RPM-based distributions)
    --version                    Show autoinstaller's version
    --usage
    --help                       Show this help

doesnt seems to be much of a help either.

Coming to solve this problem from the other way, can I somehow install using yum an older version of selinux so that plesk could be happy and satisfied when he gets to upgrade it to his "newest" version ?

Thank you !
 
The problem occurs because the default install of FC4 does not include the selinux-policy-targeted-sources package, which Plesk apparently requires.

The solution is to run yum install selinux-policy-targeted-sources. This will install the latest selinux-policy-targeted-sources package and also update the selinux-policy-targeted package if required.

The install requirements are then already met so Plesk will not attempt to install its own version.
 
Back
Top