This is the only place I could locate the string 'APT::Default-Release': $ cat /etc/apt/apt.confĪpt-show-versions is a Perl program. MongoDB only provides packages for the following 64-bit LTS (long-term support) Ubuntu releases: 14.04 LTS (trusty) 16.04 LTS (xenial) 18. In the output above, the following message appears to be significant, as it appears three times: The value 'stable' is invalid for APT::Default-Release as such a release is not available in the sources
The following failure message appeared when using both the Software Updater and the command line: Error during updateīefore attempting the upgrade, I successfully invoked sudo apt-get update several times today, so I don't think I have a network connection problem. I have previously successfully upgraded this machine from 14.04 to 16.04. usr/bin/apt-show-versions || exit 0 apt-show-versions -i', Network problem, please check your network connection and retry.Į:Problem executing scripts APT::Update::Post-Invoke-Success 'test -x Hit ttp:///ubuntu bionic-security InReleaseĪ problem occurred during the update. The value 'stable' is invalid for APT::Default-Release as such a release is not available in the sourcesĬan't call method "policy" on an undefined value at /usr/bin/apt-show-versions line 56. Get:1 ttp:///ubuntu bionic-security InRelease Hit ttp://us./ubuntu bionic-backports InRelease Hit ttp://us./ubuntu bionic-updates InRelease
Re-enable them after the upgrade with the 'software-properties' tool Some third party entries in your sources.list were disabled. (appstreamcli:22168): GLib-CRITICAL **: g_strchomp: assertion 'string != NULL' failedĪppStream cache update completed, but some metadata was ignored due to errors. (appstreamcli:22168): GLib-CRITICAL **: g_strchug: assertion 'string != NULL' failed Hit ttp://dl./linux/talkplugin/deb stable Release Hit ttp://dl./linux/chrome/deb stable Release Ign ttp://dl./linux/talkplugin/deb stable InRelease
Get:1 ttp:///ubuntu xenial-security InRelease Hit ttp:///apt/ubuntu xenial/mongodb-org/3.4 Release Ign ttp://dl./linux/chrome/deb stable InRelease Ign ttp:///apt/ubuntu xenial/mongodb-org/3.4 InRelease Hit ttp://us./ubuntu xenial-backports InRelease
Hit ttp://us./ubuntu xenial-updates InRelease Here is the output from the command-line (trimming 'http:' to 'ttp:'): $ sudo do-release-upgrade -dĪuthenticate '' against '.gpg' I attempted this using both the Software Updater program and the command line. Today several attempts at upgrading from Ubuntu 16.04 LTS to 18.04 LTS failed.