[Solved] Did I just fatally break my system?
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
[Solved] Did I just fatally break my system?
I've been running Mint 17.3 Mate quite happily for a couple of years. (dual boot with WinXP) Today I got the bright idea to try a new email client (Trojita). And there the fun begins.
Trojita did not appear to be available in the repositories in Synaptic, so I followed the instructions on their website to add the repository with APT at the CLI and install that way. Not sure if I chose the wrong pkg option, but the repository failed to update correctly and of course I was unable to download Trojita.
After that, Synaptic wouldn't even open - when starting up, it kept saying that the repository I'd added with APT was bad, then it crashed/closed. Restarting Linux didn't help. If I had Googled the issue at this point, I would have known to just go to the repository directory and delete the one I'd added for Trojita.
Instead, I decided that I'd broken Synaptic. So I went back to the terminal and used APT to uninstall Synaptic, then reinstall it. I was able to do this, but it looked like APT uninstalled a WHOLE LOT more than just Synaptic. Synaptic is possibly once again working correctly, but the rest of the desktop is really broken:
1. alt-tab doesn't switch between open windows
2. some programs don't have the control buttons (min, max, close), and on the ones that do, they're not functioning
3. The window list is missing on the panel, so I'm unable to switch between open programs with the Task Switcher by clicking icons (so basically I cannot switch between open programs)
4. The software updater was missing; I was able to reinstall it with Synaptic, but not sure if it's working correctly
5. I can't even close programs (with Alt-F4), or with the program menus.
6. When booting, Mint appears to boot to some other (default?) login window than I'm used to seeing.
No telling what else is broken; the above is just what I've found so far. Would it help to reinstall the Mate desktop in Synaptic, or at this point, should I just do a complete reinstall of Mint? I've already copied my data over to a Win partition in preparation for this (I know, still risky), but I'd like to avoid a total reinstall if necessary. Hate to have to redo all of the tweaks that I've done since the original install.
Trojita did not appear to be available in the repositories in Synaptic, so I followed the instructions on their website to add the repository with APT at the CLI and install that way. Not sure if I chose the wrong pkg option, but the repository failed to update correctly and of course I was unable to download Trojita.
After that, Synaptic wouldn't even open - when starting up, it kept saying that the repository I'd added with APT was bad, then it crashed/closed. Restarting Linux didn't help. If I had Googled the issue at this point, I would have known to just go to the repository directory and delete the one I'd added for Trojita.
Instead, I decided that I'd broken Synaptic. So I went back to the terminal and used APT to uninstall Synaptic, then reinstall it. I was able to do this, but it looked like APT uninstalled a WHOLE LOT more than just Synaptic. Synaptic is possibly once again working correctly, but the rest of the desktop is really broken:
1. alt-tab doesn't switch between open windows
2. some programs don't have the control buttons (min, max, close), and on the ones that do, they're not functioning
3. The window list is missing on the panel, so I'm unable to switch between open programs with the Task Switcher by clicking icons (so basically I cannot switch between open programs)
4. The software updater was missing; I was able to reinstall it with Synaptic, but not sure if it's working correctly
5. I can't even close programs (with Alt-F4), or with the program menus.
6. When booting, Mint appears to boot to some other (default?) login window than I'm used to seeing.
No telling what else is broken; the above is just what I've found so far. Would it help to reinstall the Mate desktop in Synaptic, or at this point, should I just do a complete reinstall of Mint? I've already copied my data over to a Win partition in preparation for this (I know, still risky), but I'd like to avoid a total reinstall if necessary. Hate to have to redo all of the tweaks that I've done since the original install.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Did I just fatally break my system?
I had to leave for work, but I will do that when I get home later tonight. Thanks.WharfRat wrote:Can you paste backinxi -r
Re: Did I just fatally break my system?
It's a challenge trying to get this done with a broken system, but I believe the text below is what you were asking for.
Code: Select all
[1;34mRepos: [0;37m [1;34mActive apt sources in file:[0;37m /etc/apt/sources.list.d/additional-repositories.list[0;37m
[1;34m [0;37m deb http://liveusb.info/multisystem/depot all main[0;37m
[1;34m [0;37m [1;34mActive apt sources in file:[0;37m /etc/apt/sources.list.d/danielrichter2007-grub-customizer-trusty.list[0;37m
[1;34m [0;37m deb http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu trusty main[0;37m
[1;34m [0;37m [0;37mdeb-src http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu trusty main[0;37m
[1;34m [0;37m [1;34mActive apt sources in file:[0;37m /etc/apt/sources.list.d/official-package-repositories.list[0;37m
[1;34m [0;37m deb http://reflection.oss.ou.edu/linuxmint/repos rosa main upstream import[0;37m
[1;34m [0;37m [0;37mdeb http://extra.linuxmint.com rosa main[0;37m
[1;34m [0;37m [0;37mdeb http://ftp.utexas.edu/ubuntu trusty main restricted universe multiverse[0;37m
[1;34m [0;37m [0;37mdeb http://ftp.utexas.edu/ubuntu trusty-updates main restricted universe multiverse[0;37m
[1;34m [0;37m [0;37mdeb http://security.ubuntu.com/ubuntu/ trusty-security main restricted universe multiverse[0;37m
[1;34m [0;37m [0;37mdeb http://archive.canonical.com/ubuntu/ trusty partner[0;37m
[0m
Re: Did I just fatally break my system?
You shouldn't be getting junk like [1;34m [0;37m before the text
I'm running 18.2 so I'm not sure if your version has /var/log/apt/history.log and /var/log/apt/term.log which can tell you what exactly happened when you uninstalled/reinstalled Synaptic.
I'm running 18.2 so I'm not sure if your version has /var/log/apt/history.log and /var/log/apt/term.log which can tell you what exactly happened when you uninstalled/reinstalled Synaptic.
To be honest from your explanation of problems and that output I just saw, reinstalling would probably be quicker than running everything down.No telling what else is broken; the above is just what I've found so far. Would it help to reinstall the Mate desktop in Synaptic, or at this point, should I just do a complete reinstall of Mint?
Re: Did I just fatally break my system?
You might be right. I just found the APT history.log. Here's the list of stuff that appears to have been removed:
Start-Date: 2017-11-11 10:58:07
Commandline: apt-get remove synaptic
Remove: apturl:amd64 (0.4.1ubuntu4.1mint3), mint-artwork-gnome:amd64 (2.6.42), mint-meta-core:amd64 (2015.12.21), mintwelcome:amd64 (2.1.6), mint-common:amd64 (1.2.0), mintmenu:amd64 (5.6.6), mintlocale:amd64 (1.3.1), mintnanny:amd64 (1.4., mint-artwork-common:amd64 (1.8.9.1), mintdesktop:amd64 (3.4.6), mintsystem:amd64 (8.1.6+1), mintupload:amd64 (4.0.2), ubuntu-system-adjustments:amd64 (2015.11.26), mintupdate:amd64 (4.9.9.1), mint-meta-mate:amd64 (2015.12.21), synaptic:amd64 (0.81.2-4), mintinstall:amd64 (7.6.3), mintsources:amd64 (1.5.2)
End-Date: 2017-11-11 10:59:17
Why in the world was all that stuff deleted when all I asked was to remove Synaptic?!?
Start-Date: 2017-11-11 10:58:07
Commandline: apt-get remove synaptic
Remove: apturl:amd64 (0.4.1ubuntu4.1mint3), mint-artwork-gnome:amd64 (2.6.42), mint-meta-core:amd64 (2015.12.21), mintwelcome:amd64 (2.1.6), mint-common:amd64 (1.2.0), mintmenu:amd64 (5.6.6), mintlocale:amd64 (1.3.1), mintnanny:amd64 (1.4., mint-artwork-common:amd64 (1.8.9.1), mintdesktop:amd64 (3.4.6), mintsystem:amd64 (8.1.6+1), mintupload:amd64 (4.0.2), ubuntu-system-adjustments:amd64 (2015.11.26), mintupdate:amd64 (4.9.9.1), mint-meta-mate:amd64 (2015.12.21), synaptic:amd64 (0.81.2-4), mintinstall:amd64 (7.6.3), mintsources:amd64 (1.5.2)
End-Date: 2017-11-11 10:59:17
Why in the world was all that stuff deleted when all I asked was to remove Synaptic?!?
Re: Did I just fatally break my system?
If youWharfRat wrote:You shouldn't be getting junk like [1;34m [0;37m before the text
Code: Select all
inxi -r > filename
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
Your data and OS are backed up....right?
Re: Did I just fatally break my system?
Hi "tc2016",
I just read your post and the good replies to it. Here are my thoughts on this as well.
As long as your system is still running, then it is probably not fatally broken.
You do need to clean up the software sources and remove bad ones. Usually you can remove the last package(s) you recently installed. Can you provide the instructions you used for installing "trojita"? You can type "history" at the command prompt.
Why would you remove the "Synaptic Package Manager (SPM)"? Re-install it.
Out of curiosity, why "trojita" (only "imap", can't use "pop3") versus "Dekko" (both pop3 and imap), apparently both have GPG encryption options?
These are the instructions I found, including easy to install "deb" files at the bottom under "Grab binary packages directly". Keeping in mind, that Linux Mint 17.x is based on Ubuntu 14.04 Trusty and Linux Mint 18.x on Ubuntu 16.04 Xenial.
https://software.opensuse.org/download. ... ge=trojita
Trojita Is a Super Fast Desktop Email Client for Linux, Feb 22, 2017
http://www.omgubuntu.co.uk/2017/02/inst ... app-ubuntu
FYI: In addition to "trojita", here are some other newer email clients
How to Install Dekko Email Client on Ubuntu Desktop, Jan, 2017
http://www.omgubuntu.co.uk/2017/01/inst ... l-app-snap
Mailspring is a Powerful New (Semi Open Source) Email App, Oct, 2017
http://www.omgubuntu.co.uk/2017/10/mail ... k-released
Hope this helps ...
I just read your post and the good replies to it. Here are my thoughts on this as well.
As long as your system is still running, then it is probably not fatally broken.
You do need to clean up the software sources and remove bad ones. Usually you can remove the last package(s) you recently installed. Can you provide the instructions you used for installing "trojita"? You can type "history" at the command prompt.
Why would you remove the "Synaptic Package Manager (SPM)"? Re-install it.
Code: Select all
sudo apt-get install synaptic
Out of curiosity, why "trojita" (only "imap", can't use "pop3") versus "Dekko" (both pop3 and imap), apparently both have GPG encryption options?
These are the instructions I found, including easy to install "deb" files at the bottom under "Grab binary packages directly". Keeping in mind, that Linux Mint 17.x is based on Ubuntu 14.04 Trusty and Linux Mint 18.x on Ubuntu 16.04 Xenial.
https://software.opensuse.org/download. ... ge=trojita
Trojita Is a Super Fast Desktop Email Client for Linux, Feb 22, 2017
http://www.omgubuntu.co.uk/2017/02/inst ... app-ubuntu
FYI: In addition to "trojita", here are some other newer email clients
How to Install Dekko Email Client on Ubuntu Desktop, Jan, 2017
http://www.omgubuntu.co.uk/2017/01/inst ... l-app-snap
Mailspring is a Powerful New (Semi Open Source) Email App, Oct, 2017
http://www.omgubuntu.co.uk/2017/10/mail ... k-released
Hope this helps ...
Phd21: Mint 20 Cinnamon & KDE Neon 64-bit Awesome OS's, Dell Inspiron I5 7000 (7573, quad core i5-8250U ) 2 in 1 touch screen
Re: Did I just fatally break my system?
Anytime a program is removed, there are sometimes others that are affected. Just to show you, while in Synaptic Package Manager, I marked synaptic to be removed and this warning pops up:tc2016 wrote:...
Why in the world was all that stuff deleted when all I asked was to remove Synaptic?!?
So, IMHO, in the future, be careful about blindly uninstalling things.
Re: Did I just fatally break my system?
The instructions I used are:phd21 wrote:Hi "tc2016",
You do need to clean up the software sources and remove bad ones. Usually you can remove the last package(s) you recently installed. Can you provide the instructions you used for installing "trojita"? You can type "history" at the command prompt.
Why would you remove the "Synaptic Package Manager (SPM)"? Re-install it.Out of curiosity, why "trojita" (only "imap", can't use "pop3") versus "Dekko" (both pop3 and imap), apparently both have GPG encryption options?Code: Select all
sudo apt-get install synaptic
Hope this helps ...
Code: Select all
sudo sh -c "echo 'deb http://download.opensuse.org/repositories/home:/jkt-gentoo:/trojita/xUbuntu_16.04/ /' > /etc/apt/sources.list.d/trojita.list"
sudo apt-get update
sudo apt-get install trojita
As I had mentioned, I figured Synaptic was broken because it kept crashing every time I tried to start it, after I acknowledged the popup about the bad repository. I know some programs have a lot of dependencies & related stuff, but I never thought it would go that deep just for a package manager. Wrong!
Finally, Trojita looked interesting because it looks like a fast way to check/manage the three main email accounts I use, and imap is the most efficient way to do that. If there was something I wanted to retain, I would start up Thunderbird, but more often I could just need something fast to check & delete stuff.
Re: Did I just fatally break my system?
Here's a Hail Mary attempt to restore your system
If install doesn't work try sudo apt-get install --reinstall
Code: Select all
sudo apt-get install apturl:amd64 mint-artwork-gnome:amd64 \
mint-meta-core:amd64 mintwelcome:amd64 mint-common:amd64 \
mintmenu:amd64 mintlocale:amd64 mintnanny:amd64 \
mint-artwork-common:amd64 mintdesktop:amd64 \
mintsystem:amd64 mintupload:amd64 \
ubuntu-system-adjustments:amd64 \
mintupdate:amd64 mint-meta-mate:amd64 \
synaptic:amd64 mintinstall:amd64 mintsources:amd64
Re: Did I just fatally break my system?
WharfRat & JerryF: Based on your comments, I think that I may have just fixed things. I located the history.log file, then went back to the prompt and used APT to reinstall every pkg that was listed as having been removed yesterday with Synaptic. After a reboot, things appear to be back to normal now. I'm going to test it for a couple of days, but I may be able to mark this thread solved.WharfRat wrote: I'm running 18.2 so I'm not sure if your version has /var/log/apt/history.log and /var/log/apt/term.log which can tell you what exactly happened when you uninstalled/reinstalled Synaptic.
To be honest from your explanation of problems and that output I just saw, reinstalling would probably be quicker than running everything down.
Thanks for all the comments. Quite helpful, as always.
Re: Did I just fatally break my system?
Even though things appear to be back to normal now, I went ahead an ran your code, just in case. And it looks like I did, in fact, miss one package.WharfRat wrote:Here's a Hail Mary attempt to restore your system
If install doesn't work try sudo apt-get install --reinstall
I'm going to take a chance and go ahead & mark the post Solved. This was *much* better than a complete reinstall from scratch.
Thanks again!
Re: [Solved] Did I just fatally break my system?
If you run
inxi -r
now, does it look like mine Code: Select all
[bill@XPS] ~/script $ inxi -r
Repos: Active apt sources in file: /etc/apt/sources.list.d/official-package-repositories.list
deb http://packages.linuxmint.com sonya main upstream import backport
deb http://archive.ubuntu.com/ubuntu xenial main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu xenial-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu xenial-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ xenial-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu/ xenial partner
Active apt sources in file: /etc/apt/sources.list.d/official-source-repositories.list
deb-src http://packages.linuxmint.com sonya main upstream import backport
deb-src http://archive.ubuntu.com/ubuntu xenial main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu xenial-updates main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu xenial-backports main restricted universe multiverse
deb-src http://security.ubuntu.com/ubuntu/ xenial-security main restricted universe multiverse
deb-src http://archive.canonical.com/ubuntu/ xenial partner
[bill@XPS] ~/script $
Re: [Solved] Did I just fatally break my system?
Kind of:WharfRat wrote:If you runinxi -r
now, does it look like mine
Code: Select all
[bill@XPS] ~/script $ inxi -r Repos: Active apt sources in file: /etc/apt/sources.list.d/official-package-repositories.list [bill@XPS] ~/script $
Code: Select all
Active apt sources in file: /etc/apt/sources.list.d/additional-repositories.list
deb http://liveusb.info/multisystem/depot all main
Active apt sources in file: /etc/apt/sources.list.d/danielrichter2007-grub-customizer-trusty.list
deb http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu trusty main
deb-src http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu trusty main
Active apt sources in file: /etc/apt/sources.list.d/official-package-repositories.list
deb http://reflection.oss.ou.edu/linuxmint/repos rosa main upstream import
deb http://extra.linuxmint.com rosa main
deb http://ftp.utexas.edu/ubuntu trusty main restricted universe multiverse
deb http://ftp.utexas.edu/ubuntu trusty-updates main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ trusty-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu/ trusty partner
Re: Did I just fatally break my system?
As much as I'd love to take even some of the credit, WharfRat is the hero.tc2016 wrote:...
WharfRat & JerryF: Based on your comments, I think that I may have just fixed things.
Re: Did I just fatally break my system?
Hi "tc2016",
Since you are using Linux Mint 17.3 based on Ubuntu 14.04, you should have used instructions for xUbuntu 14.04 not xUbuntu 16.04; sadly a common mistake when installing software outside of the Software Manager or Synaptic Package Manager (SPM). But it is easy to fix.
Re-install synaptic if you have not done so already.
Then, remove the incorrect (bad) software source (repository)
My quick Review: I just installed the "trojita" email into my Linux Mint KDE 18.2, and it works and it is fast and light on system resources. It is not as feature rich as Thunderbird or Kmail, and it does not have an account setup wizard that completed an email account setup; I had to manually add the incoming and outgoing mail server settings for my Gmail accounts. I also do not see any way to use GPG - PGP encryption.
Gmail setup instructions for email clients.
https://support.google.com/mail/answer/7126229?hl=en
I am going to try "Dekko" (snap package install may only be for Linux Mint 18.x?) and "mailspring" as well ...
Hope this helps ...
Not a mistake using the "xUbuntu", but a mistake in using the wrong repository instructions, and never a good idea to remove synaptic.tc2016 wrote:The instructions I used are:
Code: Select all
sudo sh -c "echo 'deb http://download.opensuse.org/repositories/home:/jkt-gentoo:/trojita/xUbuntu_16.04/ /' > /etc/apt/sources.list.d/trojita.list" sudo apt-get update sudo apt-get install trojita
Since you are using Linux Mint 17.3 based on Ubuntu 14.04, you should have used instructions for xUbuntu 14.04 not xUbuntu 16.04; sadly a common mistake when installing software outside of the Software Manager or Synaptic Package Manager (SPM). But it is easy to fix.
Re-install synaptic if you have not done so already.
Then, remove the incorrect (bad) software source (repository)
Code: Select all
sudo rm /etc/apt/sources.list.d/trojita.list
Linux Mint 17.x wrote:To install "trojita" email client in Linux Mint 17.x based on Ubuntu 14.04 Trusty, use these instructions. FYI: the "deb" file binaries would not install for me because of a missing dependency, but worked perfectly using their repository.
Code: Select all
sudo sh -c "echo 'deb http://download.opensuse.org/repositories/home:/jkt-gentoo:/trojita/xUbuntu_14.04/ /' > /etc/apt/sources.list.d/trojita.list"
Code: Select all
wget -nv https://download.opensuse.org/repositories/home:jkt-gentoo:trojita/xUbuntu_14.04/Release.key -O Release.key
Code: Select all
sudo apt-key add - < Release.key
Code: Select all
sudo apt-get update
To install this with their recommended packageCode: Select all
sudo apt-get install trojita
Code: Select all
sudo apt-get install trojita trojita-plugin-qtkeychain
Linux Mint 18.x wrote:To install "trojita" email client in Linux Mint 18.x based on Ubuntu 16.04 Xenial, use these instructions. FYI: the "deb" file binaries would not install for me because of a missing dependency, but worked perfectly using their repository.
Code: Select all
sudo sh -c "echo 'deb http://download.opensuse.org/repositories/home:/jkt-gentoo:/trojita/xUbuntu_16.04/ /' > /etc/apt/sources.list.d/trojita.list"
Code: Select all
wget -nv https://download.opensuse.org/repositories/home:jkt-gentoo:trojita/xUbuntu_16.04/Release.key -O Release.key
Code: Select all
sudo apt-key add - < Release.key
Code: Select all
sudo apt-get update
To install this with their recommended packageCode: Select all
sudo apt-get install trojita
Code: Select all
sudo apt-get install trojita trojita-plugin-qtkeychain
My quick Review: I just installed the "trojita" email into my Linux Mint KDE 18.2, and it works and it is fast and light on system resources. It is not as feature rich as Thunderbird or Kmail, and it does not have an account setup wizard that completed an email account setup; I had to manually add the incoming and outgoing mail server settings for my Gmail accounts. I also do not see any way to use GPG - PGP encryption.
Gmail setup instructions for email clients.
https://support.google.com/mail/answer/7126229?hl=en
I am going to try "Dekko" (snap package install may only be for Linux Mint 18.x?) and "mailspring" as well ...
Hope this helps ...
Last edited by phd21 on Sun Nov 12, 2017 1:38 pm, edited 1 time in total.
Phd21: Mint 20 Cinnamon & KDE Neon 64-bit Awesome OS's, Dell Inspiron I5 7000 (7573, quad core i5-8250U ) 2 in 1 touch screen
Re: Did I just fatally break my system?
Perhaps. But I used your screenshot to initially start reinstalling the missing pkgs. (which possibly shows how dumb I am, because I don't think you ever indicated that you were running the same version as me)JerryF wrote:tc2016 wrote:...
As much as I'd love to take even some of the credit, WharfRat is the hero.
Re: [Solved] Did I just fatally break my system?
phd21: I will take a look at those other email programs you mentioned before installing Trojita. Thanks for the suggestions.
Re: [Solved] Did I just fatally break my system?
tc2016,
Your inxi -r list looks normal now so that's good
It looks like installing those packages did the trick.
In the future do a simulated remove/purge before committing to it
Your inxi -r list looks normal now so that's good
It looks like installing those packages did the trick.
In the future do a simulated remove/purge before committing to it