Have I made a mess while trying to uninstall mono?

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Post Reply
linux_rules
Level 3
Level 3
Posts: 153
Joined: Sun Apr 24, 2011 1:51 am
Contact:

Have I made a mess while trying to uninstall mono?

Post by linux_rules » Sat Feb 17, 2018 1:28 pm

https://sites.google.com/site/easylinux ... your-Linux

I followed the above tutorial to uninstall mono,

This is what happened

Code: Select all

$ sudo apt-get remove mono-runtime-common
[sudo] password for lts: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  bbswitch-dkms libjansson4 screen-resolution-extra
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  libappindicator0.1-cil libdbus-glib2.0-cil libdbus2.0-cil libgconf2.0-cil
  libglib2.0-cil libgmime2.6-cil libgtk2.0-cil libmono-addins-gui0.2-cil
  libmono-addins0.2-cil libmono-cairo4.0-cil libmono-corlib4.5-cil
  libmono-i18n-west4.0-cil libmono-i18n4.0-cil libmono-posix4.0-cil
  libmono-security4.0-cil libmono-sharpzip4.84-cil
  libmono-system-configuration4.0-cil libmono-system-core4.0-cil
  libmono-system-drawing4.0-cil libmono-system-security4.0-cil
  libmono-system-xml4.0-cil libmono-system4.0-cil mono-4.0-gac mono-gac
  mono-runtime mono-runtime-common mono-runtime-sgen tomboy
0 upgraded, 0 newly installed, 28 to remove and 0 not upgraded.
After this operation, 31.4 MB disk space will be freed.
Do you want to continue? [Y/n] 
(Reading database ... 256925 files and directories currently installed.)
Removing tomboy (1.15.4-0ubuntu3) ...
Removing libappindicator0.1-cil (12.10.1+16.04.20170215-0ubuntu1) ...
Removing libappindicator0.1-cil from Mono
Removing libdbus-glib2.0-cil (0.6.0-1build1) ...
Removing libdbus-glib2.0-cil from Mono
Removing libdbus2.0-cil (0.8.1-2) ...
Removing libdbus2.0-cil from Mono
Removing libgconf2.0-cil (2.24.2-4) ...
Removing libgconf2.0-cil from Mono
Removing libmono-addins-gui0.2-cil (1.0+git20130406.adcd75b-4) ...
Removing libmono-addins-gui0.2-cil from Mono
Removing libgtk2.0-cil (2.12.10-6) ...
Removing libgtk2.0-cil from Mono
Removing libgmime2.6-cil (2.6.20-1) ...
Removing libgmime2.6-cil from Mono
Removing libmono-addins0.2-cil (1.0+git20130406.adcd75b-4) ...
Removing libmono-addins0.2-cil from Mono
Removing libmono-cairo4.0-cil (4.2.1.102+dfsg2-7ubuntu4) ...
Removing libmono-i18n-west4.0-cil (4.2.1.102+dfsg2-7ubuntu4) ...
Removing libmono-i18n4.0-cil (4.2.1.102+dfsg2-7ubuntu4) ...
Removing libmono-system-core4.0-cil (4.2.1.102+dfsg2-7ubuntu4) ...
Removing libmono-posix4.0-cil (4.2.1.102+dfsg2-7ubuntu4) ...
Removing libmono-sharpzip4.84-cil (4.2.1.102+dfsg2-7ubuntu4) ...
Removing libmono-system-drawing4.0-cil (4.2.1.102+dfsg2-7ubuntu4) ...
Removing libglib2.0-cil (2.12.10-6) ...
Removing libglib2.0-cil from Mono
Removing libmono-system-configuration4.0-cil (4.2.1.102+dfsg2-7ubuntu4) ...
Removing libmono-system-security4.0-cil (4.2.1.102+dfsg2-7ubuntu4) ...
Removing libmono-system4.0-cil (4.2.1.102+dfsg2-7ubuntu4) ...
Removing libmono-system-xml4.0-cil (4.2.1.102+dfsg2-7ubuntu4) ...
Removing libmono-corlib4.5-cil (4.2.1.102+dfsg2-7ubuntu4) ...
Removing mono-runtime (4.2.1.102+dfsg2-7ubuntu4) ...
Removing mono-runtime-sgen (4.2.1.102+dfsg2-7ubuntu4) ...
Removing mono-runtime-common (4.2.1.102+dfsg2-7ubuntu4) ...
update-binfmts: warning: no executable /usr/bin/cli found, but continuing anyway as you request
Removing mono-gac (4.2.1.102+dfsg2-7ubuntu4) ...
* Removing packages from mono
* Removing packages from mono's framework paths
Removing mono-4.0-gac (4.2.1.102+dfsg2-7ubuntu4) ...
Removing libmono-security4.0-cil (4.2.1.102+dfsg2-7ubuntu4) ...
dpkg: warning: while removing libmono-security4.0-cil, directory '/usr/lib/mono' not empty so not removed
Processing triggers for desktop-file-utils (0.22-1ubuntu5.1) ...
Processing triggers for mime-support (3.59ubuntu1) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for shared-mime-info (1.5-2ubuntu0.1) ...
Processing triggers for gconf2 (3.2.6-3ubuntu6) ...
Processing triggers for hicolor-icon-theme (0.15-0ubuntu1) ...
Processing triggers for libc-bin (2.23-0ubuntu10) ...

Then without paying much attention I did this

Code: Select all

$ sudo apt-get autoremove 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  bbswitch-dkms libjansson4 screen-resolution-extra
0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded.
After this operation, 233 kB disk space will be freed.
Do you want to continue? [Y/n] 
(Reading database ... 255282 files and directories currently installed.)
Removing bbswitch-dkms (0.8-3ubuntu1) ...

-------- Uninstall Beginning --------
Module:  bbswitch
Version: 0.8
Kernel:  4.4.0-112-generic (x86_64)
-------------------------------------

Status: Before uninstall, this module version was ACTIVE on this kernel.

bbswitch.ko:
 - Uninstallation
   - Deleting from: /lib/modules/4.4.0-112-generic/kernel/drivers/acpi/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

depmod....

DKMS: uninstall completed.

------------------------------
Deleting module version: 0.8
completely from the DKMS tree.
------------------------------
Done.
Removing libjansson4:amd64 (2.7-3) ...
Removing screen-resolution-extra (0.17.1) ...
Processing triggers for libc-bin (2.23-0ubuntu10) ...
Processing triggers for dbus (1.10.6-1ubuntu3.3) ...
I haven't rebooted yet yet. So If there is any damage done can I undo it ?

Using MInt 18.1

User avatar
thx-1138
Level 5
Level 5
Posts: 746
Joined: Fri Mar 10, 2017 12:15 pm
Location: Athens, Greece

Re: Have I made a mess while trying to uninstall mono?

Post by thx-1138 » Sat Feb 17, 2018 1:34 pm

Nope, you haven't messed it up. If you somehow find that you need the 3 aformentioned packages, you can simply re-install them:
sudo apt-get install bbswitch-dkms libjansson4 screen-resolution-extra

Edit (to explain): autoremove gets rid off packages which were installed as dependencies for other packages, yet the original / 'main' package has already been removed. Eg. for example, plug-ins or 'secondary' helper libraries & such. So no worries there (you already had removed the main program, chances are you won't need it's supporting libs / supplementary smaller apps), but it's generally a safer practice of taking a note of them and not blindly mass-autoremoving them...
Last edited by thx-1138 on Sat Feb 17, 2018 1:43 pm, edited 1 time in total.

DAMIEN1307
Level 5
Level 5
Posts: 570
Joined: Tue Feb 21, 2017 8:13 pm

Re: Have I made a mess while trying to uninstall mono?

Post by DAMIEN1307 » Sat Feb 17, 2018 1:35 pm

your posting on removing mono looks ok to me thus far...i would go ahead and re-boot...if you find you need mono again just do this...DAMIEN

sudo apt-get install mono-runtime-common

if you need just the other pkgs...just do what thx-1138 has posted

linux_rules
Level 3
Level 3
Posts: 153
Joined: Sun Apr 24, 2011 1:51 am
Contact:

Re: Have I made a mess while trying to uninstall mono?

Post by linux_rules » Sat Feb 17, 2018 1:38 pm

Just rebooted. No damage done. Thanks to both,

User avatar
Pjotr
Level 20
Level 20
Posts: 10214
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland)
Contact:

Re: Have I made a mess while trying to uninstall mono?

Post by Pjotr » Sat Feb 17, 2018 1:39 pm

