Skip to content

Use chroot for Testing on Ubuntu #7184

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Rajakavitha1 opened this issue Feb 3, 2025 · 3 comments
Closed

Use chroot for Testing on Ubuntu #7184

Rajakavitha1 opened this issue Feb 3, 2025 · 3 comments
Assignees

Comments

@Rajakavitha1
Copy link
Collaborator

hello again, I have a great problem with apt update for ubuntu focal. I cannot update nothing the error is " Could not resolve, ports.ubuntu.com". I tried with everything including dns and change repos but apt update does not work. is it posible that any package is missing o something corrupted in the distro ? can you help me ?, I have spend several days to resolv it.
Luis

@Rajakavitha1 Rajakavitha1 self-assigned this Feb 3, 2025
@Guito-del
Copy link

hello, I give more info about this problem. I installed this distribution ubuntu debootstrap focal ~/chroot-jail and the problem is that apt update does not update any ubuntu source list. I am very curious and it is the first time that I have serious problem to fix this.
I have reinstalled packages but without success. Ping, wget, dig and nslookup work as normal so I have conexion.
Can someone help me please.
thx and rgds all.

@Rajakavitha1
Copy link
Collaborator Author

Hi @Guito-del ,
We tested and validated the steps in the guide and we are not able to reproduce the issue that you have mentioned.
On a Linode Ubuntu focal 20.04. The steps work as documented. the apt update command also works. Closing this issue for now. If you need further assistance please contact linode support by raising a ticket: https://cloud.linode.com/support/tickets.

rajie@ss:~$ sudo apt update
Hit:1 http://mirrors.linode.com/ubuntu focal InRelease
Get:2 http://mirrors.linode.com/ubuntu focal-updates InRelease
Hit:3 http://mirrors.linode.com/ubuntu focal-backports InRelease
Get:4 http://security.ubuntu.com/ubuntu focal-security InRelease [128 kB]
Fetched 256 kB in 1s (240 kB/s)    
Reading package lists... Done
Building dependency tree       
Reading state information... Done
All packages are up to date.
rajie@ss:~$ sudo chroot ~/chroot-jail /bin/bash
root@ss:/# exit
exit
rajie@ss:~$ 

@Guito-del
Copy link

Guito-del commented Feb 20, 2025 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants