By kantchrist
I want update and upgrade my droplet which is on 14 to ubuntu 18 but it is failling and getting this error W: Failed to fetch https://packages.sury.org/php/dists/trusty/main/binary-amd64/Packages HttpError404
W: Failed to fetch https://packages.sury.org/php/dists/trusty/main/binary-i386/Packages HttpError404
E: Some index files failed to download. They have been ignored, or old ones used instead.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hey friend,
You can remove that repository, which it seems had been added in on this server. This command will do that:
add-apt-repository --remove ppa:ondrej/php
That said, I highly recommend that you not upgrade this droplet. You have custom packages installed on what I’m guessing is a production system. Something is going to break. You might find that it makes more sense to create a new Ubuntu 18 droplet and migrate to it.
Jarland
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.