You are Here:
Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section



Sky Charts install

Author (Read 19403 times)

0 Members and 4 Guests are viewing this topic.

Re: Sky Charts install
« Reply #29 on: September 07, 2023, 12:56:36 AM »
 

stevef

  • Global Moderator
  • Gold Level Poster
  • *****
  • 821
    Posts
  • Reputation: 148
  • Linux Lite Member
    • View Profile

  • CPU: Intel Core i5-4460

  • MEMORY: 16Gb

  • Kernel: 5.x
Glad you got it installed.   I've marked the thread as Solved - you need to be modifying the initial post to choose a prefix for the thread.
For what it is worth, the install script from skychart should have worked.  I still don't understand the underlying issue of wget on your system not behaving as expected.

This command checks to see if you have a wget startup file in a non standard location.
Would you post back with the result of
Code: [Select]
env | grep -i WGET
« Last Edit: September 07, 2023, 01:31:40 AM by stevef »
clueless
 

Re: Sky Charts install
« Reply #28 on: September 06, 2023, 11:08:43 PM »
 

billtour

  • New to Forums
  • *
  • 26
    Posts
  • Reputation: 0
  • Linux Lite Member
    • View Profile

  • CPU: TF-20

  • MEMORY: 4Gb
I'm looking at the Modify Message screen and there is no Prefix to choose.  So, I don't know how to mark this as SOLVED.
 

Re: Sky Charts install
« Reply #27 on: September 06, 2023, 10:48:33 PM »
 

billtour

  • New to Forums
  • *
  • 26
    Posts
  • Reputation: 0
  • Linux Lite Member
    • View Profile

  • CPU: TF-20

  • MEMORY: 4Gb
Thanks to you, stevef, and others like who make Linux "simple".  Without you it would be impossible.  My SkyCharts software is nearly done installing.  Now I need to read up on how to close this out.   Thanks again.
 

Re: Sky Charts install
« Reply #26 on: September 06, 2023, 01:50:30 AM »
 

stevef

  • Global Moderator
  • Gold Level Poster
  • *****
  • 821
    Posts
  • Reputation: 148
  • Linux Lite Member
    • View Profile

  • CPU: Intel Core i5-4460

  • MEMORY: 16Gb

  • Kernel: 5.x
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: [Select]
mv 8B8B57C1AA716FC2.key 8B8B57C1AA716FC2.gz
Code: [Select]
gzip -dc 8B8B57C1AA716FC2.gz >8B8B57C1AA716FC2.key
Check the result by running these commands.
Code: [Select]
file 8B8B57C1AA716FC2.keyExpected response
8B8B57C1AA716FC2.key: PGP public key block Secret-Key
Code: [Select]
md5sum 8B8B57C1AA716FC2.keyExpected response
807f6e1d41cf5406c080609cd42104a3  8B8B57C1AA716FC2.key

Run these commands to import the public key and export as a keyring file
Code: [Select]
gpg --no-default-keyring --keyring ./skychart-temp-keyring.gpg --import 8B8B57C1AA716FC2.keyExpected 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: [Select]
gpg --no-default-keyring --keyring ./skychart-temp-keyring.gpg --export --output skychart.gpgExpected response
gpg: WARNING: unsafe permissions on homedir '/home/bill/.gnupg'

Check the keyring with this
Code: [Select]
file skychart.gpgExpected 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: [Select]
rm skychart-temp-keyring.gpg
Code: [Select]
rm skychart-temp-keyring.gpg~
Code: [Select]
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: [Select]
sudo mkdir /usr/local/share/keyrings
Code: [Select]
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: [Select]
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: [Select]
sudo apt updateExpected 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: [Select]
https://www.ap-i.net/skychart/en/documentation/installation_on_linux_ubuntuand 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: [Select]
rm skychartpublic.key
Code: [Select]
rm testskychart.key
clueless
 

Re: Sky Charts install
« Reply #25 on: September 05, 2023, 07:42:39 PM »
 

billtour

  • New to Forums
  • *
  • 26
    Posts
  • Reputation: 0
  • Linux Lite Member
    • View Profile

  • CPU: TF-20

  • MEMORY: 4Gb
 
 bill  ~  rm 8B8B57C1AA716FC2.key
