E: Sub-process/usr/bin/dpkg returned an error code (1) solution, sub-processdpkg

Source: Internet
Author: User

E: Sub-process/usr/bin/dpkg returned an error code (1) solution, sub-processdpkg
E: Sub-process/usr/bin/dpkg returned an error code (1) Solution

Software Version:
Operating System: ubuntu 10.04
Kernel version: Linux version 2.6.32-41-generic

Directory:
1. Error
2. Solution
1) solution 1
2) solution 2
3) solution 3
3. References

1. Error

When you use apt-get to install the tool, you will encounter this error no matter what software you install:

dpkg: warning: files list file for package `tex-common' missing, assuming package has no files currently installed.(Reading database ... 150177 files and directories currently installed.)Preparing to replace tex-common 2.06ubuntu0.1 (using .../tex-common_2.06ubuntu0.1_all.deb) ...Unpacking replacement tex-common ...Processing triggers for doc-base ...Processing 2 changed doc-base file(s)...Registering documents with scrollkeeper...Processing triggers for man-db ...Setting up tex-common (2.06ubuntu0.1) ...Running mktexlsr. This may take some time... done.No packages found matching texlive-base.dpkg: error processing tex-common (--configure): subprocess installed post-installation script returned error exit status 1Errors were encountered while processing: tex-commonE: Sub-process /usr/bin/dpkg returned an error code (1)

 

2. Solution

1) solution 1

Cd/var/lib/dpkgsudo mv info. baksudo mkdir info re-install. Here: sudo apt-get -- reinstall vsfpd
sudo mv info info.bak
sudo mkdir info
Reinstallation:
sudo apt-get --reinstall vsfpd

This solution comes from [1]. This method may cause a large volume of warning during software installation.

2) solution 2

cd /var/lib/dpkg/info
sudo mkdir vsftpd
sudo mv vsftpd.* vsftp

This method is based on the solution and can solve this problem. I am not sure if it will cause other errors.

3) solution 3

sudo apt-get purge vsftpd
sudo apt-get install vsftpd

This solution is to clear vsftpd and reinstall it. From [2].

3. References

[1]. http://forum.ubuntu.org.cn/viewtopic.php? F = 86 & amp; t = 90547
Http://askubuntu.com/questions/25693/dpkg-behaving-strangely.



Dependency problem-not configured, and then the final returned E: Sub-process/usr/bin/dpkg returned an error code (1)

I also encountered the same problem. After a long time, I still did not do well. I don't know why, but now I am so depressed !!!
 
When installing LockInfo, Is there always an error such as "Sub-process/usr/bin/dpkg returned an error code (1?

Dependency conflict. First uninstall your dependency and then install it in the source.
Just unmount the Wei Feng source. I just got it.
 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.