[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: gnome-control-center



On Sun, 31 Jan 2021, at 17:46, Sven Joachim wrote:
> On 2021-01-31 17:09 +0000, Gareth Evans wrote:
> 
> > I'm trying to install gnome-online-accounts on Debian 10.7 with Mate:
> >
> >
> > $ sudo apt install gnome-control-center gnome-online-accounts
> > [...]
> > Package gnome-control-center is not available, but is referred to by another package.
> > This may mean that the package is missing, has been obsoleted, or
> > is only available from another source
> > However the following packages replace it:
> >   gnome-control-center-data
> > E: Package 'gnome-control-center' has no installation candidate
> >
> > $ sudo apt install gnome-online-accounts
> > [...]
> > Recommended packages:
> >   gnome-control-center
> > The following NEW packages will be installed:
> >   gnome-online-accounts
> > 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
> > [...]
> >
> >
> > gnome-control-center-data doesn't seem to provide gnome-control-center
> > as the first apt install blurb seems to me to suggest (but neither
> > does it seem that it should!)
> >
> > https://tracker.debian.org/pkg/gnome-control-center
> >
> > shows gnome-control-center 1:3.38.3-1 is in testing, but also that a
> > stable version exists - 1:3.30.3-2~deb10u1 - isn't this what should be
> > installed upon request, along with dependencies?
> 
> Yes.  Possible explanations: your sources.list is broken, or you have
> assigned a negative pin priority to gnome-control-center (see
> apt_preferences(5)).
> 
> What does "apt policy" print?
> 
> Cheers,
>        Sven
> 
>

Hi Sven, thanks.

$ apt policy

includes

Pinned packages:
[...]
gnome-control-center -> 1:3.30.3-2~deb10u1 with priority -30000
[...]

amongst other gnome components.

I had abandoned a previous gnome desktop installation because apt-listbugs had complaints about multiple components.  I hadn't realised it pins packages rather than just abandoning the installation if told to, although it does say so upon closer inspection :)

I deleted /etc/apt/preferences.d/apt-listbugs and approved the installation of

gnome-control-center
gnome-online-accounts

which succeeded, but:


Issue 1:

$ gnome-control-center online-accounts
**
ERROR:../shell/cc-shell-model.c:458:cc_shell_model_set_panel_visibility: assertion failed: (valid)
Aborted

$ gnome-control-center gnome-online-accounts
**
ERROR:../shell/cc-shell-model.c:458:cc_shell_model_set_panel_visibility: assertion failed: (valid)
Aborted

sudo gives the same result.  

This doesn't seem to relate to the bugs reported by apt-listbugs, which shows:

Retrieving bug reports... Done
Parsing Found/Fixed information... Done
grave bugs of gnome-settings-daemon (→ 3.30.2-3) <Forwarded>
 b1 - #919914 - gnome-tweaks now equates "don't suspend on lid close" with "don't lock on lid close" (security issue)
grave bugs of gnome-control-center (→ 1:3.30.3-2~deb10u1) <Forwarded>
 b2 - #913978 - is not accessible with Orca screenreader
grave bugs of mousetweaks (→ 3.12.0-5) <Resolved in some Version>
 b3 - #956523 - mousetweaks ends with segmentation fault (Fixed: mousetweaks/3.32.0-3)
Summary:
 gnome-settings-daemon(1 bug), gnome-control-center(1 bug), mousetweaks(1 bug)


Issue 2:

I tried to install task-gnome-desktop to see if it works with the full works installed, but even after deleting /etc/apt/pref*d/apt-listbugs and rebooting, apt-listbugs isn't offering the choice to install task-gnome-desktop but going straight to ("user-initiated") abort:

$ sudo apt install -y task-gnome-desktop | tee gnome.txt
[...]
Summary:
[multiple packages] pinned by adding Pin preferences in /etc/apt/preferences.d/apt-listbugs. Restart APT session to enable
**********************************************************************
****** Exiting with an error in order to stop the installation. ******
**********************************************************************
[...]
: Sub-process /usr/sbin/apt-listbugs apt returned an error code (10)
E: Failure running script /usr/sbin/apt-listbugs apt


$ man apt-listbugs 

"... if any such bug is found, apt-listbugs warns the user and asks how to proceed ...
EXIT STATUS [...]
10     If the program ran successfully in apt mode, but you decided to
       abort the installation/upgrade."

That is not the case here.


Fwiw...

$ cat /etc/apt/apt.conf.d/10apt-listbugs
// Before installing packages, check whether they have release-critical bugs.
// If you don't like it, comment it out.
DPkg::Pre-Install-Pkgs {"/usr/sbin/apt-listbugs apt";};
DPkg::Tools::Options::/usr/sbin/apt-listbugs "";
DPkg::Tools::Options::/usr/sbin/apt-listbugs::Version "3";
DPkg::Tools::Options::/usr/sbin/apt-listbugs::InfoFD "20";
AptListbugs::Severities "critical,grave,serious";
// AptListbugs::IgnoreRegexp "FTBFS";


Any advice on either issue much appreciated.

Many thanks,
Gareth


Reply to: