[DNG] booting devuan minimal live on MSI laptop

2022-04-20 Thread Gregory Nowak via Dng
Hello everyone.

I need to backup a windows 10 laptop which I don't use, but need to
provide support for. This is a UEFI machine with secure boot enabled.

When I plug in a custom devuan install I have on a pen drive which
I've setup for such things, the system doesn't even recognize the
drive is plugged in when in the boot menu. This is most likely because this
is a system with grub2 booting from MBR which works for my other use
cases. So, I decided to dd the devuan Chimaera minimal live amd64 UEFI
iso to a pen drive. When I try to boot with the minimal live drive
attached, the drive is
recognized, but I get a message about invalid signature, secure boot
violation. Pressing enter on that just takes me back to the boot
menu.

Is there some way for me to get a valid signature from the existing
windows 10 install on that machine, and remaster the minimal live iso
to include that?

Removing the MVME drive and just backing it up on another system is
something else I've considered. However, to do so, I need to remove a
sticker over one of the screw holes in the case, which would void the
warranty. This is something I don't want to do, and I also don't look
forward to cracking open this thin laptop case.

I also hesitate to disable secure boot. Even if I could do that on
this laptop, I would need someone else to read the UEFI screens to me
while I did that. From what I've read, disabling and enabling secure
boot isn't just a simple toggle operation. I also don't want to make
the existing windows install unbootable before I backup the machine.

So, remastering the minimal live image to have a valid secure boot
signature seems the simplest way forward. Any help on figuring out on
how to get a valid signature, and remastering the iso image would be
much appreciated. Pointers to web pages are good enough. This is my
first time dealing with secure boot, so please excuse me if I'm slow
on the uptake. In case it matters, the machine in question is an MSI
GF63 Thin 10SCXR-222. Thanks in advance for any help.

Greg


-- 
web site: http://www.gregn.net
gpg public key: http://www.gregn.net/pubkey.asc
skype: gregn1
(authorization required, add me to your contacts list first)
If we haven't been in touch before, e-mail me before adding me to your contacts.

--
Free domains: http://www.eu.org/ or mail dns-mana...@eu.org
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] information request

2022-04-20 Thread tempforever
o1bigtenor via Dng wrote:
>
> I had just previously deleted the folder python3.9 but python3.10 was
> right beside so thought deleting the previous would make more room (which I
> desperately need!!).
>
>
The solution *might* be as simple as creating a new symbolic link
"python3" -> "python3.10"
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] information request

2022-04-20 Thread tempforever
o1bigtenor via Dng wrote:
> On Wed, Apr 20, 2022 at 6:37 AM Antony Stone
>  wrote:
>> On Wednesday 20 April 2022 at 13:17:48, 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?
>> I found myself in exactly this situation recently.
>>
>> I had a machine running Beowulf with all mounted file systems as LVM logical
>> volumes.  I created a duplicate LV of the root file system and rebooted from
>> it, then performed an upgrade to Chimaera.
>>
>> I wasn't happy (for reasons that don't matter here) with the result, so I
>> simply re-booted back into the untouched Beowulf root FS.
>>
>> Unfortunately I had neglected to consider the consequences of my having
>> created a separate /var partition in the first place, which got used by the
>> Chimaera upgrade, and was then thoroughly corrupted as far as Beowulf was
>> concered (mainly due to /var/dpkg, I'm sure).
>>
>> It turned out that the "/usr/bin/apt-listchanges: not found" message is 
>> highly
>> misleading, and means that the script could not find the Python interpreter 
>> it
>> expected to, not that the script itself could not be found.
>>
>> So, I think if you look at the first line of that script on your system, it
>> will point to something like /usr/bin/python3, which is probably a symlink to
>> something else in /usr/bin, which does not exist.
>>
>> I hope this should at least give you some pointers as to what it is you need
>> to fix - get the correct version of Python3 installed.
>>
> I had just previously deleted the folder python3.9 but python3.10 was
> right beside so thought deleting the previous would make more room (which I
> desperately need!!).
>
> When looking at the first lines in apt-listchanges - - - well I'm no 
> programmer
> but the code looks more like Perl to me with the use of the :: directives but
> I dunno much about programming so that could be right out to lunch!!!
>
> Not seeing anything like what you're describing - - - sorry.
>
> When the tools to fix the broken tools don't work - - - - what are the 
> options?
> Is there only a re-install?
> (That would be scary - - - - this is a complicated system and I've got piles
> of software installed!! - - - last time I did this things were quite hairy for
> quite a while  Not fun at all!)
>
> Thank you for the information - - - good to know that the error message
> really doesn't connect with the real world - - - - I wasn't even able
> to find any
> references on the web - - - - ZERO - - - which - - I thought was sorta 
> unusual!
>
> Regards
>

I'm running on beowulf... your results may be slightly different
Let's not worry about the code inside apt-listchanges, at this point. 
Just check the script interpreter for now

~$ head -n 1 /usr/bin/apt-listchanges
should give a result similar to this:
#!/usr/bin/python3

then, taking the result given,
~$ file /usr/bin/python3
should give another result similar to this:
/usr/bin/python3: symbolic link to python3.7

then, check the target of that symbolic link:
~$ file /usr/bin/python3.7
the result is: ELF 64-bit LSB executable, .

if any of these fails (for example, python3 may be a broken symbolic
link to python3.7), then reinstalling python3 should fix the issue,
hopefully.
on the other hand, if this all checks out good, the problem may lie
elsewhere.

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] information request