rm: cannot remove '8B8B57C1AA716FC2.key': No such file or directory
 bill  ~  1  wget -O 8B8B57C1AA716FC2.key "http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x8B8B57C1AA716FC2"
--2023-09-05 19:38:24--  http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x8B8B57C1AA716FC2
Resolving keyserver.ubuntu.com (keyserver.ubuntu.com)... 185.125.188.26, 185.125.188.27, 2620:2d:4000:1007::d43, ...
Connecting to keyserver.ubuntu.com (keyserver.ubuntu.com)|185.125.188.26|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1357 (1.3K) [text/plain]
Saving to: ‘8B8B57C1AA716FC2.key’

8B8B57C1AA716FC2.key              100%[===========================================================>]   1.33K  --.-KB/s    in 0.05s   

2023-09-05 19:38:25 (29.3 KB/s) - ‘8B8B57C1AA716FC2.key’ saved [1357/1357]

 bill  ~  file 8B8B57C1AA716FC2.key
8B8B57C1AA716FC2.key: gzip compressed data, from Unix, original size modulo 2^32 1739
 bill  ~  

The 8B8B57C1AA716FC2.key file is in my home dir.

Should I try the install again?
 

Re: Sky Charts install
« Reply #24 on: September 05, 2023, 02:14:33 AM »
 

stevef

  • Global Moderator
  • Gold Level Poster
  • *****
  • 821
    Posts
  • Reputation: 148
  • Linux Lite Member
    • View Profile

  • CPU: Intel Core i5-4460

  • MEMORY: 16Gb

  • Kernel: 5.x
Thank you.

To confirm what I think is happening with your system, please can you run these commands and post back with what happens.

1 Remove any existing copy of the file
Code: [Select]
rm 8B8B57C1AA716FC2.key2 Download a fresh copy of the author's key using the command from the skychart script
Code: [Select]
wget -O 8B8B57C1AA716FC2.key "http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x8B8B57C1AA716FC2"3 Verify the type of file that has been downloaded.
Code: [Select]
file 8B8B57C1AA716FC2.key
clueless
 

Re: Sky Charts install
« Reply #23 on: September 04, 2023, 10:41:12 PM »
 

billtour

  • New to Forums
  • *
  • 26
    Posts
  • Reputation: 0
  • Linux Lite Member
    • View Profile

  • CPU: TF-20

  • MEMORY: 4Gb
Here are the results of those commands:

 bill  ~  cat ~/.wgetrc
cat: /home/bill/.wgetrc: No such file or directory
 bill  ~  1  cat /etc/wgetrc
###
### Sample Wget initialization file .wgetrc
###

## You can use this file to change the default behaviour of wget or to
## avoid having to type many many command-line options. This file does
## not contain a comprehensive list of commands -- look at the manual
## to find out what you can put into this file. You can find this here:
##   $ info wget.info 'Startup File'
## Or online here:
##   https://www.gnu.org/software/wget/manual/wget.html#Startup-File
##
## Wget initialization file can reside in /etc/wgetrc
## (global, for all users) or $HOME/.wgetrc (for a single user).
##
## To use the settings in this file, you will have to uncomment them,
## as well as change them, in most cases, as the values on the
## commented-out lines are the default values (e.g. "off").
##
## Command are case-, underscore- and minus-insensitive.
## For example ftp_proxy, ftp-proxy and ftpproxy are the same.


##
## Global settings (useful for setting up in /etc/wgetrc).
## Think well before you change them, since they may reduce wget's
## functionality, and make it behave contrary to the documentation:
##

# You can set retrieve quota for beginners by specifying a value
# optionally followed by 'K' (kilobytes) or 'M' (megabytes).  The
# default quota is unlimited.
#quota = inf

# You can lower (or raise) the default number of retries when
# downloading a file (default is 20).
#tries = 20

# Lowering the maximum depth of the recursive retrieval is handy to
# prevent newbies from going too "deep" when they unwittingly start
# the recursive retrieval.  The default is 5.
#reclevel = 5

# By default Wget uses "passive FTP" transfer where the client
# initiates the data connection to the server rather than the other
# way around.  That is required on systems behind NAT where the client
# computer cannot be easily reached from the Internet.  However, some
# firewalls software explicitly supports active FTP and in fact has
# problems supporting passive transfer.  If you are in such
# environment, use "passive_ftp = off" to revert to active FTP.
#passive_ftp = off
passive_ftp = on

# The "wait" command below makes Wget wait between every connection.
# If, instead, you want Wget to wait only between retries of failed
# downloads, set waitretry to maximum number of seconds to wait (Wget
# will use "linear backoff", waiting 1 second after the first failure
# on a file, 2 seconds after the second failure, etc. up to this max).
#waitretry = 10


##
## Local settings (for a user to set in his $HOME/.wgetrc).  It is
## *highly* undesirable to put these settings in the global file, since
## they are potentially dangerous to "normal" users.
##
## Even when setting up your own ~/.wgetrc, you should know what you
## are doing before doing so.
##

# Set this to on to use timestamping by default:
#timestamping = off

# It is a good idea to make Wget send your email address in a `From:'
# header with your request (so that server administrators can contact
# you in case of errors).  Wget does *not* send `From:' by default.
#header = From: Your Name <[email protected]>

# You can set up other headers, like Accept-Language.  Accept-Language
# is *not* sent by default.
#header = Accept-Language: en

# You can set the default proxies for Wget to use for http, https, and ftp.
# They will override the value in the environment.
#https_proxy = http://proxy.yoyodyne.com:18023/
#http_proxy = http://proxy.yoyodyne.com:18023/
#ftp_proxy = http://proxy.yoyodyne.com:18023/

# If you do not want to use proxy at all, set this to off.
#use_proxy = on

# You can customize the retrieval outlook.  Valid options are default,
# binary, mega and micro.
#dot_style = default

# Setting this to off makes Wget not download /robots.txt.  Be sure to
# know *exactly* what /robots.txt is and how it is used before changing
# the default!
#robots = on

# It can be useful to make Wget wait between connections.  Set this to
# the number of seconds you want Wget to wait.
#wait = 0

# You can force creating directory structure, even if a single is being
# retrieved, by setting this to on.
#dirstruct = off

# You can turn on recursive retrieving by default (don't do this if
# you are not sure you know what it means) by setting this to on.
#recursive = off

# To always back up file X as X.orig before converting its links (due
# to -k / --convert-links / convert_links = on having been specified),
# set this variable to on:
#backup_converted = off

# To have Wget follow FTP links from HTML files by default, set this
# to on:
#follow_ftp = off

# To try ipv6 addresses first:
#prefer-family = IPv6

# Set default IRI support state
#iri = off

# Force the default system encoding
#localencoding = UTF-8

# Force the default remote server encoding
#remoteencoding = UTF-8

# Turn on to prevent following non-HTTPS links when in recursive mode
#httpsonly = off

# Tune HTTPS security (auto, SSLv2, SSLv3, TLSv1, PFS)
#secureprotocol = auto
 bill  ~  /usr/local/etc/wgetrc
bash: /usr/local/etc/wgetrc: No such file or directory
 

Re: Sky Charts install
« Reply #22 on: September 03, 2023, 04:57:44 PM »
 

stevef

  • Global Moderator
  • Gold Level Poster
  • *****
  • 821
    Posts
  • Reputation: 148
  • Linux Lite Member
    • View Profile

  • CPU: Intel Core i5-4460

  • MEMORY: 16Gb

  • Kernel: 5.x
Quote
Is it OK to continue???
We still need to sort the authentication problem out.

This message
Quote
gpg: no valid OpenPGP data found.
when you ran the script most recently confirms it still needs fixing..

I think understand what is going wrong but still need to find why.

Please open a terminal and post back with these commands and the resulting output.
Code: [Select]
cat ~/.wgetrc
Code: [Select]
cat /etc/wgetrc
Code: [Select]
/usr/local/etc/wgetrc
Quote
I don't see where any files were downloaded.  I do see the skychartpublic.key file in my user folder.
Your home folder (usually your username) is where the file will have ended up.
« Last Edit: September 03, 2023, 05:04:31 PM by stevef »
clueless
 

Re: Sky Charts install
« Reply #21 on: September 03, 2023, 04:18:42 PM »
 

billtour

  • New to Forums
  • *
  • 26
    Posts
  • Reputation: 0
  • Linux Lite Member
    • View Profile

  • CPU: TF-20

  • MEMORY: 4Gb
