• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here: Home » Fix E: Sub-process /usr/bin/dpkg returned an error code (1)

By Abhishek Ghosh February 11, 2017 7:52 pm Updated on February 11, 2017

Fix E: Sub-process /usr/bin/dpkg returned an error code (1)

Advertisement

There are various types of odd errors on servers which actually do not have any common way of fix. Here is One Fix For E: Sub-process /usr/bin/dpkg returned an error code (1) Error Which Makes APT To Fail to Update Packages on Ubuntu 16.04. Inventing the way of error probably helps in fixing similar types of errors. Please carefully read the next each and every sentences.

 

Before You Proceed For Our Way To Fix E: Sub-process /usr/bin/dpkg returned an error code (1)

 

Before proceeding to use our way to fix, you must try the common ways described on standard Q&A websites like StackExchange, AskUbuntu. Our way possibly last way and better to be used as last resort.

 

Fix E: Sub-process /usr/bin/dpkg returned an error code (1)

 

I am describing what exactly happened in our case. I can apt update, then apt upgrade. In the middle of running upgrade the things got broken and started to throw odd errors which has nothing to do with real problem. It was impossible to update, upgrade, install or remove packages in any method we normally know (except brutally deleting everything).

Advertisement

---

After many trial and error, I understood that the problem is either with the sources as first source of error :

Vim
1
2
/etc/apt/sources.list.d
/etc/apt/sources.list

I went to /etc/apt/sources.list.d and ran ls, deleted some files with .save extension, some unnecessary. I opened /etc/apt/sources.list and commented which are not need or do not have GPG key.

Thereafter I went to /var/lib/dpkg/info and ran ls :

Vim
1
2
cd /var/lib/dpkg/info
ls

Then I brutally deleted all the .postinst files :

Vim
1
rm *.postinst

Thereafter I ran :

Vim
1
sudo apt-get clean

Thereafter exactly what I needed to perform :

Vim
1
2
sudo apt update
sudo apt upgrade

I faced no trouble after running the above commands. I really do not know how exactly the commands worked but they worked for me. I hope this guide will be useful to someone in condition like that of me. What I saw from various Q&A sites that experts give importance to the below line on screenshot :

Fix E Sub-process -usr-bin-dpkg returned an error code-1

They are :

nsserv: warning: script ‘wide-dhcpv6-client’ missing LSB tags and overrides
insserv: warning: script ‘bind9’ missing LSB tags and overrides
insserv: There is a loop between service nginx and bind9 if stopped
insserv: loop involving service bind9 at depth 2
insserv: loop involving service nginx at depth 1
insserv: loop involving service syslog-ng at depth 4
insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header

But, basically their methods not worked for me. Lot of peoples searches how to fix update-rc.d: error: insserv rejected the script header error. I guess my case will help them.

Tagged With E: Sub-process /usr/bin/dpkg returned an error code (1) , Sub-process /usr/bin/dpkg returned an error code (1) , e: sub-process returned an error code , what is E: Sub-process /usr/bin/dpkg returned an error code (1) , sub-process /usr/bin/dpkg return with error (1) , sub process usr bin dpkg returned an error code 1 , sub process returned error fix parrot os , sub peocess /usr/bin/dpkg returned an error code (1) , resolve /usr/bin/dpkg , parrot dpkg error

This Article Has Been Shared 579 Times!

Facebook Twitter Pinterest

Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to Fix E: Sub-process /usr/bin/dpkg returned an error code (1)

  • Top Cloud Computing Vendors

    Top Cloud Computing Vendors consists the name of the companies who has acceptable quality in the field of Cloud Computing as SaaS,IaaS or PaaS provider.

  • Tablet and Smartphone Security on the Cloud

    Tablet and Smartphone Security on the Cloud is becoming more and more important as to simplify cloud services many storage and applications are now accessed.

  • Install QR Code Generator on Rackspace Cloud Sites

    Install QR Code Generator on Rackspace Cloud Sites of your own on Rackspace Cloud Sites within few minutes. Who needs a third party to generate QR Code again !

  • Real Cloud OS : Rackspace Ubuntu Cloud Server with Guacamole

    Real Cloud OS build on Rackspace Ubuntu Cloud Server with Guacamole. Access a real Ubuntu 12.04 Desktop Computer on Cloud from your browser with everything.

  • Cloud Computing : The Wall Between Applications and Platform

    Cloud Computing Application development in the past less needed to have less detailed knowledge of the infrastructure for developers but is relevant now.

Additionally, performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (24.3K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • Online Dating: How to Find Your Match March 20, 2023
  • Web Design Cookbook: Logo March 19, 2023
  • How Starlink Internet Works March 17, 2023
  • The Importance of a Camera Tracking System in Virtual Production March 15, 2023
  • Understanding the Key Differences between Docker and OpenVZ March 14, 2023

About This Article

Cite this article as: Abhishek Ghosh, "Fix E: Sub-process /usr/bin/dpkg returned an error code (1)," in The Customize Windows, February 11, 2017, March 21, 2023, https://thecustomizewindows.com/2017/02/fix-e-sub-process-usrbindpkg-returned-error-code-1/.

Source:The Customize Windows, JiMA.in

PC users can consult Corrine Chorney for Security.

Want to know more about us? Read Notability and Mentions & Our Setup.

Copyright © 2023 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy

We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
Do not sell my personal information.
Cookie SettingsAccept
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT