I fudged up my Ubuntu and I'm unable to fix it
Hi!
First, I'm sorry for such a vague and undescriptive title – I'm not sure how to concisely describe this problem in just the handful of words that a title demands. I considered using "I dug a hole and can't get out", but that would be even less descriptive than the current one. This is probably because of a whole lot of errors and mistakes on my part over a long period of time, that has now accumulated. I'll give as much info as I can, and please let me know if I must provide anything more. I am on Ubuntu 18.04. Anyway: In my quest to be able to access my phone's files through Nautilus, I installed some MTP stuff, without success. One of the answers I found suggested I reinstall Nautilus. Well, I tried, but after a succesful uninstall, I'm unable to install it again. Code:
$ sudo apt install nautilus Code:
dpkg --get-selections | grep hold Then I tried to install a different file manager, namely Dolphin: Code:
$ sudo apt install dolphin Code:
ModuleNotFoundError: No module named 'apt_pkg' I've had a lot of problems with apt repos earlier, and with installing Python 3.8 (which I've now uninstalled again), so there might be some old dirt lying in the background here from my presumably poor patches. I don't know. I'm really most of all tempted to just backup my home folder to an external drive (which is going to be another adventure without a file manager...), and install a fresh OS. Does anyone here have any suggestions as to what to try next? I feel like I have googled all the error messages, and gotten absolutely nowhere. Right now this Python error with apt_pkg.so is a big roadblock, I feel. Words of consolation are also welcome. If you got all the way here to the end, thank you so much for reading, and thank you in advance for your suggestions! |
this page has the same nautilus unmet dependencies that you have. they claimed to be able to fix that situation by following the advice found here. if you choose to follow them as well, please take note of the beginning where you are shown how to back up some important configuration files just in case.
building on that, it would be helpful to figure out a backup method that would have helped you after uninstalling nautilus. timeshift is my preferred system restore method, but there are plenty to choose from. |
Quote:
For your consolation, I too use Ubuntu 18.04, Bionic Beaver, and it has served me very well. My problems have been minimal. Without knowing your full system information, it almost seems to me the apt repos' may be the problem and has corrupted your OS. Keep us informed and best of luck. greencedar |
I'd have to agree with the recommendation by greencedar. The system appears to be messed up beyond repair particularly for someone fairly new. Not sure what site would recommend removing the default file manager when you can't access files on a phone. I think you came to the game too late and if you had come here and asked about the problem of accessing files (on whatever type phone you have) it would have been a simpler problem to resolve.
I don't use Ubuntu regularly but do have an install of 18.04 and had no problem accessing file on an iphone so I'm not sure what happened in your case. You haven't indicated what type phone you are using. Since android is sort of Linux I would expect that to be easier to access if that's what you are using. And for future reference when you post, it's always a good idea to post a link to any tutorials you used so members here can take a look. Many members here with very comprehensive knowledge of Linux/computers in general. Good luck. |
Even if you get it working, there are probably going to be things lurking around that will cause a future upgrade to fail in some unknown manner.
When you are in a hole - stop digging! |
All times are GMT -5. The time now is 01:10 PM. |