[arm-allstar] Installing additional python libraries help - pacman error

Al Beard beardal at unixservice.com.au
Sat Apr 4 06:52:24 EDT 2020


Hi Matt,

On my Rpi4B here with HamVOIP, I tried: pacman -Sy python-pip
it complained with this preexisting file /usr/bin/easy_install
I renamed it /usr/bin/easy_install2.7 and the install went fine.
It's a python script file for the previous python version (2.7).

RPi2-3-4 Version 1.6-09 downloaded yesterday.

The other bug I found was, no SSH on port 222 login.
Reason: no host key files
Generate with:
        Delete old ssh host keys: rm /etc/ssh/ssh_host_* (if they exist)
	ssh-keygen -q -N "" -t dsa -f /etc/ssh/ssh_host_dsa_key
	ssh-keygen -q -N "" -t rsa -b 4096 -f /etc/ssh/ssh_host_rsa_key
	ssh-keygen -q -N "" -t ecdsa -f /etc/ssh/ssh_host_ecdsa_key

Alan VK2ZIW

On Fri, 3 Apr 2020 23:48:45 -0700, \"Matt Rhoades via ARM-allstar\" wrote
> Reading around the how to files and the forums here, it seemed as 
> though I could install pip with pacman, however I get this error:
> 
> [root at allstar-47727 /]# pacman -S python-pip
> warning: database file for 'hamvoip-RPi4B' does not exist
> error: failed to prepare transaction (could not find database)
> 
> Any direction on this topic would be appreciated.  I'm trying to install
> the requests library for some custom python aviation weather scripting.
> 
> I wanted to validate it was installed, and then tried to update it:
> 
> [root at allstar-47727 /]# pacman -V
> 
>  .--.                  Pacman v5.0.1 - libalpm v10.0.1
> / _.-' .-.  .-.  .-.   Copyright (C) 2006-2016 Pacman Development 
> Team \  '-. '-'  '-'  '-'   Copyright (C) 2002-2006 Judd Vinet '--'  
>                      This program may be freely redistributed under  
>                      the terms of the GNU General Public License.
> 
> [root at allstar-47727 /]# pacman -U
> warning: database file for 'hamvoip-RPi4B' does not exist
> error: no targets specified (use -h for help)
> _______________________________________________
> 
> ARM-allstar mailing list
> ARM-allstar at hamvoip.org
> http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
> 
> Visit the BBB and RPi2/3/4 web page - http://hamvoip.org


---------------------------------------------------
Alan Beard

OpenWebMail 2.53



More information about the ARM-allstar mailing list