Skip to content

Instantly share code, notes, and snippets.

@gengwg
Last active March 23, 2024 21:06
Show Gist options
  • Save gengwg/e142c64ec709772c728b6f9ec52127d2 to your computer and use it in GitHub Desktop.
Save gengwg/e142c64ec709772c728b6f9ec52127d2 to your computer and use it in GitHub Desktop.
Upgrade to deepin 20 from deepin 15.11
  1. Change the source in /etc/apt/sources.list to
    deb [by-hash=force] https://community-packages.deepin.com/deepin/ apricot main contrib non-free
  1. Add the official source for app store in /etc/apt/sources.list.d/appstore.list. If no such a list file, please create one there and add below source:
    deb https://community-store-packages.deepin.com/appstore eagle appstore

After modifying above you need do apt update then apt upgrade. apt update actually gave me some errors/warnings about signature, but doesn't affect apt upgrade.

Wait until apt upgrade finishes, then reboot.

Next go to 'Settings' > 'Updates' and update from there, and reboot again.

After that apt update and apt upgrade all works fine as normal. No errors any more. I'm actually very surprised it's so smooth for major version update.

@hgouveia
Copy link

for me gave this something like .... The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 1C....

copy the hash at the end of NO_PUBKEY and use it in this command, i know it says ubuntu, but it worked for me

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys {THE_HASH}
sudo apt update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment