I can't update&upgrade anymore @ UM 18.04 v2 LTS.
Update-Manager don't open.
I do in Terminal:
/usr/bin/update-manager
Output:
Failed to connect to https://changelogs.ubuntu.com/meta-release-lts. Check your Internet connection or proxy settings
Segmentation fault
DEBUG_UPDATE_MANAGER=1 do-release-upgrade -c
Output:
Checking for a new Ubuntu release
MetaRelease.__init__() useDevel=False useProposed=False
/etc/update-manager/meta-release: https://changelogs.ubuntu.com/meta-release
/etc/update-manager/meta-release: https://changelogs.ubuntu.com/meta-release-lts
/etc/update-manager/meta-release: -development
/etc/update-manager/meta-release: -proposed
metarelease-uri: https://changelogs.ubuntu.com/meta-release-lts
MetaRelease.download()
result of meta-release download: '<urlopen error unknown url type: https>'
Failed to connect to https://changelogs.ubuntu.com/meta-release-lts. Check your Internet connection or proxy settings
NO self.metarelease_information
There is no development version of an LTS available.
To upgrade to the latest non-LTS develoment release
Segmentation fault
How can I fix?
"result of meta-release download: ''"
= Failed to connect to https://changelogs.ubuntu.com/meta-release-lts. Check your Internet connection or proxy settings
Segmentation fault
# curl https://changelogs.ubuntu.com/meta-release-lts (is working)
MetaRelease.__init__() useDevel=False useProposed=False
/etc/update-manager/meta-release: https://changelogs.ubuntu.com/meta-release
/etc/update-manager/meta-release: http://changelogs.ubuntu.com/meta-release-lts
/etc/update-manager/meta-release: -development
/etc/update-manager/meta-release: -proposed
metarelease-uri: http://changelogs.ubuntu.com/meta-release-lts
MetaRelease.download()
reading file '/home/nwo/.cache/update-manager-core/meta-release-lts'
have self.metarelease_information
MetaRelease.parse()
current dist name: 'bionic'
found distro name: 'dapper'
found distro name: 'hardy'
found distro name: 'lucid'
found distro name: 'precise'
found distro name: 'trusty'
found distro name: 'xenial'
found distro name: 'bionic'
There is no development version of an LTS available.
Segmentation fault
The https error is gone, but Segmentation fault is there.
MetaRelease.__init__() useDevel=False useProposed=False
/etc/update-manager/meta-release: https://changelogs.ubuntu.com/meta-release
/etc/update-manager/meta-release: https://changelogs.ubuntu.com/meta-release-lts
/etc/update-manager/meta-release: -development
/etc/update-manager/meta-release: -proposed
metarelease-uri: https://changelogs.ubuntu.com/meta-release-lts
MetaRelease.download()
result of meta-release download: '<urlopen error unknown url type: https>'
Failed to connect to https://changelogs.ubuntu.com/meta-release-lts. Check your Internet connection or proxy settings
NO self.metarelease_information
Segmentation fault
Traceback:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/UpdateManager/UpdatesAvailable.py", line 387, in install_all_updates
self.select_all_upgrades(None)
File "/usr/lib/python3/dist-packages/UpdateManager/UpdatesAvailable.py", line 664, in select_all_upgrades
self._toggle_group_headers(True)
File "/usr/lib/python3/dist-packages/UpdateManager/UpdatesAvailable.py", line 652, in _toggle_group_headers
for row in model:
TypeError: 'NoneType' object is not iterable
A segmentation fault is normally something serious. It could be a problem with your system's installation of Python since the programs you are trying to run are written in Python.
However, all these could be failing because of a problem with Apt. Check the output of /etc/apt/source.list and clear the /etc/apt/sources.list.d/ folder (as superuser) to remove any third party sources, and refresh the cache:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/UpdateManager/UpdatesAvailable.py", line 387, in install_all_updates
self.select_all_upgrades(None)
File "/usr/lib/python3/dist-packages/UpdateManager/UpdatesAvailable.py", line 664, in select_all_upgrades
self._toggle_group_headers(True)
File "/usr/lib/python3/dist-packages/UpdateManager/UpdatesAvailable.py", line 652, in _toggle_group_headers
for row in model:
TypeError: 'NoneType' object is not iterable
UserGroups:
adm audio cdrom dip disk plugdev pulse pulse-access sudo vboxusers video voice
_LogindSession: c3
I'm going to assume you are able to apt install and apt update successfully, and none of the Python applications (update-manager, software-properties-gtk, do-release-update) are able to start. It's possible Software Boutique will crash too.
Check the correct Python modules are being loaded. What is the output of this command?
The stacktrace (and code) suggests to me part of the program isn't initialising properly (likely one of the libraries/dependencies) and crashes the application as a result.
Since you say you were able to update a week ago, presumably some recent updates have broken the system? Maybe paste us a snippet of your /var/log/apt/history.log (and place in code tags please)
You probably wouldn't want to remove/purge them explicitly since that might remove many applications that depend on them.
Then try installing the software - which will automatically install the other packages it depends on:
sudo apt install update-manager
Since you're able to use Synaptic and Apt via the command line, I'm pretty sure it's a problem with your system's installation of Python. These applications are based on python3.
An error saying segmentation fault (or segfault , or SIGSEGV ) in Ubuntu and other Unix-like operating systems, or saying general protection fault in Windows, is when a program attempts to access a part of memory that cannot be accessed, or which the program is prohibited from accessing.
you need to remove /var/lib/ubuntu-release-upgrader/release-upgrade-available
and then run /usr/lib/ubuntu-release-upgrader/release-upgrade-motd
Very basically, it means your program is trying to access a memory area it is not suposed to.
2. To the current directoy.
3. You need to make sure your program doesn't do 1..
Kern.log shows me now when I try to open "update-manager+software-proper" in Terminal.
update-manager[4681]: segfault at b0 ip 00007ff32ea94ac8 sp 00007ff3079ff880 error 4 in ld-2.27.so[7ff32ea88000+27000]
software-proper[5878]: segfault at b0 ip 00007f6074f64ac8 sp 00007fff7434cb00 error 4 in ld-2.27.so[7f6074f58000+27000]
How can I fix?
segfault at b0 ip 00007ff32ea94ac8 sp 00007ff3079ff880 error 4 in ld-2.27.so