LINUX LITE 7.4 FINAL RELEASED - SEE RELEASE ANNOUNCEMENTS SECTION FOR DETAILS


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Sky Charts install
#26
Thank you.  That shows that wget on your system is saving the key as a compressed file.
The skychart install script doesn't run properly with the compressed data because the gpg commands it uses do not work with compressed data.

The best thing would be to understand how/why wget is doing this and correcting that to allow the script to run.
An alternative is to import the key and add the repository manually with a few extra commands to deal with the compressed download.  To emulate what the script does but without the errors, follow the commands below in sequence.  If you get any error messages or unexpected responses please post back.  Sorry if it looks a bit daunting, but it is just a case of pasting in the commands and reading the responses.

Rename and decompress the compressed file.
Code:
mv 8B8B57C1AA716FC2.key 8B8B57C1AA716FC2.gz
Code:
gzip -dc 8B8B57C1AA716FC2.gz >8B8B57C1AA716FC2.key

Check the result by running these commands.
Code:
file 8B8B57C1AA716FC2.key
Expected response
8B8B57C1AA716FC2.key: PGP public key block Secret-Key
Code:
md5sum 8B8B57C1AA716FC2.key
Expected response
807f6e1d41cf5406c080609cd42104a3  8B8B57C1AA716FC2.key

Run these commands to import the public key and export as a keyring file
Code:
gpg --no-default-keyring --keyring ./skychart-temp-keyring.gpg --import 8B8B57C1AA716FC2.key
Expected response
gpg: WARNING: unsafe permissions on homedir '/home/bill/.gnupg'
gpg: key 8B8B57C1AA716FC2: public key "Patrick Chevalley <[email protected]>" imported
gpg: Total number processed: 1
gpg:              imported: 1


Code:
gpg --no-default-keyring --keyring ./skychart-temp-keyring.gpg --export --output skychart.gpg
Expected response
gpg: WARNING: unsafe permissions on homedir '/home/bill/.gnupg'

Check the keyring with this
Code:
file skychart.gpg
Expected response
skychart.gpg: PGP/GPG key public ring (v4) created Sun Sep 18 20:13:08 2016 RSA (Encrypt or Sign) 2048 bits MPI=0xb0642ac63565db5c...

Delete the temporary files used to create the keyring
Code:
rm skychart-temp-keyring.gpg
Code:
rm skychart-temp-keyring.gpg~
Code:
rm 8B8B57C1AA716FC2.key

Make the folder for the keyring (if it already exists you'll see a message which can be ignored) and move the keyring to it
Code:
sudo mkdir /usr/local/share/keyrings
Code:
sudo mv skychart.gpg /usr/local/share/keyrings/

Add the skychart (stable) repository with the signing information with this command.
The choice of stable is based on your selections in previous posts.
If you want the more frequently updated beta version, replace the word 'stable' with 'unstable'
Code:
sudo sh -c "echo deb [signed-by=/usr/local/share/keyrings/skychart.gpg] http://www.ap-i.net/apt stable main > /etc/apt/sources.list.d/skychart.list"

Confirm the key is correctly installed and the skychart repository is available.
Code:
sudo apt update
Expected response is a line like this somewhere in the list
http://vega.ap-i.net/apt stable InRelease [3,615 B]




If that line appears you have done the equivalent of step 1 and step 2 of the skychart ubuntu installation.
Open this link in a browser
Code:
https://www.ap-i.net/skychart/en/documentation/installation_on_linux_ubuntu
and rejoin their guide at step 3

If they are still on your system, you can also delete a couple of files that we used earlier while testing the wget operation.
Code:
rm skychartpublic.key
Code:
rm testskychart.key
stevef
clueless
Reply


Messages In This Thread
Sky Charts install - by billtour - 08-22-2023, 06:08 PM
Re: Sky Charts install - by stevef - 08-22-2023, 09:22 PM
Re: Sky Charts install - by billtour - 08-23-2023, 12:18 AM
Re: Sky Charts install - by stevef - 08-23-2023, 09:01 AM
Re: Sky Charts install - by billtour - 08-24-2023, 12:54 AM
Re: Sky Charts install - by stevef - 08-24-2023, 06:36 AM
Re: Sky Charts install - by billtour - 08-29-2023, 02:28 AM
Re: Sky Charts install - by stevef - 08-29-2023, 06:00 AM
Re: Sky Charts install - by billtour - 08-30-2023, 12:42 AM
Re: Sky Charts install - by stevef - 08-30-2023, 06:34 AM
Re: Sky Charts install - by billtour - 08-31-2023, 01:00 AM
Re: Sky Charts install - by stevef - 08-31-2023, 05:12 AM
Re: Sky Charts install - by billtour - 08-31-2023, 11:43 PM
Re: Sky Charts install - by billtour - 08-31-2023, 11:49 PM
Re: Sky Charts install - by stevef - 09-01-2023, 06:02 AM
Re: Sky Charts install - by billtour - 09-02-2023, 02:49 AM
Re: Sky Charts install - by billtour - 09-02-2023, 02:55 AM
Re: Sky Charts install - by billtour - 09-02-2023, 02:59 AM
Re: Sky Charts install - by stevef - 09-02-2023, 08:38 AM
Re: Sky Charts install - by billtour - 09-03-2023, 08:08 PM
Re: Sky Charts install - by billtour - 09-03-2023, 08:18 PM
Re: Sky Charts install - by stevef - 09-03-2023, 08:57 PM
Re: Sky Charts install - by billtour - 09-05-2023, 02:41 AM
Re: Sky Charts install - by stevef - 09-05-2023, 06:14 AM
Re: Sky Charts install - by billtour - 09-05-2023, 11:42 PM
Re: Sky Charts install - by stevef - 09-06-2023, 05:50 AM
Re: Sky Charts install - by billtour - 09-07-2023, 02:48 AM
Re: Sky Charts install - by billtour - 09-07-2023, 03:08 AM
Re: Sky Charts install - by stevef - 09-07-2023, 04:56 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)