File manager has stopped working
Hi
System Info:
$ cat /etc/*release
DISTRIB_ID=Trisquel
DISTRIB_RELEASE=8.0
DISTRIB_CODENAME=flidas
DISTRIB_DESCRIPTION="Trisquel GNU/Linux 8.0, Flidas"
NAME="Trisquel GNU/Linux"
VERSION="8.0, Flidas"
ID=trisquel
ID_LIKE=debian
PRETTY_NAME="Trisquel GNU/Linux Flidas (8.0)"
VERSION_ID="8.0"
HOME_URL="https://trisquel.info/"
SUPPORT_URL="https://trisquel.info/wiki"
BUG_REPORT_URL="https://trisquel.info/project/issues"
$ uname -a
Linux technoethical-t400s-b9d0 4.19.142-gnu #1.0 SMP Tue Sep 27 12:35:59 EST 1983 x86_64 x86_64 x86_64 GNU/Linux
----------------------------------------------
I've somehow managed to get my system in to a state where the File Manager is not working.
If I go to Places -> Computer
A dialog pops up with the following message:
"""
Could not open location 'computer://'
No application is registered as handling this file
"""
Anyone seen this before ? Any ideas on how I can start debugging it ?
No idea what I could have done to cause this.
It happened after I rebooted, but prior to that I was trying to build an aplication which required me changing the installed version of gtk+2.0.
I also did an :
apt autoremove
because every time I ran apt it warned me about unused packages - maybe it removed something I did not want removing ?
What's your normal file manager? caja for the Mate desktop? Try -
sudo apt reinstall caja
Whever I have fundamentally messed up my system doing "sudo apt install trisquel" seems to always to the trick.
Thank you for the replies.
I believe I have a Mate desktop - but only because I have seen it in messages occasionally. And given that I guess the file manager is caja. However I do not know how I can confirm this, so as an aside do you know how I can determine what desktop and what file manager I am using ?
If I try to install caja I get the following message :
$ apt-get install caja
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies.
caja : Depends: caja-common (= 1.12.7-1) but 1.12.7-1ubuntu0.1 is to be installed
Depends: libcaja-extension1 (= 1.12.7-1) but 1.12.7-1ubuntu0.1 is to be installed
E: Unable to correct problems, you have held broken packages.
Any idea how I resolve this issue ? (What's the difference between 1.12.7-1 and 1.12.7-1ubuntu0.1 ?)
Attempting to install trisquel gives the following error:
$ apt install trisquel
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package trisquel
Ok I did the following to get caja installed:
apt install caja-common=1.12.7-1
apt install libcaja-extension1=1.12.7-1
apt install caja
and my file manager is now working again
Still have no idea why it seemed to be looking for 1.12.7-1ubuntu0.1 version - though it new about this version of caja-common and libcaja-extension1 it did not know about caja 1.12.7-1ubuntu0.1
That's strange, but glad you got it working! Looks like maybe you've added some new ubuntu repository to your sources.list? Maybe added a Ubuntu PPA repository? Might want to check which repos you have enabled and what they are doing. Disable any that you don't need for normal Trisquel updating.