JonasMR
Enthusiast
Enthusiast

Photon OS 4.0 install git

Hi,

I can't install git

root@photon4-1 [ ~ ]# tdnf install git

Installing:
openldap x86_64 2.4.57-1.ph4 photon-updates 1.80M 1888564
serf x86_64 1.3.9-4.ph4 photon-release 112.42k 115122
cyrus-sasl x86_64 2.1.27-4.ph4 photon-release 630.13k 645253
utf8proc x86_64 2.5.0-1.ph4 photon-release 326.11k 333941
apr-util x86_64 1.6.1-3.ph4 photon-release 274.44k 281022
apr x86_64 1.7.0-2.ph4 photon-release 615.78k 630554
subversion x86_64 1.14.1-1.ph4 photon-updates 7.97M 8355666
subversion-perl x86_64 1.14.1-1.ph4 photon-updates 5.21M 5458973
perl x86_64 5.30.1-4.ph4 photon-updates 55.69M 58392068
perl-DBI x86_64 1.643-1.ph4 photon-release 1.84M 1933576
perl-YAML noarch 1.30-1.ph4 photon-release 133.57k 136772
perl-CGI noarch 4.50-1.ph4 photon-release 549.64k 562827
git x86_64 2.30.0-3.ph4 photon-updates 20.97M 21986456

Total installed size: 96.05M 100720794
Is this ok [y/N]: y

Downloading:
openldap 697351 100%
serf 54434 100%
cyrus-sasl 249460 100%
utf8proc 78917 100%
apr-util 112504 100%
apr 201520 100%
Error: 404 when downloading https://packages.vmware.com/photon/4.0/photon_updates_4.0_x86_64/x86_64/subversion-1.14.1-1.ph4.x86_...

in the repo, the package for subversion has other version: https://packages.vmware.com/photon/4.0/photon_updates_4.0_x86_64/x86_64/subversion-1.14.1-2.ph4.x86_...

best regards

0 Kudos
1 Reply
DCasota
Expert
Expert

Hi,

the git issue described doesn't occur anymore with git-2.30.0-4.ph4.x86_64. The update https://github.com/vmware/photon/commit/eb7daf54cd49898e834a5afc2988453e1a32d223 happened a few weeks ago.

root@ph4 [ ~ ]# tdnf install git
Refreshing metadata for: 'VMware Photon Linux 4.0 (x86_64)'
Refreshing metadata for: 'VMware Photon Extras 4.0 (x86_64)'
Refreshing metadata for: 'VMware Photon Linux 4.0 (x86_64) Updates'
photon-updates 2602 100%
Installing:
openldap x86_64 2.4.57-1.ph4 photon-updates 1.80M 1888564
serf x86_64 1.3.9-4.ph4 photon-release 112.42k 115122
cyrus-sasl x86_64 2.1.27-4.ph4 photon-release 630.13k 645253
subversion x86_64 1.14.1-2.ph4 photon-updates 7.97M 8355690
utf8proc x86_64 2.5.0-1.ph4 photon-release 326.11k 333941
apr-util x86_64 1.6.1-3.ph4 photon-release 274.44k 281022
apr x86_64 1.7.0-2.ph4 photon-release 615.78k 630554
subversion-perl x86_64 1.14.1-2.ph4 photon-updates 5.21M 5458989
perl x86_64 5.30.1-4.ph4 photon-updates 55.69M 58392068
perl-DBI x86_64 1.643-1.ph4 photon-release 1.84M 1933576
perl-YAML noarch 1.30-1.ph4 photon-release 133.57k 136772
perl-CGI noarch 4.50-1.ph4 photon-release 549.64k 562827
git x86_64 2.30.0-4.ph4 photon-updates 20.97M 21986560

Total installed size: 96.05M 100720938
Is this ok [y/N]: y

Downloading:
openldap 697351 100%
serf 54434 100%
cyrus-sasl 249460 100%
subversion 2283030 100%
utf8proc 78917 100%
apr-util 112504 100%
apr 201520 100%
subversion-perl 1098295 100%
perl 15868657 100%
perl-DBI 716930 100%
perl-YAML 67967 100%
perl-CGI 202136 100%
git 4107657 100%
Testing transaction
Running transaction
Installing/Updating: perl-5.30.1-4.ph4.x86_64
Installing/Updating: apr-1.7.0-2.ph4.x86_64
Installing/Updating: apr-util-1.6.1-3.ph4.x86_64
Installing/Updating: utf8proc-2.5.0-1.ph4.x86_64
Installing/Updating: cyrus-sasl-2.1.27-4.ph4.x86_64
Installing/Updating: openldap-2.4.57-1.ph4.x86_64
Installing/Updating: serf-1.3.9-4.ph4.x86_64
Installing/Updating: subversion-1.14.1-2.ph4.x86_64
Installing/Updating: subversion-perl-1.14.1-2.ph4.x86_64
Installing/Updating: perl-DBI-1.643-1.ph4.x86_64
Installing/Updating: perl-YAML-1.30-1.ph4.noarch
Installing/Updating: perl-CGI-4.50-1.ph4.noarch
Installing/Updating: git-2.30.0-4.ph4.x86_64

Complete!
root@ph4 [ ~ ]# cat /etc/photon-release
VMware Photon OS 4.0
PHOTON_BUILD_NUMBER=1526e30ba

0 Kudos