Author Topic: [Solved] Application removal in synaptic, a quick question...  (Read 767 times)

Offline cdbc

  • Full Member
  • ***
  • Posts: 59
[Solved] Application removal in synaptic, a quick question...
« on: February 23, 2012, 02:19:55 AM »
Hello

In synaptic, when i want to remove an application, i get two choices: "Mark for removal" and "Mark for Complete removal"
What exactly is the difference between the two?!?

TIA Regards Benny
« Last Edit: February 24, 2012, 03:25:04 AM by cdbc »
Asus mb - P4@1.8 GHz - nVidia Vanta - d-link dx530 - onboard sound, running pclos-lxde,
Acer laptop - 2gigs of ram - running kde 4.8.3,
Lenovo laptop - db. core + 2 gigs of ram - running lxde

Offline aguila

  • Hero Member
  • *****
  • Posts: 1210
  • soaring high = no Windows here :-D
Re: Application removal in synaptic, a quick question...
« Reply #1 on: February 23, 2012, 02:45:36 AM »
Is that correct? I remember a threat by Crow (or was it ElCuervo?) where his kids had uninstalled a software using " mark for complete removal" and ended up with troubles because some libs had been removed that where used by other programs also.
All that is is good. PCLinuxOS is.

Thinkpad X61 Tablet, Core2Duo 1.66 MHz, 4 GB Ram, Intel onboard Graphics, Plextor PX-256M3 256 GB SSD; Thinkpad R61i, Core2Duo 1.66 MHz, 2 GB Ram, Intel onboard graphics, 120 GB HDD

Online Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10698
  • MLUs Forever!
Re: Application removal in synaptic, a quick question...
« Reply #2 on: February 23, 2012, 03:11:23 AM »
Is that correct? I remember a threat by Crow (or was it ElCuervo?) where his kids had uninstalled a software using " mark for complete removal" and ended up with troubles because some libs had been removed that where used by other programs also.

Something like this should only occur if those remaining packages were dependent on the removed libs, and their dependencies were not listed when the packages were built.

If the dependencies were listed then those other packages should also be removed ......  in other words, removing a lib through Synaptic should also remove any package dependent upon it.

In the case like you have recalled, it seems to me, there were some packages that were improperly built (dependencies not listed at build time).
MLUs rule the roost!

Linux XPS 3.4.38-pclos1.bfs  64 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline agmg

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1924
  • Certified Windows Hater
Re: Application removal in synaptic, a quick question...
« Reply #3 on: February 23, 2012, 03:49:14 AM »
Lets say you install a package that has some dependencies and you want to uninstall it afterwards, along with those dependencies.
Which is the best way to do that?
For the whole world, you are someone.
For someone, you are the whole world.

Offline rich2005

  • Sr. Member
  • ****
  • Posts: 257
Re: Application removal in synaptic, a quick question...
« Reply #4 on: February 23, 2012, 04:31:55 AM »
What I have done in the past is look at synaptic history and see what dependencies have been pulled in for that particular application.

Then go down the list and mark for uninstall.

Best not wait too long between installation and removal or there is a chance of screwing something else.

Offline agmg

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1924
  • Certified Windows Hater
Re: Application removal in synaptic, a quick question...
« Reply #5 on: February 23, 2012, 04:56:41 AM »
I'm talking about the case that you install a program, play with it for a while and decide that you no longer need or want it. I use that "history" feature too but wanted to know if there is an easier way to do this with Synaptic.

Is there a case that some libraries installed by a specific program can cause problems to another in the future? Won't there be a warning or sth if I try to remove anything useful?
For the whole world, you are someone.
For someone, you are the whole world.

Online kjpetrie

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 4003
Re: Application removal in synaptic, a quick question...
« Reply #6 on: February 23, 2012, 05:05:24 AM »
I don't think there's any difference between removal and complete removal with rpms. I think the two options have different meanings when Synaptic is used with debs in other distributions.

If you remove something important, you will know by the huge list of vital packages Synaptic will also want to remove. If a package is a dependency of something you want to keep, you will see a message asking you if you want to remove that something. In either case, just cancel.
-----------
KJP
-----------------------------------------------------------
PClos64 RC1 on Intel D945GCLF2 motherboard (Atom 330), 2GB DDR2 RAM, Maxtor STM325031, HL-DT-ST DVDRAM GSA-H42N, Amilo LSL 3220T monitor. Also Acer 5810TG (with custom kernel) and Asus eeePC 2G surf

Offline agmg

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1924
  • Certified Windows Hater
Re: Application removal in synaptic, a quick question...
« Reply #7 on: February 23, 2012, 05:13:20 AM »
Thank you both guys!  :)

But, complete removal doesn't uninstall libraries that were just installed along with a program. How can I completely revert such an installation, except using "history" and searching for those libraries manually?
« Last Edit: February 23, 2012, 05:20:01 AM by agmg »
For the whole world, you are someone.
For someone, you are the whole world.

Online Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10698
  • MLUs Forever!
Re: Application removal in synaptic, a quick question...
« Reply #8 on: February 23, 2012, 07:36:11 AM »
Thank you both guys!  :)

But, complete removal doesn't uninstall libraries that were just installed along with a program. How can I completely revert such an installation, except using "history" and searching for those libraries manually?

Only using the History as far as I am aware ...... when using Synaptic

Quote
Is there a case that some libraries installed by a specific program can cause problems to another in the future?

Anything is possible ......  but it is highly unlikely, particularly if you stick to installing packages only from the repository.

« Last Edit: February 23, 2012, 07:57:23 AM by Just18 »
MLUs rule the roost!

Linux XPS 3.4.38-pclos1.bfs  64 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline aguila

  • Hero Member
  • *****
  • Posts: 1210
  • soaring high = no Windows here :-D
Re: Application removal in synaptic, a quick question...
« Reply #9 on: February 23, 2012, 07:47:05 AM »
Sorry for starting this confusion here, but I sure have learned something.

There surely exist tools to scan for "orphaned" libraries, aren't there?

Reading the above as "if you want to remove a program and don't intend to reinstall it later, mark for complete removal is a safe option in PCLinuxOS."
All that is is good. PCLinuxOS is.

Thinkpad X61 Tablet, Core2Duo 1.66 MHz, 4 GB Ram, Intel onboard Graphics, Plextor PX-256M3 256 GB SSD; Thinkpad R61i, Core2Duo 1.66 MHz, 2 GB Ram, Intel onboard graphics, 120 GB HDD

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: Application removal in synaptic, a quick question...
« Reply #10 on: February 23, 2012, 08:16:38 AM »
There surely exist tools to scan for "orphaned" libraries, aren't there?


rpmorphan (not really useful):
http://www.pclinuxos.com/forum/index.php/topic,101756.msg866463.html#msg866463

AS

Offline cdbc

  • Full Member
  • ***
  • Posts: 59
Re: Application removal in synaptic, a quick question...
« Reply #11 on: February 24, 2012, 03:24:06 AM »
Thanks alot guys, for all your answers/opinions  ;)

Regards Benny
Asus mb - P4@1.8 GHz - nVidia Vanta - d-link dx530 - onboard sound, running pclos-lxde,
Acer laptop - 2gigs of ram - running kde 4.8.3,
Lenovo laptop - db. core + 2 gigs of ram - running lxde

Offline Xenaflux

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3834
Re: [Solved] Application removal in synaptic, a quick question...
« Reply #12 on: February 24, 2012, 05:22:20 AM »
Quote
The Mark for Complete Removal option instructs Synaptic to remove any configuration files associated with the package as well

Ahum...Ahum

Install Ktorrent....go to Settings/configure Ktorrent
Configure 10 settings
Then "Competely remove Ktorrent". This is supposed to remove ALL.
You can trow in an old-fasioned reboot if you like

Now, Install Ktorrent again.
I still see my configuration from last time, and not the default one

So:The Mark for Complete Removal option instructs Synaptic......
That is correct, but Synaptic does not do it...in the case of Ktorrent at least.

Found out about a month ago.

Please note, this is just an observation
The great thing in this world is not so much where we stand,
as in what direction we are moving.
                                                    (Oliver Wendell Holmes )

Online Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10698
  • MLUs Forever!
Re: [Solved] Application removal in synaptic, a quick question...
« Reply #13 on: February 24, 2012, 05:36:13 AM »
Quote
The Mark for Complete Removal option instructs Synaptic to remove any configuration files associated with the package as well

Ahum...Ahum

Install Ktorrent....go to Settings/configure Ktorrent
Configure 10 settings
Then "Competely remove Ktorrent". This is supposed to remove ALL.
You can trow in an old-fasioned reboot if you like

Now, Install Ktorrent again.
I still see my configuration from last time, and not the default one

So:The Mark for Complete Removal option instructs Synaptic......
That is correct, but Synaptic does not do it...in the case of Ktorrent at least.

Found out about a month ago.

Please note, this is just an observation


Synaptic does not completely remove all files associated with an installed package .......  and I cannot recall that it ever did .....  regardless of which remove option is selected.

MLUs rule the roost!

Linux XPS 3.4.38-pclos1.bfs  64 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline TerryN

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 732
Re: [Solved] Application removal in synaptic, a quick question...
« Reply #14 on: February 24, 2012, 08:04:39 AM »
Now, Install Ktorrent again.
I still see my configuration from last time, and not the default one

There are often 2 sets of config files:

System wide - which usually live somewhere under /usr/share or /etc
User specific - which live under $HOME sometimes in a hidden folder.

Often the app will use the system wide config as a template to create the user specific config.

Complete removal will only remove the system wide config files and even then only if they have been marked as config files (%config) in the package.  Stuff under $HOME is not touched unless the packager explicitly adds script to do it.  That would be highly unusual.

Terry.
« Last Edit: February 24, 2012, 08:19:00 AM by TerryN »
Dell E521 - AMD 64 X2 5000+, 4GB RAM, ATI X1300 graphics
PCLinuxOS 2013 (KDE)
|Twitter|