Deleting Flat-Remix

I am trying to get rid of Flat-Remix-GTK, both themes and icons.
I have looked up in the internet but could not find how to.

I tried in the terminal
sudo add-apt-repository ppa:daniruiz/flat-remix -r

and then

sudo apt-get remove flat-remix-gnome
or
sudo apt-get remove flat-remix-gs-theme

with the same result:
Unable to locate package flat-remix-gnome
or
Unable to locate package flat-remix-gs-theme

I wonder if anybody could help me to get rid of the theme/icons. It did not install well but the fact is that I did not like what I got - neither the theme/themes nor the icons.

According to the github page, to install ...

sudo add-apt-repository ppa:daniruiz/flat-remix
sudo apt-get update
sudo apt-get install flat-remix-gtk

sudo apt-get remove flat-remix-gtk should work.

Yes, it should. But look at what I get:

lostados@lost-mac:~$ sudo apt-get remove flat-remix-gtk
[sudo] password for lostados:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package flat-remix-gtk
lostados@lost-mac:~$

Just tried it on a UM19.04 VM and was able to remove the package. See screenshot.

You mean, I should reinstall Flat-Remix and then remove it?

I didn't do
sudo add-apt-repository ppa:daniruiz/flat-remix
sudo apt-get update
sudo apt-get install flat-remix-gtk

only
sudo apt-get remove flat-remix-gtk

Give it a try, re-install, and then try to remove.

Did as you said, but it did not work. I still have Flat-Remix-GTK, Flat-Remix-GTK-Dark and Flat-Remix-GTK-Darker themes. And all the icons...

The package name seems to be flat-remix, so why don't you use sudo apt-get --purge remove flat-remix?

And then remove the PPA too: sudo add-apt-repository --remove ppa:daniruiz/flat-remix

Many thanks, Apollonius. I tried your suggestion and got:

lostados@lost-mac:~$ sudo apt-get --purge remove flat-remix
[sudo] password for lostados:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: The package flat-remix-gnome needs to be reinstalled, but I can't find an archive for it.

Will reinstall and let you know.

I reinstalled the ppa then Flat Remix. I got:

lostados@lost-mac:~$ sudo apt-get install flat-remix-gnome
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
flat-remix-gnome
1 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
1 not fully installed or removed.
Need to get 0 B/3.506 kB of archives.
After this operation, 39,6 MB of additional disk space will be used.
(Reading database ... 389725 files and directories currently installed.)
Preparing to unpack .../flat-remix-gnome_3.32.2-2_amd64.deb ...
Unpacking flat-remix-gnome (3.32.2-2) over (3.32.2-2) ...
dpkg: error processing archive /var/cache/apt/archives/flat-remix-gnome_3.32.2-2_amd64.deb (--unpack):
trying to overwrite '/usr/share/themes/Flat-Remix/gnome-shell/assets/calendar-arrow-left.svg', which is also in package flat-remix-themes 2.1-r1~cosmic~NoobsLab.com
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
update-alternatives: error: no alternatives for gdm3.css
dpkg: error while cleaning up:
new flat-remix-gnome package post-removal script subprocess returned error exit status 2
Errors were encountered while processing:
/var/cache/apt/archives/flat-remix-gnome_3.32.2-2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

When I tried to uninstall, I got:

lostados@lost-mac:~$ sudo apt-get --purge remove flat-remix
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
flat-remix-gnome
The following packages will be REMOVED:
flat-remix*
The following packages will be upgraded:
flat-remix-gnome
1 upgraded, 0 newly installed, 1 to remove and 1 not upgraded.
1 not fully installed or removed.
Need to get 0 B/3.506 kB of archives.
After this operation, 294 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 389725 files and directories currently installed.)
Preparing to unpack .../flat-remix-gnome_3.32.2-2_amd64.deb ...
Unpacking flat-remix-gnome (3.32.2-2) over (3.32.2-2) ...
dpkg: error processing archive /var/cache/apt/archives/flat-remix-gnome_3.32.2-2_amd64.deb (--unpack):
trying to overwrite '/usr/share/themes/Flat-Remix/gnome-shell/assets/calendar-arrow-left.svg', which is also in package flat-remix-themes 2.1-r1~cosmic~NoobsLab.com
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
update-alternatives: error: no alternatives for gdm3.css
dpkg: error while cleaning up:
new flat-remix-gnome package post-removal script subprocess returned error exit status 2
Errors were encountered while processing:
/var/cache/apt/archives/flat-remix-gnome_3.32.2-2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
lostados@lost-mac:~$

@lostados
A Tip: does not use PPAs harms the system.

How and from where did you install it in the first place? Because how you remove it will depend on that...

Always remember how you installed something so that you can remove it later if necessary, otherwise mess like this will happen.

It seems you installed it from a noobslab PPA. So try uninstalling that:
sudo apt-get --purge remove flat-remix-themes.
And then remove the PPA. See if that works.

Apollonius & pavlos_kairis,
Thank you very much. I think you were enormously patient with me and I did appreciate that. I am afraid I cannot say how the problem arose. I got the how-to-install from NoobsLab but cannot say what went wrong.
In the end I ran out patience and did a clean install of Ubuntu Mate 19.04. I hesitated a lot as the PC was running very, very smoothly. Lots of hard work but I think it was worthwhile: UM is now running even better. And faster...
Many thanks again.

1 Like

Always happy to help, don't mention it.
Couple of years ago I was also new to Linux and I've always found the communities very helpful whenever I needed them. I wouldn't be here trying to help you out if it wasn't for them...
If you want to enjoy working with and using Linux, you have to be patient; you have to search and research online to get to the root of your problem, it's always exciting and an amazing feeling when you solve your own problem!