Bug 1601698 - Why does removing esmtp also try to remove 43 additional packages
Summary: Why does removing esmtp also try to remove 43 additional packages
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: esmtp
Version: rawhide
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Jaroslav Škarvada
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-07-17 04:39 UTC by Gerald Cox
Modified: 2018-07-18 15:41 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-07-17 06:51:51 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Gerald Cox 2018-07-17 04:39:40 UTC
I know I can remove via rpm -e esmtp --nodeps

but am curious as to why this is happening.  esmtp isn't required for these packages to run and in addition sendmail is no longer installed as default in
Fedora.

Removing:
 esmtp                            x86_64 1.2-10.fc28                  
Removing dependent packages:
 fail2ban                         noarch 0.10.3.1-2.fc28               
 fail2ban-sendmail                noarch 0.10.3.1-2.fc28               
 google-chrome-stable             x86_64 67.0.3396.99-1               
 google-musicmanager-beta         x86_64 1.0.467.4929-0                
 google-play-music-desktop-player x86_64 4.5.0-1                       
 libdbusmenu-gtk3                 x86_64 16.04.0-5.fc28                
 qt5                              noarch 5.10.1-1.fc28                 
 qt5-qt3d                         x86_64 5.10.1-1.fc28                 
 redhat-lsb                       x86_64 4.1-44.fc28                   
 redhat-lsb-core                  x86_64 4.1-44.fc28                   
 redhat-lsb-cxx                   x86_64 4.1-44.fc28                   
 redhat-lsb-desktop               x86_64 4.1-44.fc28                   
 redhat-lsb-languages             x86_64 4.1-44.fc28                   
 redhat-lsb-printing              x86_64 4.1-44.fc28                   
Removing unused dependencies:
 assimp                           x86_64 3.3.1-14.fc28                 
 ed                               x86_64 1.14.2-2.fc28                 
 fail2ban-firewalld               noarch 0.10.3.1-2.fc28               
 fail2ban-server                  noarch 0.10.3.1-2.fc28               
 irrXML                           x86_64 1.8.4-7.fc28                  
 libaesgm                         x86_64 20090429-18.fc28              
 libappindicator-gtk3             x86_64 12.10.0-16.fc27               
 libdbusmenu                      x86_64 16.04.0-5.fc28                
 libindicator-gtk3                x86_64 12.10.1-12.fc28               
 liblockfile                      x86_64 1.14-1.fc28                   
 libpng12                         x86_64 1.2.57-5.fc28                 
 ncurses-compat-libs              x86_64 6.1-5.20180224.fc28           
 perl-B-Lint                      noarch 1.20-11.fc28                  
 perl-Class-ISA                   noarch 0.36-1022.fc28                
 perl-File-CheckTree              noarch 4.42-301.fc28                 
 perl-Pod-LaTeX                   noarch 0.61-302.fc28                 
 perl-Pod-Plainer                 noarch 1.04-7.fc28                   
 perl-Text-Soundex                x86_64 3.05-8.fc28                   
 perl-Text-Unidecode              noarch 1.30-5.fc28                   
 poly2tri                         x86_64 0                                                                       
 qt3                              x86_64 3.3.8b-74.fc28                
 qt5-qtbase-postgresql            x86_64 5.10.1-6.fc28                   
 qt5-qtdoc                        noarch 5.10.1-1.fc28                 
 qt5-qtwayland                    x86_64 5.10.1-2.fc28                 
 redhat-lsb-submod-multimedia     x86_64 4.1-44.fc28                   
 redhat-lsb-submod-security       x86_64 4.1-44.fc28                   
 spax                             x86_64 1.5.3-12.fc28                 
 util-linux-user                  x86_64 2.32-2.fc28

Comment 1 Lukáš Nykrýn 2018-07-17 06:51:51 UTC
Everything you see there is completely expected and it is actually caused by google chrome. google-chrome-stable has a dependency on redhat-lsb package. This package is a meta-package meant to provide everything that is documented in LSB standard http://refspecs.linuxbase.org/LSB_4.1.0/LSB-Core-generic/LSB-Core-generic/command.html

Comment 2 Gerald Cox 2018-07-17 16:26:39 UTC
(In reply to Lukáš Nykrýn from comment #1)
> Everything you see there is completely expected and it is actually caused by
> google chrome. google-chrome-stable has a dependency on redhat-lsb package.
> This package is a meta-package meant to provide everything that is
> documented in LSB standard
> http://refspecs.linuxbase.org/LSB_4.1.0/LSB-Core-generic/LSB-Core-generic/
> command.html

Thanks for taking the time to reply.  I removed google-chrome and it is still happening.  I'm co-maintainer for msmtp and trying to figure out why dnf is trying to delete all these other unrelated programs when trying to delete esmtp.

On other thing... why are the alternatives in esmtp requiring /usr/lib/sendmail instead of %{_libdir}?

I initially used %{_libdir} because if you don't rpmlint gives a error that you aren't following packaging guidelines - but of course if I do that, it isn't compatible then with esmtp and alternatives breaks.

Thanks again for your time.

Comment 3 Jaroslav Škarvada 2018-07-18 11:49:04 UTC
There are only 14 deps, the rest are just unused packages and are removed because you probably have clean_requirements_on_remove=true in /etc/dnf/dnf.conf (see man dnf.conf).

Regarding /usr/lib/sendmail it's IMHO there for historical compatibility, %_libdir cannot be used, because it expands to /usr/lib64 on x86_64.

Comment 4 Gerald Cox 2018-07-18 15:41:10 UTC
Yeah, re: sendmail, that is what I also believed but wanted another opinion on it.  Thanks for taking the time to answer.


Note You need to log in before you can comment on or make changes to this bug.