The apt-get installation software in docker does not work well

Report various errors apt-get install –no-install-recommends libboost-all-dev Reading package lists… Done Building dependency tree Reading state information… Done The following additional packages will be installed: autoconf automake autotools-dev cpp-8 gcc-8 gcc-8-base gfortran-8 ibverbs-providers icu-devtools libboost-atomic-dev libboost-atomic1.71-dev libboost-atomic1.71.0 libboost-chrono-dev libboost-chrono1 .71-dev libboost-chrono1.71.0 libboost-container-dev libboost-container1.71-dev libboost-container1.71.0 libboost-context-dev libboost-context1.71-dev libboost-context1.71.0 libboost-coroutine-dev libboost-coroutine1.71-dev libboost-coroutine1.71.0 libboost-date-time-dev libboost-date-time1.71-dev libboost-date-time1.71.0 libboost-dev libboost-exception-dev […]

3. The most complete Linux software package management apt-get command in the whole network

Apt-get tool set for Linux package management – – – – – – – There are all corresponding examples at the end – – – – – – – – In the Linux system, the installation, update and removal of software is a very important task. In order to facilitate software management for users, Linux […]

Solve Ubuntu error E: Unable to locate package yum [yum is the installation command of Centos, it is not recommended to install in Ubuntu, use apt-get in Ubuntu]

For mirror download, domain name resolution, and time synchronization, please click Alibaba Cloud Open Source Mirror Site Straight to the point, Ubuntu’s package management tool is apt-get, so there is no need to install yum. If you want to install other packages, you need to use the apt-get command. # Here take the locate command […]

apt-get install encountered 404 Not Found

System: docker images: nvidia/cuda:11.1-cudnn8-runtime-ubuntu20.04 Question An error was reported when apt install -y ceph-common WARNING: apt does not have a stable CLI interface. Use with caution in scripts. Reading package lists… Building dependency tree… Reading state information… The following additional packages will be installed: ibverbs-providers libaio1 libbabeltrace1 libboost-context1.71.0 libboost-iostreams1.71.0 libboost-program-options1.71.0 libboost-thread1.71.0 libcephfs2 libdw1 libelf1 libgoogle-perftools4 […]

Ubuntu 22.04 LTS apt-get update reports Key is stored in legacy trusted.gpg keyring warning solution

Background introduction Update the source under Ubuntu 22.04 LTS apt-get update encountered Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details. such warnings. Although the warning does not affect the execution, it is still uncomfortable for a patient with severe code obsessive-compulsive disorder and code cleanliness, so let’s […]

The difference between apt and apt-get in Ubuntu package management

Table of Contents History of apt and apt-get Comparison of apt and apt-get commands Examples of common commands Update repository index Upgrade installed packages list all available packages Keyword search installation package install software uninstall software View installation package information Clean up useless dependencies Clean up downloaded cache packages Clean up leftover configuration files View […]

[Solved] Solution for apt-get install encounter connection failure when installing ros on ubuntu16.04

When using Ubuntu to install ros, I encountered many times that apt-get failed to obtain resource connection, as shown below Solution: Method 1: Repeat the update and apt-get install commands according to the prompt command until successful sudo apt-get update sudo apt-get upgrade –fix-missing sudo apt-get install ros-kinetic-desktop-full //Take the ros I downloaded as an […]

[Solved] sudo apt-get update is very slow solution

Foreword: When I installed the ubuntu16.04 operating system, it was very slow to execute apt-get update. Later, I found this method on the Internet. 1. Open the terminal and enter the directory: cd /etc/apt 2. Backup the original source file: sudo cp sources.list sources.list.bak 3. Modify the source.list file, clear the contents, and copy the […]

[Solved] The solution to /var/lib/dpkg/lock-frontend when Ubuntu executes apt-get update

sudo apt-get update Sometimes the following error will be reported when Ubuntu executes the above statement E: Could not get lock /var/lib/dpkg/lock-frontend – open (11: Resource temporarily unavailable) E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it? Reason: It is because some other program is trying to update Ubuntu. When […]