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. All the .pm files in that directory had become completely corrupted. <br><br>
Any idea how I could figure out what corrupted these files in the first place? <br>
<br>
-Carl <br><br><div class="gmail_quote">On Dec 7, 2007 1:12 PM, Carl Boettiger <<a href="mailto:cboettig@gmail.com">cboettig@gmail.com</a>> 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 <
<a href="mailto:jdnewmil@dcn.davis.ca.us" target="_blank">
jdnewmil@dcn.davis.ca.us</a>> 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>> Hi,
<br>><br>> I have some broken packages which apt-get (also aptitude, synaptic,<br>> adept_manager, dpkg) refuse to fix. Any idea what's wrong?<br>><br>> apt-get -f install decides xine-ui is no fully installed. dpkg
<br>> identifes the package as being in a bad state:<br>><br>> cboettig@wiglaf:~$ sudo dpkg -r xine-ui<br>> dpkg: error processing xine-ui (--remove):<br>> Package is in a very bad inconsistent state - you should
<br>> reinstall it before attempting a removal.<br>> Errors were encountered while processing:<br>> xine-ui<br>><br>><br>> However, any attempt to remove, reinstall, or reconfigure xine-ui with<br>> dpkg or any apt program fails. The error I keep getting is
<br>> cboettig@wiglaf:~$ dpkg-reconfigure xine-ui<br>> Unrecognized character \xDE at /usr/share/perl/5.8/strict.pm line 1.<br><br></div>Looks like at least this file is corrupted. 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>> Compilation failed in require at /usr/sbin/dpkg-reconfigure line 8.<br>> BEGIN failed--compilation aborted at /usr/sbin/dpkg-reconfigure line 8.
<br>><br>> Googling unrecognized character \xDE gives me nothing. (libperl5.8 is<br>> installed). I'm guessing something with my perl is messed up, but<br>> that's just a wild guess.<br>><br>> Other packages are also not fully installed: the full output of apt-get
<br>> -f install is:<br>><br>> cboettig@wiglaf:~$ sudo apt-get -f install<br>> Reading package lists... Done<br>> Building dependency tree<br>> Reading state information... Done<br>> The following packages were automatically installed and are no longer
<br>> required:<br>> cvs recode<br>> Use 'apt-get autoremove' to remove them.<br>> 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.<br>> 9 not fully installed or removed.<br>> Need to get 0B/1551kB of archives.
<br>> After unpacking 0B of additional disk space will be used.<br>> debconf: Perl may be unconfigured (Unrecognized character \xDE at<br>> /usr/share/perl/5.8/strict.pm line 1.<br>> Compilation failed in require at (eval 1) line 2.
<br>> BEGIN failed--compilation aborted at (eval 1) line 2.<br>> ) -- aborting<br>> Selecting previously deselected package xine-ui.<br>> (Reading database ... 194787 files and directories currently installed.)
<br>> Preparing to replace xine-ui 0.99.5-2build1 (using<br>> .../xine-ui_0.99.5-2build1_i386.deb) ...<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>> dpkg - trying script from the new package instead ...<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: error processing<br>> /var/cache/apt/archives/xine-ui_0.99.5-2build1_i386.deb (--unpack):<br>> subprocess new post-removal script returned error exit status 9
<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: error while cleaning up:<br>> subprocess post-removal script returned error exit status 9
<br>> Errors were encountered while processing:<br>> /var/cache/apt/archives/xine-ui_0.99.5-2build1_i386.deb<br>> E: Sub-process /usr/bin/dpkg returned an error code (1)<br>><br>><br>> Help would be very much appreciated, I'm at a loss in what to do.
<br>><br>> Carl<br></div></div>> _______________________________________________<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>><br><br><br>--<br>---------------------------------------------------------------------------<br>Jeff Newmiller The ..... ..... Go Live...
<br>DCN:<<a href="mailto:jdnewmil@dcn.davis.ca.us" target="_blank">jdnewmil@dcn.davis.ca.us</a>> Basics: ##.#. ##.#. Live Go...<br> Live: OO#.. Dead: OO#.. Playing
<br>Research Engineer (Solar/Batteries
O.O#. #.O#. with<br>/Software/Embedded Controllers) .OO#. .OO#. 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>