How to solve dpkg: error processing install-info
正在设置 install-info (5.2.0.dfsg.1-2) ... /etc/environment: line 2: CLASS_PATH: command not found dpkg: error processing package install-info (--configure): 子进程 已安装 post-installation 脚本 返回了错误号 127 E: Sub-process /usr/bin/dpkg returned an error code (1)
Solution:
1. Rename the info folder: mv /var/lib/dpkg/info/ /var/lib/dpkg/info_old/
2. Create a new one info folder : mkdir /var/lib/dpkg/info/
3.apt-get update: apt-get update
4. Reinstall : apt-get -f install
5. After performing the previous step, some files will be generated in the new info folder. Now move all these files to the info_old folder: mv /var/lib/dpkg/info /* /var/lib/dpkg/info_old/
6. Delete your newly created info folder: rm -rf /var/lib/dpkg/info
7. Change the info_old folder back to info : mv /var/lib/dpkg/info_old/ /var/lib/dpkg/info/
8. Reinstall the software that needs to be installed
The above introduces how to solve dpkg: error processing install-info, including the relevant content. I hope it will be helpful to friends who are interested in PHP tutorials.

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



Windows 11 introduces a wealth of new features and a comprehensively improved appearance, placing greater emphasis on unity and efficiency. So, today’s topic is how to create a Windows 11 USB installer on Mac. Performing a clean installation of Windows 11, rather than an upgrade, is the method that yields the best results when getting the operating system. Using a drive bootable in Windows 11, you can perform this task. If you have a Windows PC, making a bootable CD for Windows 11 is a very simple process. On the other hand, if you are using a Mac, the process is a little more complicated. This article will describe how to use the base

Install PHP on Windows using Command Prompt or PowerShell Install ChocolateyChoco Package Manager I tried the Windows default package manager Winget but could not install PHP through it. Therefore, the other best option left is to use the popular Chocolatey package manager. But unlike Winget, Choco does not exist in our Windows system by default, so we need to install it manually on our system. Go to your Windows 10 or 11 search box and type CMD, when it appears select "Run as administrator" to copy the given command

How to Use macOS Recovery to Install macOS on a New SSD On any Mac built after 2009, there is a built-in recovery system. This allows you to boot your Mac into recovery mode. In this mode, you can repair the internal disk, restore files from a Time Machine backup, get online help, or reinstall macOS. You must have an Internet connection to use these tools. You can use the macOS installation tool to install macOS on a new SSD installed in your computer. To use Internet Recovery to install macOS on an SSD: Follow the manufacturer's instructions

Preface: At work, I encountered a Javaweb project built with the SpringBoot framework that needed to integrate third-party push functions, so I used the Xiaomi push service and downloaded the relevant jar package. Introducing local jars into the project is not a big problem. After writing the code, it is no problem to pass the test class test. Then prepare to package and deploy to the development server. Since the project is deployed through tomcat, the packaging method is into a war package. After packaging, upload it to the development server. After successful startup, I went to test the written push interface and found that it failed. Through analysis, it was found that the lib directory in the packaged war where the project's dependent jars are stored does not contain locally introduced push-related jar packages. After struggling for half an hour, the problem was solved. solve

Audio output and input require specific drivers and services to work as expected on Windows 11. These sometimes end up running into errors in the background, causing audio issues like no audio output, missing audio devices, distorted audio, etc. How to Fix Audio Service Not Responding on Windows 11 We recommend you to start with the fixes mentioned below and work your way through the list until you manage to resolve your issue. The audio service may become unresponsive for a number of reasons on Windows 11. This list will help you verify and fix most issues that prevent audio services from responding on Windows 11. Please follow the relevant sections below to help you through the process. Method 1: Restart the audio service. You may encounter

This article brings you relevant knowledge about JavaScript. It mainly introduces the differences between var, let and const, as well as the relationship between ECMAScript and JavaScript. Interested friends can take a look at it. I hope Helpful to everyone.

The role and examples of var keyword in PHP In PHP, the var keyword is used to declare a variable. In previous PHP versions, using the var keyword was the idiomatic way to declare member variables, but its use is no longer recommended. However, in some cases, the var keyword is still used. The var keyword is mainly used to declare a local variable, and the variable will automatically be marked as local scope. This means that the variable is only visible within the current block of code and cannot be accessed in other functions or blocks of code. Use var

In Linux, lib is the library file directory, which contains all library files useful to the system; library files are files required for the correct execution of applications, commands, or processes. The role of lib is similar to the DLL file in Windows. Almost all applications need to use the shared library files in the lib directory. lib is the abbreviation of Library (library). This directory stores the most basic dynamic link shared library of the system, and its function is similar to the DLL file in Windows. Almost all applications require these shared libraries. The /lib folder is the library file directory and contains all library files useful to the system. Simply put, it is a file that is required for the correct execution of an application, command, or process. in/bi
