Re: [Dorset] Problems Installing Package on Raspberry Pi

2024-04-26 Thread Terry Coles
On 26/04/2024 13:06, Ralph Corderoy wrote: Still the same, as in I still have the following directories and files: strongswan.conf ... Yes. Or still the same complaining about the corrupt \xFF in what should be a text file of Perl source code? That too. Whilst the corr

Re: [Dorset] Problems Installing Package on Raspberry Pi

2024-04-26 Thread Ralph Corderoy
Hi Terry, > > sudo -i apt-get purge --auto-remove strongswan > > I tried that, it's still the same Still the same, as in I still have the following directories and files: strongswan.conf ... Or still the same complaining about the corrupt \xFF in what should be a text

Re: [Dorset] Problems Installing Package on Raspberry Pi

2024-04-26 Thread Terry Coles
On 26/04/2024 12:59, Terry Coles wrote: Is there a way to repair this? I tried: sudo apt install strongswan --fix-broken but that didn't work. -- Terry Coles -- Next meeting: Online, Jitsi, Tuesday, 2024-05-07 20:00 Check to whom you are replying Meetings, mailing list, IRC, ... http:/

Re: [Dorset] Problems Installing Package on Raspberry Pi

2024-04-26 Thread Ralph Corderoy
Hi Terry, > sed -n 'l; /^}/q' /usr/share/perl5/Debconf/AutoSelect.pm > \377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\ > \377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\ > \377\377\377\377\377\37.. > > Screen-fulls of that. The file is corrupt. 377

Re: [Dorset] Problems Installing Package on Raspberry Pi

2024-04-26 Thread Terry Coles
This should have gone to the list instead of direct to Ralph.On 26/04/2024 12:47, Ralph Corderoy wrote: You're using APT which understands dependencies between packages. With dpkg(1), you're ducking under APT and fiddling with things without its knowledge, breaking its assumptions. I'd use    

Re: [Dorset] Problems Installing Package on Raspberry Pi

2024-04-26 Thread Terry Coles
This should have gone to the list instead of direct to Ralph. On 26/04/2024 12:43, Ralph Corderoy wrote: What's the output of sed -n 'l; /^}/q' /usr/share/perl5/Debconf/AutoSelect.pm For example, $ sed -n 'l; /^}/q' /usr/share/perl5/Debconf/AutoSelect.pm #!/usr/bin/perl -w$    

Re: [Dorset] Problems Installing Package on Raspberry Pi

2024-04-26 Thread Ralph Corderoy
Hi Terry, > I've found something odd.  I believed that this command: > >   sudo dpkg --purge --force-all strongswan > > Should remove everything related to the package strongswan. From dpkg(1): --force-things --no-force-things, --refuse-things ... Warning: T

Re: [Dorset] Problems Installing Package on Raspberry Pi

2024-04-26 Thread Ralph Corderoy
Hi Terry, > debconf: Perl may be unconfigured (Unrecognized character \xFF; > marked by <-- HERE after <-- HERE near column 1 at > /usr/share/perl5/Debconf/AutoSelect.pm line 1. What's the output of sed -n 'l; /^}/q' /usr/share/perl5/Debconf/AutoSelect.pm For example, $ sed -n 'l; /^}/

Re: [Dorset] Problems Installing Package on Raspberry Pi

2024-04-26 Thread Terry Coles
On 26/04/2024 12:19, Terry Coles wrote: I've trawled the Internet and found various solutions, none of which work.  These included using dpkg to purge strongswan, strongswan-charon and strongswan-starter, before trying to install strongswan again. I've found something odd.  I believed that this

[Dorset] Problems Installing Package on Raspberry Pi

2024-04-26 Thread Terry Coles
Hi, Our VPN Server at the Wimborne Model Town runs on a Raspberry Pi 4 and utilises strongSwan and a Script called Pistrong to install and configure it.  This system has worked well since lockdown when I installed it so we could access the Pis on site.  The system works by installing Pistrong (an