Tag Archives: Compilation error summary

Dpkg: error processing package XXX solution

1. Error content:

root@xxx:/home/my_project/application-necessities# sudo apt-get -y install build-essential nghttp2 libnghttp2-dev libssl-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
build-essential is already the newest version (12.4ubuntu1).
libnghttp2-dev is already the newest version (1.30.0-1ubuntu1).
nghttp2 is already the newest version (1.30.0-1ubuntu1).
libssl-dev is already the newest version (1.1.1-1ubuntu2.1~18.04.6).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up nghttp2-proxy (1.30.0-1ubuntu1) ...
Job for nghttpx.service failed because the control process exited with error code.
See "systemctl status nghttpx.service" and "journalctl -xe" for details.
invoke-rc.d: initscript nghttpx, action "start" failed.
● nghttpx.service - HTTP/2 proxy
   Loaded: loaded (/lib/systemd/system/nghttpx.service; disabled; vendor preset: enabled)
   Active: activating (auto-restart) (Result: exit-code) since Mon 2021-08-30 23:23:55 CST; 30ms ago
     Docs: man:nghttpx
  Process: 124287 ExecStart=/usr/sbin/nghttpx --conf=/etc/nghttpx/nghttpx.conf (code=exited, status=255)
 Main PID: 124287 (code=exited, status=255)
dpkg: error processing package nghttp2-proxy (--configure):
 installed nghttp2-proxy package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of nghttp2:
 nghttp2 depends on nghttp2-proxy (>= 1.30.0-1ubuntu1); however:
  Package nghttp2-proxy is not configured yet.

dpkg: error processing package nghttp2 (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          Errors were encountered while processing:
 nghttp2-proxy
 nghttp2
E: Sub-process /usr/bin/dpkg returned an error code (1)

2. Violence problem solving:

sudo mv /var/lib/dpkg/info/ /var/lib/dpkg/info_old/
sudo mkdir /var/lib/dpkg/info/
sudo apt-get update

3 install it again

apt-get install xxxx

4 Preferences

https://blog.csdn.net/dou3516/article/details/105120221

[Solved] Error in porting libzrtp: automake-1.14: command not found

Error:

cd . && /bin/bash /home/disk//libzrtp/src/config/missing automake-1.14 –gnu
/home/disk/libzrtp/src/config/missing: line 81: automake-1.14: command not found
WARNING: ‘automake-1.14’ is missing on your system.
You should only need it if you modified ‘Makefile.am’ or
‘configure.ac’ or m4 files included by ‘configure.ac’.
The ‘automake’ program is part of the GNU Automake package:
http://www.gnu.org/software/automake
It also requires GNU Autoconf, GNU m4 and Perl in order to run:
http://www.gnu.org/software/autoconf
http://www.gnu.org/software/m4/
http://www.perl.org/
make[2]: *** [Makefile.in] Error 1

Principle:
1, the execution of autoscan will generate a configure.scan file, which can be used as a blueprint for the configure.in file.
2. Execute aclocal and autoconf, which will generate aclocal.m4 and configure files respectively.
The specific operations.

./autoscan
./aclocal
./autoconf
automake –add-missing
./configure