All is well. The only application you've lost besides what's already mentioned, is the small notes application Tomboy. Which can be replaced by the fine non-Mono based notes application Xpad.
Tip: 10 things to do after installing Linux Mint 19 Tara
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.

User avatar
thx-1138
Level 5
Level 5
Posts: 746
Joined: Fri Mar 10, 2017 12:15 pm
Location: Athens, Greece

Re: Have I made a mess while trying to uninstall mono?

Post by thx-1138 » Sat Feb 17, 2018 1:46 pm

Pjotr wrote:
Sat Feb 17, 2018 1:39 pm
Which can be replaced by the fine non-Mono based notes application Xpad.
Pjotr, soon! -> https://wiki.gnome.org/Apps/Tomboy/tomboy-ng
Good ole Pascal, no Mono :-)

linux_rules
Level 3
Level 3
Posts: 153
Joined: Sun Apr 24, 2011 1:51 am
Contact:

Re: Have I made a mess while trying to uninstall mono?

Post by linux_rules » Sat Feb 17, 2018 1:50 pm

Pjotr wrote:
Sat Feb 17, 2018 1:39 pm
All is well. The only application you've lost besides what's already mentioned, is the small notes application Tomboy. Which can be replaced by the fine non-Mono based notes application Xpad.
Before installing Mint I was using xfce4-notes under Xubuntu

Can I use it in Mint ? I just checked and it seems it doesnt require mono

Also I have my old home (Xubuntu) with the hidden config files I searched for xfce4-notes

there but couldn't find it.I want to restore my old notes. Can you tell me the location of

the xfce4-notes config file ?


Code: Select all

$ sudo apt-get install xfce4-notes
[sudo] password for lts: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  libxfce4ui-1-0 libxfce4ui-common libxfce4util-common libxfce4util7
  libxfconf-0-2 xfconf
Suggested packages:
  devhelp
Recommended packages:
  libxfce4util-bin
The following NEW packages will be installed:
  libxfce4ui-1-0 libxfce4ui-common libxfce4util-common libxfce4util7
  libxfconf-0-2 xfce4-notes xfconf
0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded.
Need to get 490 kB of archives.
After this operation, 4,782 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Mint 18.1
Intel(R) Core(TM) i3-6100 CPU
Ram 4GB
GeForce GTX 650

MrEen
Level 5
Level 5
Posts: 674
Joined: Mon Jun 12, 2017 8:39 pm

Re: Have I made a mess while trying to uninstall mono?

Post by MrEen » Sat Feb 17, 2018 2:04 pm

Your old notes might be .local/share/

linux_rules
Level 3
Level 3
Posts: 153
Joined: Sun Apr 24, 2011 1:51 am
Contact:

Re: Have I made a mess while trying to uninstall mono?

Post by linux_rules » Sat Feb 17, 2018 2:10 pm

MrEen wrote:
Sat Feb 17, 2018 2:04 pm
Your old notes might be .local/share/
No they are not in .local/share but I guess I have found them

xfce4_013.png
As you can see there are multiple files I dont know which (or all) one I should copy.
Mint 18.1
Intel(R) Core(TM) i3-6100 CPU
Ram 4GB
GeForce GTX 650

MrEen
Level 5
Level 5
Posts: 674
Joined: Mon Jun 12, 2017 8:39 pm

Re: Have I made a mess while trying to uninstall mono?

Post by MrEen » Sat Feb 17, 2018 2:15 pm

You can open them with your text editor and see if they are your old notes. I'd start with the files with the extra random letters at the end of the file name.

User avatar
Pjotr
Level 20
Level 20
Posts: 10214
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland)
Contact:

Re: Have I made a mess while trying to uninstall mono?

Post by Pjotr » Sat Feb 17, 2018 2:17 pm

thx-1138 wrote:
Sat Feb 17, 2018 1:46 pm
Pjotr wrote:
Sat Feb 17, 2018 1:39 pm
Which can be replaced by the fine non-Mono based notes application Xpad.
Pjotr, soon! -> https://wiki.gnome.org/Apps/Tomboy/tomboy-ng
Good ole Pascal, no Mono :-)
Sounds promising. :)
Tip: 10 things to do after installing Linux Mint 19 Tara
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.

User avatar
Pjotr
Level 20
Level 20
Posts: 10214
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland)
Contact:

Re: Have I made a mess while trying to uninstall mono?

Post by Pjotr » Sat Feb 17, 2018 2:19 pm

