Migration from Red Hat™ 7.2 to Lineox™ Enterprise Linux 2.1
Migration from any of the 7.x Red Hat™ versions other than 7.3 to Lineox™ Enterprise Linux 2.1
should be quite easy and painless. The easiest is 7.2. Red Hat™ 7.2 is no longer supported,
but Lineox™ Enterprise Linux 2.1 has still many years of support left in the form of
security and bug fix packages.
The method described here can be used even over the network and
the upgraded system may be in other city, country or continent. The other advantage is
the greater control than with using normal graphical installation program, which tries to
hide all the pesky details, which may cause problems later. The disadvantage is the
greater expertise needed to understand what is happening and should be done if all doesn't go
as described below.
Contents
Upgrade or Update?
Assumptions
Preparations
The big leap, apt-get dist-upgrade
Installing a new kernel
Removing packages not found in LEL 2.1
Adding packages not found in Red Hat 7.2
Upgrade or Update?
By upgrade we mean a major or distribution wide replacement of program
packages. Updates replace single or small number of packages and version
number growth is minor.
As we later see, about one third of the packages in
Red Hat™ 7.2 and Lineox™ Enterprise Linux 2.1 are the same. This
means that many of the updated packages made for Lineox™ Enterprise Linux 2.1
can be installed on Red Hat™ 7.2 without the need for updating other
packages.
If you are admistering, for example, a Red Hat™ 7.2 server with a limited set of services
and you trust your local users, you could update only those server program
packages in use, that have remotely exploitable vulnerabilities. In these kind of cases there
are very good chances, that those packages don't need any other package updates.
If you are uncertain about whether to upgrade or update, check first from
The enterprise-watch-list Archives what
packages you should update, update those and
if it looks like they don't need any other packages because of dependencies,
be happy and leave it at that. If there are, for example, tens of packages,
that should be updated, you should consider distribution upgrade because
you might avoid repetitive troubles in the future. But the choice is yours!
Assumptions
This HOWTO assumes that you have a fresh and full installation of Red Hat™ 7.2,
but without support for local languages. Your installation most probably is different,
but you should be able quite easily to adapt these instructions to your situation.
Because in this example we have full installation and no updates, upgrade to
Lineox™ Enterprise Linux 2.1 upgrades more packages than any other scenario
and covers all the possible problems other than the ones with packages outside of
the distribution.
The second assumption is that you have Always Current Lineox™ Enterprise Linux 2.1.007
DVD. DVD is a little easier and faster than handling multiple CDs, but later in this
documentation there are notes if you have to do something extra to upgrade from CDs.
Preparations
First you should install apt-get to get the rest of packages. apt-get however needs
some updates. Mount the Always Current Lineox™ Enterprise Linux 2.1.007 DVD
and go to the RedHat/RPMS directory and then:
# rpm -U rpm-*4.0.4-7x.20*.rpm popt-1.6.4-7x.20.i386.rpm gnorpm-0.96-12.7x.i386.rpm \
kdeadmin-2.2.2-4.i386.rpm rpm2html-1.7-3.9.i386.rpm rpmfind-1.7-4.9.i386.rpm
Note
If you have CD disks, the easiest way to avoid problems when you install or upgrade
multiple packages is to create a temporary directory and copy all the rpm packages from
all the disks to it. Use this temporary directory instead of rpm directory on DVD from now on.
Hint
You don't have to type all those long package names, just type or copy-paste the beginning, hit
Tab and bash automatically completes the rest of the file name. If there are multiple possible
completitions, bash completes as much as it can, and displays the possible choices if you hit Tab twice.
Now you can install apt-get:
rpm -i apt-0.5.15cnc6-2.lel.i386.rpm
Before apt-get can do the distribution upgrade, you must register your DVD disk or CD disks:
# apt-cdrom add
Using CD-ROM mount point /mnt/cdrom/
Unmounting CD-ROM
Please insert a Disc in the drive and press enter
Mounting CD-ROM
Identifying.. [1578a48848d976e5e0fbf7197b4deb91-2]
Scanning Disc for index files.. Found 1 package indexes and 0 source indexes.
Please provide a name for this Disc, such as 'Distribution Disk 1':
LEL 2.1.007
This Disc is called:
'LEL 2.1.007'
Reading Indexes... Done
Writing new source list
Source List entries for this Disc are:
rpm cdrom: [LEL 2.1.007]/ RedHat os
Repeat this process for the rest of the CDs in your set.
Before continuing, you should check that there are no conflicts between
currently installed packages or other problems:
# apt-get check
Reading Package Lists... Done
Building Dependency Tree... Done
You might want to run apt-get -f install' to correct these.
The following packages have unmet dependencies:
gated: Obsoletes: zebra but 0.91a-6 is installed
zebra: Obsoletes: gated but 3.6-12 is installed
E: Unmet dependencies. Try using -f.
To correct the problem, we decide to remove zebra:
# rpm -e zebra
The big leap, apt-get dist-upgrade
Now we are ready to do the big leap. Note that the listing is abbreviated. The
omitted lines are replaced by "..." line.
# apt-get dist-upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
Calculating Upgrade... Done
The following packages will be upgraded
Canna-devel Canna-libs Gtk-Perl LPRng MAKEDEV Mesa Mesa-demos
Mesa-devel SDL_mixer SDL_mixer-devel WindowMaker WindowMaker-libs
XFree86 XFree86-100dpi-fonts XFree86-75dpi-fonts XFree86-FBDev
XFree86-ISO8859-15-100dpi-fonts XFree86-ISO8859-15-75dpi-fonts
XFree86-Xnest XFree86-Xvfb XFree86-compat-modules XFree86-devel
XFree86-doc XFree86-libs XFree86-tools XFree86-twm XFree86-xdm
XFree86-xf86cfg XFree86-xfs Xconfigurator anaconda anaconda-runtime
apache apache-devel apache-manual arpwatch arts at autofs automake
balsa bash bash-doc bind bind-devel bind-utils binutils cadaver
cdda2wav cdrecord cdrecord-devel chkconfig cpp cvs cyrus-sasl
cyrus-sasl-devel cyrus-sasl-gssapi cyrus-sasl-md5 cyrus-sasl-plain
dateconfig db2 db2-devel db3 db3-devel db3-utils dev diskcheck
docbook-utils docbook-utils-pdf dump e2fsprogs e2fsprogs-devel
eel eel-devel elm enscript ethereal ethereal-gnome ethtool expect
fetchmail fetchmailconf file fileutils foomatic ftp gaim galeon
gcc gcc-c++ gcc-chill gcc-g77 gcc-java gcc-objc gcc3 gcc3-c++
gcc3-g77 gcc3-java gcc3-objc gdb gdbm gdbm-devel gdk-pixbuf
gdk-pixbuf-devel gdk-pixbuf-gnome gdm ggv ghostscript glibc
glibc-common glibc-devel glibc-profile gmc gnome-audio
gnome-audio-extra gnome-core gnome-core-devel gnome-vfs
gnome-vfs-devel gnupg groff groff-gxditview groff-perl
gtoaster gv htdig htdig-web imap imap-devel imlib imlib-cfgeditor
imlib-devel initscripts iproute iptables iptables-ipv6 iptraf
iputils irb isdn4k-utils isdn4k-utils-vboxgetty itcl jadetex
kde-i18n-Bulgarian kde-i18n-Chinese-Big5 kde-i18n-Hebrew
kde-i18n-Lithuanian kde-i18n-Polish kdeaddons-kate kdeaddons-kicker
kdeaddons-knewsticker kdeaddons-konqueror kdeaddons-noatun kdeartwork
kdeartwork-locolor kdebase kdebase-devel kdegames kdegraphics
kdegraphics-devel kdelibs kdelibs-devel kdelibs-sound
kdelibs-sound-devel kdemultimedia kdemultimedia-devel kdenetwork
kdenetwork-ppp kdepim kdepim-cellphone kdepim-devel kdepim-pilot
kdesdk kdesdk-devel kdeutils kdevelop kdoc koffice koffice-devel
krb5-devel krb5-libs krb5-server krb5-workstation ksymoops kudzu
kudzu-devel lesstif lesstif-devel lftp lha libcap libcap-devel
libesmtp libesmtp-devel libgcc libgcj libgcj-devel libgcj3
libgcj3-devel libgtop libgtop-devel libgtop-examples libpcap
libpng libpng-devel libstdc++ libstdc++-devel libstdc++3
libstdc++3-devel libungif libungif-devel libungif-progs
libvorbis libvorbis-devel libxml2 libxml2-devel libxslt
libxslt-devel logwatch losetup lv lynx m2crypto magicdev
mailman man mc mcserv metamail mgetty mgetty-sendfax mgetty-viewfax
mgetty-voice micq mkinitrd mkisofs mm mm-devel mod_auth_any
mod_auth_pgsql mod_dav mod_perl mod_python mod_ssl modutils
mount mozilla mozilla-chat mozilla-devel mozilla-mail mpage
mpg321 mutt mysql mysql-devel mysql-server mysqlclient9 ncurses4
net-tools netpbm netpbm-devel netpbm-progs netscape-common
netscape-communicator netscape-navigator nfs-utils nscd nss_db
nss_db-compat nss_ldap ntp ntsysv openldap openldap-clients
openldap-devel openldap-servers openldap12 openssh openssh-askpass
openssh-askpass-gnome openssh-clients openssh-server openssl
openssl-devel openssl-perl openssl095a openssl096 pam pam-devel
pam_krb5 pam_smb pan passwd pax pciutils pciutils-devel pdksh perl
php php-devel php-imap php-ldap php-manual php-mysql php-odbc
php-pgsql pilot-link pilot-link-devel pine plugger postgresql
postgresql-contrib postgresql-devel postgresql-docs postgresql-jdbc
postgresql-libs postgresql-odbc postgresql-perl postgresql-python
postgresql-server postgresql-tcl postgresql-tk ppp printconf
printconf-gui procps procps-X11 psacct pwdb pxe python python-devel
python-docs python-tools python-xmlrpc qt qt-Xt qt-designer qt-devel
qt-static quota raidtools rdist redhat-config-network redhat-logos
reiserfs-utils rhn_register rhn_register-gnome rmt rsh rsh-server
rsync ruby ruby-devel ruby-docs ruby-libs ruby-tcltk rusers
rusers-server rxvt samba samba-client samba-common samba-swat
sane-backends sane-backends-devel semi-xemacs sendmail sendmail-cf
sendmail-doc sh-utils shadow-utils sharutils slocate specspo squid
stat strace stunnel sudo sysklogd syslinux sysreport sysstat tar tcl
tcllib tclx tcpdump tcsh tetex tetex-afm tetex-doc tetex-dvilj
tetex-dvips tetex-fonts tetex-latex tetex-xdvi textutils tix tk
tkinter tmpwatch tripwire ttfonts-ja tux ucd-snmp ucd-snmp-devel
ucd-snmp-utils unzip up2date up2date-gnome usermode utempter
util-linux uucp vim-X11 vim-common vim-enhanced vim-minimal
vixie-cron vnc vnc-doc vnc-server w3c-libwww w3c-libwww-apps
w3c-libwww-devel w3m webalizer wget wmakerconf wu-ftpd xcdroast
xchat xemacs xemacs-el xemacs-info xinetd xisdnload xmms xmms-devel
xmms-gnome xmms-skins xosview xpdf xsane xsane-gimp ypbind ypserv
zlib zlib-devel
The following packages will be REPLACED:
bcm5820 (by hwcrypto) db31 (by db3x) gated (by zebra) mozilla-psm
(by mozilla) rp3 (by redhat-config-network)
The following NEW packages will be installed:
Omni Omni-foomatic db3x hwcrypto mozilla-nspr mozilla-nspr-devel
mozilla-nss mozilla-nss-devel openmotif perl-CGI perl-CPAN perl-DB_File
perl-NDBM_File perl-suidperl pyOpenSSL python-popt rhnlib zebra
451 upgraded, 18 newly installed, 5 replaced, 0 removed and 0 not upgraded.
Need to get 0B/595MB of archives.
After unpacking 260MB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 cdrom://LEL 2.1.007 RedHat/os shadow-utils 1:20000902-16 [292kB]
...
Committing changes...
Preparing... ########################################### [100%]
file /boot/grub/splash.xpm.gz from install of redhat-logos-1.1.14.3-1
conflicts with file from package grub-0.90-11
file /boot/message from install of redhat-logos-1.1.14.3-1 conflicts with
file from package lilo-21.4.4-14
file /usr/share/apps/ksplash/pics/locolor/splash_active_bar.png conflicts
between attempted installs of redhat-logos-1.1.14.3-1 and kdebase-2.2.2-11
file /usr/share/apps/ksplash/pics/locolor/splash_bottom.png conflicts between
attempted installs of redhat-logos-1.1.14.3-1 and kdebase-2.2.2-11
file /usr/share/apps/ksplash/pics/locolor/splash_inactive_bar.png conflicts
between attempted installs of redhat-logos-1.1.14.3-1 and kdebase-2.2.2-11
file /usr/share/apps/ksplash/pics/locolor/splash_top.png conflicts between
attempted installs of redhat-logos-1.1.14.3-1 and kdebase-2.2.2-11
file /usr/share/apps/ksplash/pics/splash_active_bar.png conflicts between
attempted installs of redhat-logos-1.1.14.3-1 and kdebase-2.2.2-11
file /usr/share/apps/ksplash/pics/splash_bottom.png conflicts between attempted
installs of redhat-logos-1.1.14.3-1 and kdebase-2.2.2-11
file /usr/share/apps/ksplash/pics/splash_inactive_bar.png conflicts between
attempted installs of redhat-logos-1.1.14.3-1 and kdebase-2.2.2-11
file /usr/share/apps/ksplash/pics/splash_top.png conflicts between attempted
installs of redhat-logos-1.1.14.3-1 and kdebase-2.2.2-11
file /usr/share/pixmaps/splash/gnome-splash.png conflicts between attempted
installs of redhat-logos-1.1.14.3-1 and gnome-core-1.4.0.4-39
E: Error while running transaction
So we have to solve this problem by hand before the upgrade can be made:
# mount /mnt/cdrom/
# cd /mnt/cdrom/RedHat/RPMS
# rpm -U kdebase-2.2.2-11.i386.rpm gnome-core-1.4.0.4-39.i386.rpm
error: failed dependencies:
kdelibs >= 2.2.2 is needed by kdebase-2.2.2-11
kdelibs-sound >= 2.2.2 is needed by kdebase-2.2.2-11
kdebase = 2.2-12 is needed by kdebase-devel-2.2-12
Need to add some packages.. Note that lilo and grub have the same versions in RH 7.2 and LEL 2.1, so
we omitted them.
# rpm -U kdebase-2.2.2-11.i386.rpm gnome-core-1.4.0.4-39.i386.rpm \
kdelibs-* kdebase-devel-2.2.2-11.i386.rpm
error: failed dependencies:
arts = 2.2.2-13 is needed by kdelibs-sound-2.2.2-13
And one more..
# rpm -U kdebase-2.2.2-11.i386.rpm gnome-core-1.4.0.4-39.i386.rpm \
kdelibs-* kdebase-devel-2.2.2-11.i386.rpm arts-2.2.2-13.i386.rpm
Now we can force redhat-logos upgrade, so it won't disturb apt-get:
# rpm -U --force redhat-logos-1.1.14.3-1.noarch.rpm
# cd
# umount /mnt/cdrom/
And now with better luck:
# apt-get dist-upgrade
...
442 upgraded, 18 newly installed, 5 replaced, 0 removed and 0 not upgraded.
Need to get 0B/558MB of archives.
After unpacking 257MB of additional disk space will be used.
Do you want to continue? [Y/n]
Committing changes...
Preparing... ########################################### [100%]
1:shadow-utils ########################################### [ 0%]
...
52:nss_ldap warning: /etc/ldap.conf created as /etc/ldap.conf.rpmnew
...
60:pam warning: /etc/pam.d/system-auth created as
/etc/pam.d/system-auth.rpmnew
61:php warning: /etc/php.ini created as /etc/php.ini.rpmnew
...
132:bind warning: /etc/rndc.conf created as /etc/rndc.conf.rpmnew
...
460:xsane ########################################### [100%]
Done.
The listing above is shortened with "..." lines marking omissions. Note that not all the warning lines
are shown. If you are certain that you have not edited the configuration files you get warning about,
you can copy the .rpmnew files over the originals. Otherwise you should edit them by hand and
review the documentation about possible configuration file format changes.
Installing a new kernel
apt-get doesn't install new kernel, we have to do that by hand. We want to keep the old kernel
for a while, so we don't upgrade it, we use "rpm -i" to install the new one. Note that there are
different kernels for different architectures. When we later
are sure that the old kernel is no longer needed, we can remove it with "rpm -e kernel-2.4.7-10".
After installing the new kernel, we upgrade kernel-doc, kernel-headers, and kernel-source packages.
# mount /mnt/cdrom/
# cd /mnt/cdrom/RedHat/RPMS
# rpm -i kernel-2.4.9-e.49.i686.rpm
# rpm -U kernel-doc-2.4.9-e.49.i386.rpm kernel-headers-2.4.9-e.49.i386.rpm \
kernel-source-2.4.9-e.49.i386.rpm
Removing packages not found in LEL 2.1
Because we had a full Red Hat 7.2 installation as a starting point, we should check if there are
some packages which are missing from LEL 2.1. These packages may become a security risk because
there will be no updated packages for them. In the first phase we check which packages are left
from the Red Hat 7.2 installation.
# for i in `rpm -qa` ; do rpm -q --queryformat=%{BUILDHOST} $i | \
grep ".redhat.com" > /dev/null && echo $i ; done > ~/rhorig
# wc ~/rhorig
440 440 7983 /root/rhorig
# ls *.rpm | wc
1230 1230 35894
As we saw, 440 packages are left from the original Red Hat 7.2 and LEL 2.1.007 has 1230 packages.
So about one third of the packages are the same in Red Hat 7.2 and LEL 2.1.007.
Next phase is to check which Red Hat 7.2 packages are not in LEL 2.1.007.
# for i in `cat ~/rhorig` ; do if [ ! -f $i* ] ; then echo $i ; fi ; done
kdebindings-2.2-2
kdetoys-2.2-4
lout-3.17-9
perl-DBD-MySQL-1.2216-4
kde1-compat-devel-1.1.2-11
wine-devel-20010822-1
xmailbox-2.5-14
gnumeric-0.67-10
licq-gnome-1.0.3-7
qt1x-GL-1.45-16
chromium-0.9.12-5
tuxracer-0.61-5
ext2ed-0.1-26
gnucash-1.6.2-1
gnome-linuxconf-0.67.1-1
kernel-2.4.7-10
licq-kde-1.0.3-7
kde1-compat-1.1.2-11
gnome-games-1.4.0.1-4
gnome-games-devel-1.4.0.1-4
wine-20010822-1
xpilot-4.3.2-2
gnumeric-devel-0.67-10
Guppi-devel-0.35.5-7
kernel-debug-2.4.7-10
licq-qt-1.0.3-7
linuxconf-devel-1.25r7-3
xrn-9.02-10
qt1x-1.45-16
gnuchess-4.0.pl80-8
Maelstrom-3.0.1-17
xboard-4.2.3-2
kdebindings-devel-2.2-2
licq-text-1.0.3-7
kdebindings-python-2.2-2
qt1x-devel-1.45-16
licq-1.0.3-7
freeciv-1.12.0-1
Guppi-0.35.5-7
kdebindings-perl-2.2-2
linuxconf-1.25r7-3
p2c-1.22-10
xmorph-2001.02.22-2
abiword-0.7.14-7
kdebindings-kmozilla-2.2-2
enlightenment-0.16.4-11
lout-doc-3.17-9
quanta-2.0-0.cvs20010724.2
# for i in `cat ~/rhorig` ; do if [ ! -f $i* ] ; then echo $i ; \
fi ; done > ~/removed
We would like to keep the old kernel for a while, so we remove kernel-2.4.7-10 line from ~/removed file
with text editor. You may want to remove some other lines too if you like to keep those packages.
Note however that these may become a security risk, because they will not get updates from Lineox.
# jed ~/removed
# rpm -e `cat ~/removed`
warning: /etc/conf.linuxconf saved as /etc/conf.linuxconf.rpmsave
Because we won't be using RHN, we remove files related to it and do a sanity check on rpm database.
# rpm -e rhn_register rhn_register-gnome up2date up2date-gnome
# apt-get check
Reading Package Lists... Done
Building Dependency Tree... Done
Adding packages not found in Red Hat 7.2
Now that we have erased packages from Red Hat 7.2 not found in LEL 2.1, what about
packages in LEL 2.1 that were added and not found in Red Hat 7.2? First, one statistical detail,
how many packages are installed:
# rpm -qa | wc
1074 1074 21027
As we earlier saw, LEL 2.1 has 1230 packages. Now the command line, which lists the added
packages and also writes the list to a file, which we can later edit:
# for i in *.rpm ; do rpm -q rpm -qp --queryformat=%{NAME}-%{VERSION}-%{RELEASE} \
$i > /dev/null || echo $i ; done | tee ~/added
Canna-3.5b2-50.as21.1.i386.rpm
FreeWnn-1.11-19.i386.rpm
FreeWnn-common-1.11-19.i386.rpm
IBMJava2-JRE-1.3.1-10.i386.rpm
IBMJava2-SDK-1.3.1-10.i386.rpm
XFree86-3DLabs-3.3.6-43.i386.rpm
XFree86-8514-3.3.6-43.i386.rpm
XFree86-AGX-3.3.6-43.i386.rpm
XFree86-ISO8859-2-100dpi-fonts-4.1.0-61.EL.i386.rpm
XFree86-ISO8859-2-75dpi-fonts-4.1.0-61.EL.i386.rpm
XFree86-ISO8859-9-100dpi-fonts-4.1.0-61.EL.i386.rpm
XFree86-ISO8859-9-75dpi-fonts-4.1.0-61.EL.i386.rpm
XFree86-KOI8-R-1.0-6.noarch.rpm
XFree86-KOI8-R-75dpi-fonts-1.0-6.noarch.rpm
XFree86-Mach32-3.3.6-43.i386.rpm
XFree86-Mach64-3.3.6-43.i386.rpm
XFree86-Mach8-3.3.6-43.i386.rpm
XFree86-Mono-3.3.6-43.i386.rpm
XFree86-P9000-3.3.6-43.i386.rpm
XFree86-S3-3.3.6-43.i386.rpm
XFree86-S3V-3.3.6-43.i386.rpm
XFree86-SVGA-3.3.6-43.i386.rpm
XFree86-VGA16-3.3.6-43.i386.rpm
XFree86-W32-3.3.6-43.i386.rpm
XFree86-cyrillic-fonts-4.1.0-61.EL.i386.rpm
XFree86-jpfonts-2.1-24.noarch.rpm
ami-1.0.11-4.i386.rpm
ami-gnome-1.0.11-4.i386.rpm
apel-10.3-2.noarch.rpm
apt-devel-0.5.15cnc6-2.lel.i386.rpm
arptables_jf-0.0.8-0.21as.i386.rpm
aspell-ca-0.1-9.i386.rpm
aspell-da-1.4.16-1.i386.rpm
aspell-de-0.1.1-9.i386.rpm
aspell-en-ca-0.33.7-1.i386.rpm
aspell-en-gb-0.33.7-1.i386.rpm
aspell-es-0.2-5.i386.rpm
aspell-fr-0.3-8.i386.rpm
aspell-it-0.1-8.i386.rpm
aspell-nl-0.1-8.i386.rpm
aspell-no-0.2-3.i386.rpm
aspell-pt-0.1-2.i386.rpm
aspell-pt_BR-2.4-4.i386.rpm
aspell-sv-1.3.4-1.i386.rpm
autoconvert-0.3.7-4.i386.rpm
autoconvert-xchat-0.3.7-4.i386.rpm
bcm5820-1.17-6.i386.rpm
bg5ps-1.3.0-5.i386.rpm
cWnn-1.11-19.i386.rpm
cWnn-common-1.11-19.i386.rpm
clumanager-1.0.27-1.i386.rpm
ddskk-11.6.0-1.7.ent.noarch.rpm
dvd+rw-tools-5.17.4.8.6-0.AS21.1.i386.rpm
dvdrecord-0.1.4-4.AS21.1.i386.rpm
emacs-leim-20.7-41.i386.rpm
gated-3.6-12.i386.rpm
h2ps-2.06-2.i386.rpm
hanterm-xf-2.0.5-5.AS21.1.i386.rpm
im-140-3.21AS.3.i386.rpm
ipvsadm-1.18-8.i386.rpm
jcode.pl-2.13-2.noarch.rpm
jisksp14-0.1-6.noarch.rpm
jisksp16-1990-0.1-6.noarch.rpm
kWnn-1.11-19.i386.rpm
kakasi-2.3.2-4.i386.rpm
kakasi-devel-2.3.2-4.i386.rpm
kappa20-0.3-7.noarch.rpm
kcc-2.3-10.i386.rpm
kde-i18n-Afrikaans-2.2.2-3.noarch.rpm
kde-i18n-Azerbaijani-2.2.2-3.noarch.rpm
kde-i18n-Brazil-2.2.2-3.noarch.rpm
kde-i18n-British-2.2.2-3.noarch.rpm
kde-i18n-Chinese-2.2.2-3.noarch.rpm
kde-i18n-Czech-2.2.2-3.noarch.rpm
kde-i18n-Danish-2.2.2-3.noarch.rpm
kde-i18n-Dutch-2.2.2-3.noarch.rpm
kde-i18n-Esperanto-2.2.2-3.noarch.rpm
kde-i18n-Estonian-2.2.2-3.noarch.rpm
kde-i18n-Finnish-2.2.2-3.noarch.rpm
kde-i18n-French-2.2.2-3.noarch.rpm
kde-i18n-German-2.2.2-3.noarch.rpm
kde-i18n-Greek-2.2.2-3.noarch.rpm
kde-i18n-Hungarian-2.2.2-3.noarch.rpm
kde-i18n-Icelandic-2.2.2-3.noarch.rpm
kde-i18n-Italian-2.2.2-3.noarch.rpm
kde-i18n-Japanese-2.2.2-3.noarch.rpm
kde-i18n-Korean-2.2.2-3.noarch.rpm
kde-i18n-Latvian-2.2.2-3.noarch.rpm
kde-i18n-Maltese-2.2.2-3.noarch.rpm
kde-i18n-Norwegian-2.2.2-3.noarch.rpm
kde-i18n-Norwegian-Nynorsk-2.2.2-3.noarch.rpm
kde-i18n-Portuguese-2.2.2-3.noarch.rpm
kde-i18n-Romanian-2.2.2-3.noarch.rpm
kde-i18n-Russian-2.2.2-3.noarch.rpm
kde-i18n-Serbian-2.2.2-3.noarch.rpm
kde-i18n-Slovak-2.2.2-3.noarch.rpm
kde-i18n-Slovenian-2.2.2-3.noarch.rpm
kde-i18n-Spanish-2.2.2-3.noarch.rpm
kde-i18n-Swedish-2.2.2-3.noarch.rpm
kde-i18n-Tamil-2.2.2-3.noarch.rpm
kde-i18n-Thai-2.2.2-3.noarch.rpm
kde-i18n-Turkish-2.2.2-3.noarch.rpm
kde-i18n-Ukrainian-2.2.2-3.noarch.rpm
kde-i18n-Xhosa-2.2.2-3.noarch.rpm
kernel-BOOT-2.4.9-e.49.i386.rpm
kernel-debug-2.4.9-e.49.i686.rpm
kernel-enterprise-2.4.9-e.49.i686.rpm
kernel-smp-2.4.9-e.49.athlon.rpm
kernel-smp-2.4.9-e.49.i586.rpm
kernel-smp-2.4.9-e.49.i686.rpm
kernel-summit-2.4.9-e.49.i686.rpm
kernel-utils-2.4-6.1.EL.i386.rpm
kinput2-canna-wnn6-v3-14.i386.rpm
knm_new-1.1-5.noarch.rpm
kon2-0.3.9b-14.as21.1.i386.rpm
kon2-fonts-0.3.9b-14.as21.1.i386.rpm
kterm-6.2.0-39.i386.rpm
libaio-0.3.92-1.i386.rpm
libaio-devel-0.3.92-1.i386.rpm
libmad-0.14.2b-3.i386.rpm
libtabe-0.2-6.i386.rpm
libtabe-devel-0.2-6.i386.rpm
libxml2-python-2.4.19-5.ent.i386.rpm
libxslt-python-1.0.15-2.i386.rpm
man-pages-cs-0.14-4.noarch.rpm
man-pages-da-0.1.1-4.noarch.rpm
man-pages-de-0.3-4.noarch.rpm
man-pages-es-0.6a-9.noarch.rpm
man-pages-fr-0.9-5.noarch.rpm
man-pages-it-0.3.0-6.noarch.rpm
man-pages-ja-0.5-1.noarch.rpm
man-pages-ko-20010321-2.noarch.rpm
man-pages-pl-0.22-7.noarch.rpm
man-pages-ru-0.6-3.noarch.rpm
mew-1.94.2-12.i386.rpm
miniChinput-0.0.2-1.i386.rpm
modutils-devel-2.4.13-13.i386.rpm
mozilla-dom-inspector-1.4.3-2.1.4.i386.rpm
mozilla-js-debugger-1.4.3-2.1.4.i386.rpm
netdump-0.6.11-2.i386.rpm
netdump-server-0.6.11-2.i386.rpm
nhpf-1.42-2.i386.rpm
nvi-m17n-1.79-19991117.9.i386.rpm
nvi-m17n-canna-1.79-19991117.9.i386.rpm
openmotif-devel-2.1.30-12.i386.rpm
perl-File-MMagic-1.06-2.i386.rpm
perl-NKF-1.71-2.i386.rpm
perl-Text-Kakasi-1.04-4.i386.rpm
piranha-0.7.0-5.i386.rpm
postgresql-test-7.1.3-5.rhel2.1AS.i386.rpm
pstack-1.2-3.2.1AS.1.i386.rpm
redhat-lsb-1.2.0-2.3.i386.rpm
redhat-release-as-2.1AS-4.noarch.rpm
rp3-1.1.10-3.i386.rpm
rpmdb-redhat-2.1AS-0.20040831.i386.rpm
scsi_reserve-0.7-7.i386.rpm
scsi_reserve-devel-0.7-7.i386.rpm
semi-1.14.3-8.72.EL.1.noarch.rpm
sendmail-devel-8.11.6-28.72.i386.rpm
skkdic-20010617-1.noarch.rpm
skkinput-2.03-7.i386.rpm
sysstat-isag-4.0.1-15.2.1as.i386.rpm
tWnn-1.11-19.i386.rpm
taipeifonts-1.2-15.noarch.rpm
ttfonts-ko-1.0-11.noarch.rpm
ttfonts-zh_CN-2.11-5.noarch.rpm
ttfonts-zh_TW-2.11-5.noarch.rpm
ttfprint-0.9-1.i386.rpm
wl-2.4.1-6.i386.rpm
xcin-2.5.2.3-6.i386.rpm
In the list above there are many packages you probably don't want to add. There are local
language support files, asian character set support files and programs, hardware specific
files of XFree86 and kernel. When those are removed, the list looks like below. If you
would like to omit just the packages that could do harm and don't mind disk usage, just
remove all the XFree86, kernel packages, and gated because it conflicts with zebra.
IBMJava2-JRE-1.3.1-10.i386.rpm
IBMJava2-SDK-1.3.1-10.i386.rpm
apel-10.3-2.noarch.rpm
apt-devel-0.5.15cnc6-2.lel.i386.rpm
arptables_jf-0.0.8-0.21as.i386.rpm
autoconvert-0.3.7-4.i386.rpm
bcm5820-1.17-6.i386.rpm
clumanager-1.0.27-1.i386.rpm
ddskk-11.6.0-1.7.ent.noarch.rpm
dvd+rw-tools-5.17.4.8.6-0.AS21.1.i386.rpm
dvdrecord-0.1.4-4.AS21.1.i386.rpm
im-140-3.21AS.3.i386.rpm
ipvsadm-1.18-8.i386.rpm
kernel-utils-2.4-6.1.EL.i386.rpm
libaio-0.3.92-1.i386.rpm
libaio-devel-0.3.92-1.i386.rpm
libmad-0.14.2b-3.i386.rpm
libxml2-python-2.4.19-5.ent.i386.rpm
libxslt-python-1.0.15-2.i386.rpm
mew-1.94.2-12.i386.rpm
modutils-devel-2.4.13-13.i386.rpm
mozilla-dom-inspector-1.4.3-2.1.4.i386.rpm
mozilla-js-debugger-1.4.3-2.1.4.i386.rpm
netdump-0.6.11-2.i386.rpm
netdump-server-0.6.11-2.i386.rpm
openmotif-devel-2.1.30-12.i386.rpm
perl-File-MMagic-1.06-2.i386.rpm
piranha-0.7.0-5.i386.rpm
postgresql-test-7.1.3-5.rhel2.1AS.i386.rpm
pstack-1.2-3.2.1AS.1.i386.rpm
redhat-lsb-1.2.0-2.3.i386.rpm
redhat-release-as-2.1AS-4.noarch.rpm
rp3-1.1.10-3.i386.rpm
rpmdb-redhat-2.1AS-0.20040831.i386.rpm
scsi_reserve-0.7-7.i386.rpm
scsi_reserve-devel-0.7-7.i386.rpm
semi-1.14.3-8.72.EL.1.noarch.rpm
sendmail-devel-8.11.6-28.72.i386.rpm
sysstat-isag-4.0.1-15.2.1as.i386.rpm
wl-2.4.1-6.i386.rpm
If you are uncertain about the purpose of a package, query it like below:
# rpm -qip ami-1.0.11-4.i386.rpm
Name : ami Relocations: (not relocateable)
Version : 1.0.11 Vendor: Lineox Inc.
Release : 4 Build Date: Mon 30 Aug 2004 06:46:16 AM EEST
Install date: (not installed) Build Host: rk22.rk
Group : User Interface/X Source RPM: ami-1.0.11-4.src.rpm
Size : 910426 License: GPL
Packager : Raimo Koski
URL : http://www.kr.freebsd.org/~hwang/ami/index.html
Summary : Ami- a Korean Imput Method System
Description :
Korean IMS Ami using gtk+, support gnome applet mode and Windowmaker dock mode.
Gnome applet mode binary is available from the separate packages
Unless you want Korean support, you don't want that package.
Now we can try to install the packages specified in the edited list:
rpm -U `cat ~/added`
But there are some problems left:
package rpmdb-redhat-7.2-0.20010924 (which is newer than
rpmdb-redhat-2.1AS-0.20040831) is already installed
file /etc/rc.d/init.d/bcm5820 from install of bcm5820-1.17-6
conflicts with file from package hwcrypto-1.0-3
file /usr/bin/b58diag from install of bcm5820-1.17-6 conflicts
with file from package hwcrypto-1.0-3
file /usr/bin/get5820stats from install of bcm5820-1.17-6
conflicts with file from package hwcrypto-1.0-3
file /usr/lib/libubsec.a from install of bcm5820-1.17-6
conflicts with file from package hwcrypto-1.0-3
file /usr/lib/libubsec.so from install of bcm5820-1.17-6
conflicts with file from package hwcrypto-1.0-3
file /etc/issue from install of redhat-release-as-2.1AS-4
conflicts with file from package redhat-release-7.2-1
file /etc/issue.net from install of redhat-release-as-2.1AS-4
conflicts with file from package redhat-release-7.2-1
file /etc/redhat-release from install of redhat-release-as-2.1AS-4
conflicts with file from package redhat-release-7.2-1
file /usr/bin/rp3 from install of rp3-1.1.10-3 conflicts with file
from package redhat-config-network-1.0.6-0.AS21.1
file /usr/share/gnome/help/rp3/C/s1-screens-accounts-edit.html
from install of rp3-1.1.10-3 conflicts with file from
package redhat-config-network-1.0.6-0.AS21.1
file /usr/share/gnome/help/rp3/C/s1-screens-edit-connection.html
from install of rp3-1.1.10-3 conflicts with file from
package redhat-config-network-1.0.6-0.AS21.1
file /usr/share/gnome/help/rp3/C/s1-screens-properties.html from
install of rp3-1.1.10-3 conflicts with file from package
redhat-config-network-1.0.6-0.AS21.1
file /usr/share/gnome/help/rp3/C/screens.html from install of
rp3-1.1.10-3 conflicts with file from package
redhat-config-network-1.0.6-0.AS21.1
Packages bcm5820-1.17-6 and hwcrypto-1.0-3 conflict, but because both are support packages for
hardware cryptocraphic accelerators, you probably don't want either. Package rp3 is obsoleted by
redhat-config-network-1.0.6-0.AS21.1, so it shouldn't be installed. What is left is redhat-release-as-2.1AS-4
and rpmdb-redhat-2.1AS-0.20040831. We have to use --force with them, because 7.2 is seemingly newer.
We remove bcm5820-1.17-6 and rp3-1.1.10-3 from the list and try again with:
# rpm -U --force `cat ~/added`
Lets do again a check that there are no problems in our installation and check how many
packages we have:
# apt-get check
Reading Package Lists... Done
Building Dependency Tree... Done
# rpm -qa | wc
1111 1111 21866
So everything looks good and the upgrade is complete. To keep the system up to date
you should check the page http://www.lineox.com/lel21updates.php
and run "apt-get update" and "apt-get upgrade" regularly.
|