Removing firefox ruined (some elements of) the UI

New to Debian (Or Linux in general)? Ask your questions here!

Removing firefox ruined (some elements of) the UI

Postby shinichisan » 2018-02-19 18:11

Hello! This is what happened, I wanted to erase firefox esr from a default debian9 installation:

by using sudo apt-get purge firefox. Now it didn't erase firefox but notified me that there were some packages which were not needed, and if I wanted to delete them. I naturally pressed Y (thinking it was in relation to firefox, but in the end it wasn't :cry: ) and everything went normally until I opened the Software center and the terminal, I noticed some elements from the UI were missing.
Here's a picture (I couldn't upload as attachments)
https://imgur.com/a/gGZyx

Look at how the tool menu on the Terminal is all cramped and how the Screenshot menu is lacking some circles (and other thingies) around the options when Arc theme is selected, It is not possible to see the volume slider as well in the first picture. This wasn't like this before I deleted all those packages via the terminal.

The arc-theme is dependent on gtk2-murrine so I went onto Synaptic Package Manager and marked them for complete removal, then I restarted the system and installed gtk2 and arc theme again but the problem persists. I don't have any "Broken packages" apparently.

Please help me out! I know this is silly but I don't want to have to reinstall again (I already had to i the past due to my own clumsiness...), I swear I will try not to remove firefox again, I promise! I will be truly grateful for your help.
shinichisan
 
Posts: 3
Joined: 2018-02-19 18:00

Re: Removing firefox ruined (some elements of) the UI

Postby debiman » 2018-02-19 18:24

have a look at what was uninstalled, there's an apt history file in /var/log/apt.
it has timestamps, so you can see exactly what happened.
re-install all these files.
reboot.

lesson learned: when it asks "are you sure [Y/n]?", read before pressing enter.
User avatar
debiman
 
Posts: 2809
Joined: 2013-03-12 07:18

Re: Removing firefox ruined (some elements of) the UI

Postby shinichisan » 2018-02-20 02:58

debiman wrote:have a look at what was uninstalled, there's an apt history file in /var/log/apt.
it has timestamps, so you can see exactly what happened.
re-install all these files.
reboot.

lesson learned: when it asks "are you sure [Y/n]?", read before pressing enter.


Hey! thanks for your reply. I did just as you said. Installed all that was removed, restarted, then deleted gt2k and arc, restarted, installed gtk2, restarted and then arc-theme, and it still happens :cry:
For what it's worth, I used the apt autoremove command when deleting firefox. Any clues?
shinichisan
 
Posts: 3
Joined: 2018-02-19 18:00

Re: Removing firefox ruined (some elements of) the UI

Postby Head_on_a_Stick » 2018-02-20 06:59

Reinstall your desktop with
Code: Select all
# aptitude reinstall task-gnome-desktop

Then read this link:

viewtopic.php?f=16&t=104157
ESTRAGON: We always find something, eh, Didi, to give us the impression we exist?
VLADIMIR (impatiently): Yes, yes, we're magicians.
User avatar
Head_on_a_Stick
 
Posts: 7893
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Removing firefox ruined (some elements of) the UI

Postby shinichisan » 2018-02-20 15:51

Thank you very much! That did it! (I also had to reinstall xfce4 via the terminal). I've read the article thoroughly, very interesting indeed... I should have read it before trying to manage Debian like its Windows :lol: :lol:
Thank you very much, you saved me a lot of trouble. I wish I had known of this last time I had to reinstall for similar reasons :cry: :lol: :lol:
shinichisan
 
Posts: 3
Joined: 2018-02-19 18:00

Re: Removing firefox ruined (some elements of) the UI

Postby sunrat » 2018-02-20 20:52

shinichisan wrote:For what it's worth, I used the apt autoremove command when deleting firefox. Any clues?

Autoremove is not as auto as it pretends. Don't trust it implicitly, always double check what it proposes to do.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!
User avatar
sunrat
 
Posts: 2428
Joined: 2006-08-29 09:12
Location: Melbourne, Australia


Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 2 guests

fashionable