:: Re: [DNG] information request
Top Page
Delete this message
Reply to this message
Author: Ludovic Bellière
Date:  
To: o1bigtenor
CC: Devuan ML
Subject: Re: [DNG] information request
To: x
--text follows this line--
The PATH variable of your environment, or the environment that script is
running in, doesn't seem populated. Presumably, you had other issues
prior to that error and you may not have noticed them.

Now, there is an easy way to resolve a broken update. All you have to do
is list all the packages installed, store it in a file. Reinstall the OS
from scratch, and then feed the list of packages back to
apt/aptitude/apt-get (your choice).

To list the packages, you could run:

         dpkg-query -l | awk -F'  ' '/ii/ {print $2}' > packages.txt


And to feed the list back:

         cat packages.txt | tr '\n' ' '



Cheers,
                 Ludovic



On Wed, 20 Apr 2022, o1bigtenor via Dng wrote:

>Greetings
>
>In the process of upgrading my system I now am stuck at a point where
>I don't know how to resolve the conundrum.
>
>/bin/sh: 1: /usr/bin/apt-listchanges: not found
>E: Sub-process /usr/bin/apt-listchanges --apt || test $? -lt 10
>returned an error code (1)
>E: Failure running script /usr/bin/apt-listchanges --apt || test $? -lt 10
>
>when I go to look at the files and folders in /usr/bin/ I can find
>this apt-listchanges but somehow the apt 'system' isn't seeing it or
>is seeing it poorly.
>
>When I try apt --fix-broken install I the same message.
>
>How do I resolve this - - - - -please?
>
>TIA