soar_sola
2016-04-14 09:00 deepin
Er... as for apt-get locker, what I did was to google it on debian community.
As for the update mirror, unlike what you expected, deepin actually takes a CDN approach. Your initial request will go to deepin-official, but then it will route you to a "best-matching-server" without letting you know. I use netstat and saw it downloads packages from a Amazon EC2 server actually.
However the CDN part doesn't work all the time. I rebooted serveral times and it then works fine. After the first 200MB upgrade, everything works nicely till now.
As for the update mirror, unlike what you expected, deepin actually takes a CDN approach. Your initial request will go to deepin-official, but then it will route you to a "best-matching-server" without letting you know. I use netstat and saw it downloads packages from a Amazon EC2 server actually.
However the CDN part doesn't work all the time. I rebooted serveral times and it then works fine. After the first 200MB upgrade, everything works nicely till now.
Reply Like 0 View the author
How these is happens?
1. I launch the system.
2. It tries to update and hangs apt-get and dpkg processes creating lock files on the following pathes:
/var/lib/dpkg/lock
/var/lib/dpkg/
/var/lib/dpkg/
No matter what it can't be killed cause "no such processes found like apt-get or dpkg running" And there is no any reaction from the system if I trying to switch in between repositaries mirrors in the Deepin control center GUI. (after it they picked up and working normally, I personally using mirror.yandex repo's) So I ended up by just issuing rm / rm -rf commands to the upper described path and then issuing system upgrade commands to upgrade my system from console cause these is basically wont work through Deepin GUI control center app and if it works it very slow downs download and installation process.
3. apt-get update && apt-get upgrade -y
4. so only that way I have upgraded system and there is not mirrors problem but some control center GUI. There is also some packages which is not installed through console upgrade procedure and in some way the GUI upgrades some other packages and stuff by itself that basicly does not handled by the apt-get command.
5. now I just having to reboot my system cause after apt-get update and upgrade procedure the Deepin GUI is following to download another plenty of patches which seemingly won't install by apt-get command.
Hopefully responsiveness of the GUI while issuing upgrade procedure can be fixed or tweaked to do transparent and fast upgrades. I previously using Sabayon 16.04 Gnome redaction which is derived from Gentoo x64_86 multilib edition and so there mirror optimization procedure is taking seconds and you go to the same mirror.yandex.ru and able to download any packages that you want. Comparing to Deepin it has very slow GUI ping/pong with mirrors and there is no automation for picking up one of the best mirror on the list like in Sabayon. (besides that running optimization procedure is requires pushing one button in Rigo Entropy frontend).