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.

@bojanm1972
Copy link

Hi
It doesn't work to me. it download update, but when finish download, it trow Error: Failed to Update.
Is there some other way to try, and see details, why it doesn't wan't to update?

@gengwg
Copy link
Author

gengwg commented Sep 21, 2020

It worked for me on 2 different machines - one Thinkpad, another one some Lenovo machine. Both from 15.11 to 20.

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.

@bojanm1972
Copy link

Thank You.
It was something like that. Very interesting experience.
First, after first upgrade, everything was break.
Even I didn't managed to enter on my desktop, I didn't managed to login.
After force reboot my system, I still saw 15.11 as installed linux.
I decide to try to start system repair.
After that, It partially resolve some issues, I managed to enter desktop, of course my Graphic card is not recognized. But I continue to try to at last fix 15.11.
Nothing work correctly, so I decide to try once again with distro upgrade.
It do something, I reboot system and saw new version is installed.
After that I didn't managed to made my Graphic to work, then I decided to install it manually, and it works.
Now everything works fine, I have new distribution.

Thank You for give me courage to start upgrade. If not You I will stay on old version, I always stay from those situations, but when it happen on the end in most cases it is happy ending. It is reason why I like Linux.

Best Regards.

@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