{"action":"created","issue":{"url":"https://api.github.com/repos/linuxmint/nemo/issues/1046","repository_url":"https://api.github.com/repos/linuxmint/nemo","labels_url":"https://api.github.com/repos/linuxmint/nemo/issues/1046/labels{/name}","comments_url":"https://api.github.com/repos/linuxmint/nemo/issues/1046/comments","events_url":"https://api.github.com/repos/linuxmint/nemo/issues/1046/events","html_url":"https://github.com/linuxmint/nemo/issues/1046","id":122019836,"number":1046,"title":"trying to overwrite '/usr/share/glib-2.0/schemas/gschemas.compiled', which is also in package virt-manager","user":{"login":"jean-christophe-manciot","id":13176858,"avatar_url":"https://avatars.githubusercontent.com/u/13176858?v=3","gravatar_id":"","url":"https://api.github.com/users/jean-christophe-manciot","html_url":"https://github.com/jean-christophe-manciot","followers_url":"https://api.github.com/users/jean-christophe-manciot/followers","following_url":"https://api.github.com/users/jean-christophe-manciot/following{/other_user}","gists_url":"https://api.github.com/users/jean-christophe-manciot/gists{/gist_id}","starred_url":"https://api.github.com/users/jean-christophe-manciot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jean-christophe-manciot/subscriptions","organizations_url":"https://api.github.com/users/jean-christophe-manciot/orgs","repos_url":"https://api.github.com/users/jean-christophe-manciot/repos","events_url":"https://api.github.com/users/jean-christophe-manciot/events{/privacy}","received_events_url":"https://api.github.com/users/jean-christophe-manciot/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2015-12-14T10:58:39Z","updated_at":"2016-08-26T17:51:39Z","closed_at":null,"body":"System: 4.2.0-19-generic #23-Ubuntu SMP Wed Nov 11 11:39:30 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux\r\n\r\nInstalling the home-brewed nemo package leads to:\r\ntrying to overwrite '/usr/share/glib-2.0/schemas/gschemas.compiled', which is also in package virt-manager 1:1.3.1-11\r\n\r\nWhat should be the most adequate way to avoid \"force-overwrite\" and solve that issue?"},"comment":{"url":"https://api.github.com/repos/linuxmint/nemo/issues/comments/242804508","html_url":"https://github.com/linuxmint/nemo/issues/1046#issuecomment-242804508","issue_url":"https://api.github.com/repos/linuxmint/nemo/issues/1046","id":242804508,"user":{"login":"lukefromdc","id":14036792,"avatar_url":"https://avatars.githubusercontent.com/u/14036792?v=3","gravatar_id":"","url":"https://api.github.com/users/lukefromdc","html_url":"https://github.com/lukefromdc","followers_url":"https://api.github.com/users/lukefromdc/followers","following_url":"https://api.github.com/users/lukefromdc/following{/other_user}","gists_url":"https://api.github.com/users/lukefromdc/gists{/gist_id}","starred_url":"https://api.github.com/users/lukefromdc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukefromdc/subscriptions","organizations_url":"https://api.github.com/users/lukefromdc/orgs","repos_url":"https://api.github.com/users/lukefromdc/repos","events_url":"https://api.github.com/users/lukefromdc/events{/privacy}","received_events_url":"https://api.github.com/users/lukefromdc/received_events","type":"User","site_admin":false},"created_at":"2016-08-26T17:51:39Z","updated_at":"2016-08-26T17:51:39Z","body":"The issue here is in the creation of the .deb package, I use Checkinstall and it is notorious for this. Checkinstall picks up files like gschemas.compiled and icon cache files and adds them to the package.You have to have at least TWO such packages to get this error.  This particular problem you can get around by building with \r\n--disable-schemas-compile in the configuration options, but there is another checkinstall bug which is worse.\r\n\r\nWith nemo you are also copying everything in /usr/share/mime to the package if you are using checkinstall. Usually this won't hurt anything if you only have one such package (two won't be coninstallable) but removal of the package can trash your whole /usr/share/mime directory! Usually the necessary files are regenerated but sometimes that fails and leaves un unusable desktop. I would advise backing up all of /usr/share/mime to a directory somwhere just in case if you don't have a full backup partition.\r\n\r\nI pack these troublesome debs by hand from the directory checkinstall makes in /var/tmp, and delete from the package files (NOT the filesystem!) everything in (packagedir)/usr/share/mime except for (packagedir)/usr/share/mime/packages. I then make sure that icon cache files and gschemas.compiled did not get into the package and delete them if they did. Finally I run dpkg -b on the directory I copied everything to and I have my package."}}
{"actor":{"display_login":"lukefromdc"}}