{"action":"created","issue":{"url":"https://api.github.com/repos/SynoCommunity/spksrc/issues/1781","labels_url":"https://api.github.com/repos/SynoCommunity/spksrc/issues/1781/labels{/name}","comments_url":"https://api.github.com/repos/SynoCommunity/spksrc/issues/1781/comments","events_url":"https://api.github.com/repos/SynoCommunity/spksrc/issues/1781/events","html_url":"https://github.com/SynoCommunity/spksrc/issues/1781","id":93002622,"number":1781,"title":"debian-chroot: several instances of \"aptitude search ~U\" launched","user":{"login":"lepennec","id":7868905,"avatar_url":"https://avatars.githubusercontent.com/u/7868905?v=3","gravatar_id":"","url":"https://api.github.com/users/lepennec","html_url":"https://github.com/lepennec","followers_url":"https://api.github.com/users/lepennec/followers","following_url":"https://api.github.com/users/lepennec/following{/other_user}","gists_url":"https://api.github.com/users/lepennec/gists{/gist_id}","starred_url":"https://api.github.com/users/lepennec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lepennec/subscriptions","organizations_url":"https://api.github.com/users/lepennec/orgs","repos_url":"https://api.github.com/users/lepennec/repos","events_url":"https://api.github.com/users/lepennec/events{/privacy}","received_events_url":"https://api.github.com/users/lepennec/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-04T11:13:30Z","updated_at":"2015-07-04T11:36:10Z","closed_at":null,"body":"Dear all,\r\n\r\nI'm playing with the debian-chroot package on my old DS211J. Everything works flawlessly except the gui. When I launch it, it waits forever for something. I have tried to investigate and it seems that the cause is the attempt to count the number of updates available. Indeed, I see more and more instance of\r\n- /bin/bash -c aptitude search \"~U\" | wc -l | tail\r\n- aptitude search ~U\r\nin my list of process. My perception is that it is so slow on my NAS that the command is relaunched withour killing the previous one... Any idea on how I could fix the issue?\r\n\r\n   Yours,\r\n\r\n    Erwan\r\n\r\n\r\n\r\n\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/23667821-debian-chroot-several-instances-of-aptitude-search-u-launched?utm_campaign=plugin&utm_content=tracker%2F282943&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F282943&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/SynoCommunity/spksrc/issues/comments/118502668","html_url":"https://github.com/SynoCommunity/spksrc/issues/1781#issuecomment-118502668","issue_url":"https://api.github.com/repos/SynoCommunity/spksrc/issues/1781","id":118502668,"user":{"login":"lepennec","id":7868905,"avatar_url":"https://avatars.githubusercontent.com/u/7868905?v=3","gravatar_id":"","url":"https://api.github.com/users/lepennec","html_url":"https://github.com/lepennec","followers_url":"https://api.github.com/users/lepennec/followers","following_url":"https://api.github.com/users/lepennec/following{/other_user}","gists_url":"https://api.github.com/users/lepennec/gists{/gist_id}","starred_url":"https://api.github.com/users/lepennec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lepennec/subscriptions","organizations_url":"https://api.github.com/users/lepennec/orgs","repos_url":"https://api.github.com/users/lepennec/repos","events_url":"https://api.github.com/users/lepennec/events{/privacy}","received_events_url":"https://api.github.com/users/lepennec/received_events","type":"User","site_admin":false},"created_at":"2015-07-04T11:36:10Z","updated_at":"2015-07-04T11:36:10Z","body":"Modyfing direct.py by replacing updates_count = ... by updates_count = 0  fixes this issues... but triggers a similar one when trying to display the services... I can see more and more instances of\r\n /usr/local/debian-chroot/env/bin/python /usr/syno/sy\r\nin my process list.\r\n\r\n  Erwan"}}