Re: kodi and gnome-control-center conflict on bullseye

2021-08-22 Thread Tristan Miller

Greetings.

On 22/08/2021 19.10, The Wanderer wrote:

What explicit version number do you suggest that I try?  Running "apt
install kodi gnome-control-center" tells me that

The following packages have unmet dependencies:
   kodi : Depends: kodi-bin (>= 2:19.1+dfsg2-2) but it is not going to be
installed
  Depends: kodi-bin (< 2:19.1+dfsg2-2.1~) but it is not going to
be installed

But if I run "apt install kodi-bin=2:19.1+dfsg2-2", I am told

kodi-bin is already the newest version (2:19.1+dfsg2-2).


You need to continue specifying all of the packages in the same command
line, and repeat with new packages as necessary until it tells you an
actual reason for the failure instead of just the generic "is not going
to be installed".



Thanks; following this procedure I was eventually able to get apt into a 
state where it offered to install all the necessary dependencies for 
both kodi and gnome-control-center.


Regards,
Tristan

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  Tristan Miller
Free Software developer, ferret herder, logologist
 https://logological.org/
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-



Re: kodi and gnome-control-center conflict on bullseye

2021-08-22 Thread The Wanderer
On 2021-08-22 at 12:39, Tristan Miller wrote:

> Greetings.
> 
> On 22/08/2021 18.10, The Wanderer wrote:
> 
>> This appears to mean either that something is resulting in a
>> conflict with that version of kodi-bin, or that that version of
>> kodi-bin is not available.
>> 
>> I have:
>> 
>> $ apt-cache policy gnome-control-center kodi kodi-bin



>> What do you have available?
> 
> 
> Thanks. I get the following:
> 
> # apt-cache policy gnome-control-center kodi kodi-bin
> gnome-control-center:
>Installed: (none)
>Candidate: 1:3.38.4-1
>Version table:
>   1:3.38.4-1 500
>  500 http://deb.debian.org/debian bullseye/main amd64 Packages
> kodi:
>Installed: 2:19.1+dfsg2-2
>Candidate: 2:19.1+dfsg2-2
>Version table:
>   *** 2:19.1+dfsg2-2 500
>  500 http://deb.debian.org/debian bullseye/main amd64 Packages
>  100 /var/lib/dpkg/status
> kodi-bin:
>Installed: 2:19.1+dfsg2-2
>Candidate: 2:19.1+dfsg2-2
>Version table:
>   *** 2:19.1+dfsg2-2 500
>  500 http://deb.debian.org/debian bullseye/main amd64 Packages
>  100 /var/lib/dpkg/status

These version numbers all match mine.

This confirms that kodi-bin at the needed version number is available.

>> What I usually do in this type of situation is to start adding the
>> specified "is not going to be installed" packages to the command line,
>> with explicit version numbers included if necessary, until it stops just
>> saying "is not going to be installed" and starts telling me *why* some
>> particular package won't be installed. This is usually a Conflicts or
>> version-specific Depends or the like. From there, it's not usually
>> difficult to figure out what's causing the problem and what to do.
> 
> What explicit version number do you suggest that I try?  Running "apt 
> install kodi gnome-control-center" tells me that
> 
> The following packages have unmet dependencies:
>   kodi : Depends: kodi-bin (>= 2:19.1+dfsg2-2) but it is not going to be 
> installed
>  Depends: kodi-bin (< 2:19.1+dfsg2-2.1~) but it is not going to 
> be installed
> 
> But if I run "apt install kodi-bin=2:19.1+dfsg2-2", I am told
> 
> kodi-bin is already the newest version (2:19.1+dfsg2-2).

You need to continue specifying all of the packages in the same command
line, and repeat with new packages as necessary until it tells you an
actual reason for the failure instead of just the generic "is not going
to be installed".

So,

# apt install gnome-control-center kodi kodi-bin

or

# apt install gnome-control-center kodi kodi-bin=2:19.1+dfsg2-2

and then if that just fails because of another package, add that one and
repeat.

(Based on your 'apt-cache policy' output, I don't think specifying the
explicit version number will be necessary in this case, but it may be in
some other cases.)


Note that if you eventually hit a command line which succeeds, you'll
probably wind up marking all the listed packages as manually installed,
which you may not want. It may be worth backing up your
"manually-installed packages" state (as reported by the command
'apt-mark showmanual') before starting, so that after the whole thing is
done with you can go back and mark specific packages as auto-installed.

-- 
   The Wanderer

The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man. -- George Bernard Shaw



signature.asc
Description: OpenPGP digital signature


Re: kodi and gnome-control-center conflict on bullseye

2021-08-22 Thread Tristan Miller

Greetings.

On 22/08/2021 18.10, Greg Wooledge wrote:

Do you have any packages on hold?  dpkg -l | grep ^h



No, no output from that command.


Do you have any packages pinned, either manually, or by way of some
automatic action performed by apt-listbugs?  I'm not an expert in
pinning, but maybe start with:  grep -ri pin /etc/apt



No pins listed by that command, and apt-cache policy also doesn't list 
anything under "Pinned packages".



If neither of these is the case, then I'd try:

apt-cache polisy kodi kodi-bin  # just to get some information



# apt-cache policy kodi kodi-bin
kodi:
  Installed: 2:19.1+dfsg2-2
  Candidate: 2:19.1+dfsg2-2
  Version table:
 *** 2:19.1+dfsg2-2 500
500 http://deb.debian.org/debian bullseye/main amd64 Packages
100 /var/lib/dpkg/status
kodi-bin:
  Installed: 2:19.1+dfsg2-2
  Candidate: 2:19.1+dfsg2-2
  Version table:
 *** 2:19.1+dfsg2-2 500
500 http://deb.debian.org/debian bullseye/main amd64 Packages
100 /var/lib/dpkg/status



And if that looks OK, then:

apt install kodi kodi-bin



# apt install kodi kodi-bin
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
kodi is already the newest version (2:19.1+dfsg2-2).
kodi-bin is already the newest version (2:19.1+dfsg2-2).
kodi-bin set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.


Or maybe:

apt -f install# with no packages, just to try to fix what's broken



# apt -f install
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.


So it looks like none of your commands turned up anything, or any 
problems, and yet it's still not possible for me to install 
gnome-control-center.


Regards,
Tristan

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  Tristan Miller
Free Software developer, ferret herder, logologist
 https://logological.org/
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-



Re: kodi and gnome-control-center conflict on bullseye

2021-08-22 Thread Tristan Miller

Greetings.

On 22/08/2021 18.10, The Wanderer wrote:

This appears to mean either that something is resulting in a conflict
with that version of kodi-bin, or that that version of kodi-bin is not
available.

I have:

$ apt-cache policy gnome-control-center kodi kodi-bin
gnome-control-center:
   Installed: (none)
   Candidate: 1:3.38.4-1
   Version table:
  1:3.38.4-1 900
 800 http://ftp.us.debian.org/debian stable/main amd64 Packages
 900 http://ftp.us.debian.org/debian testing/main amd64 Packages
kodi:
   Installed: (none)
   Candidate: 2:19.1+dfsg2-2
   Version table:
  2:19.1+dfsg2-2 900
 800 http://ftp.us.debian.org/debian stable/main amd64 Packages
 900 http://ftp.us.debian.org/debian testing/main amd64 Packages
kodi-bin:
   Installed: (none)
   Candidate: 2:19.1+dfsg2-2
   Version table:
  2:19.1+dfsg2-2 900
 800 http://ftp.us.debian.org/debian stable/main amd64 Packages
 900 http://ftp.us.debian.org/debian testing/main amd64 Packages

What do you have available?



Thanks. I get the following:

# apt-cache policy gnome-control-center kodi kodi-bin
gnome-control-center:
  Installed: (none)
  Candidate: 1:3.38.4-1
  Version table:
 1:3.38.4-1 500
500 http://deb.debian.org/debian bullseye/main amd64 Packages
kodi:
  Installed: 2:19.1+dfsg2-2
  Candidate: 2:19.1+dfsg2-2
  Version table:
 *** 2:19.1+dfsg2-2 500
500 http://deb.debian.org/debian bullseye/main amd64 Packages
100 /var/lib/dpkg/status
kodi-bin:
  Installed: 2:19.1+dfsg2-2
  Candidate: 2:19.1+dfsg2-2
  Version table:
 *** 2:19.1+dfsg2-2 500
500 http://deb.debian.org/debian bullseye/main amd64 Packages
100 /var/lib/dpkg/status


What I usually do in this type of situation is to start adding the
specified "is not going to be installed" packages to the command line,
with explicit version numbers included if necessary, until it stops just
saying "is not going to be installed" and starts telling me *why* some
particular package won't be installed. This is usually a Conflicts or
version-specific Depends or the like. From there, it's not usually
difficult to figure out what's causing the problem and what to do.



What explicit version number do you suggest that I try?  Running "apt 
install kodi gnome-control-center" tells me that


The following packages have unmet dependencies:
 kodi : Depends: kodi-bin (>= 2:19.1+dfsg2-2) but it is not going to be 
installed
Depends: kodi-bin (< 2:19.1+dfsg2-2.1~) but it is not going to 
be installed


But if I run "apt install kodi-bin=2:19.1+dfsg2-2", I am told

kodi-bin is already the newest version (2:19.1+dfsg2-2).

Regards,
Tristan

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  Tristan Miller
Free Software developer, ferret herder, logologist
 https://logological.org/
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-



Re: kodi and gnome-control-center conflict on bullseye

2021-08-22 Thread Greg Wooledge
On Sun, Aug 22, 2021 at 12:04:46PM -0400, Greg Wooledge wrote:
> If neither of these is the case, then I'd try:
> 
> apt-cache polisy kodi kodi-bin  # just to get some information

Wow, today must be Typoday.  "policy" of course.



Re: kodi and gnome-control-center conflict on bullseye

2021-08-22 Thread Greg Wooledge
On Sun, Aug 22, 2021 at 05:37:52PM +0200, Tristan Miller wrote:
> # apt install kodi gnome-control-center
> Reading package lists... Done
> Building dependency tree... Done
> Reading state information... Done
> kodi is already the newest version (2:19.1+dfsg2-2).
> Some packages could not be installed. This may mean that you have
> requested an impossible situation or if you are using the unstable
> distribution that some required packages have not yet been created
> or been moved out of Incoming.
> The following information may help to resolve the situation:
> 
> The following packages have unmet dependencies:
>  kodi : Depends: kodi-bin (>= 2:19.1+dfsg2-2) but it is not going to be
> installed
> Depends: kodi-bin (< 2:19.1+dfsg2-2.1~) but it is not going to be
> installed
> E: Unable to correct problems, you have held broken packages.

Do you have any packages on hold?  dpkg -l | grep ^h

Do you have any packages pinned, either manually, or by way of some
automatic action performed by apt-listbugs?  I'm not an expert in
pinning, but maybe start with:  grep -ri pin /etc/apt

If neither of these is the case, then I'd try:

apt-cache polisy kodi kodi-bin  # just to get some information

And if that looks OK, then:

apt install kodi kodi-bin

Or maybe:

apt -f install# with no packages, just to try to fix what's broken


In all cases, be prepared to tell apt "No" if it asks you to do something
that looks undesirable, like removing stuff you care about.



Re: kodi and gnome-control-center conflict on bullseye

2021-08-22 Thread The Wanderer
On 2021-08-22 at 11:37, Tristan Miller wrote:

> Greetings.
> 
> On 22/08/2021 17.20, The Wanderer wrote:
>> On 2021-08-22 at 10:46, Tristan Miller wrote:
>>> On my bullseye system, it doesn't seem to be possible to install both
>>> kodi and gnome-control-center as they conflict with each other.  (See
>>> below for what happens when I've got kodi installed and then try to
>>> install gnome-control-center.)
>> 
>> What happens if you instead run
>> 
>> $ apt install kodi gnome-control-center
>> 
>> ? You should either get a success (via different resolution of the
>> dependencies, which doesn't consider omitting either of the two to be an
>> acceptable solution) or an error which may help us narrow down the problem.
> 
> 
> Here's the output:
> 
> # apt install kodi gnome-control-center
> Reading package lists... Done
> Building dependency tree... Done
> Reading state information... Done
> kodi is already the newest version (2:19.1+dfsg2-2).
> Some packages could not be installed. This may mean that you have
> requested an impossible situation or if you are using the unstable
> distribution that some required packages have not yet been created
> or been moved out of Incoming.
> The following information may help to resolve the situation:
> 
> The following packages have unmet dependencies:
>   kodi : Depends: kodi-bin (>= 2:19.1+dfsg2-2) but it is not going to be 
> installed
>  Depends: kodi-bin (< 2:19.1+dfsg2-2.1~) but it is not going to 
> be installed
> E: Unable to correct problems, you have held broken packages.

Hmm.

This appears to mean either that something is resulting in a conflict
with that version of kodi-bin, or that that version of kodi-bin is not
available.

I have:

$ apt-cache policy gnome-control-center kodi kodi-bin
gnome-control-center:
  Installed: (none)
  Candidate: 1:3.38.4-1
  Version table:
 1:3.38.4-1 900
800 http://ftp.us.debian.org/debian stable/main amd64 Packages
900 http://ftp.us.debian.org/debian testing/main amd64 Packages
kodi:
  Installed: (none)
  Candidate: 2:19.1+dfsg2-2
  Version table:
 2:19.1+dfsg2-2 900
800 http://ftp.us.debian.org/debian stable/main amd64 Packages
900 http://ftp.us.debian.org/debian testing/main amd64 Packages
kodi-bin:
  Installed: (none)
  Candidate: 2:19.1+dfsg2-2
  Version table:
 2:19.1+dfsg2-2 900
800 http://ftp.us.debian.org/debian stable/main amd64 Packages
900 http://ftp.us.debian.org/debian testing/main amd64 Packages

What do you have available?


What I usually do in this type of situation is to start adding the
specified "is not going to be installed" packages to the command line,
with explicit version numbers included if necessary, until it stops just
saying "is not going to be installed" and starts telling me *why* some
particular package won't be installed. This is usually a Conflicts or
version-specific Depends or the like. From there, it's not usually
difficult to figure out what's causing the problem and what to do.

-- 
   The Wanderer

The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man. -- George Bernard Shaw



signature.asc
Description: OpenPGP digital signature


Re: kodi and gnome-control-center conflict on bullseye

2021-08-22 Thread Tristan Miller

Greetings.

On 22/08/2021 17.20, The Wanderer wrote:

On 2021-08-22 at 10:46, Tristan Miller wrote:

On my bullseye system, it doesn't seem to be possible to install both
kodi and gnome-control-center as they conflict with each other.  (See
below for what happens when I've got kodi installed and then try to
install gnome-control-center.)


What happens if you instead run

$ apt install kodi gnome-control-center

? You should either get a success (via different resolution of the
dependencies, which doesn't consider omitting either of the two to be an
acceptable solution) or an error which may help us narrow down the problem.



Here's the output:

# apt install kodi gnome-control-center
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
kodi is already the newest version (2:19.1+dfsg2-2).
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 kodi : Depends: kodi-bin (>= 2:19.1+dfsg2-2) but it is not going to be 
installed
Depends: kodi-bin (< 2:19.1+dfsg2-2.1~) but it is not going to 
be installed

E: Unable to correct problems, you have held broken packages.

Regards,
Tristan

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  Tristan Miller
Free Software developer, ferret herder, logologist
 https://logological.org/
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-



Re: kodi and gnome-control-center conflict on bullseye

2021-08-22 Thread The Wanderer
On 2021-08-22 at 10:46, Tristan Miller wrote:

> Dear all,
> 
> On my bullseye system, it doesn't seem to be possible to install both 
> kodi and gnome-control-center as they conflict with each other.  (See 
> below for what happens when I've got kodi installed and then try to 
> install gnome-control-center.)

> # apt install gnome-control-center

> The following packages will be REMOVED:
>gstreamer1.0-libav kodi kodi-bin kodi-inputstream-adaptive 

I don't have either package installed, but if I try to install both in
the same command line, I don't get a failure. As such, I'm guessing this
may just be a dependency-resolver issue.

What happens if you instead run

$ apt install kodi gnome-control-center

? You should either get a success (via different resolution of the
dependencies, which doesn't consider omitting either of the two to be an
acceptable solution) or an error which may help us narrow down the problem.

-- 
   The Wanderer

The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man. -- George Bernard Shaw



signature.asc
Description: OpenPGP digital signature