VMware Modern Apps Community
JonasMR
Enthusiast
Enthusiast
Jump to solution

update fails on Photon OS 3.0

Hi,

I can't apply security updates because tthe package linux-esx-4.19.154-3.ph3.x86_64.rpm does not exist.

 

root@photon-machine [ ~ ]# tdnf upgrade --security

Installing:
zstd-libs x86_64 1.4.5-1.ph3 photon-updates 912.98k 934888

Total installed size: 912.98k 934888

Upgrading:
python3-setuptools noarch 3.7.5-8.ph3 photon-updates 1.61M 1692186
python3-xml x86_64 3.7.5-8.ph3 photon-updates 335.36k 343410
containerd x86_64 1.2.14-1.ph3 photon-updates 76.31M 80016175
curl x86_64 7.61.1-8.ph3 photon-updates 228.12k 233595
curl-libs x86_64 7.61.1-8.ph3 photon-updates 528.69k 541376
libarchive x86_64 3.3.3-6.ph3 photon-updates 821.94k 841664
libxml2 x86_64 2.9.10-3.ph3 photon-updates 7.32M 7676736
linux-esx x86_64 4.19.154-3.ph3 photon-updates 14.75M 15470891
openssl x86_64 1.0.2w-1.ph3 photon-updates 4.53M 4748913
python3 x86_64 3.7.5-8.ph3 photon-updates 2.94M 3084342
python3-libs x86_64 3.7.5-8.ph3 photon-updates 22.96M 24079511

Total installed size: 132.30M 138728799
Is this ok [y/N]: y

Downloading:
zstd-libs 428446 100%
python3-setuptools 568670 100%
python3-xml 98011 100%
containerd 24222025 100%
curl 129034 100%
curl-libs 268559 100%
libarchive 394038 100%
libxml2 1609407 100%
Error: 404 when downloading https://packages.vmware.com/photon/3.0/photon_updates_3.0_x86_64/x86_64/linux-esx-4.19.154-3.ph3.x86...
. Please check repo url.
Error processing package: x86_64/linux-esx-4.19.154-3.ph3.x86_64.rpm
Error(1622) : Invalid argument

 

root@photon-machine [ ~ ]# tdnf update

Installing:
libxml2-devel x86_64 2.9.10-3.ph3 photon-updates 421.22k 431333
libxslt x86_64 1.1.32-6.ph3 photon-updates 379.61k 388721
zstd-libs x86_64 1.4.5-1.ph3 photon-updates 912.98k 934888

Total installed size: 1.67M 1754942

Upgrading:
xmlsec1 x86_64 1.2.29-3.ph3 photon-updates 1017.23k 1041648
tdnf-cli-libs x86_64 2.1.2-1.ph3 photon-updates 65.71k 67288
tdnf x86_64 2.1.2-1.ph3 photon-updates 284.55k 291384
systemd x86_64 239-29.ph3 photon-updates 20.20M 21182004
rpm-libs x86_64 4.14.2-9.ph3 photon-updates 932.90k 955291
rpm x86_64 4.14.2-9.ph3 photon-updates 385.57k 394826
python3-setuptools noarch 3.7.5-8.ph3 photon-updates 1.61M 1692186
python3-xml x86_64 3.7.5-8.ph3 photon-updates 335.36k 343410
python3-libs x86_64 3.7.5-8.ph3 photon-updates 22.96M 24079511
python3 x86_64 3.7.5-8.ph3 photon-updates 2.94M 3084342
pmd-libs x86_64 0.0.6-5.ph3 photon-updates 356.27k 364824
pmd x86_64 0.0.6-5.ph3 photon-updates 590.28k 604444
openssl x86_64 1.0.2w-1.ph3 photon-updates 4.53M 4748913
openssh-server x86_64 7.8p1-9.ph3 photon-updates 923.33k 945486
openssh-clients x86_64 7.8p1-9.ph3 photon-updates 3.72M 3896082
openssh x86_64 7.8p1-9.ph3 photon-updates 0.00b 0
open-vm-tools x86_64 11.1.0-9.ph3 photon-updates 2.27M 2377128
linux-esx x86_64 4.19.154-3.ph3 photon-updates 14.75M 15470891
libxml2 x86_64 2.9.10-3.ph3 photon-updates 7.32M 7676736
libsolv x86_64 0.6.35-4.ph3 photon-updates 1.10M 1149284
libarchive x86_64 3.3.3-6.ph3 photon-updates 821.94k 841664
e2fsprogs-libs x86_64 1.45.5-3.ph3 photon-updates 58.37k 59768
e2fsprogs x86_64 1.45.5-3.ph3 photon-updates 2.04M 2134224
device-mapper-libs x86_64 2.02.187-1.ph3 photon-updates 357.14k 365712
curl-libs x86_64 7.61.1-8.ph3 photon-updates 528.69k 541376
curl x86_64 7.61.1-8.ph3 photon-updates 228.12k 233595
containerd x86_64 1.2.14-1.ph3 photon-updates 76.31M 80016175
cloud-init noarch 19.4-10.ph3 photon-updates 4.09M 4292296
apache-tomcat noarch 8.5.51-5.ph3 photon-updates 9.01M 9449084

Total installed size: 179.58M 188299572
Is this ok [y/N]: y

Downloading:
libxml2-devel 98601 100%
libxslt 176100 100%
zstd-libs 428446 100%
xmlsec1 379003 100%
tdnf-cli-libs 33481 100%
tdnf 111175 100%
systemd 6873203 100%
rpm-libs 361705 100%
rpm 91208 100%
python3-setuptools 568670 100%
python3-xml 98011 100%
python3-libs 8097425 100%
python3 1187527 100%
pmd-libs 102586 100%
pmd 192084 100%
openssl 2186556 100%
openssh-server 461372 100%
openssh-clients 1517820 100%
openssh 10544 100%
open-vm-tools 854426 100%
Error: 404 when downloading https://packages.vmware.com/photon/3.0/photon_updates_3.0_x86_64/x86_64/linux-esx-4.19.154-3.ph3.x86...
. Please check repo url.
Error processing package: x86_64/linux-esx-4.19.154-3.ph3.x86_64.rpm
Error(1622) : Invalid argument

 

 

Reply
0 Kudos
1 Solution

Accepted Solutions
JonasMR
Enthusiast
Enthusiast
Jump to solution

Thanks for your follow up.

I have reviewed the process, and right now the Photon OS 3 can apply the security update:

root@photon-machine [ ~ ]# tdnf upgrade --security

Installing:
zstd-libs x86_64 1.4.5-1.ph3 photon-updates 912.98k 934888

Total installed size: 912.98k 934888

Upgrading:
python3-setuptools noarch 3.7.5-8.ph3 photon-updates 1.61M 1692186
python3-xml x86_64 3.7.5-8.ph3 photon-updates 335.36k 343410
containerd x86_64 1.2.14-1.ph3 photon-updates 76.31M 80016175
curl x86_64 7.61.1-8.ph3 photon-updates 228.12k 233595
curl-libs x86_64 7.61.1-8.ph3 photon-updates 528.69k 541376
libarchive x86_64 3.3.3-6.ph3 photon-updates 821.94k 841664
libxml2 x86_64 2.9.10-3.ph3 photon-updates 7.32M 7676736
linux-esx x86_64 4.19.154-10.ph3 photon-updates 14.76M 15476570
openssl x86_64 1.0.2w-1.ph3 photon-updates 4.53M 4748913
python3 x86_64 3.7.5-8.ph3 photon-updates 2.94M 3084342
python3-libs x86_64 3.7.5-8.ph3 photon-updates 22.96M 24079511
tcpdump x86_64 4.9.3-2.ph3 photon-updates 1.99M 2083721

Total installed size: 134.29M 140818199
Is this ok [y/N]: y

Downloading:
zstd-libs 428446 100%
python3-setuptools 568670 100%
python3-xml 98011 100%
containerd 24222025 100%
curl 129034 100%
curl-libs 268559 100%
libarchive 394038 100%
libxml2 1609407 100%
linux-esx 10546736 100%
openssl 2186556 100%
python3 1187527 100%
python3-libs 8097425 100%
tcpdump 845397 100%
Testing transaction
Running transaction
Installing/Updating: openssl-1.0.2w-1.ph3.x86_64
Installing/Updating: python3-3.7.5-8.ph3.x86_64
Installing/Updating: python3-libs-3.7.5-8.ph3.x86_64
Installing/Updating: curl-libs-7.61.1-8.ph3.x86_64
Installing/Updating: zstd-libs-1.4.5-1.ph3.x86_64
Installing/Updating: libarchive-3.3.3-6.ph3.x86_64
Installing/Updating: curl-7.61.1-8.ph3.x86_64
Installing/Updating: python3-xml-3.7.5-8.ph3.x86_64
Installing/Updating: python3-setuptools-3.7.5-8.ph3.noarch
Installing/Updating: tcpdump-4.9.3-2.ph3.x86_64
Installing/Updating: linux-esx-4.19.154-10.ph3.x86_64
Installing/Updating: libxml2-2.9.10-3.ph3.x86_64
Installing/Updating: containerd-1.2.14-1.ph3.x86_64
Removing: python3-setuptools-3.7.5-6.ph3.noarch
Removing: curl-7.61.1-7.ph3.x86_64
Removing: python3-xml-3.7.5-6.ph3.x86_64
Removing: python3-3.7.5-6.ph3.x86_64
Removing: python3-libs-3.7.5-6.ph3.x86_64
Removing: curl-libs-7.61.1-7.ph3.x86_64
Removing: tcpdump-4.9.3-1.ph3.x86_64
Removing: libarchive-3.3.3-5.ph3.x86_64
Removing: linux-esx-4.19.132-5.ph3.x86_64
Removing: openssl-1.0.2v-2.ph3.x86_64
Removing: libxml2-2.9.10-2.ph3.x86_64
Removing: containerd-1.2.10-3.ph3.x86_64

