{"action":"created","issue":{"url":"https://api.github.com/repos/smira/aptly/issues/217","labels_url":"https://api.github.com/repos/smira/aptly/issues/217/labels{/name}","comments_url":"https://api.github.com/repos/smira/aptly/issues/217/comments","events_url":"https://api.github.com/repos/smira/aptly/issues/217/events","html_url":"https://github.com/smira/aptly/issues/217","id":60090198,"number":217,"title":"aptly db cleanup considers conflicting packages as unreferenced","user":{"login":"smira","id":55211,"avatar_url":"https://avatars.githubusercontent.com/u/55211?v=3","gravatar_id":"","url":"https://api.github.com/users/smira","html_url":"https://github.com/smira","followers_url":"https://api.github.com/users/smira/followers","following_url":"https://api.github.com/users/smira/following{/other_user}","gists_url":"https://api.github.com/users/smira/gists{/gist_id}","starred_url":"https://api.github.com/users/smira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smira/subscriptions","organizations_url":"https://api.github.com/users/smira/orgs","repos_url":"https://api.github.com/users/smira/repos","events_url":"https://api.github.com/users/smira/events{/privacy}","received_events_url":"https://api.github.com/users/smira/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/smira/aptly/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/smira/aptly/milestones/12","html_url":"https://github.com/smira/aptly/milestones/v0.9.1","labels_url":"https://api.github.com/repos/smira/aptly/milestones/12/labels","id":1009104,"number":12,"title":"v0.9.1","description":"Bugfix releaase","creator":{"login":"smira","id":55211,"avatar_url":"https://avatars.githubusercontent.com/u/55211?v=3","gravatar_id":"","url":"https://api.github.com/users/smira","html_url":"https://github.com/smira","followers_url":"https://api.github.com/users/smira/followers","following_url":"https://api.github.com/users/smira/following{/other_user}","gists_url":"https://api.github.com/users/smira/gists{/gist_id}","starred_url":"https://api.github.com/users/smira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smira/subscriptions","organizations_url":"https://api.github.com/users/smira/orgs","repos_url":"https://api.github.com/users/smira/repos","events_url":"https://api.github.com/users/smira/events{/privacy}","received_events_url":"https://api.github.com/users/smira/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":1,"state":"closed","created_at":"2015-03-06T11:23:50Z","updated_at":"2015-03-06T16:59:04Z","due_on":"2015-03-05T21:00:00Z","closed_at":"2015-03-06T16:59:04Z"},"comments":7,"created_at":"2015-03-06T11:24:58Z","updated_at":"2015-03-10T10:58:00Z","closed_at":"2015-03-06T16:58:50Z","body":"It has been introduced in #154: snapshot merge and aptly db cleanup are using the same `RefList.Merge` function.\r\n\r\nDB cleanup requires all package refs to be present."},"comment":{"url":"https://api.github.com/repos/smira/aptly/issues/comments/78032485","html_url":"https://github.com/smira/aptly/issues/217#issuecomment-78032485","issue_url":"https://api.github.com/repos/smira/aptly/issues/217","id":78032485,"user":{"login":"smira","id":55211,"avatar_url":"https://avatars.githubusercontent.com/u/55211?v=3","gravatar_id":"","url":"https://api.github.com/users/smira","html_url":"https://github.com/smira","followers_url":"https://api.github.com/users/smira/followers","following_url":"https://api.github.com/users/smira/following{/other_user}","gists_url":"https://api.github.com/users/smira/gists{/gist_id}","starred_url":"https://api.github.com/users/smira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smira/subscriptions","organizations_url":"https://api.github.com/users/smira/orgs","repos_url":"https://api.github.com/users/smira/repos","events_url":"https://api.github.com/users/smira/events{/privacy}","received_events_url":"https://api.github.com/users/smira/received_events","type":"User","site_admin":false},"created_at":"2015-03-10T10:58:00Z","updated_at":"2015-03-10T10:58:00Z","body":"You should have had conflicting packages, so you have many variants of the same name-version-arch package. So you need to guess which one to add :(\r\n\r\nIf you have all of them published, in theory you can create many empty repos and add each published package file to each repo (you can't add all of them into single repo, as they're conflicting).\r\n\r\nLet me see if I can make better `aptly db cleanup` command today."}}