apt: command [sudo apt-get install -y liblog4cxx10-dev] failed
When I use the command:
rosdep install --from-paths src --ignore-src --rosdistro hydro -y
It reports the errors:
executing command [sudo apt-get install -y liblog4cxx10-dev]
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
liblog4cxx10-dev : Depends: libaprutil1-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
ERROR: the following rosdeps failed to install
apt: command [sudo apt-get install -y liblog4cxx10-dev] failed
Could anyone help me? I googled around and tried, but still cannot install liblog4cxx10-dev. Here is the details:
If I type enter code here
sudo apt-get install -y liblog4cxx10-dev`,
It has the error:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
liblog4cxx10-dev : Depends: libaprutil1-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
What OS are you running? What are your apt-sources?
Hi, My OS is Ubuntu 12.04 TLS 64bit. I want to install desktop version with the command " $ rosinstall_generator desktop --rosdistro hydro --deps --wet-only > hydro-desktop-wet.rosinstall". But I mistakely typed the command for desktop_full which is "$ rosinstall_generator desktop_full --rosdistro hydro --deps --wet-only > hydro-desktop-full-wet.rosinstall". So I delete the hydro-desktop-full-wet.rosinstall file and re-run the command "$ rosinstall_generator desktop --rosdistro hydro --deps --wet-only > hydro-desktop-wet.rosinstall". I have added the ros's source into my system with the command "sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu precise main" > /etc/apt/sources.list.d/ros-latest.list'" Thank you so much for your reply!