LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 08-04-2012, 11:50 AM   #1
Sweyn78
Member
 
Registered: Jul 2011
Location: Tallahassee, Florida
Distribution: Kubuntu 12.10
Posts: 43

Rep: Reputation: Disabled
Exclamation dpkg Not Working for Some Odd Reason (Kubuntu)


Hello! I'm running Netrunner 4.2 (which is a modded version of Kubuntu 12.04). Last night I was using Synaptic (which comes with Netrunner), and I realized it was horribly out of date (from 2004, actually), and seeing as I used it a lot, I wanted to have a reasonably newer version. So I downloaded Synaptic v0.75.13 in both binary and source form. Qapt wouldn't let me install the binary due to there being an older synaptic available in the repos (funny, because the one I downloaded was from 2010) and I was in the mood to compile something from source (I know I could have just forced the install via terminal), so I extracted the archive and cd'ed to it. On configuring, I learned that I needed xmlto, so I entered "sudo aptitude install xmlto" and answered yes to the install (it was going to install I believe 7 packages). It took a lot longer than I expected it would, so I guess they must have been big packages, but after awhile, it stopped and told me I needed to "sudo dpkg --configure -a". Well, I've tried this several times, and the only thing that happens is the terminal outputs:
Code:
Setting up texlive-binaries (2009-11ubuntu2) ...
mktexlsr: Updating /var/lib/texmf/ls-R-TEXMFMAIN... 
mktexlsr: Updating /var/lib/texmf/ls-R-TEXLIVE... 
mktexlsr: Updating /var/lib/texmf/ls-R... 
mktexlsr: Done.
Building format(s) --refresh.
    This may take some time...
...and eats a CPU core. It never finishes, never outputs anything even on --debug=2000, and is impossible to cancel. I have tried closing the terminal, opening another one, and running "killall dpkg", but it still eats a CPU core (although, I am again able to try to run aptitude et al., but none of them will let me do anything because dpkg needs to reconfigure itself for some reason). I've tried removing xmlto (it wouldn't let me), I've tried fixing broken packages, I've tried removing broken packages, I've tried autoremove, I've tried autoclean, I've tried restarting, I've tried different package managers, and nothing works because dpkg needs to reconfigure, but it won't for whatever reason.
Does anyone know how I might fix this? :\

EDIT: I managed to kill the process from KDE's taskmanager, and I got this output:
Code:
fmtutil-sys failed. Output has been stored in
/tmp/fmtutil.7Cuhggas
Please include this file if you report a bug.

dpkg: error processing texlive-binaries (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up libyaml-tiny-perl (1.50-1) ...
Setting up libuuid-perl (0.02-4ubuntu1) ...
Setting up texlive-latex-recommended-doc (2009-15) ...
dpkg: dependency problems prevent configuration of texlive-latex-recommended:
 texlive-latex-recommended depends on texlive-binaries (>= 2009-1); however:
  Package texlive-binaries is not configured yet.
dpkg: error processing texlive-latex-recommended (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of texlive-pstricks:
 texlive-pstricks depends on texlive-binaries (>= 2009-1); however:
  Package texlive-binaries is not configured yet.
dpkg: error processing texlive-pstricks (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of texlive-math-extra:
 texlive-math-extra depends on texlive-binaries (>= 2009-1); however:
  Package texlive-binaries is not configured yet.
dpkg: error processing texlive-math-extra (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of tipa:
 tipa 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 tipa (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of texlive-latex-base:
 texlive-latex-base depends on texlive-binaries (>= 2009-1); however:
  Package texlive-binaries is not configured yet.
dpkg: error processing texlive-latex-base (--configure):
 dependency problems - leaving unconfigured
Setting up ps2eps (1.68-1) ...
Setting up texlive-fonts-recommended-doc (2009-15) ...
dpkg: dependency problems prevent configuration of latex-beamer:
 latex-beamer depends on texlive-latex-base; however:
  Package texlive-latex-base is not configured yet.
dpkg: error processing latex-beamer (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of texlive-font-utils:
 texlive-font-utils depends on texlive-binaries (>= 2009-1); however:
  Package texlive-binaries is not configured yet.
dpkg: error processing texlive-font-utils (--configure):
 dependency problems - leaving unconfigured
Setting up texlive-latex-base-doc (2009-15) ...
dpkg: dependency problems prevent configuration of texlive-latex-extra:
 texlive-latex-extra depends on texlive-binaries (>= 2009-1); however:
  Package texlive-binaries is not configured yet.
 texlive-latex-extra depends on texlive-latex-base (>= 2009-1); however:
  Package texlive-latex-base is not configured yet.
dpkg: error processing texlive-latex-extra (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of texlive-extra-utils:
 texlive-extra-utils depends on texlive-binaries (>= 2009-1); however:
  Package texlive-binaries is not configured yet.
dpkg: error processing texlive-extra-utils (--configure):
 dependency problems - leaving unconfigured
Setting up lacheck (1.26-14) ...
dpkg: dependency problems prevent configuration of texlive:
 texlive depends on texlive-latex-recommended (>= 2009-1); however:
  Package texlive-latex-recommended is not configured yet.
 texlive depends on texlive-latex-base (>= 2009-1); however:
  Package texlive-latex-base is not configured yet.
dpkg: error processing texlive (--configure):
 dependency problems - leaving unconfigured
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Processing triggers for tex-common ...
Running mktexlsr. This may take some time... done.
texlive-base is not ready, delaying updmap-sys call
Setting up texlive-latex-extra-doc (2009-10ubuntu1) ...
dpkg: dependency problems prevent configuration of prosper:
 prosper depends on texlive-latex-base; however:
  Package texlive-latex-base is not configured yet.
 prosper depends on texlive-pstricks; however:
  Package texlive-pstricks is not configured yet.
 prosper depends on texlive-latex-recommended; however:
  Package texlive-latex-recommended is not configured yet.
dpkg: error processing prosper (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of texlive-base:
 texlive-base depends on texlive-binaries (>= 2009-10); however:
  Package texlive-binaries is not configured yet.
dpkg: error processing texlive-base (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of texlive-luatex:
 texlive-luatex depends on texlive-base (>= 2009-1); however:
  Package texlive-base is not configured yet.
dpkg: error processing texlive-luatex (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of texlive-generic-recommended:
 texlive-generic-recommended depends on texlive-base (>= 2009-1); however:
  Package texlive-base is not configured yet.
dpkg: error processing texlive-generic-recommended (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of texlive-fonts-recommended:
 texlive-fonts-recommended depends on texlive-base (>= 2009-1); however:
  Package texlive-base is not configured yet.
dpkg: error processing texlive-fonts-recommended (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of latex-xcolor:
 latex-xcolor depends on texlive-latex-recommended; however:
  Package texlive-latex-recommended is not configured yet.
dpkg: error processing latex-xcolor (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of texlive-pictures:
 texlive-pictures depends on texlive-base (>= 2009-1); however:
  Package texlive-base is not configured yet.
 texlive-pictures depends on texlive-binaries (>= 2009-1); however:
  Package texlive-binaries is not configured yet.
dpkg: error processing texlive-pictures (--configure):
 dependency problems - leaving unconfigured
Setting up doc-base (0.10.3) ...
Registering 72 doc-base files...
dpkg: dependency problems prevent configuration of pgf:
 pgf depends on texlive-latex-recommended; however:
  Package texlive-latex-recommended is not configured yet.
 pgf depends on latex-xcolor (>= 2.00-1); however:
  Package latex-xcolor is not configured yet.
dpkg: error processing pgf (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of texlive-bibtex-extra:
 texlive-bibtex-extra depends on texlive-latex-base (>= 2009-1); however:
  Package texlive-latex-base is not configured yet.
dpkg: error processing texlive-bibtex-extra (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of dblatex:
 dblatex depends on texlive (>= 2009); however:
  Package texlive is not configured yet.
 dblatex depends on texlive-bibtex-extra (>= 2009); however:
  Package texlive-bibtex-extra is not configured yet.
 dblatex depends on texlive-latex-extra (>= 2009); however:
  Package texlive-latex-extra is not configured yet.
 dblatex depends on texlive-math-extra (>= 2009); however:
  Package texlive-math-extra is not configured yet.
 dblatex depends on texlive-extra-utils (>= 2009); however:
  Package texlive-extra-utils is not configured yet.
dpkg: error processing dblatex (--configure):
 dependency problems - leaving unconfigured
Processing triggers for tex-common ...
Running mktexlsr. This may take some time... done.
Errors were encountered while processing:
 texlive-binaries
 texlive-latex-recommended
 texlive-pstricks
 texlive-math-extra
 tipa
 texlive-latex-base
 latex-beamer
 texlive-font-utils
 texlive-latex-extra
 texlive-extra-utils
 texlive
 prosper
 texlive-base
 texlive-luatex
 texlive-generic-recommended
 texlive-fonts-recommended
 latex-xcolor
 texlive-pictures
 pgf
 texlive-bibtex-extra
 dblatex
So, It seems to be installing texlive, whatever that is, along with xmlto. I'll try removing it.

EDIT: I ran "sudo aptitude remove texlive" and answered "y" to the prompt:
Code:
sweyn78@s78-p775 ~Documents> sudo aptitude remove texlive
[sudo] password for sweyn78: 
The following packages will be REMOVED:  
  dblatex{u} lacheck{u} latex-beamer{u} latex-xcolor{u} 
  pgf{u} preview-latex-style{u} prosper{u} ps2eps{u} 
  texlive{u} texlive-bibtex-extra{u} 
  texlive-extra-utils{u} texlive-font-utils{u} 
  texlive-fonts-recommended{u} 
  texlive-fonts-recommended-doc{u} 
  texlive-generic-recommended{u} texlive-latex-extra{u} 
  texlive-latex-extra-doc{u} texlive-latex-recommended{u} 
  texlive-latex-recommended-doc{u} texlive-math-extra{u} 
  texlive-pictures{u} texlive-pictures-doc{u} 
  texlive-pstricks{u} texlive-pstricks-doc{u} tipa{u} 
The following partially installed packages will be configured:
  texlive-base texlive-binaries texlive-latex-base 
  texlive-luatex 
0 packages upgraded, 0 newly installed, 25 to remove and 2 not upgraded.
Need to get 0 B of archives. After unpacking 542 MB will be freed.
Do you want to continue? [Y/n/?] y
(Reading database ... 302732 files and directories currently installed.)
Removing dblatex ...
mktexlsr: Updating /var/lib/texmf/ls-R-TEXMFMAIN... 
mktexlsr: Done.
Removing latex-beamer ...
mktexlsr: Updating /usr/local/share/texmf/ls-R... 
mktexlsr: Updating /var/lib/texmf/ls-R-TEXMFMAIN... 
mktexlsr: Updating /var/lib/texmf/ls-R-TEXLIVE... 
mktexlsr: Updating /var/lib/texmf/ls-R... 
mktexlsr: Done.
Removing pgf ...
Removing latex-xcolor ...
mktexlsr: Updating /usr/local/share/texmf/ls-R... 
mktexlsr: Updating /var/lib/texmf/ls-R-TEXMFMAIN... 
mktexlsr: Updating /var/lib/texmf/ls-R-TEXLIVE... 
mktexlsr: Updating /var/lib/texmf/ls-R... 
mktexlsr: Done.
Removing prosper ...
Running 'mktexlsr /usr/share/texmf /var/lib/texmf'.
This may take some time... done.
Removing texlive ...
Removing texlive-bibtex-extra ...
Removing texlive-extra-utils ...
Removing texlive-font-utils ...
Removing texlive-math-extra ...
Removing texlive-fonts-recommended ...
Removing texlive-pstricks ...
Removing texlive-generic-recommended ...
Removing texlive-latex-extra ...
Removing texlive-latex-recommended ...
Removing texlive-pictures ...
Removing tipa ...
Removing lacheck ...
Removing preview-latex-style ...
mktexlsr: Updating /usr/local/share/texmf/ls-R... 
mktexlsr: Updating /var/lib/texmf/ls-R-TEXMFMAIN... 
mktexlsr: Updating /var/lib/texmf/ls-R-TEXLIVE... 
mktexlsr: Updating /var/lib/texmf/ls-R... 
mktexlsr: Done.
Removing ps2eps ...
Removing texlive-fonts-recommended-doc ...
Removing texlive-latex-extra-doc ...
Removing texlive-latex-recommended-doc ...
Removing texlive-pictures-doc ...
Removing texlive-pstricks-doc ...
Processing triggers for man-db ...
Processing triggers for doc-base ...
Processing 7 removed doc-base files...
Processing triggers for tex-common ...
Running mktexlsr. This may take some time... done.
texlive-base is not ready, delaying updmap-sys call
Processing triggers for install-info ...
Processing triggers for fontconfig ...
Setting up texlive-binaries (2009-11ubuntu2) ...
mktexlsr: Updating /var/lib/texmf/ls-R-TEXMFMAIN... 
mktexlsr: Updating /var/lib/texmf/ls-R-TEXLIVE... 
mktexlsr: Updating /var/lib/texmf/ls-R... 
mktexlsr: Done.
Building format(s) --refresh.
	This may take some time...
Same problem, and a CPU core is being eaten. At least it feels like some progress has been made. Any other ideas to fix this?

EDIT: Just killed it again:
Code:
fmtutil-sys failed. Output has been stored in
/tmp/fmtutil.nNmnFRHj
Please include this file if you report a bug.

dpkg: error processing texlive-binaries (--configure):
 subprocess installed post-installation script returned error exit status 1
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of texlive-base:
 texlive-base depends on texlive-binaries (>= 2009-10); however:
  Package texlive-binaries is not configured yet.
dpkg: error processing texlive-base (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of texlive-latex-base:
 texlive-latex-base depends on texlive-base (>= 2009-1); however:
  Package texlive-base is not configured yet.
 texlive-latex-base depends on texlive-binaries (>= 2009-1); however:
  Package texlive-binaries is not configured yet.
No apport report written because MaxReports is reached already
No apport report written because MaxReports is reached already
dpkg: error processing texlive-latex-base (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of texlive-luatex:
 texlive-luatex depends on texlive-base (>= 2009-1); however:
  Package texlive-base is not configured yet.
dpkg: error processing texlive-luatex (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
Errors were encountered while processing:
 texlive-binaries
 texlive-base
 texlive-latex-base
 texlive-luatex
E: Sub-process /usr/bin/dpkg returned an error code (1)
                                                       A package failed to install.  Trying to recover:
                                         Setting up texlive-binaries (2009-11ubuntu2) ...
                           mktexlsr: Updating /var/lib/texmf/ls-R-TEXMFMAIN... 
                 mktexlsr: Updating /var/lib/texmf/ls-R-TEXLIVE... 
     mktexlsr: Updating /var/lib/texmf/ls-R... 
                                               mktexlsr: Done.
Building format(s) --refresh.
                             	This may take some time...
And the problem continues. The offending process is kpsewhich (init > aptitude > sh > dpkg > texlive-binarie > fmutil > fmutil > tcfmgr > kpsewhich).

EDIT: I may or may not have solved the problem. I started Googling to find a solution for texlive rather than for dpkg, and cam upon this http://askubuntu.com/questions/16067...-2012-on-12-04 and ran:
Code:
sudo apt-get remove texlive*
sudo apt-get autoremove
sudo apt-get clean
sudo apt-get update
sudo apt-get autoclean
sudo apt-get check

sudo rm /var/lib/dpkg/info/texlive*.postrm
sudo rm /var/lib/dpkg/info/texlive*.list

sudo dpkg --purge --force-all texlive*
sudo dpkg --purge --force-all tex-common*
I was again able to install and upgrade programs.

EDIT: I believe the problem has been solved. I hope this output helps other people with the same problem; it's a sucky problem to have.

EDIT: There is still a problem, but it's not really seeming to affect anything:
Code:
dpkg: warning: files list file for package `texlive-common' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `texlive-latex-base-doc' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `texlive-latex-base' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `texlive-binaries' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `texlive-doc-base' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `texlive-luatex' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `texlive-base' missing, assuming package has no files currently installed.
EDIT: I was able to resolve these problems using apt-get uninstall name_of_offending_package.

Last edited by Sweyn78; 08-06-2012 at 09:03 PM. Reason: Updates
 
  


Reply

Tags
debian, dpkg, kububtu, ubuntu, ubuntu 12.04


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
I can't seem to change permissions on a batch of files for some odd freakin' reason Cyberman Linux - Newbie 2 04-24-2010 06:55 PM
Kubuntu freeze for no reason AGazzaz Ubuntu 10 09-29-2009 07:08 AM
dpkg error - New Mail(Kubuntu) nixFreak Linux - Distributions 2 03-05-2007 05:00 AM
dpkg error - New Mail(kubuntu) nixFreak Linux - General 2 03-02-2007 03:43 PM
odd behavior with dpkg-reconfigure when installing new card? michapma Debian 5 10-27-2004 09:37 AM


All times are GMT -5. The time now is 08:28 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration