Have to manually remove system lock files while system update hangs up.
Tofloor
poster avatar
zor1984qq
deepin
2016-04-14 07:44
Author
Have to manually remove system lock files while system update hangs up.

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).
Reply Favorite View the author
All Replies
soar_sola
deepin
2016-04-14 09:00
#1
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.
Reply View the author
dance707
deepin
2016-04-14 09:20
#2
Currently there is a bug affecting apt-get that they are working on, you may want to read some of the other threads in the forum.
Reply View the author
dance707
deepin
2016-04-14 09:39
#3
Here is a link regarding how the mirrors work in Deepin.

https://bbs.deepin.org/post/30636
Reply View the author
zor1984qq
deepin
2016-04-14 11:04
#4
https://bbs.deepin.org/post/30946
Er... as for apt-get locker, what I did was to google it on debian community.

As for the update mir ...

no...... its may work or not but I saw the download speed and there is definetely not a Russian server was picked up for use

manually switching is 100% way out of these problem.
Reply View the author
zor1984qq
deepin
2016-04-14 11:06
#5
Edited by zor1984qq at 2016-4-14 03:08
https://bbs.deepin.org/post/30946
Here is a link regarding how the mirrors work in Deepin.

https://bbs.deepin.org/module ...

I have a greater problems dude see my later posts and you figure out that I really have no wish to digging in such distribution that feels so uncomfortable and invonvinient to use on a daily basis.

For example these: https://bbs.deepin.org/post/30949
I don't tell here is bad, its not bad, its far from what I've seen to call it bad but it still not an ideal option for me as I understand during these daily run and testing these on the real world applications which I often run.
Reply View the author
dance707
deepin
2016-04-14 11:36
#6
https://bbs.deepin.org/post/30946
no...... its may work or not but I saw the download speed and there is definetely not a Russian se ...

Yes it is understandable that some users are in a Geographical location that do not see the benifit of the CDN accleration. Currently they have nodes in China and USA are looking to expand to other areas.
Reply View the author
soar_sola
deepin
2016-04-14 12:19
#7
https://bbs.deepin.org/post/30946
no...... its may work or not but I saw the download speed and there is definetely not a Russian se ...

Er... Well, I do not see a Russian server either. We should suggest deepin to seek CDN deployment with yandex.
Reply View the author
New Thread

Popular Events

More
国际排名
WHLUG