Complete!

 

the package installed is a new version linux-esx-4.19.154-10.ph3.x86_64.

I suppose the develop team have fixed this issue.

thanks

View solution in original post

Reply
0 Kudos
2 Replies
DCasota
Expert
Expert
Jump to solution

In https://github.com/vmware/photon/wiki/Frequently-Asked-Questions#q-after-updating-Kernel-rpm-VM-fail... the version linux-esx-4.19.154-3.ph3 is mentioned in a known regression linux-esx of Photon OS 3.0.

In the same faq the solution proposed is to Downgrade linux-esx to version below 4.19.150-3. Hence, you might go back to linux-esx-4.19.148-7.ph3. Don't know if there a culprits when applying step 3 Stay on current kernel, but disable initrd in /boot/grub/grub.cfg.

Step 1 says Upgrade linux-esx to higher than 4.19.154-3 (if available). The latest version linux-esx-4.19.154-10.ph3 23 November 2020 could be eligible for that.

Reply
0 Kudos
JonasMR
Enthusiast
Enthusiast
Jump to solution

Thanks for your follow up.

I have reviewed the process, and right now the Photon OS 3 can apply the security update:

root@photon-machine [ ~ ]# tdnf upgrade --security

Installing:
zstd-libs x86_64 1.4.5-1.ph3 photon-updates 912.98k 934888

Total installed size: 912.98k 934888

Upgrading:
python3-setuptools noarch 3.7.5-8.ph3 photon-updates 1.61M 1692186
python3-xml x86_64 3.7.5-8.ph3 photon-updates 335.36k 343410
containerd x86_64 1.2.14-1.ph3 photon-updates 76.31M 80016175
curl x86_64 7.61.1-8.ph3 photon-updates 228.12k 233595
curl-libs x86_64 7.61.1-8.ph3 photon-updates 528.69k 541376
libarchive x86_64 3.3.3-6.ph3 photon-updates 821.94k 841664
libxml2 x86_64 2.9.10-3.ph3 photon-updates 7.32M 7676736
linux-esx x86_64 4.19.154-10.ph3 photon-updates 14.76M 15476570
openssl x86_64 1.0.2w-1.ph3 photon-updates 4.53M 4748913
python3 x86_64 3.7.5-8.ph3 photon-updates 2.94M 3084342
python3-libs x86_64 3.7.5-8.ph3 photon-updates 22.96M 24079511
tcpdump x86_64 4.9.3-2.ph3 photon-updates 1.99M 2083721

Total installed size: 134.29M 140818199
Is this ok [y/N]: y

Downloading:
zstd-libs 428446 100%
python3-setuptools 568670 100%
python3-xml 98011 100%
containerd 24222025 100%
curl 129034 100%
curl-libs 268559 100%
libarchive 394038 100%
libxml2 1609407 100%
linux-esx 10546736 100%
openssl 2186556 100%
python3 1187527 100%
python3-libs 8097425 100%
tcpdump 845397 100%
Testing transaction
Running transaction
Installing/Updating: openssl-1.0.2w-1.ph3.x86_64
Installing/Updating: python3-3.7.5-8.ph3.x86_64
Installing/Updating: python3-libs-3.7.5-8.ph3.x86_64
Installing/Updating: curl-libs-7.61.1-8.ph3.x86_64
Installing/Updating: zstd-libs-1.4.5-1.ph3.x86_64
Installing/Updating: libarchive-3.3.3-6.ph3.x86_64
Installing/Updating: curl-7.61.1-8.ph3.x86_64
Installing/Updating: python3-xml-3.7.5-8.ph3.x86_64
Installing/Updating: python3-setuptools-3.7.5-8.ph3.noarch
Installing/Updating: tcpdump-4.9.3-2.ph3.x86_64
Installing/Updating: linux-esx-4.19.154-10.ph3.x86_64
Installing/Updating: libxml2-2.9.10-3.ph3.x86_64
Installing/Updating: containerd-1.2.14-1.ph3.x86_64
Removing: python3-setuptools-3.7.5-6.ph3.noarch
Removing: curl-7.61.1-7.ph3.x86_64
Removing: python3-xml-3.7.5-6.ph3.x86_64
Removing: python3-3.7.5-6.ph3.x86_64
Removing: python3-libs-3.7.5-6.ph3.x86_64
Removing: curl-libs-7.61.1-7.ph3.x86_64
Removing: tcpdump-4.9.3-1.ph3.x86_64
Removing: libarchive-3.3.3-5.ph3.x86_64
Removing: linux-esx-4.19.132-5.ph3.x86_64
Removing: openssl-1.0.2v-2.ph3.x86_64
Removing: libxml2-2.9.10-2.ph3.x86_64
Removing: containerd-1.2.10-3.ph3.x86_64

Complete!

 

the package installed is a new version linux-esx-4.19.154-10.ph3.x86_64.

I suppose the develop team have fixed this issue.

thanks

Reply
0 Kudos