Rapsberry pi getting an 404 ERROR while upgrading - raspberry-pi

I tried to install the FLIR Lepton library on Raspberry Pi zero w but as i was theFLIR Lepton (sudo apt-get install qt4-dev-tools)in pi this error message show up
Get:105 http://archive.raspberrypi.org/debian buster/main armhf vlc-plugin-video-splitter armhf 3.0.12-0+deb10u1+rpt1 [140 kB]
Get:106 http://archive.raspberrypi.org/debian buster/main armhf vlc-plugin-visualization armhf 3.0.12-0+deb10u1+rpt1 [142 kB]
E: Failed to fetch http://mirror1.ku.ac.th/raspbian/raspbian/pool/main/b/base-files/base-files_10.3+rpi1+deb10u8_armhf.deb 404 Not Found [IP: ---------]
E: Failed to fetch http://mirror1.ku.ac.th/raspbian/raspbian/pool/main/s/systemd/systemd-sysv_241-7~deb10u6+rpi1_armhf.deb 404 Not Found [IP: ---------]
this is an example there are 100+ line of these
as i trying to troubleshoot the error i found out that not just the upgrading that has an error. there is the same 404 error with upgrade and update as well. Is there any problem with the raspberry pi or maybe my internet?
PS. The raspberry pi is brand new, and i use ssh to connect to the raspberry pi
PS.2 I just reinstall the OS the result is the same
PS.3 I randomly choose the link in the terminal. it direct me in to the ERROR 404 web as well

1 . Erase the sdcard you are using (if it is not carrying some data you don't want to lose)
2. Download a previous version of pios or upgrade the current one

my answer is that there are some problem in mirror1.ku what i need to do is go to
sudo nano /etc/apt/sources.list
then add
deb http://mirror1.ku.ac.th/raspbian buster main contrib non-free rpi
in the last line then its all fine. the reason is that my raspberry is redirecting into the wrong directory and that's the reason for 404 error

This is because your raspberry is not updated, still pointing to old repos. For fix it you should update it, you can follow the instructions here. After that all work as expected for me and not more 404. raspberrypi.com/documentation/computers/os.html

A fastest and safest way is: installing a new LTS OS rather than trying to fix a lot of issues on that obsolete/outdated raspbian OS. Ubuntu for Raspberry Pi is the best choice (very long time support). It takes around 5-8 minutes to download and install the OS.
Backup important data on your Pi.
Use your laptop/PC, download 1GB Ubuntu server image.
Use application Raspberry Pi Imager to burn the image to your SD card with pre-configured wifi, SSH key, username/password.
Plug SD card to your Pi and enjoy.

Related

Installing Pillow: "Unable to locate package libwebpmux3"

I am trying to install Pillow on a Raspberry Pi Zero W. I am going through these instructions:
https://brachiograph.readthedocs.io/en/latest/get-started/install.html
When I run:
sudo apt install libwebp6 libtiff5 libjbig0 liblcms2-2 libwebpmux3 libopenjp2-7 libzstd1 libwebpdemux2
I get the error:
E: Unable to locate package libwebpmux3
Any ideas on how to resolve this? Thank you!
I had the same issue when trying to setup a BrachioGraph (https://brachiograph.readthedocs.io/en/latest/get-started/install.html) on Raspberry Pi (Raspbian).
I updated to the latest Raspbian version via the Raspberry Pi website, and was able to install this library.

Unable to locate package ros-kinetic-depthimage-to-laserscan (On Raspberry Pi)

I want to connect my microsoft kinect 360 with ROS on my Raspberry Pi3b. I've already installed Ubuntu and Ros on the Device. I follow the instructions on this link:
https://www.youtube.com/watch?v=eOUjvwyRz9U.
At the installation part
sudo apt install ros-kinetic-depthimage-to-laserscan
I get this Error:
E: Unable to locate package ros-kinetic-depthimage-to-laserscan
I hope you can help me.
Install rosdep and run rosdep update

How to install pandasdmx on raspbian raspberry pi

I tried to install a pandasdmx package on Raspbian (Linux for Raspberry Pi).
It failed because in is not possible to install libxml2 on the Raspbian.
Here is the error message that I get:
*********************************************************************************
Could not find function xmlCheckVersion in library libxml2. Is libxml2 installed?
*********************************************************************************
error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
Before this, I installed the libxl2 manually using this post, and the installation did seem to work.
Any hint?
I found the answer. The problem was in the libxml installation.
The proper way to do it on raspbian:
Why can't I get `pip install lxml` to work within a virtualenv?

launching (auto launch) bfgminer on a Raspberry Pi with Raspbian

I drill down to the folder where bfgminer.exe lives on my Raspberry Pi with Raspbian OS and issue this command:
screen -S Mining .bfgminer –o http://mint.bitminter.com:3333 –u username.myname –p 123
I get a command not found message. I have tried everything I can think of to get the syntax correct. Where am I going wrong
You need to install screen if it's not installed by default:
sudo apt-get install screen

Unable to locate package ros-indigo-openni-kinect

I am working on raspberry pi B. OS is rasbian and ı have installed ros indigo using this tutorials on raspberry pi. Now ı want to work with raspberry pi + kinect. When ı run
roslaunch openni_launch openni.launch
ı had an error like this
[openni.launch] is neither a launch file in package [openni_launch] nor is [openni_launch] a launch file name The traceback for the exception was written to the log file
Then ı try to install openni but ı had an error is below.
pi#raspberrypi ~ $ sudo apt-get install ros-indigo-openni-kinect
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package ros-indigo-openni-kinect
How can ı run kinect on raspberry pi. pls help??
You could have had a look at ROS Answer before asking.
Anyway, as it is explained there, openni-kinect is deprecated and it is suggested to use openni-launch instead.
To install this package:
sudo apt-get install ros-indigo-openni-launch
The only solution I know to get the kinect working on the Raspberry pi? You can retrieve the depth map and the rgb matrix with this library, basically all you need.
Check this out:
https://github.com/xxorde/librekinect
Maybe StackEchange is a friendly zone but in this case ROS answer is the most suited place to ask.