Skip to content

Instantly share code, notes, and snippets.

@gengwg
Last active March 23, 2024 21:06
Show Gist options
  • Select an option

  • Save gengwg/e142c64ec709772c728b6f9ec52127d2 to your computer and use it in GitHub Desktop.

Select an option

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.

@SpyrexDE
Copy link

SpyrexDE commented Oct 13, 2021

I want to update my deepin 15.11 and followed your steps.
After running sudo apt update I get the following errors:

Ign:1 https://community-store-packages.deepin.com/appstore eagle InRelease
Fehl:2 https://community-store-packages.deepin.com/appstore eagle Release
  server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
OK:3 http://packages.microsoft.com/repos/code stable InRelease
Ign:4 http://packages.deepin.com/deepin stable InRelease                          
Fehl:5 http://packages.deepin.com/deepin stable Release                           
  404  Not Found
Paketlisten werden gelesen... Fertig
E: The repository 'https://community-store-packages.deepin.com/appstore eagle Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://packages.deepin.com/deepin stable Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

Any ideas?

@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