Re: key apt by apache cassandra seems deprecated and cqlsh is broken

2022-08-09 Thread Claude Warren, Jr via dev
Could this be related to the deprecation of apt-key on your system?  You
don't specify what version of which distribution you are using.  However,
there is a good example of how to solve the issue at
https://www.linuxuprising.com/2021/01/apt-key-is-deprecated-how-to-add.html



On Tue, Aug 9, 2022 at 11:51 AM Dorian ROSSE  wrote:

> hello,
>
>
> i am getting this error when i try to update my system :
>
> '''W: http://www.apache.org/dist/cassandra/debian/dists/40x/InRelease:
> Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the
> DEPRECATION section in apt-key(8) for details.
> '''
>
> (for this error on my ubuntu system i have reach the ubuntu launchpad
> suport if that hold by their side)
>
> the apache cassandra is installed but the subprogram cqlsh is broken thus
> i have tried to install the module python asked but it seems unexisted :
>
> '''~$ sudo cqlsh
> Traceback (most recent call last):
>   File "/usr/bin/cqlsh.py", line 20, in 
> import cqlshlib
> ModuleNotFoundError: No module named 'cqlshlib'
> ~$ sudo pip3 install cqlshlib
> ERROR: Could not find a version that satisfies the requirement cqlshlib
> (from versions: none)
> ERROR: No matching distribution found for cqlshlib
> ~$ sudo python3 install cqlshlib
> python3: can't open file '/home/dorianrosse/install': [Errno 2] No such
> file or directory
> ~$ sudo pip install cqlshlib
> ERROR: Could not find a version that satisfies the requirement cqlshlib
> (from versions: none)
> ERROR: No matching distribution found for cqlshlib
> ~$ sudo python install cqlshlib
> python: can't open file 'install': [Errno 2] No such file or directory
> '''
>
> thanks you in advance to help myself repair both errors,
>
> regards.
>
>
> Dorian ROSSE.
>


key apt by apache cassandra seems deprecated and cqlsh is broken

2022-08-09 Thread Dorian ROSSE
hello,


i am getting this error when i try to update my system :

'''W: http://www.apache.org/dist/cassandra/debian/dists/40x/InRelease: Key is 
stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the 
DEPRECATION section in apt-key(8) for details.
'''

(for this error on my ubuntu system i have reach the ubuntu launchpad suport if 
that hold by their side)

the apache cassandra is installed but the subprogram cqlsh is broken thus i 
have tried to install the module python asked but it seems unexisted :

'''~$ sudo cqlsh
Traceback (most recent call last):
  File "/usr/bin/cqlsh.py", line 20, in 
import cqlshlib
ModuleNotFoundError: No module named 'cqlshlib'
~$ sudo pip3 install cqlshlib
ERROR: Could not find a version that satisfies the requirement cqlshlib (from 
versions: none)
ERROR: No matching distribution found for cqlshlib
~$ sudo python3 install cqlshlib
python3: can't open file '/home/dorianrosse/install': [Errno 2] No such file or 
directory
~$ sudo pip install cqlshlib
ERROR: Could not find a version that satisfies the requirement cqlshlib (from 
versions: none)
ERROR: No matching distribution found for cqlshlib
~$ sudo python install cqlshlib
python: can't open file 'install': [Errno 2] No such file or directory
'''

thanks you in advance to help myself repair both errors,

regards.


Dorian ROSSE.