I ran into this problem recently, and it turns out the issue was that I was only sudo-ing one of the chained commands I was using.
I was using sudo apt-get update && apt-get install -y libssl-dev libffi-dev python3-dev build-essential
But I should have been using sudo apt-get update && sudo apt-get install -y libssl-dev libffi-dev python3-...
apt-get remove --purge openssh-server
apt-get install openssh-server
apt-get purge command removes the program package from your system without keeping the configuration files and any plugins and settings.
Generally to display images in Linux you need the GUI (graphical user interface) to be running, which you've discovered how to start with the startx command.
There are however some exceptions! Generally a Raspberry Pi connected directly to a monitor users a framebuffer console, which is a high-resolution psuedo-graphics console. If the text isn't massive, ...
Get the missing public keys from the Ubuntu keyserver and try if it helps:
rpi ~$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys AA8E81B4331F7F50 112695A0E562B32A
Executing: /tmp/apt-key-gpghome.YcaQxjGmfn/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys AA8E81B4331F7F50 112695A0E562B32A
gpg: key 4DFAB270CAA96DFA: public key "Debian ...
According to the Debian Wiki it could be possible, because RPi4 now boots from CPU instead of GPU.
Unfortunately, it seems that currently the Debian kernel does not support the RPi4.
The Raspberry Pi has a proprietary boot loader, configurable with /boot/config.txt. You will not find similar on any other computer. Debian by default uses grub as boot loader. How to set audio out to HDMI is out of scope on Raspberry Pi. Look at the documentation to HDMI and/or grub on your desktop PC how to do it.
I am assuming you are talking about Raspbian. At the first boot from a newly prepared SD card, if an ssh file and a wpa_supplicant.conf file are found in /boot then they are both moved. You would not be able to delete them, as they would be gone already. If this does not happen, something is wrong.
After looking closely at your code, which is quite hard to follow, by the way, it appears you are simply trying to log the hour and the PAC value to your CSV file.
Let me suggest the following simpler code which is working for me on both the MacBook and the Pi:
# api call
INVERTER_URI = 'http://10.0.0.15/solar_api/v1/...
You are trying to install a package for a different processor architecture (AMD64) on the Pi (which is ARM). All the dependencies you see are AMD64 libraries. Because they are for a different processor, they will not run on the Pi. That is the reason why these dependencies are not in the repository for the Pi, and that they are not installable.
I have tried ...
7 years later, I was having the same issue, and the solution that worked for me was "Method 2" from https://www.raspberrypi-spy.co.uk/2014/04/how-to-change-the-command-line-font-size/.
In short, I did sudo nano /etc/default/console-setup and updated the FONTFACE and FONTSIZE fields to the size I wanted:
Then I saved ...