RandomCoderOrg/ubuntu-on-android

focal:xfce4 apt update 404 not found

wangerzi opened this issue · 5 comments

I'm trying to use focal:xfce4, because I feeling focal is faster than jammy:xfce4 and jammy:xfce4 firefox browser always crash for me, then I exec apt update in terminal, got this problem:

image

Phone model: https://www.gizmochina.com/product/meizu-16th-plus/

I am also looking for a related solution, if I find a usable apt source will update here

I'm trying to use focal:xfce4, because I feeling focal is faster than jammy:xfce4 and jammy:xfce4 firefox browser always crash for me, then I exec apt update in terminal, got this problem:

hirsure got deprecated
Changing apt sources list could help solve the issue
Try this fix

sed -i 's/hirsute/focal/g' sources.list;

@SaicharanKandukuri

It's work!!! apt update can be executed normally, but I got the following error when I install or upgrade package:

E: Unable to correct problems, you have held broken packages.

image
image

I must use aptitude and resolve conflict manually to upgrade or install some package.
It would be great if there is a way to avoid these errors, so that it will be less confusing to use.

image

do apt -f install

I tried this and it's worked:

sed -i 's/ports\.ubuntu\.com/old-releases.ubuntu.com/g' sources.list
sed -i 's/\/ubuntu-ports/\/ubuntu/g' sources.list

means:

deb http://ports.ubuntu.com/ubuntu-ports hirsute main restricted
to
deb http://old-releases.ubuntu.com/ubuntu hirsute main restricted

stale commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.