After pressing enter the following script appears before me:
Hit:1 Index of /ubuntu bionic-security InRelease
Ign:2 Index of /ondrej/php/ubuntu 18.04.6 InRelease
Hit:3 Index of /vm/6/gpl/apt virtualmin-bionic InRelease
Hit:4 Index of /ondrej/php/ubuntu bionic InRelease
Hit:5 Index of /vm/6/gpl/apt virtualmin-universal InRelease
Err:6 Index of /ondrej/php/ubuntu 18.04.6 Release
404 Not Found [IP: 2620:2d:4000:1::3e 80]
Hit:7 Index of /ubuntu bionic InRelease
Hit:8 Index of /ubuntu bionic InRelease
Get:9 Index of /ubuntu bionic-updates InRelease [88.7 kB]
Reading package lists… Done
N: Ignoring file ‘ondrej-ubuntu-php-bionic.list.save.1’ in directory ‘/etc/apt/sources.list.d/’ as it has an invalid filename extension
N: Ignoring file ‘ondrej-ubuntu-php-bionic.list.save.2’ in directory ‘/etc/apt/sources.list.d/’ as it has an invalid filename extension
E: The repository ‘Index of /ondrej/php/ubuntu 18.04.6 Release’ does not have a Release file.
N: Updating from such a repository can’t be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
the docs says use “LC_ALL=C.UTF-8 add-apt-repository -y ppa:ondrej/php && apt-get update” to enable the ondrej/php repository but when i use this command i get the following script/text to see in the terminal
Ign:1 Index of /ondrej/php/ubuntu 18.04.6 InRelease
Get:2 Index of /ubuntu bionic-security InRelease [88.7 kB]
Hit:3 Index of /ubuntu bionic InRelease
Hit:4 Index of /ondrej/php/ubuntu bionic InRelease
Hit:5 Index of /vm/6/gpl/apt virtualmin-bionic InRelease
Hit:6 Index of /vm/6/gpl/apt virtualmin-universal InRelease
Err:7 Index of /ondrej/php/ubuntu 18.04.6 Release
404 Not Found [IP: 2620:2d:4000:1::3e 80]
Hit:8 Index of /ubuntu bionic InRelease
Get:9 Index of /ubuntu bionic-updates InRelease [88.7 kB]
Get:10 Index of /ubuntu bionic-updates/main amd64 Packages [3045 kB]
Reading package lists… Done
N: Ignoring file ‘ondrej-ubuntu-php-bionic.list.save.1’ in directory ‘/etc/apt/sources.list.d/’ as it has an invalid filename extension
N: Ignoring file ‘ondrej-ubuntu-php-bionic.list.save.2’ in directory ‘/etc/apt/sources.list.d/’ as it has an invalid filename extension
E: The repository ‘Index of /ondrej/php/ubuntu 18.04.6 Release’ does not have a Release file.
N: Updating from such a repository can’t be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details
not responding what is the alternate, does my sytem support the php version that i want to install or no, sombody please guied me in detail how can i come out of this problem
take me as a newbie, i understand things a little late
Why? It is obviously End of Standard Support No one should be using it unless they have to support old stuff. Ubuntu is now up to 23.04 (not yet supported by Virtualmin - why should they as being an odd number it goes EOL 2024)
Why not ask Hostinger to upgrade to 20.04 - or better still 22.04?
I’m still not sure why you are needing to go from PHP 7.2 to 8.x
@Stegan
i have tried to access the hostinger chat service and i wanted to ask them to updrage my php and ubuntu version both, and you said why i am trying to upgrade from PHP 7.2 to 8.x its because my all websites that are hosted on hostinger are demanding it, the message that i see on all admin panels of my WordPress websites is shown below
“Your site is running on an outdated version of PHP (7.2.24-0ubuntu0.18.04.17), which does not receive security updates. It should be updated.”
I’m sorry you are having problems with them (Some hosting providers leave a lot to be desired) but I think your issue can really be down to the choice of OS. Do they not have telephone support?
I know in theory you could force an OS upgrade yourself but that is fraught with dangers as it is going back to bare box. At least going through them they should ensure the new image at least works. The end result is the same (you loose everything - unless you have a nice solid backup - somewhere safe. (I know DO Linode and others have “Volumes” you can park data backups) of course the backup will be out of sync with your live websites.
If I were in your shoes: I would work with each client halting their sites for maintenance. I would probably spin up a new clean box (probably with a new provider) and up-to-date OS. Install Virtualmin on that. Then go through the laborious job of transfering the domains and VS one at a time. or load from a backup. Then do some testing. One hell of a job not to be taken lightly.
Thanks for providing explanation of the PHP reason. WordPress (sigh! I will say no more) but I understand their complaint - afterall PHP 7.x is also EOL and even (8.0 before end of 2023 - time flies!)
can you please tell how can remove the errors the i am encountering while updating when i use the command “sudo apt update”
Ign:1 Index of /ondrej/php/ubuntu 18.04.6 InRelease
Hit:2 Index of /vm/6/gpl/apt virtualmin-bionic InRelease
Err:3 Index of /ondrej/php/ubuntu 18.04.6 Release
404 Not Found [IP: 2620:2d:4000:1::3e 80]
Hit:4 Index of /vm/6/gpl/apt virtualmin-universal InRelease
Hit:5 Index of /ubuntu bionic InRelease
Get:6 Index of /ubuntu bionic-updates InRelease [88.7 kB]
Hit:7 Index of /ubuntu bionic InRelease
Get:8 Index of /ubuntu bionic-security InRelease [88.7 kB]
Reading package lists… Done
N: Ignoring file ‘ondrej-ubuntu-php-bionic.list.save.1’ in directory ‘/etc/apt/sources.list.d/’ as it has an invalid filename extension
N: Ignoring file ‘ondrej-ubuntu-php-bionic.list.save.2’ in directory ‘/etc/apt/sources.list.d/’ as it has an invalid filename extension
E: The repository ‘Index of /ondrej/php/ubuntu 18.04.6 Release’ does not have a Release file.
N: Updating from such a repository can’t be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
Ign:1 Index of /ondrej/php/ubuntu 18.04.6 InRelease
Hit:2 Index of /ubuntu bionic InRelease
Err:3 Index of /ondrej/php/ubuntu 18.04.6 Release
404 Not Found [IP: 2620:2d:4000:1::3e 80]
Get:4 Index of /ubuntu bionic-security InRelease [88.7 kB]
Hit:5 Index of /vm/6/gpl/apt virtualmin-bionic InRelease
Hit:6 Index of /vm/6/gpl/apt virtualmin-universal InRelease
Hit:7 Index of /ubuntu bionic InRelease
Get:8 Index of /ubuntu bionic-updates InRelease [88.7 kB]
Reading package lists… Done
E: The repository ‘Index of /ondrej/php/ubuntu 18.04.6 Release’ does not have a Release file.
N: Updating from such a repository can’t be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
please explain the follow:
E: The repository ‘Index of /ondrej/php/ubuntu 18.04.6 Release’ does not have a Release file.
N: Updating from such a repository can’t be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.