Note that shorewall-shell must be unstalled on rpm upgrades

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6713 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2007-06-29 19:38:23 +00:00
parent 991ec9121f
commit 8c9b1767cf
3 changed files with 9 additions and 8 deletions

View File

@ -63,7 +63,8 @@ Migration Considerations:
1) You cannot simply upgrade your existing Shorewall package. You must 1) You cannot simply upgrade your existing Shorewall package. You must
also install one or both of the compilers. also install one or both of the compilers.
If you attempt to upgrade using the RPM, you get this result: If you attempt to upgrade using the shorewall-common RPM, you get
this result:
gateway:~ # rpm -Uvh shorewall-common-4.0.0.noarch.rpm gateway:~ # rpm -Uvh shorewall-common-4.0.0.noarch.rpm
error: Failed dependencies: error: Failed dependencies:
@ -75,16 +76,15 @@ Migration Considerations:
rpm -U shorewall-shell-4.0.0.noarch.rpm \ rpm -U shorewall-shell-4.0.0.noarch.rpm \
shorewall-common-4.0.0.noarch.rpm shorewall-common-4.0.0.noarch.rpm
or
rpm -U shorewall-perl-4.0.0.noarch.rpm \
shorewall-common-4.0.0.noarch.rpm
or or
rpm -U shorewall-shell-4.0.0.noarch.rpm \ rpm -U shorewall-shell-4.0.0.noarch.rpm \
shorewall-perl-4.0.0.noarch.rpm \ shorewall-perl-4.0.0.noarch.rpm \
shorewall-common-4.0.0.noarch.rpm shorewall-common-4.0.0.noarch.rpm
If you don't want shorewall-shell, use the second command then
rpm -e shorewall-shell
If you are upgrading using the tarball, you must install If you are upgrading using the tarball, you must install
shorewall-shell and/or shorewall-perl before you upgrade shorewall-shell and/or shorewall-perl before you upgrade

View File

@ -126,7 +126,8 @@
Shorewall-shell and/or Shorewall-perl; in fact, if you are using the Shorewall-shell and/or Shorewall-perl; in fact, if you are using the
tarball for your installation, you must install Shorewall-shell and/or tarball for your installation, you must install Shorewall-shell and/or
Shorewall-perl <emphasis role="bold">before</emphasis> you upgrade Shorewall-perl <emphasis role="bold">before</emphasis> you upgrade
Shorewall. See the release notes.</para> Shorewall. See the <ulink url="upgrade_issues.htm">upgrade issues</ulink>
for details.</para>
</section> </section>
<section id="Prereqs"> <section id="Prereqs">

View File

@ -104,7 +104,7 @@
result:<programlisting>gateway:~ # rpm -Uvh shorewall-common-4.0.0.noarch.rpm result:<programlisting>gateway:~ # rpm -Uvh shorewall-common-4.0.0.noarch.rpm
error: Failed dependencies: error: Failed dependencies:
shorewall_compiler is needed by shorewall-common-4.0.0-1.noarch shorewall_compiler is needed by shorewall-common-4.0.0-1.noarch
gateway:~ #</programlisting> You must either:<programlisting>rpm -U shorewall-shell-4.0.0.noarch.rpm shorewall-common-4.0.0.noarch.rpm</programlisting>or<programlisting>rpm -U shorewall-perl-4.0.0.noarch.rpm shorewall-common-4.0.0.noarch.rpm</programlisting>or<programlisting>rpm -U shorewall-shell-4.0.0.noarch.rpm shorewall-perl-4.0.0.noarch.rpm shorewall-common-4.0.0.noarch.rpm</programlisting>If gateway:~ #</programlisting> You must either:<programlisting>rpm -U shorewall-shell-4.0.0.noarch.rpm shorewall-common-4.0.0.noarch.rpm</programlisting>or<programlisting>rpm -U shorewall-shell-4.0.0.noarch.rpm shorewall-perl-4.0.0.noarch.rpm shorewall-common-4.0.0.noarch.rpm</programlisting>If
you are upgrading using the tarball, you must install either you are upgrading using the tarball, you must install either
shorewall-shell or shorewall-perl before you upgrade Shorewall using shorewall-shell or shorewall-perl before you upgrade Shorewall using
the Shorewall-common tarball. Otherwise, the install.sh script fails the Shorewall-common tarball. Otherwise, the install.sh script fails