Re: Cannot install vlc on bullseye

2021-10-19 Thread Dan Ritter
R. Ramesh wrote: 
> Thanks for everyone's help. I systematically went through every package and
> moved them to debian version if apt allowed me to do so. At the end I only
> have acroread from dmo and everything else is from debian. I removed mythtv
> also to get to this point. Since this is my desktop, I do not need to
> install mythtv and will keep it as close to debian as possible.
> 
> I do not have the same freedom for three other (debian based) machines I
> have (2 frontend and one backend) and it is going to be a bit of struggle to
> get it right. However, fixing my desktop helped me to understand
> dependencies better.  So... hopefully, I will find the right combo of
> packages to keep it close enough to debian.

dpkg-query -W 'dmo1*'

should, I think, show you all the packages installed from
deb-multimedia.org sources.

On my mythtv machine, this produces 228 packages -- some of
which are supporting vlc or other media-related software.

-dsr-



Re: Cannot install vlc on bullseye

2021-10-19 Thread didier gaumet



Le lundi 18 octobre 2021 à 20:43 -0500, R. Ramesh a écrit 
[...]
> I only have acroread from dmo and everything else is from debian. I 
> removed mythtv also to get to this point.
[...]
> I do not have the same freedom for three other (debian based)
> machines 
[...]

Hello,

- Acroread from deb-multimedia is version 9.0 from 2008 with last
security fixes from 2013.
https://en.wikipedia.org/wiki/Adobe_Acrobat_version_history
 I would suggest trying linux compatible alternatives to read
