LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 12-07-2006, 05:57 AM   #1
trackrat
Member
 
Registered: Feb 2004
Location: Birmingham UK
Posts: 148

Rep: Reputation: 15
dpkg problem


I've really messed it up, When I try to download any packages I get this error message.

E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.

As I have never come across this before, how do I go about manually configuring this to corect it.

I am using Edgy Eft.
 
Old 12-07-2006, 06:50 AM   #2
mikieboy
Member
 
Registered: Apr 2004
Location: Warrington, Cheshire, UK
Distribution: Linux Mint 19.1 Xfce
Posts: 555

Rep: Reputation: 33
AFAIK dpkg --configure -a will attempt to configure packages that have already been unpacked and run the postinst script:

Quote:
This script typically completes any required configuration of the package foo once foo has been unpacked from its Debian archive (".deb") file. Often, 'postinst' scripts ask the user for input, and/or warn the user that if he accepts default values, he should remember to go back and re-configure that package as the situation warrants. Many 'postinst' scripts then execute any commands necessary to start or restart a service once a new package has been installed or upgraded
It will also update the files listed in the conffiles for the packages.

As I understand it, you will run the command and answer any questions (accepting the default where you are unsure). Depending on the number of packages involved, I guess it could take some time.

Good luck!
 
Old 12-07-2006, 07:20 AM   #3
trackrat
Member
 
Registered: Feb 2004
Location: Birmingham UK
Posts: 148

Original Poster
Rep: Reputation: 15
Mikieboy, thanks for that answer, I have figured it out, all I had to do was run
sudo dpkg --configure -a

And it sorted itself out.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Input/Output Error; dpkg sub-process /usr/bin/dpkg returned and error code (2) NosLycn Linux - Software 7 12-12-2011 02:50 AM
APT/dpkg errors! /var/lib/dpkg/status bassclarinet Debian 16 12-01-2011 09:24 AM
dpkg is dead! error in /var/lib/dpkg/available dezert_fox Debian 4 11-22-2011 10:28 AM
problem with dpkg farshad1366 Debian 1 09-12-2004 07:24 AM
dpkg problem nrunge Linux - Software 1 04-21-2004 04:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 12:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration