Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

When I use apt to get a package, I have been receiving the same error message. Here is an example trying to install wicd (which is already installed):

    Reading package lists...
Building dependency tree...
Reading state information...
wicd is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
3 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up tex-common (2.06) ...
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend requires a screen at least 13 lines tall and 31 columns wide.)
debconf: falling back to frontend: Readline
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 1
dpkg: dependency problems prevent configuration of texlive-binaries:
 texlive-binaries depends on tex-common (>= 2.00); however:
  Package tex-common is not configured yet.
dpkg: error processing texlive-binaries (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of dvipng:
 dvipng depends on texlive-base-bin; however:
  Package texlive-base-bin is not installed.
  Package texlive-binaries which provides texlive-base-bin is not configured yet.
dpkg: error processing dvipng (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
No apport report written because the error message indicates its a followup error from a previous failure.
Errors were encountered while processing:
 tex-common
 texlive-binaries
 dvipng
E: Sub-process /usr/bin/dpkg returned an error code (1)

I'm not sure if this is a problem with apt or with dpkg, but it certainly doesn't look good!

share|improve this question

migrated from stackoverflow.com Feb 10 '11 at 19:34

This question came from our site for professional and enthusiast programmers.

    
What exact command did you use? –  Tshepang Feb 10 '11 at 18:44
    
Oof! I've been hit by a wall of text! Seems like the relevant parts are the command sudo apt-get install tex-common and the result No packages found matching texlive-base. –  Firefeather Feb 10 '11 at 21:26
    
(That is, assuming sudo apt-get install tex-common was the command you ran.) –  Firefeather Feb 10 '11 at 21:33

4 Answers 4

This is usually fixed with two commands:

sudo apt-get update

To update your database to the latest packages.

sudo apt-get -f upgrade

To upgrade and fix those packages.

share|improve this answer
    
The second command here worked for me. –  Seamus May 4 '11 at 14:07

@Tshepang, Firefeater: The command was "sudo apt-get install X" where X is anything I've tried to install lately. I don't actually know whether or not I'm using the 3 packages it complains about. I certainly don't use them directly, but maybe some other thing I do use wants them.

@Javier Rivera: I ran the two commands you suggested. Many things happened, things were downloaded, and at the end, I got (again)

Errors were encountered while processing:
 tex-common
 texlive-binaries
 dvipng
E: Sub-process /usr/bin/dpkg returned an error code (1)
share|improve this answer
    
Can you add your software sources to your question? –  Lekensteyn Feb 28 '11 at 18:10
    
Can you add this update the question, since it's hard to follow when spread out in additional answers/comments? –  belacq Mar 1 '11 at 6:18

Try sudo apt-get clean and sudo apt-get autoremove to see if this clears the error.

If you haven't tried to purge the packages, you can try that as well:

sudo apt-get purge texlive-base-bin
sudo apt-get purge texlive-binaries
sudo apt-get purge tex-common

Here's a launchpad bug page which I believe has relevant information.
There is also a thread on ubuntuforums where someone had a very similar problem.

share|improve this answer

It looks like you are missing texlive-base Install texlive-base.

You can install it in the Software Center from that link, or in the Terminal (Ctrl+Alt+T) with:

sudo apt-get update
sudo apt-get install texlive-base
share|improve this answer
1  
It appears that he was having a problem because apt couldn't find a package called texlive-base in any of his computer's repositories. So apt-get install texlive-base will probably return the same error. –  Firefeather Feb 10 '11 at 21:31

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.