(https://packages.debian.org/stable/virtual/pdf-viewer) or modify pdf
documents. If these alternatives still are not satifying in your
usecase, I would then suggest trying the last free-of-charge Acroread
(DC) with Wine, which seems to work well with Wine:
https://appdb.winehq.org/objectManager.php?sClass=application=847
(Acroread 9.0 was free-of-charge and allowed its users to create/modify
pdf documents while it seems present free-of-charge Adobe solutions
only allow viewing pdf documents)

- I do not know it it can be of interest to you (I do not use Mythtv or
Kodi), but while Mythtv is not packaged in Debian, a Kodi Mythtv plugin
is:
https://packages.debian.org/bullseye/kodi-pvr-mythtv
https://packages.debian.org/bullseye/kodi
Aleternatively, the Mythtv has a tutorial to install Mtyhtv on Debian:
https://www.mythtv.org/wiki/Installing_MythTV_on_Debian




Re: Cannot install vlc on bullseye

2021-10-19 Thread Andrei POPESCU
On Lu, 18 oct 21, 20:43:45, R. Ramesh wrote:
> > The best expert opinion is fairly well summed up on the Debian wiki at
> > https://wiki.debian.org/DontBreakDebian  
> >   . The advice given above is 
> > fairly
> > blunt and matter of fact because the users and developers on this list have
> > seen this sort of thing lots of times before.
> > 
> > > Regards
> > > Ramesh
> > >
> > 
> > With every good wish, as ever,
> > 
> > Andy Cater
> > 
> 
> Thanks for everyone's help. I systematically went through every package and
> moved them to debian version if apt allowed me to do so. At the end I only
> have acroread from dmo and everything else is from debian. I removed mythtv
> also to get to this point. Since this is my desktop, I do not need to
> install mythtv and will keep it as close to debian as possible.
 
For such a system pinning dmo to 100 would probably work better. 
Installing acroread will just work (because it doesn't exist in Debian), 
other packages might need some massaging though.

Updates will also work, because 100 is the priority of installed 
packages and APT will upgrade to the higher version when it becomes 
available.

> I do not have the same freedom for three other (debian based) machines I
> have (2 frontend and one backend) and it is going to be a bit of struggle to
> get it right. However, fixing my desktop helped me to understand
> dependencies better.  So... hopefully, I will find the right combo of
> packages to keep it close enough to debian.

The strategy above might work also for complex packages / dependencies. 
Unfortunately the -t switch for `apt` and friends won't work because dmo 
is not a different 'release'.

If a package exists in both dmo and Debian you would have to install its 
dependencies one by one forcing the dmo version, before installing the 
actual package. Upgrades of the same set of packages should work[1], 
upgrades adding new packages might need to be dealt with manually.

[1] unless APT will prefer a higher priority package from Debian, 
instead of upgrading to a higher version from dmo.

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser


signature.asc
Description: PGP signature


Re: Cannot install vlc on bullseye

2021-10-18 Thread R. Ramesh

The best expert opinion is fairly well summed up on the Debian wiki at
https://wiki.debian.org/DontBreakDebian  
  . The advice given above is fairly
blunt and matter of fact because the users and developers on this list have
seen this sort of thing lots of times before.

> Regards
> Ramesh
> 


With every good wish, as ever,

Andy Cater



Thanks for everyone's help. I systematically went through every package 
and moved them to debian version if apt allowed me to do so. At the end 
I only have acroread from dmo and everything else is from debian. I 
removed mythtv also to get to this point. Since this is my desktop, I do 
not need to install mythtv and will keep it as close to debian as possible.


I do not have the same freedom for three other (debian based) machines I 
have (2 frontend and one backend) and it is going to be a bit of 
struggle to get it right. However, fixing my desktop helped me to 
understand dependencies better.  So... hopefully, I will find the right 
combo of packages to keep it close enough to debian.


Ramesh



Re: Cannot install vlc on bullseye

2021-10-17 Thread Andrei POPESCU
On Sb, 16 oct 21, 06:43:23, piorunz wrote:
> On 16/10/2021 06:32, R. Ramesh wrote:
> 
> > sudo aptitude install libpostproc55=10:4.4-dmo4+deb11u2
> > 
> > Still could not install vlc because libswscale5 was also older version
> > and needed to be upgraded
> > 
> > sudo aptitude install libswscale5=10:4.4-dmo4+deb11u2
> > 
> > After that vlc installs fine.
> 
> There is one more thing you need to fix.
> By using this method, you will never get updates of packages installed
> manually. If there is security update in Debian, it will get ignored,
> because you have newer version already. And if multimedia releases new
> version, you won't get that installed either, because you enforce lower
> pin-priority.

The lower priority shouldn't matter for upgrades, as long as it's at 
least 100.

A good example for this is the -backports archive.

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser


signature.asc
Description: PGP signature


Unbreaking the system [WAS Re: Cannot install vlc on bullseye ]

2021-10-17 Thread Andrew M.A. Cater
On Sat, Oct 16, 2021 at 02:57:13PM -0500, R. Ramesh wrote:
> Understood. Please also understand that we are users and not experts. I
> understand unix/linux and general SW principles. I will use debian as I
> trust this more than any other distribution. That does not mean I can learn
> everything about it. I will have no choice but to go with help from
> communities. I understand the cost.
> > 

== Fixing the breakage ==

> > I would recommend finding all the packages on your system with a
> > dmo source, removing them, removing the dmo apt repository,
> > fixing your system, and then... carefully consider whether you
> > want to re-add the dmo apt repository at all.

This. Remove all of these: remove VLC. Clear the packages. dpkg --purge 
them if that's what it takes. You will need to clear the packages in order
to instqall/upgrade cleanly.

Then add the deb-multimedia lines to /etc/apt/sources.list as at
https://deb-multimedia.org/

Temporarily comment out the debian lines in that file - so _only_ the
deb-multimedia lines are active [Add a # sign at the front of the line].

Do apt-update and so on as it says on the deb-multimedia site. Install
the packages you want.

Then comment out deb-multimedia and uncomment the debian lines.

That means that the packages you want from deb-multimedia will all have 
been installed together without any conflicting packages from Debian main.

Repeat the process when you update repositories.

== deb-multimedia.org ==

>From https://deb-multimedia.org

Subscribe to the mailing list to find out when packages are updated:

To subscribe send an e-mail to dmo-changes-requ...@debmultimedia.org with 
subscribe in the subject.
Or click on this link : dmo-changes-requ...@deb-multimedia.org?subject=subscribe

Pretty much anything else you need is found at

https://deb-multimedia.org/faq#q1 and following.

> This is not acceptable to me. I will live broken system than a useless
> system. I need what I have and I cannot simply delete them for the sake
> making something pristine. Please understand we are users. No point in
> having a system that does nothing. Apart from mythtv, I use browser. So, if
> I take out dmo then I might as well install Win10.
> > 

== Troubleshooting and further support ==

With luck: The steps given above will un-break your system sufficiently for you
to install the deb-multimedia packages you want. 

At that point you are on your own because we can't really do more than best 
endeavours support for a mixed system and troubleshooting and problem solving 
are likely beyond us.

We can't help you much further here on debian-user: effectively, you're 
then absolutely reliant on a third party repository for your mythtv. 
Problems/updates and so on are theirs to sort out.

Any problems: Contact Christian Marillat

Any breakage: Contact Christian Marillat.

== Build it yourself ==

The other option is for you to build and maintain mythtv on your own system.
This is well documented by the MythTV devs and would give you a
self-contained system with a consistent build.

https://www.mythtv.org/wiki/Build_from_Source#Installing_Build_Dependencies_without_Ansible
 and so on.

The instructions at https://www.mythtv.org/wiki/Installing_MythTV_on_Debian
are fairly clear though you'll want fixes/31 rather than fixes/30.

> > Don't think I hate deb-multimedia. I have that repo enabled...
> > on one system. Not on a system that I depend on functioning all
> > the time.
> > 
> > -dsr-
> Thanks for your comments. I understand where you come from. I have no hard
> feelings when someone tells me I am dumb. That is why I used debian-user. If
> I do not get any help, I will find a way as I have done that many times.  In
> fact, I was going to wipe my system and reinstall from scratch and add dmo
> as that is easier.
> 

No one's telling you that you're dumb. You ended up with a broken system.
Some of the steps above may help you fix it. Almost certainly, you don't 
actually need to reinstall from scratch - the Debian packaging system
is fairly robust - but it might possibly be quicker, if you can't be
bothered to find the dmo packages.

> I was a linux user in 1991 and remained one. I am not going to be afraid to
> find issues and resolve them. I just want to try to get expert opinion first
> because I think that is the best approach.
> 

The best expert opinion is fairly well summed up on the Debian wiki at
https://wiki.debian.org/DontBreakDebian . The advice given above is fairly
blunt and matter of fact because the users and developers on this list have 
seen this sort of thing lots of times before.

> Regards
> Ramesh
> 

With every good wish, as ever,

Andy Cater



Re: Cannot install vlc on bullseye

2021-10-16 Thread R. Ramesh

On 10/16/21 2:20 PM, Dan Ritter wrote:

R. Ramesh wrote:

from deb-multimedia to make things work. I have kept it since. I have no
desire to install older packages just because it is straight from debian vs.
deb-multimedia. I expect those two repositories to be already aware of
situation like mine and therefore handle these without my preferences.d
entries.  So, I am perfectly ok to remove my preferences.d/multimedia

Here is the part that may have escaped you:

deb-multimedia is not a Debian project, and does not coordinate
with Debian. It can break your system. It did break your system.

(It is relatively safe to use if and only if you know what you
are doing with pinning. Copying from someone on the Internet
without understanding does not qualify.)
Understood. Please also understand that we are users and not experts. I 
understand unix/linux and general SW principles. I will use debian as I 
trust this more than any other distribution. That does not mean I can 
learn everything about it. I will have no choice but to go with help 
from communities. I understand the cost.


I would recommend finding all the packages on your system with a
dmo source, removing them, removing the dmo apt repository,
fixing your system, and then... carefully consider whether you
want to re-add the dmo apt repository at all.
This is not acceptable to me. I will live broken system than a useless 
system. I need what I have and I cannot simply delete them for the sake 
making something pristine. Please understand we are users. No point in 
having a system that does nothing. Apart from mythtv, I use browser. So, 
if I take out dmo then I might as well install Win10.


Don't think I hate deb-multimedia. I have that repo enabled...
on one system. Not on a system that I depend on functioning all
the time.

-dsr-
Thanks for your comments. I understand where you come from. I have no 
hard feelings when someone tells me I am dumb. That is why I used 
debian-user. If I do not get any help, I will find a way as I have done 
that many times.  In fact, I was going to wipe my system and reinstall 
from scratch and add dmo as that is easier.


I was a linux user in 1991 and remained one. I am not going to be afraid 
to find issues and resolve them. I just want to try to get expert 
opinion first because I think that is the best approach.


Regards
Ramesh



Re: Cannot install vlc on bullseye

2021-10-16 Thread Dan Ritter
R. Ramesh wrote: 
> from deb-multimedia to make things work. I have kept it since. I have no
> desire to install older packages just because it is straight from debian vs.
> deb-multimedia. I expect those two repositories to be already aware of
> situation like mine and therefore handle these without my preferences.d
> entries.  So, I am perfectly ok to remove my preferences.d/multimedia

Here is the part that may have escaped you:

deb-multimedia is not a Debian project, and does not coordinate
with Debian. It can break your system. It did break your system.

(It is relatively safe to use if and only if you know what you
are doing with pinning. Copying from someone on the Internet
without understanding does not qualify.)

I would recommend finding all the packages on your system with a
dmo source, removing them, removing the dmo apt repository,
fixing your system, and then... carefully consider whether you
want to re-add the dmo apt repository at all.

Don't think I hate deb-multimedia. I have that repo enabled...
on one system. Not on a system that I depend on functioning all
the time.

-dsr-



Re: Cannot install vlc on bullseye

2021-10-16 Thread piorunz

On 16/10/2021 18:27, R. Ramesh wrote:


What is the fix I need to do? Remove my preferences.d/multimedia for
deb-multimedia?

My apologies, I am not very good with apt and dependencies and this may
be something straightforward. Can you give me more detail on what I need
to fix?

BTW, I did not have preferences.d/multimedia at all to start with.
However, there was an issue with mythtv installation that I could not
explain. At that time someone (here) told me that I need to pin priority
of packages from deb-multimedia to make things work. I have kept it
since. I have no desire to install older packages just because it is
straight from debian vs. deb-multimedia. I expect those two repositories
to be already aware of situation like mine and therefore handle these
without my preferences.d entries.  So, I am perfectly ok to remove my
preferences.d/multimedia


Yes, just comment out all pins you placed in preferences.d/ folder. Then
issue:
sudo apt update
And then see what packages will be upgraded due to multimedia taking
priority over debian repositories:
apt list --upgradable

You can publish list here. Hopefully it's not drastic. If you decide to
upgrade all listed packages and keep configuration that way, you will
always have freshest packages from multimedia, updated regularly by
multimedia maintainers, whoever they are - not sure who is behind
multimedia repository, because I don't use it.

If you are not comfortable with it, remove multimedia repository and
downgrade packages which versions are not from Debian. Your current
situation (packages which will never be updated) have to be resolved
either way.



Also did my install of specific version made those packages to be held
in that version? My report from apt-mark seem to show a lot of packages
to be installed manually even though I only installed two packages of
specific versions. May be I am not using right flags for apt-mark to get
my info.

How do I know my specific install made an auto installed package to be
marked as manual? More importantly, is is possible to manually fix
dependencies like I did, but still retain all flags as if they are
installed normally by apt/aptitude?


We can deal with that later, please decide if you are keeping multimedia
or not, then we can act and make final clean-up accordingly.

--
With kindest regards, Piotr.

⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄



Re: Cannot install vlc on bullseye

2021-10-16 Thread R. Ramesh

On 10/16/21 12:43 AM, piorunz wrote:

On 16/10/2021 06:32, R. Ramesh wrote:


I was suspecting this, but did not know how to go about finding versions
available vs. what is installed. As you point out my version of
libpostproc55 is from debian whereas I need the newer version in
deb-multimedia. I forced the version
with this

sudo aptitude install libpostproc55=10:4.4-dmo4+deb11u2

Still could not install vlc because libswscale5 was also older version
and needed to be upgraded

sudo aptitude install libswscale5=10:4.4-dmo4+deb11u2

After that vlc installs fine.

Let me know if I did anything wrong in the above.

Thanks for the help.

Regards
Ramesh


You are welcome :)
There is one more thing you need to fix.
By using this method, you will never get updates of packages installed
manually. If there is security update in Debian, it will get ignored,
because you have newer version already. And if multimedia releases new
version, you won't get that installed either, because you enforce lower
pin-priority.

--
With kindest regards, Piotr.

⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄


What is the fix I need to do? Remove my preferences.d/multimedia for 
deb-multimedia?


My apologies, I am not very good with apt and dependencies and this may 
be something straightforward. Can you give me more detail on what I need 
to fix?


BTW, I did not have preferences.d/multimedia at all to start with. 
However, there was an issue with mythtv installation that I could not 
explain. At that time someone (here) told me that I need to pin priority 
of packages from deb-multimedia to make things work. I have kept it 
since. I have no desire to install older packages just because it is 
straight from debian vs. deb-multimedia. I expect those two repositories 
to be already aware of situation like mine and therefore handle these 
without my preferences.d entries.  So, I am perfectly ok to remove my 
preferences.d/multimedia


Also did my install of specific version made those packages to be held 
in that version? My report from apt-mark seem to show a lot of packages 
to be installed manually even though I only installed two packages of 
specific versions. May be I am not using right flags for apt-mark to get 
my info.


How do I know my specific install made an auto installed package to be 
marked as manual? More importantly, is is possible to manually fix 
dependencies like I did, but still retain all flags as if they are 
installed normally by apt/aptitude?


Thanks again for your patience in dealing with my novice questions.

Regards
Ramesh



Re: Cannot install vlc on bullseye

2021-10-15 Thread R. Ramesh

On 16/10/2021 04:52, R. Ramesh wrote:

The following packages have unmet dependencies:
 libpostproc55 : Depends: libavutil56 (= 7:4.3.2-0+deb11u2) but
10:4.4-dmo4+deb11u2 is to be installed
 libswscale5 : Depends: libavutil56 (= 7:4.3.2-0+deb11u2) but
10:4.4-dmo4+deb11u2 is to be installed
E: Unable to correct problems, you have held broken packages.
I cannot understand why libpostproc55 will need a older version of
libavutil56.

libpostproc55 is from debian repo. It wants older, debian versions of
its deps. You want to force newer ones from multimedia repo.

Solution: Delete debian multimedia repo. That way you will have matching
versions for all packages. Or fix your pinned priorities, yours probably
don't work.

Verify this by:
apt-cache policy libavutil56

On my computer result is:
$ apt-cache policy libavutil56
libavutil56:
  Installed: 7:4.3.2-0+deb11u2
  Candidate: 7:4.3.2-0+deb11u2
  Version table:
 *** 7:4.3.2-0+deb11u2 500
    500 http://deb.debian.org/debian bullseye/main amd64 Packages
    100 /var/lib/dpkg/status

Your candidate will be most likely 10:4.4-dmo4+deb11u2, because you want
to force version from multimedia repo.

--
With kindest regards, Piotr.


I was suspecting this, but did not know how to go about finding versions 
available vs. what is installed. As you point out my version of 
libpostproc55 is from debian whereas I need the newer version in 
deb-multimedia. I forced the version

with this

sudo aptitude install libpostproc55=10:4.4-dmo4+deb11u2

Still could not install vlc because libswscale5 was also older version 
and needed to be upgraded


sudo aptitude install libswscale5=10:4.4-dmo4+deb11u2

After that vlc installs fine.

Let me know if I did anything wrong in the above.

Thanks for the help.

Regards
Ramesh



Re: Cannot install vlc on bullseye

2021-10-15 Thread piorunz

On 16/10/2021 06:32, R. Ramesh wrote:


I was suspecting this, but did not know how to go about finding versions
available vs. what is installed. As you point out my version of
libpostproc55 is from debian whereas I need the newer version in
deb-multimedia. I forced the version
with this

sudo aptitude install libpostproc55=10:4.4-dmo4+deb11u2

Still could not install vlc because libswscale5 was also older version
and needed to be upgraded

sudo aptitude install libswscale5=10:4.4-dmo4+deb11u2

After that vlc installs fine.

Let me know if I did anything wrong in the above.

Thanks for the help.

Regards
Ramesh


You are welcome :)
There is one more thing you need to fix.
By using this method, you will never get updates of packages installed
manually. If there is security update in Debian, it will get ignored,
because you have newer version already. And if multimedia releases new
version, you won't get that installed either, because you enforce lower
pin-priority.

--
With kindest regards, Piotr.

⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄



Re: Cannot install vlc on bullseye

2021-10-15 Thread piorunz

On 16/10/2021 04:52, R. Ramesh wrote:


The following packages have unmet dependencies:
 libpostproc55 : Depends: libavutil56 (= 7:4.3.2-0+deb11u2) but
10:4.4-dmo4+deb11u2 is to be installed
 libswscale5 : Depends: libavutil56 (= 7:4.3.2-0+deb11u2) but
10:4.4-dmo4+deb11u2 is to be installed
E: Unable to correct problems, you have held broken packages.

I cannot understand why libpostproc55 will need a older version of
libavutil56.


libpostproc55 is from debian repo. It wants older, debian versions of
its deps. You want to force newer ones from multimedia repo.

Solution: Delete debian multimedia repo. That way you will have matching
versions for all packages. Or fix your pinned priorities, yours probably
don't work.

Verify this by:
apt-cache policy libavutil56

On my computer result is:
$ apt-cache policy libavutil56
libavutil56:
  Installed: 7:4.3.2-0+deb11u2
  Candidate: 7:4.3.2-0+deb11u2
  Version table:
 *** 7:4.3.2-0+deb11u2 500
500 http://deb.debian.org/debian bullseye/main amd64 Packages
100 /var/lib/dpkg/status

Your candidate will be most likely 10:4.4-dmo4+deb11u2, because you want
to force version from multimedia repo.

--
With kindest regards, Piotr.

⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