RK3399Pro sudo apt-get upgrade相关问题

RK3399Pro sudo apt-get upgrade相关问题

  1. sudo apt-get upgrade 出现 not upgraded 解决办法(0 upgraded,0 newly installed,0 to remove and 23 not upgraded)
  2. sudo apt-get upgrade 出现dpkg:error processing package rsyslog (–configure)解决办法
  3. sudo apt-get upgrade 出现 not upgraded 解决办法(0 upgraded,0 newly installed,0 to remove and 23 not upgraded)

执行

$ sudo apt-get dist-upgrade
1
2. sudo apt-get upgrade 出现dpkg:error processing package rsyslog (–configure)解决办法

通过执行以下命令有效解决该问题:

$ sudo mv /var/lib/dpkg/info/ /var/lib/dpkg/info_old/
$ sudo mkdir /var/lib/dpkg/info/
$ sudo apt-get update
$ sudo apt-get -f install
$ sudo apt-get update
$ sudo apt-get upgrade
1
2
3
4
5
6
注:如果依然存在问题,请查询Ubuntu系统默认python版本,一般如果修改过默认版本,修改回python2.7原始默认版本即可)
————————————————
版权声明:本文为优快云博主「汇创慧玩」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.youkuaiyun.com/limuyuanrs/article/details/107979262

### RK3399 ROS Setup and Configuration #### Installation of Ubuntu System For setting up the Robot Operating System (ROS) on an RK3399 hardware platform, starting with a suitable operating system is essential. The choice here leans towards installing Ubuntu 18.04 as it provides stability along with compatibility for running ROS applications effectively[^4]. #### Installing ROS on RK3399 Once the Ubuntu environment has been established successfully, proceeding to install ROS becomes straightforward. For comprehensive development purposes including simulation tools like RViz and Gazebo alongside core libraries necessary for building robotic systems, opting for a full desktop installation proves beneficial. The command used specifically targets this kind of setup: ```bash sudo apt-get update && sudo apt-get upgrade -y sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list' sudo apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654 sudo apt-get update sudo apt-get install ros-melodic-desktop-full ``` This ensures that all dependencies required by ROS are met within your current Linux distribution while also fetching any updates available from official repositories before initiating the actual package download process[^3]. After completing these steps, initializing `rosdep` can help manage additional dependency requirements efficiently across different packages one might wish to integrate into projects later down the line: ```bash sudo rosdep init rosdep update ``` Setting up environmental variables permanently allows easier access whenever working inside terminal sessions without needing repeated configurations each time they start anew: ```bash echo "source /opt/ros/melodic/setup.bash" >> ~/.bashrc source ~/.bashrc ``` To verify whether everything was set correctly after following through above instructions, executing commands such as checking version information should yield positive results indicating successful completion of initial stages outlined so far: ```bash rosversion -d ``` #### Building Custom Packages Creating custom workspace directories facilitates organizing personal developments separately outside default paths provided during standard installations. This approach helps maintain cleanliness between original files versus those modified or created independently over time due to project-specific needs arising periodically throughout experimentation phases involving SLAM algorithms among others. Establishing new workspaces involves creating directory structures followed by invoking build processes using Catkin—the de facto build tool utilized widely within ROS communities today: ```bash mkdir -p ~/catkin_ws/src cd ~/catkin_ws/ catkin_make source devel/setup.bash ``` These actions prepare grounds whereupon further coding activities may commence comfortably knowing infrastructure already laid out supports rapid prototyping cycles demanded frequently when iterating upon ideas rapidly during research endeavors focused around robotics technologies leveraging platforms similar to RK3399 equipped appropriately via software stacks mentioned earlier hereinbefore described comprehensively enough covering key aspects related directly thereto accordingly[^5].
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值