doing dpkg --extract perl-base and copying all the files in its
usr/share/perl/5.8 directory to my /usr/share/perl/5.8 directory fixed
my install problems.&nbsp; All the .pm files in that directory had become completely corrupted.&nbsp; <br><br>
Any idea how I could figure out what corrupted these files in the first place?&nbsp; <br>
<br>
-Carl <br><br><div class="gmail_quote">On Dec 7, 2007 1:12 PM, Carl Boettiger &lt;<a href="mailto:cboettig@gmail.com">cboettig@gmail.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
No luck trying to download and install .deb package:<br>cboettig@wiglaf:~/Desktop$ sudo dpkg -i xine-ui_0.99.4+dfsg+cvs20061111-2ubuntu2_i386.deb<br>[sudo] password for cboettig:<br>(Reading database ... 195296 files and directories currently installed.)
<br>Preparing to replace xine-ui 0.99.5-2build1 (using xine-ui_0.99.4+dfsg+cvs20061111-2ubuntu2_i386.deb) ...<div class="Ih2E3d"><br>Unpacking replacement xine-ui ...<br>Unrecognized character \xDE at /usr/share/perl/5.8/strict.pm line 1.
<br>
Compilation failed in require at /usr/lib/perl/5.8/File/Glob.pm line 3.<br>BEGIN failed--compilation aborted at /usr/lib/perl/5.8/File/Glob.pm line 3.<br>Compilation failed in require at /usr/sbin/update-mime line 54.<br>

BEGIN failed--compilation aborted at /usr/sbin/update-mime line 54.<br>dpkg: warning - old post-removal script returned error exit status 9<br><br><br></div><div><div></div><div class="Wj3C7c"><div class="gmail_quote">On Dec 7, 2007 9:16 AM, Jeff Newmiller &lt;
<a href="mailto:jdnewmil@dcn.davis.ca.us" target="_blank">
jdnewmil@dcn.davis.ca.us</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div>Carl Boettiger wrote:<br>&gt; Hi,
<br>&gt;<br>&gt; I have some broken packages which apt-get (also aptitude, synaptic,<br>&gt; adept_manager, dpkg) refuse to fix. &nbsp;Any idea what&#39;s wrong?<br>&gt;<br>&gt; apt-get -f install decides xine-ui is no fully installed. &nbsp;dpkg
<br>&gt; identifes the package as being in a bad state:<br>&gt;<br>&gt; cboettig@wiglaf:~$ sudo dpkg -r xine-ui<br>&gt; dpkg: error processing xine-ui (--remove):<br>&gt; &nbsp;Package is in a very bad inconsistent state - you should
<br>&gt; &nbsp;reinstall it before attempting a removal.<br>&gt; Errors were encountered while processing:<br>&gt; &nbsp;xine-ui<br>&gt;<br>&gt;<br>&gt; However, any attempt to remove, reinstall, or reconfigure xine-ui with<br>&gt; dpkg or any apt program fails. &nbsp;The error I keep getting is
<br>&gt; cboettig@wiglaf:~$ dpkg-reconfigure xine-ui<br>&gt; Unrecognized character \xDE at /usr/share/perl/5.8/strict.pm line 1.<br><br></div>Looks like at least this file is corrupted. &nbsp;If only a few files<br>are corrupted you might be able to extract this file from the deb
<br>file or the deb source and manually replace this file, and repeat until<br>the process starts working.<br><br>Or, you can start backing up while the system still works and then<br>run hardware diagnostics to insure your hard disk is functioning
<br>and then re-install.<br><br>Or, someone else may suggest something between these extremes...<br><div><div></div><div><br>&gt; Compilation failed in require at /usr/sbin/dpkg-reconfigure line 8.<br>&gt; BEGIN failed--compilation aborted at /usr/sbin/dpkg-reconfigure line 8.
<br>&gt;<br>&gt; Googling unrecognized character \xDE gives me nothing. &nbsp;(libperl5.8 is<br>&gt; installed). &nbsp;I&#39;m guessing something with my perl is messed up, but<br>&gt; that&#39;s just a wild guess.<br>&gt;<br>&gt; Other packages are also not fully installed: the full output of apt-get
<br>&gt; -f install is:<br>&gt;<br>&gt; cboettig@wiglaf:~$ sudo apt-get -f install<br>&gt; Reading package lists... Done<br>&gt; Building dependency tree<br>&gt; Reading state information... Done<br>&gt; The following packages were automatically installed and are no longer
<br>&gt; required:<br>&gt; &nbsp; cvs recode<br>&gt; Use &#39;apt-get autoremove&#39; to remove them.<br>&gt; 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.<br>&gt; 9 not fully installed or removed.<br>&gt; Need to get 0B/1551kB of archives.
<br>&gt; After unpacking 0B of additional disk space will be used.<br>&gt; debconf: Perl may be unconfigured (Unrecognized character \xDE at<br>&gt; /usr/share/perl/5.8/strict.pm line 1.<br>&gt; Compilation failed in require at (eval 1) line 2.
<br>&gt; BEGIN failed--compilation aborted at (eval 1) line 2.<br>&gt; ) -- aborting<br>&gt; Selecting previously deselected package xine-ui.<br>&gt; (Reading database ... 194787 files and directories currently installed.)
<br>&gt; Preparing to replace xine-ui 0.99.5-2build1 (using<br>&gt; .../xine-ui_0.99.5-2build1_i386.deb) ...<br>&gt; Unpacking replacement xine-ui ...<br>&gt; Unrecognized character \xDE at /usr/share/perl/5.8/strict.pm line 1.
<br>&gt; Compilation failed in require at /usr/lib/perl/5.8/File/Glob.pm line 3.<br>&gt; BEGIN failed--compilation aborted at /usr/lib/perl/5.8/File/Glob.pm line 3.<br>&gt; Compilation failed in require at /usr/sbin/update-mime line 54.
<br>&gt; BEGIN failed--compilation aborted at /usr/sbin/update-mime line 54.<br>&gt; dpkg: warning - old post-removal script returned error exit status 9<br>&gt; dpkg - trying script from the new package instead ...<br>&gt; Unrecognized character \xDE at /usr/share/perl/5.8/strict.pm line 1.
<br>&gt; Compilation failed in require at /usr/lib/perl/5.8/File/Glob.pm line 3.<br>&gt; BEGIN failed--compilation aborted at /usr/lib/perl/5.8/File/Glob.pm line 3.<br>&gt; Compilation failed in require at /usr/sbin/update-mime line 54.
<br>&gt; BEGIN failed--compilation aborted at /usr/sbin/update-mime line 54.<br>&gt; dpkg: error processing<br>&gt; /var/cache/apt/archives/xine-ui_0.99.5-2build1_i386.deb (--unpack):<br>&gt; &nbsp;subprocess new post-removal script returned error exit status 9
<br>&gt; Unrecognized character \xDE at /usr/share/perl/5.8/strict.pm line 1.<br>&gt; Compilation failed in require at /usr/lib/perl/5.8/File/Glob.pm line 3.<br>&gt; BEGIN failed--compilation aborted at /usr/lib/perl/5.8/File/Glob.pm line 3.
<br>&gt; Compilation failed in require at /usr/sbin/update-mime line 54.<br>&gt; BEGIN failed--compilation aborted at /usr/sbin/update-mime line 54.<br>&gt; dpkg: error while cleaning up:<br>&gt; &nbsp;subprocess post-removal script returned error exit status 9
<br>&gt; Errors were encountered while processing:<br>&gt; &nbsp;/var/cache/apt/archives/xine-ui_0.99.5-2build1_i386.deb<br>&gt; E: Sub-process /usr/bin/dpkg returned an error code (1)<br>&gt;<br>&gt;<br>&gt; Help would be very much appreciated, I&#39;m at a loss in what to do.
<br>&gt;<br>&gt; Carl<br></div></div>&gt; _______________________________________________<br>&gt; vox-tech mailing list<br>&gt; <a href="mailto:vox-tech@lists.lugod.org" target="_blank">vox-tech@lists.lugod.org</a><br>&gt; 
<a href="http://lists.lugod.org/mailman/listinfo/vox-tech" target="_blank">
http://lists.lugod.org/mailman/listinfo/vox-tech</a><br>&gt;<br><br><br>--<br>---------------------------------------------------------------------------<br>Jeff Newmiller &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;The &nbsp; &nbsp; ..... &nbsp; &nbsp; &nbsp; ..... &nbsp;Go Live...
<br>DCN:&lt;<a href="mailto:jdnewmil@dcn.davis.ca.us" target="_blank">jdnewmil@dcn.davis.ca.us</a>&gt; &nbsp; &nbsp; &nbsp; &nbsp;Basics: ##.#. &nbsp; &nbsp; &nbsp; ##.#. &nbsp;Live Go...<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Live: &nbsp; OO#.. Dead: OO#.. &nbsp;Playing
<br>Research Engineer (Solar/Batteries &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
O.O#. &nbsp; &nbsp; &nbsp; #.O#. &nbsp;with<br>/Software/Embedded Controllers) &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; .OO#. &nbsp; &nbsp; &nbsp; .OO#. &nbsp;rocks...1k<br>---------------------------------------------------------------------------<br>_______________________________________________
<br>vox-tech mailing list<br><a href="mailto:vox-tech@lists.lugod.org" target="_blank">vox-tech@lists.lugod.org</a><br><a href="http://lists.lugod.org/mailman/listinfo/vox-tech" target="_blank">http://lists.lugod.org/mailman/listinfo/vox-tech
</a><br></blockquote></div><br>
</div></div></blockquote></div><br>