Hi,
Got a very annoying issue,
It all started when I tried to upgrade to 7100-05-06
After making a new NIM lpp and spot and a making a new AIX install.
Yum failed from a basic install.
I now tried going back to 7100-05-05 it is the same problem.
The funny thing is my all my running AIX 7100-05-05 works just fine.
This is how I make a new lpp/spotloopmount -i /mnt1/AIX_ISO/AIX_7.1_Install_7100-05-05-1937_DVD_1_of_2_112019_LCD8149121.iso -m /mnt/dvd1 -o "-V cdrfs -o ro"
loopmount -i /mnt1/AIX_ISO/AIX_v7.1_Install_7100-05-05-1937_DVD_2_of_2_112019_LCD8149221.iso -m /mnt/dvd2 -o "-V cdrfs -o ro"
nim -o define -t lpp_source -a server=master -a source=/mnt/dvd1 -a location=/NIMdata/lpp_source/lpp_AIX7100-05-05 lpp_AIX7100-05-05
nim -o update -a packages=all -a source=/mnt/dvd2 lpp_AIX7100-05-05
# LPPnim -o update -a packages=all -a source=/mnt1/AIX_ISO/AIX_7.1_Expansion_Pack_052020_LK4T171216 lpp_AIX7100-05-05
nim -o update -a packages=all -a source=/mnt1/AIX_ISO/AIX_7.1_Expansion_Pack_112019_LK4T171215 lpp_AIX7100-05-05
nim -o update -a packages=all -a source=/mnt1/aix_fixpack/7100-05-05-1939 lpp_AIX7100-05-05
# SPOTnim -o define -t spot -a server=master -a location=/NIMdata/spot/spot_AIX7100-05-05 -a installp_flags=-aQgY -a source=lpp_AIX7100-05-05 spot_AIX7100-05-05
nim -Fo check spot_AIX7100-05-05
nim -o lppchk -a show_progress=yes spot_AIX7100-05-05
After install I just install ssh and rpm.rte/yum packagemount NFSserver:/NIMdata/lpp_source/lpp_AIX7100-05-05 /mnt
geninstall -Y -d /mnt/installp/ppc -f /usr/sys/inst.data/sys_bundles/openssh_server.bnd
installp -agXYd /mnt1/packages/aix/yum rpm.rte
This installs the latest yum_bundle_v5.tarrpm -ivh *rpm | tee -a $LOG
/usr/sbin/updtvpkg
/usr/opt/rpm/bin/recreate_opt_bin_lib_links
I have no internet on these servers (military) so I setup an internal repo server, that is working just fine for all my old AIX.cp yum.conf_71 /opt/freeware/etc/yum/yum.conf
Then I doupdtvpkg
/usr/opt/rpm/bin/recreate_opt_bin_lib_links
This has worked for quite some time but now it stopped. (even for new installs)# yum clean all
Cleaning repos: AIX_Toolbox AIX_Toolbox_71 AIX_Toolbox_noarch
Cleaning up Everything
# yum repolist
AIX_Toolbox | 1.3 kB 00:00
AIX_Toolbox/primary | 585 kB 00:00
Traceback (most recent call last):
File "/usr/bin/yum", line 32, in <module>
yummain.user_main(sys.argv[1:], exit_code=True)
File "/opt/freeware/share/yum-cli/
yummain.py", line 288, in user_main
errcode = main(args)
File "/opt/freeware/share/yum-cli/
yummain.py", line 140, in main
result, resultmsgs = base.doCommands()
File "/opt/freeware/share/yum-cli/
cli.py", line 440, in doCommands
return self.yum_cli_commands[self.basecmd].doCommand(self, self.basecmd, self.extcmds)
File "/opt/freeware/share/yum-cli/
yumcommands.py", line 864, in doCommand
base.repos.populateSack()
File "/opt/freeware/lib/python2.7/site-packages/yum/
repos.py", line 294, in populateSack
sack.populate(repo, mdtype, callback, cacheonly)
File "/opt/freeware/lib/python2.7/site-packages/yum/
yumRepo.py", line 186, in populate
dobj = repo_cache_function(xml, csum)
File "/opt/freeware/lib/python2.7/site-packages/
sqlitecachec.py", line 46, in getPrimary
self.repoid))
TypeError: Parsing primary.xml error: Start tag expected, '<' not found
#
This is my current versions# lslpp -l rpm.rte
Fileset Level State Description
----------------------------------------------------------------------------
Path: /usr/lib/objrepos
rpm.rte 4.13.0.10 COMMITTED RPM Package Manager
Path: /etc/objrepos
rpm.rte 4.13.0.10 COMMITTED RPM Package Manager
# lslpp -l '*openss*'
Fileset Level State Description
----------------------------------------------------------------------------
Path: /usr/lib/objrepos
openssh.base.client 7.5.102.1801 COMMITTED Open Secure Shell Commands
openssh.base.server 7.5.102.1801 COMMITTED Open Secure Shell Server
openssh.man.en_US 7.5.102.1801 COMMITTED Open Secure Shell
Documentation - U.S. English
openssl.base 1.0.2.2002 COMMITTED Open Secure Socket Layer
openssl.license 1.0.2.2002 COMMITTED Open Secure Socket License
openssl.man.en_US 1.0.2.2002 COMMITTED Open Secure Socket Layer
Path: /etc/objrepos
openssh.base.client 7.5.102.1801 COMMITTED Open Secure Shell Commands
openssh.base.server 7.5.102.1801 COMMITTED Open Secure Shell Server
openssl.base 1.0.2.2002 COMMITTED Open Secure Socket Layer
# rpm -qa
tcl-8.4.7-3.ppc
expect-5.42.1-3.ppc
readline-6.1-2.ppc
gettext-0.19.7-1.ppc
yum-metadata-parser-1.1.4-2.ppc
db-4.8.24-3.ppc
pysqlite-1.1.7-2.ppc
ca-certificates-2016.10.7-2.ppc
python-pycurl-7.19.3-1.ppc
yum-3.4.3-7.noarch
python-tools-2.7.10-1.ppc
tk-8.4.7-3.ppc
sqlite-3.15.2-1.ppc
glib2-2.14.6-2.ppc
gdbm-1.8.3-5.ppc
python-2.7.10-1.ppc
python-iniparse-0.4-1.noarch
curl-7.52.1-1.ppc
python-urlgrabber-3.10.1-1.noarch
python-devel-2.7.10-1.ppc
AIX-rpm-7.1.5.30-3.ppc
#
I tried to upgrade rpm.rte to 4.13.0.11
The yum package seems to be the latest version 5
Whatever I do I get the same error.
The obvious would be to update all the rpm packages but I cant as yum is broken.
I even tried to rebuild my internal rpm repo.
Roland
------------------------------
Roland Soderstrom
------------------------------