ePages Installation Guide for Linux | → 6.17.13 | Created: 6.12.2; Updated: 6.17.8 |
If you just want to install ePages on a dedicated host then continue with section Basic ePages Installation.
ePages can be installed either on Red Hat/CentOS (with RPM packages) or Debian (with DEB packages).
An ePages 6 system consists of 5 main components:
The packages can be installed on one machine (single server installation), or distributed over various machines (distributed installation). The installation instructions below describe both scenarios.
For distributed installations all involved machines must have the same system time. If a network time protocol daemon (as ntpd) is used, all machines must use the same configuration file (as ntp.conf). For more information about the network time protocol daemon, see the manual pages (as man ntpd).
ePages RPM packages (see above) are provided by different ePages YUM repositories.
ePages DEB packages (see above) are provided by different ePages APT repositories.
ePages APT repository configuration file is stored in /etc/apt/sources.list.d/epages.list.
ePages repositories are mirrored and can be found in:
You may browse through ftp://epages-software.de/repo/epages/ to see what RPM packages ePages provides.
Installing the package epages-release adds following files to the system:
If (parts of) your ePages installation has no (due to firewall) or slow internet connection, you may want to mirror the ePages repositories to a local machine and install ePages from the local repository. The following steps show you how.
All ePages repositories are archived as tar packages in
ftp://epages-software.de/repo/epages/archive/
(resp. in $EPAGES_REPO/archive if you use a different repository)
Either you may want to copy all ePages versions to your host (variant A): this is very slow and consumes a lot of disk space.
Or you copy just the ePages versions you need (variant B).
Variant A: Get all ePages versions (not recommended) (set DOWNLOAD_DIR to a directory with > 100 GB free disk space)
# configure EPAGES_REPO=ftp://epages-software.de/repo/epages DOWNLOAD_DIR=/export/home/epages-repo # do not change anything below this line CUT_DIRS=$(echo $EPAGES_REPO | sed -r 's,//+,/,g;s,/+$,,' | tr -dc / | wc -c) wget -r -np -P $DOWNLOAD_DIR -nH --cut-dirs=$(($CUT_DIRS -1)) $EPAGES_REPO/archive/
Variant B: Get selected ePages versions (recommended) (set DOWNLOAD_DIR to a directory with > 10 GB free disk space)
# configure EPAGES_REPO=ftp://epages-software.de/repo/epages DOWNLOAD_DIR=/export/home/epages-repo # do not change anything below this line CUT_DIRS=$(echo $EPAGES_REPO | sed -r 's,//+,/,g;s,/+$,,' | tr -dc / | wc -c) wget -x -P $DOWNLOAD_DIR -nH --cut-dirs=$(($CUT_DIRS -1)) \ $EPAGES_REPO/archive/install/6.17.5-deb.tar
Example 2: If you want to install ePages 6.17.5 on Redhat, run:
# configure EPAGES_REPO=ftp://epages-software.de/repo/epages DOWNLOAD_DIR=/export/home/epages-repo # do not change anything below this line CUT_DIRS=$(echo $EPAGES_REPO | sed -r 's,//+,/,g;s,/+$,,' | tr -dc / | wc -c) wget -x -P $DOWNLOAD_DIR -nH --cut-dirs=$(($CUT_DIRS -1)) \ $EPAGES_REPO/archive/kernel-rpm.tar \ $EPAGES_REPO/archive/install/6.17.5-rpm.tar
Example 3: If you want to install ePages 6.17.5 with language packs on Redhat, run:
# configure EPAGES_REPO=ftp://epages-software.de/repo/epages DOWNLOAD_DIR=/export/home/epages-repo # do not change anything below this line CUT_DIRS=$(echo $EPAGES_REPO | sed -r 's,//+,/,g;s,/+$,,' | tr -dc / | wc -c) wget -x -P $DOWNLOAD_DIR -nH --cut-dirs=$(($CUT_DIRS -1)) \ $EPAGES_REPO/archive/kernel-rpm.tar \ $EPAGES_REPO/archive/install/6.17.5-rpm.tar \ $EPAGES_REPO/archive/LanguagePacks/6.17-LanguagePacks.tar
Example 4: If you want to patch a running installation ePages 6.16.3 to 6.17.5 on Redhat, run:
# configure EPAGES_REPO=ftp://epages-software.de/repo/epages DOWNLOAD_DIR=/export/home/epages-repo # do not change anything below this line CUT_DIRS=$(echo $EPAGES_REPO | sed -r 's,//+,/,g;s,/+$,,' | tr -dc / | wc -c) wget -x -P $DOWNLOAD_DIR -nH --cut-dirs=$(($CUT_DIRS -1)) \ $EPAGES_REPO/archive/kernel-rpm.tar \ $EPAGES_REPO/archive/install/6.17.5-rpm.tar \ $EPAGES_REPO/archive/patch/6.17.0-patch.tar \ $EPAGES_REPO/archive/patch/6.17.1-patch.tar \ $EPAGES_REPO/archive/patch/6.17.2-patch.tar \ $EPAGES_REPO/archive/patch/6.17.3-patch.tar \ $EPAGES_REPO/archive/patch/6.17.4-patch.tar \ $EPAGES_REPO/archive/patch/6.17.5-patch.tar
Unpack the repository (DOWNLOAD_DIR has the same value as above):
DOWNLOAD_DIR=/export/home/epages-repo cd $DOWNLOAD_DIR find archive -name '*.tar' -print -exec tar xf {} \;
Set EPAGES_REPO to the local repository:
export EPAGES_REPO=$DOWNLOAD_DIR
Now you can use your local repository, go on as described below.
All ePages RPM packages are signed by a GNU Privacy Guard (GPG) key. If you want to verify that a RPM package was really made by ePages, you need the public key. Unless already installed as part of epages-release, get it from the web site http://www.epages.com/security/b1d28320.txt .
To show which key was used to sign an ePages RPM package, run the command:
rpm --checksig -v <filename>.rpm
To verify the signature of an ePages RPM package, first import the public key (unless installed already package epages-release):
rpm --import b1d28320.txt
Then execute:
rpm -K <filename>.rpm
The command should return:
<filename>.rpm: (sha1) dsa sha1 md5 gpg OK
Example:
# rpm -K http://www.epages.com/repo/epages/yum/epages-release.noarch.rpm http://www.epages.com/repo/epages/yum/epages-release.noarch.rpm: (sha1) dsa sha1 md5 gpg OK
Package epages-release installs the installation configuration file /etc/sysconfig/epages6.
After installing epages-release and before installing ePages you may change /etc/sysconfig/epages6 to customize your ePages installation:
vi /etc/sysconfig/epages6 . /etc/sysconfig/epages6
For single server installations, normally you won't change /etc/sysconfig/epages6. Even in distributed installations it is not necessary to change /etc/sysconfig/epages6. Following sections describe the most important customizable parameters; every single parameter is described in /etc/sysconfig/epages6 itself.
For distributed installations, all involved servers must use the same configuration file /etc/sysconfig/epages6.
To achive this, following steps must be executed (see sections Custom Installation on Two Machines or Custom Installation on Three Machines below):
A distributed ePages 6 installation requires user and group definitions with the same user and group IDs on all machines.
parameter | defines | default |
---|---|---|
EPAGES_INSTALL_WS_GROUP | web server group name | ep_web |
EPAGES_INSTALL_WS_RUNUSER | user who runs the web server | eprunweb |
EPAGES_INSTALL_AS_RUNUSER | user who runs the application server | eprunapp |
EPAGES_INSTALL_EPAGESJ_USER | user who runs the java server | epagesj |
EPAGES_INSTALL_WS_RUNUID | ID of $EPAGES_INSTALL_WS_RUNUSER | |
EPAGES_INSTALL_WS_UID | ID of the web server file owner | |
EPAGES_INSTALL_WS_GID | ID of the web server group | |
EPAGES_INSTALL_EP_GID | ID of the group epages | |
EPAGES_INSTALL_AS_RUNUID | ID of $EPAGES_INSTALL_AS_RUNUSER | |
EPAGES_INSTALL_AS_UID | ID of the application server file owner ep_appl | |
EPAGES_INSTALL_DB_UID | ID of the database server user ep_db | |
EPAGES_INSTALL_EPAGESJ_UID | ID of $EPAGES_INSTALL_EPAGESJ_USER |
A distributed ePages 6 installation needs to know what hosts shall run what services. Furthermore you may choose what IPs and ports to use (especially if you have more than 1 network card).
Set those parameters in /etc/sysconfig/epages6.
Define server names/IPs and ports in /etc/sysconfig/epages6. All variables ending in _HOST must contain either a host name (long as host1.example.com or short as host1) or an IP address:
parameter | defines |
---|---|
EPAGES_INSTALL_AS_HOST | application server host |
EPAGES_INSTALL_RR_HOST | request router host (typically same as web server) |
EPAGES_INSTALL_WS_HOST | web server host |
EPAGES_INSTALL_EPAGESJ_HOST | java server host |
EPAGES_INSTALL_SOLR_HOST | solr server host |
EPAGES_INSTALL_SOLRSLAVE_HOST | solr slave host |
EPAGES_INSTALL_MONGO_HOST | mongodb server host |
EPAGES_INSTALL_MYSQL_CONNECTION | MySQL server connection string |
For each variable ending in _HOST there is a variable ending in _HOSTIP that defines the IP of the host. Set both variables if hostname and IP are not DNS resolvable or if there is more than 1 network card.
For each variable ending in _HOST there is a variable ending in _PORT defining the server port. These variables are optional and have sensible defaults. Do not change this variables unless you really need to.
If the password of the MySQL user root has changed (i.e. is neither empty nor epages), change EPAGES_INSTALL_MYSQL_PASS in /etc/sysconfig/epages6 accordingly, e.g.:
export EPAGES_INSTALL_MYSQL_PASS="secret_password"
If you set the environment variable VERBOSE=1 then you get a verbose yum installation.
1. Install epages-release to add ePages to your YUM repository:
rpm -hiv http://www.epages.com/repo/epages/yum/epages-release.noarch.rpm
2. File /etc/sysconfig/epages6 contains variable settings.
All variables are optional and have sensible defaults. Read the variable descriptions in /etc/sysconfig/epages6.
If you want to customize variables, edit /etc/sysconfig/epages6.
If the password of the MySQL user root has changed (i.e. it is neither empty nor epages), change EPAGES_INSTALL_MYSQL_PASS in /etc/sysconfig/epages6 accordingly, e.g.:
export EPAGES_INSTALL_MYSQL_PASS="secret_password"
3. Install and start ePages:
yum groupinstall epages
You may install ePages with language packs automatically starting from version 6.13.1.
Run following command to install all languages:
rpm -hiv http://www.epages.com/repo/epages/yum/epages-release.noarch.rpm EPAGES_LANGUAGES='ca cs da es fi fr it nl no pt ru sv' yum groupinstall epages
If you want to install specific languages, use the 2-character language codes, e.g. for Spanish and Italian:
rpm -hiv http://www.epages.com/repo/epages/yum/epages-release.noarch.rpm EPAGES_LANGUAGES='es it' yum groupinstall epages
To avoid starting the database installation after the file installation: instead of installing the complete @epages group, just install its parts:
rpm -hiv http://www.epages.com/repo/epages/yum/epages-release.noarch.rpm yum install epages-appsrv epages-ascsrv epages-reqsrv epages-mysqld epages-webconf epages-j
If you set the environment variable VERBOSE=1 then you get a verbose apt installation.
1. Install epages-release to add ePages to your APT repository:
curl -O http://www.epages.com/repo/epages/apt/epages-release_all.deb dpkg -i epages-release_all.deb apt-get -y update apt-get -y upgrade
2. File /etc/sysconfig/epages6 contains variable settings.
All variables are optional and have sensible defaults. Read the variable descriptions in /etc/sysconfig/epages6.
If you want to customize variables, edit /etc/sysconfig/epages6.
If the password of the MySQL user root has changed (i.e. it is neither empty nor epages), change EPAGES_INSTALL_MYSQL_PASS in /etc/sysconfig/epages6 accordingly, e.g.:
export EPAGES_INSTALL_MYSQL_PASS="secret_password"
3. Install and start ePages:
apt-get install epages
You may install ePages with language packs automatically starting from version 6.13.1.
Run following command to install all languages:
curl -O http://www.epages.com/repo/epages/apt/epages-release_all.deb dpkg -i epages-release_all.deb apt-get -y update apt-get -y upgrade EPAGES_LANGUAGES='ca cs da es fi fr it nl no pt ru sv' apt-get install epages
If you want to install specific languages, use the 2-character language codes, e.g. for Spanish and Italian:
EPAGES_LANGUAGES='es it' apt-get install epages
To avoid starting the database installation after the file installation: instead of installing the complete @epages group, just install its parts:
curl -O http://www.epages.com/repo/epages/apt/epages-release_all.deb dpkg -i epages-release_all.deb apt-get -y update apt-get -y upgrade apt-get install epages-appsrv epages-ascsrv epages-reqsrv epages-mysqld epages-webconf epages-j
Herinafter we just explain how to install ePages on a distributed Red Hat system. Installing ePages on a distributed Debian system works similiar, just replace Red Hat specific line:
rpm -hiv http://www.epages.com/repo/epages/yum/epages-release.noarch.rpm
by Debian specific lines:
curl -O http://www.epages.com/repo/epages/apt/epages-release_all.deb dpkg -i epages-release_all.deb apt-get -y update apt-get -y upgrade
and Red Hat specific comand:
yum install
by Debian specific comand:
apt-get install
Distributed installation allows you to install certain components of ePages (as described in Components of an ePages Installation) on specific machines:
1. Choose one server as file server and run on it:
rpm -hiv http://www.epages.com/repo/epages/yum/epages-release.noarch.rpm /var/tmp/epages-fs.sh -share
2. On all other servers run (where FILESERVER is the name of the file server):
rpm -hiv http://www.epages.com/repo/epages/yum/epages-release.noarch.rpm /var/tmp/epages-fs.sh -mount FILESERVER
3. Edit /etc/sysconfig/epages6. At least you must edit parameters EPAGES_INSTALL_WS_GROUP, EPAGES_INSTALL_WS_GID, and EPAGES_INSTALL_WS_RUNUSER.
4. Start /etc/sysconfig/epages6:
. /etc/sysconfig/epages6
5. Install on each servers its components. Choose one/more of following command:
yum install epages-appsrv yum install epages-reqsrv epages-ascsrv yum install epages-mysqld yum install epages-webconf yum install epages-j
6. Start ePages on each server (order: first on java server, then on web server/request router, then on database server, last on application server):
yum install epages-setup
1. Install epages-release:
rpm -hiv http://www.epages.com/repo/epages/yum/epages-release.noarch.rpm
2. Edit /etc/sysconfig/epages6 as described in Customizable Installation Parameters. At least you must set following parameters:
account=(GROUP apache GID 48 RUNUSER apache RUNUID 48) for i in 0 2 4 6 ; do sed -r 's,(EPAGES_INSTALL_WS_'${account[$i]}')=.*,\1='${account[$(($i+1))]}',' \ /etc/sysconfig/epages6 > x && cat x > /etc/sysconfig/epages6 done
3. Start /etc/sysconfig/epages6:
. /etc/sysconfig/epages6
4. Share the file system:
/var/epages/epages-fs.sh -share
5. Install the database server:
yum install epages-mysqld
6. Ignore ePages schedulers on the database server (or change $EPAGES_CONFIG/Scheduler.conf manually):
/var/epages/ini-config.sh -f /etc/default/epages6 -k EPAGES_IGNORE_CRON -v 1 -i
7. If SELinux is enabled (check this by running 'getsebool'), set the SELinux context for ePages:
/srv/epages/eproot/bin/se-file-context.sh --set --perl-cgi
1. Install epages-release:
rpm -hiv http://www.epages.com/repo/epages/yum/epages-release.noarch.rpm
2. Mount the previously shared file system (replace HOSTNAME by the hostname of machine 1):
/var/epages/epages-fs.sh -mount HOSTNAME
3. Install the application server, java server, web server and request router:
yum install epages-common yum install epages-appsrv epages-ascsrv epages-j epages-reqsrv epages-webconf
4. If SELinux is enabled (check this by running 'getsebool'), set the SELinux context for ePages:
/srv/epages/eproot/bin/se-file-context.sh --set --perl-cgi /srv/epages/eproot/bin/se-webnfs-context.sh --set --no-start /etc/init.d/epages6 start_java
After successful installation first (order is important!) start ePages 6 first on the database server, then on the application/web server:
yum install epages-setup
1. Install epages-release:
rpm -hiv http://www.epages.com/repo/epages/yum/epages-release.noarch.rpm
2. Edit /etc/sysconfig/epages6 as described in Customizable Installation Parameters. At least you must set following parameters:
account=(GROUP apache GID 48 RUNUSER apache RUNUID 48) for i in 0 2 4 6 ; do sed -r 's,(EPAGES_INSTALL_WS_'${account[$i]}')=.*,\1='${account[$(($i+1))]}',' \ /etc/sysconfig/epages6 > x && cat x > /etc/sysconfig/epages6 done
3. Start /etc/sysconfig/epages6:
. /etc/sysconfig/epages6
4. Share the installed system:
/var/epages/epages-fs.sh -share
5. Install the application server:
yum install epages-appsrv epages-j
6. If SELinux is enabled (check this by running 'getsebool'), set the SELinux context for ePages:
/srv/epages/eproot/bin/se-file-context.sh --set --perl-cgi
1. Install epages-release:
rpm -hiv http://www.epages.com/repo/epages/yum/epages-release.noarch.rpm
2. Mount the previously shared file system (replace HOSTNAME by the hostname of machine 1):
/var/epages/epages-fs.sh -mount HOSTNAME
3. Install the database server:
yum install epages-mysqld
4. Ignore ePages schedulers on database server (or change $EPAGES_CONFIG/Scheduler.conf manually):
/var/epages/ini-config.sh -f /etc/default/epages6 -k EPAGES_IGNORE_CRON -v 1 -i
5. If SELinux is enabled (check this by running 'getsebool'), set the SELinux context for ePages:
/srv/epages/eproot/bin/se-file-context.sh --set --perl-cgi
1. Install epages-release:
rpm -hiv http://www.epages.com/repo/epages/yum/epages-release.noarch.rpm
2. Mount the previously shared file system (replace HOSTNAME by the hostname of machine 1):
/var/epages/epages-fs.sh -mount HOSTNAME
3. Install web server and request router:
yum install epages-common yum install epages-webconf epages-reqsrv epages-ascsrv
4. Ignore ePages schedulers on web server (or change $EPAGES_CONFIG/Scheduler.conf manually):
/var/epages/ini-config.sh -f /etc/default/epages6 -k EPAGES_IGNORE_CRON -v 1 -i
5. If SELinux is enabled (check this by running 'getsebool'), set the SELinux context for ePages:
/srv/epages/eproot/bin/se-file-context.sh --set --perl-cgi /srv/epages/eproot/bin/se-webnfs-context.sh --set --no-start
After successful installation first (order is important!) start ePages 6 first on the database server, second on the web server, third on the application server:
yum install epages-setup
Services may be started automatically (initlevel or rc scripts) or manually by the UNIX command:
/etc/init.d/epages6 <start parameter>
Services may be stopped automatically (initlevel or rc scripts) or manually by the UNIX command:
/etc/init.d/epages6 <stop parameter>
<parameter> defines the components of the application involved:
start parameter | stop parameter | controls |
---|---|---|
start_httpd | stop_httpd | web server (only if installed and configured with epages) |
start_service | stop_service | application server |
start_rr | stop_rr | request router |
start_db | stop_db | database server |
start_java | stop_java | includes mongod, epagesj, epages-solr, epages-solr-slave |
start | stop | includes web, database, java and application server |
show | show all running ePages processes |
A manual start of an active service causes that service to stop and restart.
Starting the SSL web server works only if:
/etc/init.d/epagesj start
The solr server is started as follows:
/etc/init.d/epages-solr start
The solr slave server is started as follows:
/etc/init.d/epages-solr-slave start
Stop all servers with 'stop', show status of those servers with 'status'.
ePages may be patched by yum/apt-get (as described below) or on command line. For detailed instructions and information on patching ePages 6, see ePages Patch Installation.
Patching ePages consists of three steps:
rpm -hUv http://www.epages.com/repo/epages/yum/epages-release.noarch.rpm yum -y update 'epages-[a-oq-z]*' --disablerepo epages-setup --enablerepo epages-update yum -y update epages-patch --disablerepo epages-setup --enablerepo epages-update
Patching ePages consists of three steps:
curl -O http://www.epages.com/repo/epages/apt/epages-release_all.deb dpkg -i epages-release_all.deb apt-get -y update apt-get -y --only-upgrade install 'epages-[^pt]' apt-get -y install epages-patch
If a patch is installed with YUM following log files are written (version 6_17_6 may vary):
If you want to install the patch files into $EPAGES_SHARED/Patches/patch_X_Y_Z/ but don't want to start the patch executing './patch.sh install', run:
yum -y update 'epages-[a-oq-z]*' --disablerepo epages-setup --enablerepo epages-update EPAGES_DO_PATCH=0 yum -y update epages-patch --disablerepo epages-setup --enablerepo epages-update
Then after installing the patch files, run following commands to install the patch itself:
cd $EPAGES_SHARED/Patches/patch_* ./patch.sh install
EPAGES_PREREQ_INI=/tmp/prerequisits.ini yum update epages-patch --disablerepo epages-setup --enablerepo epages-update
EPAGES_PATCH_CONF=/path/to/Conf yum update epages-patch --disablerepo epages-setup --enablerepo epages-update
Read the prerequisits.ini file resp. the Conf/ directory provided by the patch to find customizable parameters.
Section 'Patch a Distributed ePages Installation' in document ePages Patch Installation explains how to patch a distributed installation.
You may remove a single server ePages installation by executing:
on Red Hat:
yum remove @epages
on Debian:
apt-get remove epages
Both commands do not remove ePages completely, changed files remain on the server. To remove ePages on a single server completely, run:
/var/epages/delete-epages.sh
This removes all ePages RPMs/DEBs, files, users, and databases.
1. Run on each server but the file server:
/var/tmp/epages-fs.sh -unmount yum remove ...
... means all packages you installed with yum install ... before.
2. Run on the file server:
/var/tmp/epages-fs.sh -unshare yum remove ...
... means all packages you installed with yum install ... before.
This does not remove ePages completely, changed files remain on the server. To remove ePages completely, run (first on each server but the file server, then on the file server):
/var/epages/delete-epages.sh
Problem:
http://www.epages.com/repo/epages/6.16.3/i386/repodata/filelists.xml.gz: [Errno -1] Metadata file does not match checksum
Solution:
yum clean all
Problem:
yum install krb5-libs.i686 openssl.i686 openssl098e.i686 ... Error: Protected multilib versions: openssl-1.0.0-20.el6.i686 != openssl-1.0.0-10.el6_1.4.x86_64 Error: Protected multilib versions: krb5-libs-1.9-22.el6_2.1.i686 != krb5-libs-1.9-9.el6_1.1.x86_64 You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest
Solution:
yum install --setopt=protected_multilib=false krb5-libs.i686 openssl.i686 openssl098e.i686
Problem:
yum install openssl.i686 ... Transaction Check Error: file /usr/share/doc/openssl-1.0.0/README.FIPS from install of openssl-1.0.0-20.el6.i686 conflicts with file from package openssl-1.0.0-10.el6_1.4.x86_64 file /usr/share/man/man1/ca.1ssl.gz from install of openssl-1.0.0-20.el6.i686 conflicts with file from package openssl-1.0.0-10.el6_1.4.x86_64 file /usr/share/man/man1/openssl.1ssl.gz from install of openssl-1.0.0-20.el6.i686 conflicts with file from package openssl-1.0.0-10.el6_1.4.x86_64 file /usr/share/man/man1/req.1ssl.gz from install of openssl-1.0.0-20.el6.i686 conflicts with file from package openssl-1.0.0-10.el6_1.4.x86_64 file /usr/share/man/man1/x509.1ssl.gz from install of openssl-1.0.0-20.el6.i686 conflicts with file from package openssl-1.0.0-10.el6_1.4.x86_64
Solution 1 (preferred):
yum -y install yum-utils mkdir -p download && cd download yumdownloader --resolve openssl.i686 mv openssl-*.i686.rpm .. rpm -hUv *.rpm cd .. rpm -hiv --nodocs openssl-*.i686.rpm
Solution 2:
rpm -qa --qf '%{name}-%{version}-%{release}.%{arch}\n' 2>&1 | grep openssl # openssl-1.0.0-10.el6_1.4.x86_64 rpm -e --justdb --nodeps openssl-1.0.0-10.el6_1.4.x86_64 yum install krb5-libs.i686 openssl.i686 openssl098e.i686
Problem:
yum groupinstall epages ... Total download size: 220 M Is this ok [y/N]: y Downloading Packages: Traceback (most recent call last): File "/usr/bin/yum", line 29, in ? yummain.user_main(sys.argv[1:], exit_code=True) File "/usr/share/yum-cli/yummain.py", line 229, in user_main errcode = main(args) File "/usr/share/yum-cli/yummain.py", line 181, in main return_code = base.doTransaction() File "/usr/share/yum-cli/cli.py", line 386, in doTransaction problems = self.downloadPkgs(downloadpkgs, callback_total=self.download_callback_total_cb) File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 1108, in downloadPkgs remote_size += po.size TypeError: unsupported operand type(s) for +=: 'int' and 'str'
Solution:
yum -y install yum-utils mkdir -p download && cd download yumdownloader --resolve yum-metadata-parser rpm -hiv --force yum-metadata-parser-*.el5.i386