:: [DNG] Fwd: mpv from devuan.org/mer…
Pàgina inicial
Delete this message
Reply to this message
Autor: David Hare
Data:  
A: Dng
Assumpte: [DNG] Fwd: 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 21 April 2016 at 19:12, Noel Torres <envite@???> wrote:
> David Hare <davidahare@???> escribió:
>
>> What is, or will be, official Devuan policy on this?
>
>
> This is one of the points in which my idea of "eggs" would help, as I
> imagine it.
>
> What I do not know is if it is doable.
>
> Regards
> er Envite
>
> _______________________________________________
> Dng mailing list
> Dng@???
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
>