Repository GPG Key expired "permanent fix" screwed things up worse

My first post to this forum. If there is a better way to report these problems, please advise.

Update: I just finished running the system recovery and I see that even a fresh install comes with snap packages, including Firefox and Thunderbird. So now I am not sure if the full-upgrade screwed up the broader system or not. In any case, running that command did result in a bunch of errors and did not fix the GPG key issue for me on the first try. Using the curl fix did work for me right away.

I just received and began setting up my DGX Spark and ran into the “GPG Key Expired” error. I ran sudo apt full-upgrade as instructed for the “permanent fix” and received a bunch of errors as well as the “Key Expired” error still being there. So I went to the post above that one and used that command to get the key with curl and add to the keyring. That seemed to fix the key expired error.

But: When I ran sudo apt update && sudo apt upgrade there were all sorts of packages being pulled in and installed, and during this process, I had to approve changing the source of firefox and thunderbird to ubuntu’s snap store instead of a normal repository.

My suspicion is that the apt full-upgrade command changed me over to some branch of Ubuntu that comes with a bunch of other software by default, so it started pulling in all sorts of packages that have no business being on the DGX Spark. In fact, I was surprised that there was anything at all available when I ran the upgrade command, since I had previously run those commands a few minutes beforehand, with the only failure being Nvidia’s repository due to the expired key.

In any case, this is still a brand new machine so I am in the process now of downloading and using the recovery image and will revert it to factory default.

I am sorry I don’t have logs or more details; installing so much stuff exceeded the buffer in my terminal and I couldn’t easily get readable logs from /var/log/apt/

Hi, I have not run into an issue with a freshly imaged system after running full-upgrade. Can you share the exact error you are seeing? Running sudo apt full-upgrade > output.txt will save the output in a file you can share with me.

Well, now full-upgrade tells me that all packages are up to date, so I can’t get you any interesting error logs. The difference is the order in which I ran the commands.

First time:

  1. Used web interface to update software.
  2. After reboot: apt update (because I was curious) and I first noticed the GPG expired key error.
  3. Ran the full-upgrade procedure and got the errors that scrolled away too fast
  4. Ran the curl -fsSL… procedure, then apt update and no errors with GPG keys this time
  5. Ran apt upgrade and this is where it started prompting me about snap packages and so forth
  6. I think this means my system is screwed up. I think that I inadvertently installed a bunch of crap that’s not supposed to be there.
  7. I do the recovery process

After recovery:

  1. Immediately used curl…' method to put in correct GPG key
  2. Used web interface to update software (difference being the first time, web-based updates were done with the broken GPG key)
  3. Go to terminal apt update & everything is already caught up to the most recent packages
  4. apt full-upgrade Now says there is nothing to upgrade.