CypherpunkArmory / UserLAnd

Main UserLAnd Repository
Other
3.62k stars 401 forks source link

Bug report - [YOUR BUG TITLE] apt-get update and upgrade not working on Ubuntu #2035

Open MmaGod1 opened 3 months ago

MmaGod1 commented 3 months ago

Describe the bug

userland@localhost:~$ apt-get update Hit:1 http://ports.ubuntu.com/ubuntu-ports jammy InRelease Get:2 http://ports.ubuntu.com/ubuntu-ports jammy-updates InRelease [128 kB] Ign:3 https://example.com/apt stable InRelease Ign:3 https://example.com/apt stable InRelease Get:4 http://ports.ubuntu.com/ubuntu-ports jammy-backports InRelease [127 kB] Get:5 http://ports.ubuntu.com/ubuntu-ports jammy-security InRelease [129 kB] Ign:3 https://example.com/apt stable InRelease Err:1 http://ports.ubuntu.com/ubuntu-ports jammy InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C Err:3 https://example.com/apt stable InRelease Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown. The certificate chain uses not yet valid certificate. Could not handshake: Error in the certificate verification. [IP: 93.184.215.14 443] 0% [Working]

Steps to reproduce the behavior:

After downloading Ubuntu Click it on the session section Do apt-get update or apt-get upgrade

Device Information

Device: Samsung A13 Android Version: 14 UserLAnd Version: 24.04.03 Whether the device is rooted: No Whether the device is running LineageOS: No

enforce-issue-templates[bot] commented 3 months ago

Hello @MmaGod1!

This message has been autogenerated.

It looks like you've posted an issue, but in order for us to best assist you, we need some additional information. We have created some issue templates to make this process easier. You can find them here.

These templates contain lines that begin with the '#' character. These lines are headers. In your issue, please leave these headers as is, and fill out information relevant to the header in the space below it.

If you don't think that you have any information relevant to the header, fill the space below it with something like 'N/A', or consider using a different template.

These headers are essential in allowing us to recreate and resolve your issue. The more detailed your issue, the more quickly we can begin working on it.

It looks like you were attempting to use the bug_report.md template. Copy and paste the headers, including the '#' character, remove the single quotes, and use it to edit your issue. That template requires the following headers:

'# Describe the bug' '# Steps to reproduce the behavior:' '# Screenshots' '# Device Information'

If your issue is not updated to follow a template, it may be removed. If you edit your issue to follow a template, the bot will remove its comment.

Thanks for your help in improving UserLAnd!

akhepcat commented 2 months ago

Just downloaded UserLAnd, installed Ubuntu (cli, minimal) , and I was having the exact same issue.

At first, because my home wifi is dual-stack, and the preference is for IPv6, it looked like maybe an IPv6 issue.

so, with no default editor (uh, that's another issue, why no vim or nano at least?) I ended up using sed to modify /etc/gai.conf to set the precedence level for IPv4 to 100 and tried again.

Still was unable to use apt to update or install new packages, getting the same errors as OP.

stopped the background process restarted my ubuntu session sudo apt update sudo apt install joe gawk git vim

And now things are working again for me