:: Re: [DNG] mpv from devuan.org/merge…
Top Page
Delete this message
Reply to this message
Author: David Hare
Date:  
To: dng
Subject: Re: [DNG] mpv from devuan.org/merged is broken
Purging the -dmo packages and replacing with current repo ones,
without something going horribly wrong, was not simple. Now sorted
like this:

# get list of installed "-dmo" packages
dpkg -l|grep "\-dmo"|grep "^ii"|awk '{print $2}'|sed 's/:.*//'g >/tmp/dmo

# get list of which were automatically installed
for i in $(cat /tmp/dmo); do apt-mark showauto $i >> /tmp/autoinstalled; done

# There will be a lot removed! *** Copy the terminal's output to a
text file for reference
# You will be prompted. Maybe miss out what looks really bad and run
the next line a few times more.

# Now reinstall manually what got removed, that you want restored.
Maybe not lib*, they will be mostly automatic..

# finally
for i in $(cat /tmp/autoinstalled); do apt-mark auto $i; done

# review carefully then deal with them manually:
apt-get autoremove

That's just what I did, not advice to anyone. If there is a better
solution than the above, please post it.

On 23 April 2016 at 11:52, David Hare <davidahare@???> wrote:
> Thanks Daniel, the dmo packages seem no longer in the repo. I want to
> to clean it all up and reinstall to current versions but that means
> "downgrade". This gets quite complex as some depend on others:
>
> :/# dpkg -l|grep "\-dmo"|grep "^ii"|awk '{print $2 "\t\t" $3}'
> ffmpeg          10:2.6.5-dmo1
> lame            1:3.99.5-dmo4
> libaacplus2:amd64               2.0.2-dmo2
> libavcodec56:amd64              10:2.6.5-dmo1
> libavdevice56:amd64             10:2.6.5-dmo1
> libavfilter5:amd64              10:2.6.5-dmo1
> libavformat56:amd64             10:2.6.5-dmo1
> libavresample2:amd64            10:2.6.5-dmo1
> libavutil54:amd64               10:2.6.5-dmo1
> libbluray1:amd64                2:0.7.0-dmo1
> libdca0:amd64           0.0.5-dmo2
> libdvdcss2:amd64                1.3.0-dmo1
> libfaac0:amd64          1:1.28-dmo3
> libfame-0.9-1:amd64             0.9.1-dmo1
> libfdk-aac1:amd64               1:0.1.4-dmo1
> libgegl-0.2-0:amd64             1:0.2.0-dmo8
> libmp3lame0:amd64               1:3.99.5-dmo4
> libmp4v2-2:amd64                2:2.0.0-dmo2
> libpostproc53:amd64             10:2.6.5-dmo1
> librtmp1:amd64          2:2.4~20150315.gita107cef9b-dmo1
> libswresample1:amd64            10:2.6.5-dmo1
> libswscale3:amd64               10:2.6.5-dmo1
> libutvideo15:amd64              15.1.0-dmo2
> libvamp-hostsdk3:amd64          1:2.5-dmo6
> libvidstab1.0           2:0.98b-dmo1
> libx264-146:amd64               3:0.146.2538+git121396c-dmo1
> libx265-51:amd64                1.6-dmo1
> libxine2                1:1.2.6-dmo6
> libxine2-bin:amd64              1:1.2.6-dmo6
> libxine2-ffmpeg:amd64           1:1.2.6-dmo6
> libxine2-misc-plugins:amd64             1:1.2.6-dmo6
> libxine2-plugins                1:1.2.6-dmo6
> libxine2-x:amd64                1:1.2.6-dmo6
> libxvidcore4:amd64              3:1.3.3-dmo1
> mplayer2                1:2.0~git20130903-dmo7