Web lists-archives.com

Re: Missing Shared Object File for ffmpeg




On Tue, 20 Mar 2018 13:42:24 -0500
David Wright <deblis@xxxxxxxxxxxxxxxxx> wrote:

> On Tue 20 Mar 2018 at 13:47:42 (-0400), Dan Norton wrote:
> > On Tue, 20 Mar 2018 12:59:21 -0400
> > Greg Wooledge <wooledg@xxxxxxxxxxx> wrote:
> >   
> > > On Tue, Mar 20, 2018 at 12:18:05PM -0400, Dan Norton wrote:  
> > > > >  * The output of "apt policy ffmpeg".    
> > > > 
> > > > ffmpeg:
> > > >   Installed: 7:3.2.10-1~deb9u1
> > > >   Candidate: 7:3.2.10-1~deb9u1
> > > >   Version table:
> > > >  *** 7:3.2.10-1~deb9u1 500
> > > >         500 http://debian.gtisc.gatech.edu/debian stretch/main
> > > > amd64 Packages 
> > > >         500 http://security.debian.org/debian-security
> > > >         stretch/updates/main amd64 Packages 
> > > >         100 /var/lib/dpkg/status
> > > >     
> > > > >  * The output of "aptitude why libopenal1".    
> > > > 
> > > > i   ffmpeg        Depends libavdevice57 (>= 7:3.2.10)
> > > > i A libavdevice57 Depends libopenal1 (>= 1.14)           
> > >   
> > > >From these, it looks like you have the stretch version of ffmpeg,
> > > >and    
> > > a libopenal1 dependency that can be satisfied by the stretch
> > > version of libopenal1.
> > > 
> > > If libopenal1 is not actually installed, then something is very
> > > wrong. Is it possible that you have the package "installed", but
> > > something else removed the library file?  In that case, just
> > > reinstall the package:
> > > 
> > > apt-get --reinstall install libopenal1
> > >   
> > 
> > That did it - thanks, Greg! 
> > 
> > But what does this do that apt purge/install of ffmpeg does not?  
> 
> You posted:
> 
> # apt purge ffmpeg
> # apt autoremove
> # apt install ffmpeg
> 
> but you didn't show your working. You should check out what happened
> by looking at /var/log/apt/history.log to see if libopenal1 was
> affected by this command sequence. For a start, other packages might
> depend on libopenal1, preventing its auto-removal.
> 

The broken system was installed in December 2017. Looking at all the
logs in /var/log/apt/history* (extracting the ones that were
archived) and running:
dan@deb9:~/apt.logs$ grep -rnw '.' -e 'libopenal1' | less
...there is one hit, other than today's --reinstall and that is an
install:

Start-Date: 2017-12-17  21:29:03
Commandline: /usr/sbin/synaptic
Requested-By: dan (1200)
Install: [...]
libopenal1:amd64 (1:1.17.2-4+b2, automatic),  # e pluribus unum
[...]

> Then of course there's the investigation of why it wasn't
> installed correctly in the first place, and what was happening
> during the "several attempts" at installing ffmpeg.
> 

Apparently nothing during these attempts involved libopenal1, according
to the logs in /var/log/apt/ - is there anywhere else that could shed
light on this?

 - Dan