1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

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

Discussion in 'Plesk for Linux - 8.x and Older' started by hq4ever, Apr 30, 2006.

  1. hq4ever

    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
    I would appreciate any help you could provide me with this.

    Thank you.
  2. hq4ever

    hq4ever Guest

    When trying to run
    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 ?
  3. hq4ever

    hq4ever Guest

    Doing a
    [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
        --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
        --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
        --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
        --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 !
  4. hq4ever

    hq4ever Guest

  5. crossconnect

    crossconnect Guest

    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.