linux_rules wrote:
Sat Feb 17, 2018 1:50 pm
Before installing Mint I was using xfce4-notes under Xubuntu

Can I use it in Mint ?
I only recommend that in the Xfce edition of Linux Mint. Not in Cinnamon or Mate.
Tip: 10 things to do after installing Linux Mint 19 Tara
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.

User avatar
trytip
Level 6
Level 6
Posts: 1450
Joined: Tue Jul 05, 2016 1:20 pm

Re: Have I made a mess while trying to uninstall mono?

Post by trytip » Sat Feb 17, 2018 2:24 pm

this would be a great time to start doing a timeshift snapshot before any update/upgrade. this way if something goes bad you can restore your handiwork :mrgreen:
Image

linux_rules
Level 3
Level 3
Posts: 153
Joined: Sun Apr 24, 2011 1:51 am
Contact:

Re: Have I made a mess while trying to uninstall mono?

Post by linux_rules » Sat Feb 17, 2018 2:28 pm

Pjotr wrote:
Sat Feb 17, 2018 2:19 pm
I only recommend that in the Xfce edition of Linux Mint. Not in Cinnamon or Mate.
Okay I wil use Xpad then. Thanks.
Mint 18.1
Intel(R) Core(TM) i3-6100 CPU
Ram 4GB
GeForce GTX 650

linux_rules
Level 3
Level 3
Posts: 153
Joined: Sun Apr 24, 2011 1:51 am
Contact:

Re: Have I made a mess while trying to uninstall mono?

Post by linux_rules » Thu Feb 22, 2018 6:50 am

Just did a kernel update and resolution is all messed up.

Did

Code: Select all

$ sudo apt-get install bbswitch-dkms libjansson4 screen-resolution-extra
and rebooted but same result.

How do I get back 1920 by 1080 ?
Mint 18.1
Intel(R) Core(TM) i3-6100 CPU
Ram 4GB
GeForce GTX 650

User avatar
Moem
Level 15
Level 15
Posts: 5882
Joined: Tue Nov 17, 2015 9:14 am
Location: The Netherlands
Contact:

Re: Have I made a mess while trying to uninstall mono?

Post by Moem » Thu Feb 22, 2018 6:59 am

Choose the previous kernel in GRUB and boot from that. Go into Update Manager and remove the non-suitable kernel.
Image

If your issue is solved, kindly indicate that by editing the first post in the topic, and adding [SOLVED] to the title. Thanks!

linux_rules
Level 3
Level 3
Posts: 153
Joined: Sun Apr 24, 2011 1:51 am
Contact:

Re: Have I made a mess while trying to uninstall mono?

Post by linux_rules » Thu Feb 22, 2018 7:02 am

Moem wrote:
Thu Feb 22, 2018 6:59 am
Choose the previous kernel in GRUB and boot from that. Go into Update Manager and remove the non-suitable kernel.
But this happened because I had previously removed
bbswitch-dkms libjansson4 screen-resolution-extra
What if I want to use the latest kernel ?

Should I reinstall Mint ?
Mint 18.1
Intel(R) Core(TM) i3-6100 CPU
Ram 4GB
GeForce GTX 650

linux_rules
Level 3
Level 3
Posts: 153
Joined: Sun Apr 24, 2011 1:51 am
Contact:

Re: Have I made a mess while trying to uninstall mono?

Post by linux_rules » Thu Feb 22, 2018 7:19 am

Fixed it by doing

Code: Select all

sudo apt-get purge nvidia*  

Code: Select all

sudo apt-get install nvidia-390 
Reboot
Mint 18.1
Intel(R) Core(TM) i3-6100 CPU
Ram 4GB
GeForce GTX 650

User avatar
Termy
Level 5
Level 5
Posts: 762
Joined: Mon Sep 04, 2017 8:49 pm
Location: UK
Contact:

Re: Have I made a mess while trying to uninstall mono?

Post by Termy » Thu Feb 22, 2018 1:12 pm

I'd have to agree that the installation seemed non-invasive. Good one removing mono; it's a security risk, I hear, and a bulky one at that. :roll:
Here to help.

I'm LearnLinux (LL) on YouTube: https://www.youtube.com/channel/UCfp-lN ... naEE6NtDSg
I'm also terminalforlife (TFL) on GitHub: https://github.com/terminalforlife

Post Reply

Return to “Newbie Questions”