{"action":"created","issue":{"url":"https://api.github.com/repos/open-switch/opx-cps/issues/75","repository_url":"https://api.github.com/repos/open-switch/opx-cps","labels_url":"https://api.github.com/repos/open-switch/opx-cps/issues/75/labels{/name}","comments_url":"https://api.github.com/repos/open-switch/opx-cps/issues/75/comments","events_url":"https://api.github.com/repos/open-switch/opx-cps/issues/75/events","html_url":"https://github.com/open-switch/opx-cps/issues/75","id":304513439,"number":75,"title":"upgrade failing - packages fighting over /usr/lib/x86_64-linux-gnu/libsai-0.9.6.so.1.0.0","user":{"login":"dimbleby","id":875184,"avatar_url":"https://avatars3.githubusercontent.com/u/875184?v=4","gravatar_id":"","url":"https://api.github.com/users/dimbleby","html_url":"https://github.com/dimbleby","followers_url":"https://api.github.com/users/dimbleby/followers","following_url":"https://api.github.com/users/dimbleby/following{/other_user}","gists_url":"https://api.github.com/users/dimbleby/gists{/gist_id}","starred_url":"https://api.github.com/users/dimbleby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dimbleby/subscriptions","organizations_url":"https://api.github.com/users/dimbleby/orgs","repos_url":"https://api.github.com/users/dimbleby/repos","events_url":"https://api.github.com/users/dimbleby/events{/privacy}","received_events_url":"https://api.github.com/users/dimbleby/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-03-12T19:43:07Z","updated_at":"2018-03-13T11:39:30Z","closed_at":null,"author_association":"NONE","body":"Trying to upgrade boxes via `deb http://deb.openswitch.net/ testing main`:\r\n\r\n```\r\nroot@OPX1:~# apt-get dist-upgrade\r\nReading package lists... Done\r\nBuilding dependency tree\r\nReading state information... Done\r\nYou might want to run 'apt-get -f install' to correct these.\r\nThe following packages have unmet dependencies:\r\n opx-nas-daemon : Depends: libopx-sai\r\nE: Unmet dependencies. Try using -f.\r\n```\r\n\r\nBut then:\r\n\r\n```\r\nroot@OPX1:~# apt-get -f install\r\nReading package lists... Done\r\nBuilding dependency tree\r\nReading state information... Done\r\nCorrecting dependencies... Done\r\nThe following extra packages will be installed:\r\n  libopx-sai-vm1\r\nThe following NEW packages will be installed:\r\n  libopx-sai-vm1\r\n0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.\r\n3 not fully installed or removed.\r\nNeed to get 0 B/508 kB of archives.\r\nAfter this operation, 1705 kB of additional disk space will be used.\r\nDo you want to continue? [Y/n] y\r\nperl: warning: Setting locale failed.\r\nperl: warning: Please check that your locale settings:\r\n        LANGUAGE = (unset),\r\n        LC_ALL = (unset),\r\n        LANG = \"en_GB.utf8\"\r\n    are supported and installed on your system.\r\nperl: warning: Falling back to the standard locale (\"C\").\r\nlocale: Cannot set LC_CTYPE to default locale: No such file or directory\r\nlocale: Cannot set LC_MESSAGES to default locale: No such file or directory\r\nlocale: Cannot set LC_ALL to default locale: No such file or directory\r\n(Reading database ... 28293 files and directories currently installed.)\r\nPreparing to unpack .../libopx-sai-vm1_17.1.0+opx4_amd64.deb ...\r\nUnpacking libopx-sai-vm1 (17.1.0+opx4) ...\r\ndpkg: error processing archive /var/cache/apt/archives/libopx-sai-vm1_17.1.0+opx4_amd64.deb (--unpack):\r\n trying to overwrite '/usr/lib/x86_64-linux-gnu/libsai-0.9.6.so.1.0.0', which is also in package libopx-sai-bcm-esw1 21.1.0\r\ndpkg-deb: error: subprocess paste was killed by signal (Broken pipe)\r\nErrors were encountered while processing:\r\n /var/cache/apt/archives/libopx-sai-vm1_17.1.0+opx4_amd64.deb\r\nE: Sub-process /usr/bin/dpkg returned an error code (1)\r\n```\r\n\r\nHere's `opx-show-version`:\r\n\r\n```\r\nroot@OPX1:~# opx-show-version\r\nOS_NAME=\"OPX\"\r\nOS_VERSION=\"2.1.0\"\r\nPLATFORM=\"S6000-ON\"\r\nARCHITECTURE=\"x86_64\"\r\nINTERNAL_BUILD_ID=\"OpenSwitch blueprint for Dell 1.0.0\"\r\nBUILD_VERSION=\"2.1.0(0)\"\r\nBUILD_DATE=\"2017-08-04T12:01:19-0700\"\r\nINSTALL_DATE=\"2017-08-17T22:53:49+0000\"\r\nSYSTEM_UPTIME= 4 days, 5 hours, 24 minutes\r\nSYSTEM_STATE= degraded\r\nUPGRADED_PACKAGES=no\r\nALTERED_PACKAGES=no\r\n```\r\n\r\nPlease advise."},"comment":{"url":"https://api.github.com/repos/open-switch/opx-cps/issues/comments/372636453","html_url":"https://github.com/open-switch/opx-cps/issues/75#issuecomment-372636453","issue_url":"https://api.github.com/repos/open-switch/opx-cps/issues/75","id":372636453,"user":{"login":"dimbleby","id":875184,"avatar_url":"https://avatars3.githubusercontent.com/u/875184?v=4","gravatar_id":"","url":"https://api.github.com/users/dimbleby","html_url":"https://github.com/dimbleby","followers_url":"https://api.github.com/users/dimbleby/followers","following_url":"https://api.github.com/users/dimbleby/following{/other_user}","gists_url":"https://api.github.com/users/dimbleby/gists{/gist_id}","starred_url":"https://api.github.com/users/dimbleby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dimbleby/subscriptions","organizations_url":"https://api.github.com/users/dimbleby/orgs","repos_url":"https://api.github.com/users/dimbleby/repos","events_url":"https://api.github.com/users/dimbleby/events{/privacy}","received_events_url":"https://api.github.com/users/dimbleby/received_events","type":"User","site_admin":false},"created_at":"2018-03-13T11:39:30Z","updated_at":"2018-03-13T11:39:30Z","author_association":"NONE","body":"Per advice from Atanu, we have now switched to using oldtesting rather than testing - and no longer see this conflict.\r\n\r\nSo from my point of view this is no longer a problem, but maybe you'll want to keep this issue around to track fixing the testing repository."}}
{"actor":{"display_login":"dimbleby"}}