sudo apt-get update doesn't work
Tofloor
poster avatar
abdelaziz
deepin
2020-03-18 01:16
Author
when i try to sudo apt-get update or sudo apt-get install apache2 or any app it gives me:

Ign:1 http://packages.deepin.com/deepin lion InRelease
Err:2 http://packages.deepin.com/deepin lion Release
  Connection failed
Reading package lists... Done
E: The repository 'http://packages.deepin.com/deepin lion Release' does no longer 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.



also when i try to install anything from store it doesn't install

/etc/apt/sources.list


## Generated by deepin-installer
deb [by-hash=force] http://packages.deepin.com/deepin lion main contrib non-free
#deb-src http://packages.deepin.com/deepin lion main contrib non-free


/etc/apt/apt.conf.d/99mirrors.conf

Acquire::SmartMirrors::MirrorSource "http://ftp.nluug.nl/os/Linux/distr/deepin/";

this problem still occure before and after changing the mirror

Reply Favorite View the author
All Replies
littledoge
deepin
2020-03-18 05:40
#1
本帖最后由 littledoge 于 2020-3-17 21:42 编辑

you can use your mirror address as a apt source,edit your sources.list like this:
##Generated by deepin-installer
deb [by-hash=force] http://ftp.nluug.nl/os/Linux/distr/deepin lion main contrib non-free
#deb-src http://packages.deepin.com/deepin lion main contrib non-free
Reply View the author
abdelaziz
deepin
2020-03-19 01:21
#2
https://bbs.deepin.org/post/189792
本帖最后由 littledoge 于 2020-3-17 21:42 编辑

you can use your mirror address as a apt source,edi ...

i did it but it didn't work
Reply View the author