2022-04-20 Thread tito via Dng
On Wed, 20 Apr 2022 06:58:35 -0500
o1bigtenor via Dng  wrote:

> On Wed, Apr 20, 2022 at 6:37 AM Antony Stone
>  wrote:
> >
> > On Wednesday 20 April 2022 at 13:17:48, 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?
> >
> > I found myself in exactly this situation recently.
> >
> > I had a machine running Beowulf with all mounted file systems as LVM logical
> > volumes.  I created a duplicate LV of the root file system and rebooted from
> > it, then performed an upgrade to Chimaera.
> >
> > I wasn't happy (for reasons that don't matter here) with the result, so I
> > simply re-booted back into the untouched Beowulf root FS.
> >
> > Unfortunately I had neglected to consider the consequences of my having
> > created a separate /var partition in the first place, which got used by the
> > Chimaera upgrade, and was then thoroughly corrupted as far as Beowulf was
> > concered (mainly due to /var/dpkg, I'm sure).
> >
> > It turned out that the "/usr/bin/apt-listchanges: not found" message is 
> > highly
> > misleading, and means that the script could not find the Python interpreter 
> > it
> > expected to, not that the script itself could not be found.
> >
> > So, I think if you look at the first line of that script on your system, it
> > will point to something like /usr/bin/python3, which is probably a symlink 
> > to
> > something else in /usr/bin, which does not exist.
> >
> > I hope this should at least give you some pointers as to what it is you need
> > to fix - get the correct version of Python3 installed.
> >
> 
> I had just previously deleted the folder python3.9 but python3.10 was
> right beside so thought deleting the previous would make more room (which I
> desperately need!!).
> 
> When looking at the first lines in apt-listchanges - - - well I'm no 
> programmer
> but the code looks more like Perl to me with the use of the :: directives but
> I dunno much about programming so that could be right out to lunch!!!
> 
> Not seeing anything like what you're describing - - - sorry.
> 
> When the tools to fix the broken tools don't work - - - - what are the 
> options?
> Is there only a re-install?
> (That would be scary - - - - this is a complicated system and I've got piles
> of software installed!! - - - last time I did this things were quite hairy for
> quite a while  Not fun at all!)
> 
> Thank you for the information - - - good to know that the error message
> really doesn't connect with the real world - - - - I wasn't even able
> to find any
> references on the web - - - - ZERO - - - which - - I thought was sorta 
> unusual!
> 
> Regards

Hi,
as a last resort option you could try AT YOUR OWN RISK:

rename apt-listchanges to apt-listchanges.bak

create a dummy apt-listchanges by coping 
/bin/true to /usr/bin/apt-listchanges

pray and restart your upgrade

when/if done delete /usr/bin/apt-listchanges
and rename /usr/bin/apt-listchanges.bak to  /usr/bin/apt-listchanges

Just to be sure reinstall apt-listchanges

apt install --reinstall apt-listchanges

Hope this helps.

Ciao,
Tito


___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] information request

2022-04-20 Thread Ludovic Bellière via Dng

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


signature.asc
Description: PGP signature
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] information request

2022-04-20 Thread o1bigtenor via Dng
On Wed, Apr 20, 2022 at 6:37 AM Antony Stone
 wrote:
>
> On Wednesday 20 April 2022 at 13:17:48, 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?
>
> I found myself in exactly this situation recently.
>
> I had a machine running Beowulf with all mounted file systems as LVM logical
> volumes.  I created a duplicate LV of the root file system and rebooted from
> it, then performed an upgrade to Chimaera.
>
> I wasn't happy (for reasons that don't matter here) with the result, so I
> simply re-booted back into the untouched Beowulf root FS.
>
> Unfortunately I had neglected to consider the consequences of my having
> created a separate /var partition in the first place, which got used by the
> Chimaera upgrade, and was then thoroughly corrupted as far as Beowulf was
> concered (mainly due to /var/dpkg, I'm sure).
>
> It turned out that the "/usr/bin/apt-listchanges: not found" message is highly
> misleading, and means that the script could not find the Python interpreter it
> expected to, not that the script itself could not be found.
>
> So, I think if you look at the first line of that script on your system, it
> will point to something like /usr/bin/python3, which is probably a symlink to
> something else in /usr/bin, which does not exist.
>
> I hope this should at least give you some pointers as to what it is you need
> to fix - get the correct version of Python3 installed.
>

I had just previously deleted the folder python3.9 but python3.10 was
right beside so thought deleting the previous would make more room (which I
desperately need!!).

When looking at the first lines in apt-listchanges - - - well I'm no programmer
but the code looks more like Perl to me with the use of the :: directives but
I dunno much about programming so that could be right out to lunch!!!

Not seeing anything like what you're describing - - - sorry.

When the tools to fix the broken tools don't work - - - - what are the options?
Is there only a re-install?
(That would be scary - - - - this is a complicated system and I've got piles
of software installed!! - - - last time I did this things were quite hairy for
quite a while  Not fun at all!)

Thank you for the information - - - good to know that the error message
really doesn't connect with the real world - - - - I wasn't even able
to find any
references on the web - - - - ZERO - - - which - - I thought was sorta unusual!

Regards
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] information request

2022-04-20 Thread Antony Stone
On Wednesday 20 April 2022 at 13:17:48, 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?

I found myself in exactly this situation recently.

I had a machine running Beowulf with all mounted file systems as LVM logical 
volumes.  I created a duplicate LV of the root file system and rebooted from 
it, then performed an upgrade to Chimaera.

I wasn't happy (for reasons that don't matter here) with the result, so I 
simply re-booted back into the untouched Beowulf root FS.

Unfortunately I had neglected to consider the consequences of my having 
created a separate /var partition in the first place, which got used by the 
Chimaera upgrade, and was then thoroughly corrupted as far as Beowulf was 
concered (mainly due to /var/dpkg, I'm sure).

It turned out that the "/usr/bin/apt-listchanges: not found" message is highly 
misleading, and means that the script could not find the Python interpreter it 
expected to, not that the script itself could not be found.

So, I think if you look at the first line of that script on your system, it 
will point to something like /usr/bin/python3, which is probably a symlink to 
something else in /usr/bin, which does not exist.

I hope this should at least give you some pointers as to what it is you need 
to fix - get the correct version of Python3 installed.

Good luck,


Antony.

-- 
"I think both KDE and Gnome suck - I'm quite unbiased in that, because I use a 
Mac."

 - Jason Isitt

   Please reply to the list;
 please *don't* CC me.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


[DNG] information request

2022-04-20 Thread o1bigtenor via Dng
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
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng