{"id":3170,"date":"2020-04-16T18:11:45","date_gmt":"2020-04-16T23:11:45","guid":{"rendered":"http:\/\/www.incredigeek.com\/home\/?p=3170"},"modified":"2020-04-16T18:11:46","modified_gmt":"2020-04-16T23:11:46","slug":"mongodb-dpkg-deb-error-paste-subprocess-was-killed-by-signal-broken-pipe","status":"publish","type":"post","link":"https:\/\/www.incredigeek.com\/home\/mongodb-dpkg-deb-error-paste-subprocess-was-killed-by-signal-broken-pipe\/","title":{"rendered":"MongoDB &#8211; dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)"},"content":{"rendered":"\n<p>Ran into an issue when trying to figure out some problems with UniFi and UniFi-Video.  Upgrading both to the latest version was causing problems, because they both needed different versions of MongoDB.<\/p>\n\n\n\n<p>Was getting the following error when trying to install MongoDB.  Think I was trying to install Mongo following the instructions on their site and then it caused issues with apt.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">dpkg: error processing archive \/var\/cache\/apt\/archives\/mongodb-org-server_4.2.5_amd64.deb (--unpack):<br> trying to overwrite '\/usr\/bin\/mongod', which is also in package mongodb-server-core 1:3.6.3-0ubuntu1.1<br>dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)<\/pre>\n\n\n\n<p> Removed the following file<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">rm \/etc\/apt\/sources.list.d\/mongodb-org-4.2.list<\/pre>\n\n\n\n<p>and was able to use apt again to install MongoDB.  Didn&#8217;t end up solving my problem because I technically needed two versions, but at least apt was being nice again.  Ended up installing the <a href=\"https:\/\/www.incredigeek.com\/home\/installing-unifi-controller-in-docker-container\/\">UniFi controller docker container<\/a> and can run both on the same server that way.<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ran into an issue when trying to figure out some problems with UniFi and UniFi-Video. Upgrading both to the latest version was causing problems, because they both needed different versions of MongoDB. Was getting the following error when trying to &hellip; <a href=\"https:\/\/www.incredigeek.com\/home\/mongodb-dpkg-deb-error-paste-subprocess-was-killed-by-signal-broken-pipe\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[129,370],"tags":[375,131,132,974,188,265],"class_list":["post-3170","post","type-post","status-publish","format-standard","hentry","category-ubiquiti","category-unifi-video","tag-mongodb","tag-ubiquiti-2","tag-ubnt","tag-ui","tag-unifi","tag-unifi-video"],"_links":{"self":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/3170","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/comments?post=3170"}],"version-history":[{"count":2,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/3170\/revisions"}],"predecessor-version":[{"id":3230,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/3170\/revisions\/3230"}],"wp:attachment":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/media?parent=3170"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/categories?post=3170"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/tags?post=3170"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}