I started over with the first command as per the installation instructions and got the following.  Is it OK to continue???

bash <(wget -qO- https://raw.githubusercontent.com/pchev/skychart/master/setup_skychart_deb.sh)
This script add the Skychart repository to simplify the installation and update of the software.
It is possible to get the STABLE version that is updated every few year,
or the more frequently updated BETA version with the last features and corrections.
1) Stable
2) Beta
3) Quit
Please select the version you want: 1
You may now give your password for the sudo apt command.
[sudo] password for bill:
OK
OK
2023-09-03 16:13:42 URL:http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x8B8B57C1AA716FC2 [1357/1357] -> "8B8B57C1AA716FC2.key" [1]
gpg: WARNING: unsafe permissions on homedir '/home/bill/.gnupg'
gpg: keybox './skychart-temp-keyring.gpg' created
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0
gpg: WARNING: unsafe permissions on homedir '/home/bill/.gnupg'
gpg: WARNING: nothing exported
mv: cannot stat 'skychart.gpg': No such file or directory

The repository is defined to use the stable packages.
You can now use your prefered package manager to install Skychart.
If you want to continue from the command line do not forget to run: sudo apt update
 bill  ~  
 

Re: Sky Charts install
« Reply #20 on: September 03, 2023, 04:08:30 PM »
 

billtour

  • New to Forums
  • *
  • 26
    Posts
  • Reputation: 0
  • Linux Lite Member
    • View Profile

  • CPU: TF-20

  • MEMORY: 4Gb
I don't know when the problem started because it is a new install of Linux Lite (8/15) and I'm still installing what I want.  I haven't been concerned about doing updates yet.

This is the result of the WGET:

wget -SO skychartpublic.key "http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x8B8B57C1AA716FC2"
--2023-09-03 15:58:46--  http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x8B8B57C1AA716FC2
Resolving keyserver.ubuntu.com (keyserver.ubuntu.com)... 185.125.188.27, 185.125.188.26, 2620:2d:4000:1007::d43, ...
Connecting to keyserver.ubuntu.com (keyserver.ubuntu.com)|185.125.188.27|:80... connected.
HTTP request sent, awaiting response...
  HTTP/1.1 200 OK
  Date: Sun, 03 Sep 2023 19:58:47 GMT
  Server: Hockeypuck/2.1.0-222-g25248d4
  Content-Type: text/plain
  Content-Length: 1357
  Content-Encoding: gzip
Length: 1357 (1.3K) [text/plain]
Saving to: ‘skychartpublic.key’

skychartpublic.key                100%[===========================================================>]   1.33K  --.-KB/s    in 0.05s   

2023-09-03 15:58:47 (26.8 KB/s) - ‘skychartpublic.key’ saved [1357/1357]

 bill  ~  


I don't see where any files were downloaded.  I do see the skychartpublic.key file in my user folder.

I will now continue with the install and hope for no more issues.  Thanks much.
 

Re: Sky Charts install
« Reply #19 on: September 02, 2023, 04:38:09 AM »
 

stevef

  • Global Moderator
  • Gold Level Poster
  • *****
  • 821
    Posts
  • Reputation: 148
  • Linux Lite Member
    • View Profile

  • CPU: Intel Core i5-4460

  • MEMORY: 16Gb

  • Kernel: 5.x
It is related. The sky chart installation script has added itself as a repository but because of the problem with the authentication set up it is preventing the update process completing.
Has the update been a problem since August 22 ?

To complete updates, run the command below.  It removes the file that the sky chart script added to your repository list in the attempt to install itself.
Code: [Select]
sudo rm /etc/apt/sources.list.d/skychart.listYou will need to enter your password.
Updates should then run normally.  Please let us know.

If you wish to continue tackling your problem with the installation, please run the following command.
This will try to download the author's public key to your home directory as a file called skychartpublic.key and provide some debugging information.
Code: [Select]
wget -SO skychartpublic.key "http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x8B8B57C1AA716FC2"
Please post back with the screen output showing the command and resulting output.

If a file gets downloaded, please run
Code: [Select]
md5sum skychartpublic.keyand post back showing the command and result.
clueless
 

Re: Sky Charts install
« Reply #18 on: September 01, 2023, 10:59:04 PM »
 

billtour

  • New to Forums
  • *
  • 26
    Posts
  • Reputation: 0
  • Linux Lite Member
    • View Profile

  • CPU: TF-20

  • MEMORY: 4Gb
This may be unrelated, but, I ran an update and got the following errors:

===========================
Install Updates Error log
===========================
Install Updates could not fetch the package cache information lists.
Go to https://www.linuxliteos.com/forums/ and paste the log below into a new or existing thread for assistance.

============ Log ===========

Hit:1 http://repo.linuxliteos.com/linuxlite emerald InRelease
Hit:2 http://us.archive.ubuntu.com/ubuntu focal InRelease
Hit:3 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:5 http://us.archive.ubuntu.com/ubuntu focal-backports InRelease
Hit:6 http://security.ubuntu.com/ubuntu focal-security InRelease
Hit:7 http://archive.canonical.com/ubuntu focal InRelease
Get:4 http://vega.ap-i.net/apt stable InRelease [3,615 B]
Err:4 http://vega.ap-i.net/apt stable InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8B8B57C1AA716FC2
Reading package lists...
W: GPG error: http://vega.ap-i.net/apt stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8B8B57C1AA716FC2
E: The repository 'http://www.ap-i.net/apt stable InRelease' is not signed.
 

Re: Sky Charts install
« Reply #17 on: September 01, 2023, 10:55:16 PM »
 

billtour

  • New to Forums
  • *
  • 26
    Posts
  • Reputation: 0
  • Linux Lite Member
    • View Profile

  • CPU: TF-20

  • MEMORY: 4Gb
Well, no such luck.  Here's what I get after the first copy and paste:

bash <(wget -qO- https://raw.githubusercontent.com/pchev/skychart/master/setup_skychart_deb.sh)
This script add the Skychart repository to simplify the installation and update of the software.
It is possible to get the STABLE version that is updated every few year,
or the more frequently updated BETA version with the last features and corrections.
1) Stable
2) Beta
3) Quit
Please select the version you want: 1
You may now give your password for the sudo apt command.
[sudo] password for bill:
OK
OK
2023-09-01 22:51:16 URL:http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x8B8B57C1AA716FC2 [1357/1357] -> "8B8B57C1AA716FC2.key" [1]
gpg: WARNING: unsafe permissions on homedir '/home/bill/.gnupg'
gpg: keybox './skychart-temp-keyring.gpg' created
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0
gpg: WARNING: unsafe permissions on homedir '/home/bill/.gnupg'
gpg: WARNING: nothing exported
mv: cannot stat 'skychart.gpg': No such file or directory

The repository is defined to use the stable packages.
You can now use your prefered package manager to install Skychart.
If you want to continue from the command line do not forget to run: sudo apt update
 bill  ~  
 

Re: Sky Charts install
« Reply #16 on: September 01, 2023, 10:49:09 PM »
 

billtour

  • New to Forums
  • *
  • 26
    Posts
  • Reputation: 0
  • Linux Lite Member
    • View Profile

  • CPU: TF-20

  • MEMORY: 4Gb
You've just learned how much I know about Linux.  Thanks very much for your help.  Hopefully, I can get through the install now by myself. 
 

Re: Sky Charts install
« Reply #15 on: September 01, 2023, 02:02:36 AM »
 

stevef

  • Global Moderator
  • Gold Level Poster
  • *****
  • 821
    Posts
  • Reputation: 148
  • Linux Lite Member
    • View Profile

  • CPU: Intel Core i5-4460

  • MEMORY: 16Gb

  • Kernel: 5.x
Sorry if I've confused you.

Code: [Select]
https://www.ap-i.net/skychart/en/documentation/installation_on_linux_ubuntuis the link to the web page of the instructions which documents downloading and running the script.

It looks like you attempted to 'run' the web page itself resulting in the 'no such file or directory error'

You need to open the instructions web page in your browser, then read and follow them carefully.

The first line of the instructions that you actually run is
Code: [Select]
bash <(wget -qO- https://raw.githubusercontent.com/pchev/skychart/master/setup_skychart_deb.sh)
clueless
 

 

-->
X Close Ad

Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section