I tried installing libedit-dev on Raspberry Pi using:
sudo apt-get install libedit-dev
and it reports that it requires multiple dependencies, such as libbsd-dev (>= 0.1.3). However, when I run apt --fix-broken install, it reports that:
Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/libb/libbsd/libbsd-dev_0.9.1-2_armhf.deb 404 Not Found
I have already updated apt but still cannot install this package. How can I fix this?
Related
Please help me.
i have try out alot of way to get install, upgrade my python3.7 to python3.9 yet it keep shows up error.
sudo apt-get install python3
(Python3 is already the newest version [3.7.3-1])
sudo apt-get upgrade python3
(Python3 is already the newest version [3.7.3-1])
sudo add-apt-repository ppa:deadsnakes/ppa
(file "/user/bin/add-apt-repository", line 95, in )
(sp = SoftwareProperties(options=options)
(....)
(Error: could not find a distribution template for Raspbian/buster)
sudo apt-get install build-essential python-dev libsqlite3-dev libreadline6-dev libgdbm-dev zlib1g-dev libbz2-dev sqlite3 zip
(after install 2 newly package)
sudo apt-get install python3 python3-dev
(still back to python3.7)
anyone know how to make it to python3.9?
you have to type this in terminal:
sudo apt install python3.9
but you never can upgrade your Linux python to a newer version. It is internal.
but you can install python3.9 and use virtualenv to use your code in python3.9
I am trying to install MySQL on a Raspberry Pi 3. Currently I have Apache and PHP installed. I now need to install MySQL but when I do sudo apt-get install mysql-server php-mysql -y, I receive an error telling me that there is no such package:
E: Package 'mysql-server' has no installation candidate
Complete output:
pi#raspberrypi:/var/www/html $ sudo apt-get install mysql-server php-mysql -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package mysql-server is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
mariadb-server-10.0
E: Package 'mysql-server' has no installation candidate```
I guess using MariaDB fixes my issue.
sudo apt install mariadb-server php-mysql -y
i can't download any program using Ubuntu Software.
Example error defination is that(for install Kdenlive) :
Unable to install Kdenlive:
Error while installing package: mongo-tools 3.6.3-0ubuntu1 ..... '/usr/bin/bsondump'
Try this:
sudo apt-get update
sudo apt-get install mongodb-org-tools
sudo apt-get install kdenlive
and post the errors you are getting, if any.
Not sure what the issue is. But when I
sudo apt-get install mysql
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package mysql
I get the same error when I try and install nginx.
Have a raspberry pi 3 b+. sudo apt-cache search nginx turns up no results
First you should update package list:
sudo apt-get update
then:
sudo apt-get install mysql-server nginx
I already tried doing the update, but nothing happened. Then I ran sudo apt-get dist-upgrade and now I am getting nginx and mysql-server.
I tried the following instructions to install ROS indigo on my RPi2.
http://wiki.ros.org/ROSberryPi/Installing%20ROS%20Indigo%20on%20Raspberry%20Pi
But in the step 2.2.2
$ rosdep install --from-paths src --ignore-src --rosdistro indigo -y -r --os=debian:wheezy
I got:
ERROR: the following rosdeps failed to install
apt: command [sudo -H apt-get install -y python-rosdep] failed
apt: command [sudo -H apt-get install -y python-rospkg] failed
apt: command [sudo -H apt-get install -y python-catkin-pkg] failed
apt: Failed to detect successful installation of [python-rosdep]
apt: Failed to detect successful installation of [python-rospkg]
apt: Failed to detect successful installation of [python-catkin-pkg]
Is there anybody can help me??
I tried following command to manually install python-rosdep
$ sudo -H apt-get install -y python-rosdep
It said:
The following packages have unmet dependencies:
python-rosdep : Depends: python:any (>= 2.7.1-0ubuntu2) but it is not installable
Depends: python-catkin-pkg but it is not going to be installed
Depends: python-rospkg (>= 1.0.34) but it is not going to be installed
Depends: python-rosdistro (>= 0.4.0) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
$ python --version
Python 2.7.3
I have installed python-2.7.3. I don't know why it said "python >=2.7.1-0ubuntu2" is ont installable...
Kevin Kuei
Oh... I found the statement in the installation guide:
Note: Rosdep may report that python-rosdep, python-catkin-pkg, python-rospkg, and python-rosdistro failed to install; however, you can ignore this error because they have already been installed with pip.
So.. those error message can be ignored.. :D