removing packages

JD jd1008 at gmail.com
Tue Oct 11 03:16:07 UTC 2011


I ran
rpm -q --whatrequires libmythavformat52-0.24.1-277.fc14.i686 
mythtv-themes-0.24.1-277.fc14.i686 mythtv-docs-0.24.1-277.fc14.i686 
libmythdb-0.24_0-0.24.1-277.fc14.i686 
libmythavcodec52-0.24.1-277.fc14.i686 mythes-1.2.1-2.fc14.i686 
libmythupnp-0.24_0-0.24.1-277.fc14.i686 
libmythlivemedia-0.24_0-0.24.1-277.fc14.i686 gmyth-0.7.1-11.fc12.1.i686 
libmythavutil50-0.24.1-277.fc14.i686 
libmythswscale0-0.24.1-277.fc14.i686 
libmythhdhomerun-0.24_0-0.24.1-277.fc14.i686 
libmythpostproc51-0.24.1-277.fc14.i686 totem-mythtv-2.32.0-1.fc14.i686 
mythes-en-3.0-7.fc14.noarch mythweb-0.24.1-265.noarch 
libmythfreemheg-0.24_0-0.24.1-277.fc14.i686 
libmythavdevice52-0.24.1-277.fc14.i686 
libmythavcore0-0.24.1-277.fc14.i686 libmythavfilter1-0.24.1-277.fc14.i686

rpm said
no package requires libmythavformat52-0.24.1-277.fc14.i686
no package requires mythtv-themes-0.24.1-277.fc14.i686
no package requires mythtv-docs-0.24.1-277.fc14.i686
no package requires libmythdb-0.24_0-0.24.1-277.fc14.i686
no package requires libmythavcodec52-0.24.1-277.fc14.i686
no package requires mythes-1.2.1-2.fc14.i686
no package requires libmythupnp-0.24_0-0.24.1-277.fc14.i686
no package requires libmythlivemedia-0.24_0-0.24.1-277.fc14.i686
no package requires gmyth-0.7.1-11.fc12.1.i686
no package requires libmythavutil50-0.24.1-277.fc14.i686
no package requires libmythswscale0-0.24.1-277.fc14.i686
no package requires libmythhdhomerun-0.24_0-0.24.1-277.fc14.i686
no package requires libmythpostproc51-0.24.1-277.fc14.i686
no package requires totem-mythtv-2.32.0-1.fc14.i686
no package requires mythes-en-3.0-7.fc14.noarch
no package requires mythweb-0.24.1-265.noarch
no package requires libmythfreemheg-0.24_0-0.24.1-277.fc14.i686
no package requires libmythavdevice52-0.24.1-277.fc14.i686
no package requires libmythavcore0-0.24.1-277.fc14.i686
no package requires libmythavfilter1-0.24.1-277.fc14.i686

A fact I know is that yum remove will remove the package
and packages that depend on it.
So, since no package required this package list, I ran

yum remove libmythavformat52-0.24.1-277.fc14.i686 
mythtv-themes-0.24.1-277.fc14.i686 mythtv-docs-0.24.1-277.fc14.i686 
libmythdb-0.24_0-0.24.1-277.fc14.i686 
libmythavcodec52-0.24.1-277.fc14.i686 mythes-1.2.1-2.fc14.i686 
libmythupnp-0.24_0-0.24.1-277.fc14.i686 
libmythlivemedia-0.24_0-0.24.1-277.fc14.i686 gmyth-0.7.1-11.fc12.1.i686 
libmythavutil50-0.24.1-277.fc14.i686 
libmythswscale0-0.24.1-277.fc14.i686 
libmythhdhomerun-0.24_0-0.24.1-277.fc14.i686 
libmythpostproc51-0.24.1-277.fc14.i686 totem-mythtv-2.32.0-1.fc14.i686 
mythes-en-3.0-7.fc14.noarch mythweb-0.24.1-265.noarch 
libmythfreemheg-0.24_0-0.24.1-277.fc14.i686 
libmythavdevice52-0.24.1-277.fc14.i686 
libmythavcore0-0.24.1-277.fc14.i686 libmythavfilter1-0.24.1-277.fc14.i686

Well, lo and behold, yum decided that other packages
not in the list would also be removed:

===================================================================================================
  Package                           Arch   Version           
Repository                        Size
===================================================================================================
Removing:
  gmyth                             i686   0.7.1-11.fc12.1   
@fedora                          202 k
  libmythavcodec52                  i686   0.24.1-277.fc14   
@atrpms                          5.0 M
  libmythavcore0                    i686   0.24.1-277.fc14   
@atrpms                          8.2 k
  libmythavdevice52                 i686   0.24.1-277.fc14   
@atrpms                           31 k
  libmythavfilter1                  i686   0.24.1-277.fc14   
@atrpms                           63 k
  libmythavformat52                 i686   0.24.1-277.fc14   
@atrpms                          898 k
  libmythavutil50                   i686   0.24.1-277.fc14   
@atrpms                           75 k
  libmythdb-0.24_0                  i686   0.24.1-277.fc14   
@atrpms                          1.2 M
  libmythfreemheg-0.24_0            i686   0.24.1-277.fc14   
@atrpms                          556 k
  libmythhdhomerun-0.24_0           i686   0.24.1-277.fc14   
@atrpms                           60 k
  libmythlivemedia-0.24_0           i686   0.24.1-277.fc14   
@atrpms                          710 k
  libmythpostproc51                 i686   0.24.1-277.fc14   
@atrpms                          159 k
  libmythswscale0                   i686   0.24.1-277.fc14   
@atrpms                          355 k
  libmythupnp-0.24_0                i686   0.24.1-277.fc14   
@atrpms                          676 k
  mythes                            i686   1.2.1-2.fc14      
@updates                          12 k
  mythes-en                         noarch 3.0-7.fc14        
@anaconda-InstallationRepo-201010211814.i386
                                                                                               21 M
  mythtv-docs                       i686   0.24.1-277.fc14   
@atrpms                          1.9 M
  mythtv-themes                     i686   0.24.1-277.fc14   
@atrpms                           15 M
  mythweb                           noarch 0.24.1-265        
@atrpms                          4.0 M
  openoffice.org-langpack-en        i686   1:3.3.0-20.7.fc14 
@updates                         0.0
  totem-mythtv                      i686   1:2.32.0-1.fc14   
@fedora                           15 k
Removing for dependencies:
  gstreamer-plugins-bad-free-extras i686   0.10.20-3.fc14.1  
@updates                         183 k
  openoffice.org-brand              i686   1:3.3.0-20.7.fc14 
@updates                         889 k
  openoffice.org-calc               i686   1:3.3.0-20.7.fc14 
@updates                          26 k
  openoffice.org-calc-core          i686   1:3.3.0-20.7.fc14 
@updates                          21 M
  openoffice.org-core               i686   1:3.3.0-20.7.fc14 
@updates                         218 M
  openoffice.org-draw               i686   1:3.3.0-20.7.fc14 
@updates                          23 k
  openoffice.org-draw-core          i686   1:3.3.0-20.7.fc14 
@updates                         2.0 M
  openoffice.org-graphicfilter      i686   1:3.3.0-20.7.fc14 
@updates                         619 k
  openoffice.org-impress            i686   1:3.3.0-20.7.fc14 
@updates                          27 k
  openoffice.org-impress-core       i686   1:3.3.0-20.7.fc14 
@updates                         2.8 M
  openoffice.org-math               i686   1:3.3.0-20.7.fc14 
@updates                          16 k
  openoffice.org-math-core          i686   1:3.3.0-20.7.fc14 
@updates                         3.1 M
  openoffice.org-pdfimport          i686   1:3.3.0-20.7.fc14 
@updates                         3.7 M
  openoffice.org-presenter-screen   i686   1:3.3.0-20.7.fc14 
@updates                         4.6 M
  openoffice.org-voikko             i686   3.1.2-1.fc14      
@anaconda-InstallationRepo-201010211814.i386
                                                                                              189 k
  openoffice.org-writer             i686   1:3.3.0-20.7.fc14 
@updates                          29 k
  openoffice.org-writer-core        i686   1:3.3.0-20.7.fc14 
@updates                          15 M
  openoffice.org-xsltfilter         i686   1:3.3.0-20.7.fc14 
@updates                         1.9 M

Transaction Summary
===================================================================================================
Remove       39 Package(s)

Installed size: 325 M
Is this ok [y/N]:

Of course I answered no and terminated the process.

So, why does yum do this?




More information about the users mailing list