Author Topic: Personal Remaster Question  (Read 672 times)

Offline Moseley

  • New Friend
  • *
  • Posts: 3
Personal Remaster Question
« on: October 23, 2012, 01:02:11 PM »
I want to do a personal remaster but am not very fond of "gamin" and would like to revert back to "fam" but I cannot find all of gamin's dependents in synaptic and it's removal marks a horde of other packages for removal. So, how do I find out which packages are relying on "gamin" so I can rebuild them without it being an issue?

Thanks.

Offline jimwilk

  • Hero Member
  • *****
  • Posts: 1111
Re: Personal Remaster Question
« Reply #1 on: October 23, 2012, 05:16:59 PM »
Moseley,

First of all, in view of your low message count, a warm welcome to you, from New Zealand.
You have arrived in the right place here.

I don't know about gamin or fam but would be inclined to delete gamin via Synaptic and let those other dependencies go. Then, if fam is not already installed, install it the same way. Finally, still in Synaptic, press Reload and then, when that has finished, press Mark all Upgrades > Apply > Apply. That way, any missing necessary dependencies will be picked up and installed.

Good luck.

Jim
PCLinuxOS 2013.01 KDE (2 desktop computers)
PCLinuxOS  2013.04 KDE on Asus  laptop


Windows free since 2005
Our house has windows: our computers have no Windoze!
Registered Linux User #409991

Online gseaman

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3787
Re: Personal Remaster Question
« Reply #2 on: October 23, 2012, 05:36:16 PM »
Code: [Select]
[galen@localhost ~]$ apt-cache whatdepends gamin
gamin-0.1.10-2pclos2011
  pcmanfm-1.0.1-2pclos2012
    Depends: gamin
  lib64gamin-1_0-devel-0.1.10-2pclos2011
    Depends: gamin = 0.1.10
  lib64gamin-1_0-0.1.10-2pclos2011
    Depends: gamin >= 0.1.10
(I got this from TerryN.)
It appears from this that pcmanfm is the only app dependent on gamin. I am not sure this command is all-inclusive.

Galen

Offline Moseley

  • New Friend
  • *
  • Posts: 3
Re: Personal Remaster Question
« Reply #3 on: October 24, 2012, 12:42:46 AM »
And this is were the issue lies, not with what you see under dependents when selecting gamin in Synaptic or with that command but do this and you will see what I mean. Select gamin for removal and watch how many packages Synaptic wants to remove. Now you will understand my issue. I will check back in tomorrow and thanks to you for your replies.  ;D

Offline TerryN

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 727
Re: Personal Remaster Question
« Reply #4 on: October 24, 2012, 04:24:19 AM »
Code: [Select]
[galen@localhost ~]$ apt-cache whatdepends gamin
(I got this from TerryN.)
It appears from this that pcmanfm is the only app dependent on gamin. I am not sure this command is all-inclusive.

Almost right  ;D
What you specify after the whatdepends has to be a "capability" name (i.e. something that is depended on).  Packages names are capabilities but they are fairly minor and generally only used for version checking or by packages made from scripting languages (perl, python, bash etc.) for which no automatic dependency generation is provided in the rpm build tools.  In fact "gamin" is a capability name too (as is "fam" provided by the same package) but it is not the whole story.

For this case the important package is actually libgamin-1_0 since it is that package that provides the shared libs used by other packages. To get a list of capabilities provided by that package:

Code: [Select]
[terry@dell ~]$ rpm -q --provides libgamin-1_0
libfam0  
libfam.so.0  
libgamin-1.so.0  
libgamin-1_0 = 0.1.10-2pclos2010


It appears that this package provides both fam (libfam.so) and gamin (libgamin-1.so) capabilities (although I haven't checked this in the source).   So to check what packages depend on these:

Code: [Select]
[terry@dell ~]$ apt-cache whatdepends libfam.so.0
<libfam.so.0>
  strigi-0.7.6-2pclos2012
    Depends: <libfam.so.0>
      libgamin-1_0-0.1.10-2pclos2010
  kdelibs-4.8.3-3pclos2012
    Depends: <libfam.so.0>
      libgamin-1_0-0.1.10-2pclos2010
  libglib2.0_0-2.31.20-1pclos2012
    Depends: <libfam.so.0>
      libgamin-1_0-0.1.10-2pclos2010
  stopmotion-0.6.0-2pclos2007
    Depends: <libfam.so.0>
      libgamin-1_0-0.1.10-2pclos2010
  screem-0.14.1-11pclos2007
    Depends: <libfam.so.0>
      libgamin-1_0-0.1.10-2pclos2010
  python-fam-1.1.1-5pclos2010
    Depends: <libfam.so.0>
      libgamin-1_0-0.1.10-2pclos2010
  php-fam-5.0.1-3pclos2010
    Depends: <libfam.so.0>
      libgamin-1_0-0.1.10-2pclos2010
  lighttpd-1.4.28-4pclos2010                                                                                                                                
    Depends: <libfam.so.0>                                                                                                                                  
      libgamin-1_0-0.1.10-2pclos2010                                                                                                                        
  libgnome-vfs2_0-2.24.4-1pclos2010                                                                                                                          
    Depends: <libfam.so.0>                                                                                                                                  
      libgamin-1_0-0.1.10-2pclos2010                                                                                                                        
  gnubiff-2.2.13-1pclos2010                                                                                                                                  
    Depends: <libfam.so.0>                                                                                                                                  
      libgamin-1_0-0.1.10-2pclos2010        
and
Code: [Select]
terry@dell ~]$ apt-cache whatdepends libgamin-1.so.0
<libgamin-1.so.0>                                                                                                                                            
  thunar-vfs-1.2.0-1pclos2012                                                                                                                                
    Depends: <libgamin-1.so.0>                                                                                                                              
      libgamin-1_0-0.1.10-2pclos2010                                                                                                                        
  xmms2-0.6-8pclos2010                                                                                                                                      
    Depends: <libgamin-1.so.0>                                                                                                                              
      libgamin-1_0-0.1.10-2pclos2010
  xfce4-linelight-plugin-0.1.6-2pclos2010
    Depends: <libgamin-1.so.0>
      libgamin-1_0-0.1.10-2pclos2010
  thunar-shares-plugin-0.2.1-2pclos2012
  thunar-shares-0.16-1pclos2007
    Depends: <libgamin-1.so.0>
      libgamin-1_0-0.1.10-2pclos2010
  squeeze-0.2.3-3pclos2011
  python-gamin-0.1.10-2pclos2010
    Depends: <libgamin-1.so.0>
      libgamin-1_0-0.1.10-2pclos2010
  planner-database-0.14.4-4pclos2010
    Depends: <libgamin-1.so.0>
      libgamin-1_0-0.1.10-2pclos2010
  libgda3.0_2-3.1.5-5pclos2010
    Depends: <libgamin-1.so.0>
      libgamin-1_0-0.1.10-2pclos2010
  libgda-xslt3.0_0-3.1.5-5pclos2010
    Depends: <libgamin-1.so.0>
      libgamin-1_0-0.1.10-2pclos2010
  gda2.0-xbase-3.1.5-5pclos2010
    Depends: <libgamin-1.so.0>
      libgamin-1_0-0.1.10-2pclos2010
  gda2.0-sqlite-3.1.5-5pclos2010
    Depends: <libgamin-1.so.0>
      libgamin-1_0-0.1.10-2pclos2010
  gda2.0-postgres-3.1.5-5pclos2010
    Depends: <libgamin-1.so.0>
      libgamin-1_0-0.1.10-2pclos2010
  gda2.0-odbc-3.1.5-5pclos2010
    Depends: <libgamin-1.so.0>
      libgamin-1_0-0.1.10-2pclos2010
  gda2.0-mysql-3.1.5-5pclos2010
    Depends: <libgamin-1.so.0>
      libgamin-1_0-0.1.10-2pclos2010
  gda2.0-ldap-3.1.5-5pclos2010
    Depends: <libgamin-1.so.0>
      libgamin-1_0-0.1.10-2pclos2010
  gda2.0-bdb-3.1.5-5pclos2010
    Depends: <libgamin-1.so.0>
      libgamin-1_0-0.1.10-2pclos2010
  gda2.0-3.1.5-5pclos2010
    Depends: <libgamin-1.so.0>
      libgamin-1_0-0.1.10-2pclos2010

Notice that kdelibs depends on libfam.so.0 and that this package is the only provider of that library so attempting to remove that package will take out most of the system (on KDE).

Hope that helps,
Terry.
« Last Edit: October 24, 2012, 04:50:48 AM by TerryN »
Dell E521 - AMD 64 X2 5000+, 4GB RAM, ATI X1300 graphics
PCLinuxOS 2013 (KDE)
|Twitter|

Online gseaman

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3787
Re: Personal Remaster Question
« Reply #5 on: October 24, 2012, 08:22:36 AM »
Code: [Select]
[galen@localhost ~]$ apt-cache whatdepends gamin
(I got this from TerryN.)
It appears from this that pcmanfm is the only app dependent on gamin. I am not sure this command is all-inclusive.

Almost right  ;D
What you specify after the whatdepends has to be a "capability" name (i.e. something that is depended on).  Packages names are capabilities but they are fairly minor and generally only used for version checking or by packages made from scripting languages (perl, python, bash etc.) for which no automatic dependency generation is provided in the rpm build tools.  In fact "gamin" is a capability name too (as is "fam" provided by the same package) but it is not the whole story.

For this case the important package is actually libgamin-1_0 since it is that package that provides the shared libs used by other packages. To get a list of capabilities provided by that package:

Code: [Select]
[terry@dell ~]$ rpm -q --provides libgamin-1_0
libfam0  
libfam.so.0  
libgamin-1.so.0  
libgamin-1_0 = 0.1.10-2pclos2010


It appears that this package provides both fam (libfam.so) and gamin (libgamin-1.so) capabilities (although I haven't checked this in the source).   So to check what packages depend on these:

Code: [Select]
[terry@dell ~]$ apt-cache whatdepends libfam.so.0
<libfam.so.0>
  strigi-0.7.6-2pclos2012
    Depends: <libfam.so.0>
      libgamin-1_0-0.1.10-2pclos2010
  kdelibs-4.8.3-3pclos2012
    Depends: <libfam.so.0>
      libgamin-1_0-0.1.10-2pclos2010
  libglib2.0_0-2.31.20-1pclos2012
    Depends: <libfam.so.0>
      libgamin-1_0-0.1.10-2pclos2010
  stopmotion-0.6.0-2pclos2007
    Depends: <libfam.so.0>
      libgamin-1_0-0.1.10-2pclos2010
  screem-0.14.1-11pclos2007
    Depends: <libfam.so.0>
      libgamin-1_0-0.1.10-2pclos2010
  python-fam-1.1.1-5pclos2010
    Depends: <libfam.so.0>
      libgamin-1_0-0.1.10-2pclos2010
  php-fam-5.0.1-3pclos2010
    Depends: <libfam.so.0>
      libgamin-1_0-0.1.10-2pclos2010
  lighttpd-1.4.28-4pclos2010                                                                                                                                
    Depends: <libfam.so.0>                                                                                                                                  
      libgamin-1_0-0.1.10-2pclos2010                                                                                                                        
  libgnome-vfs2_0-2.24.4-1pclos2010                                                                                                                          
    Depends: <libfam.so.0>                                                                                                                                  
      libgamin-1_0-0.1.10-2pclos2010                                                                                                                        
  gnubiff-2.2.13-1pclos2010                                                                                                                                  
    Depends: <libfam.so.0>                                                                                                                                  
      libgamin-1_0-0.1.10-2pclos2010        
and
Code: [Select]
terry@dell ~]$ apt-cache whatdepends libgamin-1.so.0
<libgamin-1.so.0>                                                                                                                                            
  thunar-vfs-1.2.0-1pclos2012                                                                                                                                
    Depends: <libgamin-1.so.0>                                                                                                                              
      libgamin-1_0-0.1.10-2pclos2010                                                                                                                        
  xmms2-0.6-8pclos2010                                                                                                                                      
    Depends: <libgamin-1.so.0>                                                                                                                              
      libgamin-1_0-0.1.10-2pclos2010
  xfce4-linelight-plugin-0.1.6-2pclos2010
    Depends: <libgamin-1.so.0>
      libgamin-1_0-0.1.10-2pclos2010
  thunar-shares-plugin-0.2.1-2pclos2012
  thunar-shares-0.16-1pclos2007
    Depends: <libgamin-1.so.0>
      libgamin-1_0-0.1.10-2pclos2010
  squeeze-0.2.3-3pclos2011
  python-gamin-0.1.10-2pclos2010
    Depends: <libgamin-1.so.0>
      libgamin-1_0-0.1.10-2pclos2010
  planner-database-0.14.4-4pclos2010
    Depends: <libgamin-1.so.0>
      libgamin-1_0-0.1.10-2pclos2010
  libgda3.0_2-3.1.5-5pclos2010
    Depends: <libgamin-1.so.0>
      libgamin-1_0-0.1.10-2pclos2010
  libgda-xslt3.0_0-3.1.5-5pclos2010
    Depends: <libgamin-1.so.0>
      libgamin-1_0-0.1.10-2pclos2010
  gda2.0-xbase-3.1.5-5pclos2010
    Depends: <libgamin-1.so.0>
      libgamin-1_0-0.1.10-2pclos2010
  gda2.0-sqlite-3.1.5-5pclos2010
    Depends: <libgamin-1.so.0>
      libgamin-1_0-0.1.10-2pclos2010
  gda2.0-postgres-3.1.5-5pclos2010
    Depends: <libgamin-1.so.0>
      libgamin-1_0-0.1.10-2pclos2010
  gda2.0-odbc-3.1.5-5pclos2010
    Depends: <libgamin-1.so.0>
      libgamin-1_0-0.1.10-2pclos2010
  gda2.0-mysql-3.1.5-5pclos2010
    Depends: <libgamin-1.so.0>
      libgamin-1_0-0.1.10-2pclos2010
  gda2.0-ldap-3.1.5-5pclos2010
    Depends: <libgamin-1.so.0>
      libgamin-1_0-0.1.10-2pclos2010
  gda2.0-bdb-3.1.5-5pclos2010
    Depends: <libgamin-1.so.0>
      libgamin-1_0-0.1.10-2pclos2010
  gda2.0-3.1.5-5pclos2010
    Depends: <libgamin-1.so.0>
      libgamin-1_0-0.1.10-2pclos2010

Notice that kdelibs depends on libfam.so.0 and that this package is the only provider of that library so attempting to remove that package will take out most of the system (on KDE).

Hope that helps,
Terry.

Thank you. This is the most concise explanation I've seen on how to apply this information.

Galen