pop-os / cosmic-epoch

Next generation Cosmic desktop environment
3.21k stars 86 forks source link

24.04 alpha 'failed to fetch, could not resolve apt.pop-os.org' on apt update #1230

Open twilwa opened 2 weeks ago

twilwa commented 2 weeks ago

Hi, won't be able to include much info in the ticket as I seem to have bricked my machine forcing the pop-upgrade to 24.04 & COSMIC. I'm unable to login via the gui in the cosmic DE, but I'll create a separate issue for that.

Currently, after running (if I remember right) pop-upgrade -f , the only DE installed is cosmic. This doesn't work for me, so I tried to install pop-desktop as a backup to login with gnome to start. Sudo apt update:

Failed to fetch http://apt.pop-os.org/staging/master/dists/noble/inrelease Could not resolve apt.pop-os.org (several of those)

sudo apt upgrade: Failed to fetch http://apt.pop-os.org/release/pool/noble/systemd/(hex string)/systend-resokvconf_255.4-1ubuntu8.4pop(lots of numbers).04%7e814fa98_amd64.deb Could not resolve apt.pop-os.org.

It seems like I'm dead in the water until I figure this out, but ill provide updates as I come across them. My hunch is that its trying to hit release when it should hit staging?

bhh32 commented 2 weeks ago

What happens when you do Ctrl+Alt+F2 on the login screen?

On Fri, Nov 8, 2024 at 1:31 PM twilwa @.***> wrote:

Hi, won't be able to include much info in the ticket as I seem to have bricked my machine forcing the pop-upgrade to 24.04 & COSMIC. I'm unable to login via the gui in the cosmic DE, but I'll create a separate issue for that.

Currently, after running (if I remember right) pop-upgrade -f , the only DE installed is cosmic. This doesn't work for me, so I tried to install pop-desktop as a backup to login with gnome to start. Sudo apt update:

Failed to fetch http://apt.pop-os.org/staging/master/dists/noble/inrelease Could not resolve apt.pop-os.org (several of those)

sudo apt upgrade: Failed to fetch http://apt.pop-os.org/release/pool/noble/systemd/(hex string)/systend-resokvconf_255.4-1ubuntu8.4pop(lots of numbers).04%7e814fa98_amd64.deb Could not resolve apt.pop-os.org.

It seems like I'm dead in the water until I figure this out, but ill provide updates as I come across them. My hunch is that its trying to hit release when it should hit staging?

— Reply to this email directly, view it on GitHub https://github.com/pop-os/cosmic-epoch/issues/1230, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEH5FSYR7VONIU2UATYV6TDZ7UUR5AVCNFSM6AAAAABROKGX2OVHI2DSMVQWIX3LMV43ASLTON2WKOZSGY2DKMRQHEYDMMA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

twilwa commented 2 weeks ago

takes me to the same terminal as ctrl+alt+f3. I can login fine here, but swapping back to cosmic doesn't seem to maintain a logged-in state

twilwa commented 2 weeks ago

My workaround for this last time I experimented with cosmic was to login with an x11 or Wayland gnome DE, but since the alpha 24.04 doesn't cone with one, and I can't apt-get anything due to the above error, im currently blocked from using said workaround

twilwa commented 2 weeks ago

Oh, I see - start-cosmic works from here. Is there a good way for me to pull the errors im getting on login without having to reboot?

twilwa commented 2 weeks ago

However, the inability to update still persists. In addition, im noticing my network connection is no longer present (although I can ping dns servers), but also likely a separate issue

twilwa commented 2 weeks ago

Got it, looks like that was the issue. For reference, deleting /etc/resolv.conf(to remove the symlink) and manually inputting nameserver 8.8.8.8 nameserver 8.8.4.4 to resolv.conf resolves the connectivity issues, which subsequently allowed me to update.

Ill leave this open for 24h or so in case anyone from the team would find it helpful to test things out-- it seems this may be a known issue in 24.04, so there might be something to package up differently so other users don't run into the issue.

bhh32 commented 2 weeks ago

You might try to install gnome desktop from the terminal you get , remove COSMIC , systemctl enable gdm, then reboot.

On Fri, Nov 8, 2024 at 2:01 PM twilwa @.***> wrote:

takes me to the same terminal as ctrl+alt+f3. I can login fine here, but swapping back to cosmic doesn't seem to maintain a logged-in state

— Reply to this email directly, view it on GitHub https://github.com/pop-os/cosmic-epoch/issues/1230#issuecomment-2465817566, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEH5FS3JODXPI2CJYCG4AR3Z7UYERAVCNFSM6AAAAABROKGX2OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRVHAYTONJWGY . You are receiving this because you commented.Message ID: @.***>