By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.

Bug 2561

Summary: TDE's QtCurve requires KDE on Debian Jessie
Product: TDE Reporter: Kristopher <gamrat.kristopher>
Component: non-core programsAssignee: Michele Calgaro <michele.calgaro>
Status: RESOLVED FIXED    
Severity: normal CC: bugwatch, gamrat.kristopher, michele.calgaro, slavek.banko
Priority: P5    
Version: R14.0.x [Trinity]   
Hardware: Other   
OS: Debian Wheezy   
Compiler Version: TDE Version String:
Application Version: Application Name:
Bug Depends on:    
Bug Blocks: 2247, 3010    
Attachments: Output of apt-get
norecommends setting for apt

Description Kristopher 2015-12-19 11:37:56 CST
Created attachment 2595 [details]
Output of apt-get

NOTE: This bug report belongs to R14.0.2 on Debian Jessie, which is not in Bugzilla's Version & OS lists.

Trying to install tde-style-qtcurve-trinity on Debian Jessie seems to pull in a bunch of KDE packages. I did NOT see this happen on Debian Wheezy -- I was able to install TDE's QtCurve package without pulling in KDE dependencies.

I do have recommends turned off in apt via configuration file.

The output of apt-get is attached as a plain-text file.
Comment 1 Slávek Banko 2015-12-19 11:48:31 CST
The problem is that the tde-style-qtcurve-trinity has recommends gtk2-engines-qtcurve. And gtk2-engines-qtcurve recommends kde-style-qtcurve => KDE4.

All we can do is change 'recommends' to 'suggests' because the package gtk2-engines-qtcurve we can not influence.
Comment 2 Kristopher 2015-12-19 11:59:41 CST
Created attachment 2597 [details]
norecommends setting for apt

I have this file under /etc/apt/apt.conf.d/02norecommends

As I understand it, this file should prevent apt-get from trying to automatically install recommends. It has been in place since before I installed TDE on this system. Therefore, the recommends for gtk2-engines-qtcurve should not affect my system, if my understanding of the config file is correct.
Comment 3 Slávek Banko 2015-12-19 12:03:55 CST
(In reply to Kristopher from comment #2)
> Created attachment 2597 [details]
> norecommends setting for apt
> 
> I have this file under /etc/apt/apt.conf.d/02norecommends
> 
> As I understand it, this file should prevent apt-get from trying to
> automatically install recommends. It has been in place since before I
> installed TDE on this system. Therefore, the recommends for
> gtk2-engines-qtcurve should not affect my system, if my understanding of the
> config file is correct.

It seems that it is not working properly. From your apt-get output is clear that it is an attempt to install gtk2-engines-qtcurve.
Comment 4 Kristopher 2015-12-19 12:12:01 CST
(In reply to Slávek Banko from comment #3)
> (In reply to Kristopher from comment #2)
> > Created attachment 2597 [details]
> > norecommends setting for apt
> > 
> > I have this file under /etc/apt/apt.conf.d/02norecommends
> > 
> > As I understand it, this file should prevent apt-get from trying to
> > automatically install recommends. It has been in place since before I
> > installed TDE on this system. Therefore, the recommends for
> > gtk2-engines-qtcurve should not affect my system, if my understanding of the
> > config file is correct.
> 
> It seems that it is not working properly. From your apt-get output is clear
> that it is an attempt to install gtk2-engines-qtcurve.

It has always worked under Wheezy, so unless something changed in apt to make it ignore custom settings, it should still be working under Jessie. Thus far, I have not seen any other TDE package attempt to install recommends under Jessie with that file present.

It might be worth checking the packaging script, maybe the ones used for Jessie have it placed as a requires instead of a recommends?
Comment 5 Slávek Banko 2015-12-19 12:17:38 CST
(In reply to Kristopher from comment #4)
> (In reply to Slávek Banko from comment #3)
> > (In reply to Kristopher from comment #2)
> > > Created attachment 2597 [details]
> > > norecommends setting for apt
> > > 
> > > I have this file under /etc/apt/apt.conf.d/02norecommends
> > > 
> > > As I understand it, this file should prevent apt-get from trying to
> > > automatically install recommends. It has been in place since before I
> > > installed TDE on this system. Therefore, the recommends for
> > > gtk2-engines-qtcurve should not affect my system, if my understanding of the
> > > config file is correct.
> > 
> > It seems that it is not working properly. From your apt-get output is clear
> > that it is an attempt to install gtk2-engines-qtcurve.
> 
> It has always worked under Wheezy, so unless something changed in apt to
> make it ignore custom settings, it should still be working under Jessie.
> Thus far, I have not seen any other TDE package attempt to install
> recommends under Jessie with that file present.
> 
> It might be worth checking the packaging script, maybe the ones used for
> Jessie have it placed as a requires instead of a recommends?

Please verify whether in the folder apt.conf.d is not another file that once again switched recommends on - for example 99synaptic.
Comment 6 Kristopher 2015-12-19 12:23:28 CST
(In reply to Slávek Banko from comment #5)
> (In reply to Kristopher from comment #4)
> > (In reply to Slávek Banko from comment #3)
> > > (In reply to Kristopher from comment #2)
> > > > Created attachment 2597 [details]
> > > > norecommends setting for apt
> > > > 
> > > > I have this file under /etc/apt/apt.conf.d/02norecommends
> > > > 
> > > > As I understand it, this file should prevent apt-get from trying to
> > > > automatically install recommends. It has been in place since before I
> > > > installed TDE on this system. Therefore, the recommends for
> > > > gtk2-engines-qtcurve should not affect my system, if my understanding of the
> > > > config file is correct.
> > > 
> > > It seems that it is not working properly. From your apt-get output is clear
> > > that it is an attempt to install gtk2-engines-qtcurve.
> > 
> > It has always worked under Wheezy, so unless something changed in apt to
> > make it ignore custom settings, it should still be working under Jessie.
> > Thus far, I have not seen any other TDE package attempt to install
> > recommends under Jessie with that file present.
> > 
> > It might be worth checking the packaging script, maybe the ones used for
> > Jessie have it placed as a requires instead of a recommends?
> 
> Please verify whether in the folder apt.conf.d is not another file that once
> again switched recommends on - for example 99synaptic.

Just the one file:


root@printers:/etc/apt/apt.conf.d# grep "APT::Install-Recommends" *
02norecommends:APT::Install-Recommends "0";
root@printers:/etc/apt/apt.conf.d# grep "APT::Install-Suggests" *
02norecommends:APT::Install-Suggests "0";
Comment 7 Michele Calgaro 2018-08-04 06:58:18 CDT
IMO, I see no reason for tde-style-qtcurve-trinity to recommend or suggest gtk2-engines-qtcurve
Comment 8 Michele Calgaro 2018-08-04 07:24:12 CDT
> IMO, I see no reason for tde-style-qtcurve-trinity to recommend or suggest 
> gtk2-engines-qtcurve
Ignore previous comment, I  have now read through the package description...
Comment 9 Michele Calgaro 2019-04-02 10:24:39 CDT
Dependency has been changes from 'recommends' to 'suggests'.
Commit ba0b1f9b (R14.1) and 884b6921b (R14.0).