Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Dpkg: error resolution when processing software package XXXX (--configure)

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

Can't exec "md5sum": there is no file or directory at / usr/share/perl/5.24/IPC/Open3.pm line 178, line 11.

Open2: exec of md5sum failed: No such file or directory at / usr/sbin/pam-auth-update line 394.

Dpkg: error processing package libpam-systemd:amd64 (--configure):

The child process has installed the post-installation script and returned error status 2

Setting tex-common (6.06).

/ usr/sbin/update-texmf: 1: / usr/sbin/update-texmf: find: not found

/ usr/sbin/update-updmap: line 271: / usr/bin/find: there is no such file or directory

Dpkg: error processing package tex-common (--configure):

The child process has installed the post-installation script and returned error status 127

Setting initramfs-tools (0.127)...

Update-initramfs: deferring update (trigger activated)

Dpkg: dependency issues prevent the configuration of network-manager from continuing:

Network-manager depends on libpam-systemd;, however:

The package libpam-systemd:amd64 has not been configured.

Dpkg: error processing package network-manager (--configure):

Dependency issues-still not configured

Dpkg: dependency issues prevent the configuration of texlive-latex-base from continuing:

Texlive-latex-base depends on tex-common (> = 6); however:

The package tex-common has not been configured.

Dpkg: error processing package texlive-latex-base (--configure):

Dependency issues-still not configured

Dpkg: dependency issues prevent the configuration of texlive-latex-base-doc from continuing:

Texlive-latex-base-doc depends on tex-common (> = 6); however:

The package tex-common has not been configured.

Dpkg: error processing package texlive-latex-base-doc (--configure):

Dependency issues-still not configured

Processing trigger for initramfs-tools (0.127).

/ usr/sbin/update-initramfs: 218: / usr/sbin/update-initramfs: ls: not found

Update-initramfs: Generating / boot/initrd.img-4.9.0-kali2-amd64

Solution:

Whether you want sudo or not, choose by yourself.

1.$ sudo mv / var/lib/dpkg/info / var/lib/dpkg/info_old / / rename the info folder now

2.$ sudo mkdir / var/lib/dpkg/info / / create a new info folder

3. $sudo apt-get update & & apt-get-f install / / No need to explain

4. $sudo mv / var/lib/dpkg/info/* / var/lib/dpkg/info_old / / 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.

5.$ sudo rm-rf / var/lib/dpkg/info / / Delete the newly created info folder

6. $sudo mv / var/lib/dpkg/info_old / var/lib/dpkg/info / / change the previous info folder

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report