[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Help; apt-get trashed system, how to recover



Help.

I am running Debian 2.2, with upgrade to Woody from debian.org via FTP.

I have been running well for over 5 months without reboot(!) or maintenance.

I went to fetch a new package, and my system decided it wanted to get 108 MB of updates. It failed on a bunch of them, I tried again, and again, and then a force (-f) option as suggested by apt-get, to no avail.

Perl seems to have kludged itself..

The details follow, how do I recover?!

Help!
-----------------------------------------------------
omega:/home/net# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:60:97:21:2F:05 
          inet addr:10.10.10.109  Bcast:10.10.10.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:321682 errors:0 dropped:0 overruns:0 frame:0
          TX packets:484 errors:0 dropped:0 overruns:0 carrier:0
          collisions:1 txqueuelen:100
          Interrupt:10 Base address:0x300

omega:/home/net# ifup -a -v
/etc/network/interfaces: Function not implemented
ifup: couldn't read interfaces file "/etc/network/interfaces"
omega:/home/net# apt-get check
Reading Package Lists... Done
Building Dependency Tree... Done
You might want to run `apt-get -f install' to correct these.
Sorry, but the following packages have unmet dependencies:
  apache: Depends: perl5 or
                   perl but it is not installed
  apache-common: Depends: perl5 or
                          perl but it is not installed
  dlint: Depends: perl5
  doc-base: Depends: perl5
  dpkg-dev: Depends: perl5
  dpkg-perl: Depends: perl5
  dwww: Depends: perl5
  fvwm-common: Depends: perl5 or
                        perl but it is not installed
  info2www: Depends: perl but it is not installed or
                     perl5
  libnet-perl: Depends: perl but it is not installed
  libnet-telnet-perl: Depends: perl5
  perl-5.005: Depends: perl (>= 5.6.0-20) but it is not installed
  perl-5.005-suid: Depends: perl-suid (>= 5.6.0-20) but it is not installed
  wu-ftpd: Depends: perl5 or
                    perl but it is not installed
  xaw-wrappers: Depends: perl5 or
                         perl but it is not installed
E: Unmet dependencies. Try using -f.
omega:/home/net#
----------------------------------------------------
omega:/home/net# apt-get -f install
Reading Package Lists... Done
Building Dependency Tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
  apache apache-common libkpathsea3 libperl5.6 perl perl-suid tetex-bin xlibs
The following NEW packages will be installed:
  libkpathsea3 libperl5.6 perl perl-suid
4 packages upgraded, 4 newly installed, 0 to remove and 234 not upgraded.
5 packages not fully installed or removed.
Need to get 0B/6291kB of archives. After unpacking 4208kB will be used.
Do you want to continue? [Y/n] y
        (in cleanup) Can't call method "DESTROY" on an undefined value at /usr/lib/perl5/Debian/DebConf/Question.pm line 151 during global destruction.
(Reading database ... 29532 files and directories currently installed.)
Preparing to replace tetex-bin 1.0.7+20000807-5 (using .../tetex-bin_1.0.7+20000807-8_i386.deb) ...
Unpacking replacement tetex-bin ...
Can't locate File/Glob.pm in @INC (@INC contains: /usr/local/lib/perl/5.6.0 /usr/local/share/perl/5.6.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.6.0 /usr/share/perl/5.6.0 /usr/local/lib/site_perl /usr/lib/perl5/5.6/i386-linux /usr/lib/perl5/5.6 /usr/lib/perl5/5.005/i386-linux .) at /usr/sbin/update-mime line 48.
BEGIN failed--compilation aborted at /usr/sbin/update-mime line 48.
dpkg: warning - old post-removal script returned error exit status 2
dpkg - trying script from the new package instead ...
Can't locate File/Glob.pm in @INC (@INC contains: /usr/local/lib/perl/5.6.0 /usr/local/share/perl/5.6.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.6.0 /usr/share/perl/5.6.0 /usr/local/lib/site_perl /usr/lib/perl5/5.6/i386-linux /usr/lib/perl5/5.6 /usr/lib/perl5/5.005/i386-linux .) at /usr/sbin/update-mime line 48.
BEGIN failed--compilation aborted at /usr/sbin/update-mime line 48.
dpkg: error processing /var/cache/apt/archives/tetex-bin_1.0.7+20000807-8_i386.deb (--unpack):
 subprocess new post-removal script returned error exit status 2
Can't locate File/Glob.pm in @INC (@INC contains: /usr/local/lib/perl/5.6.0 /usr/local/share/perl/5.6.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.6.0 /usr/share/perl/5.6.0 /usr/local/lib/site_perl /usr/lib/perl5/5.6/i386-linux /usr/lib/perl5/5.6 /usr/lib/perl5/5.005/i386-linux .) at /usr/sbin/update-mime line 48.
BEGIN failed--compilation aborted at /usr/sbin/update-mime line 48.
dpkg: error while cleaning up:
 subprocess post-removal script returned error exit status 2
Unpacking libkpathsea3 (from .../libkpathsea3_1.0.7+20000807-8_i386.deb) ...
Preparing to replace xlibs 4.0.1-1 (using .../xlibs_4.0.2-13_i386.deb) ...
Unpacking replacement xlibs ...
Unpacking replacement xlibs ...
Unpacking perl (from .../perl_5.6.0-21_i386.deb) ...
Unpacking libperl5.6 (from .../libperl5.6_5.6.0-21_i386.deb) ...
Unpacking perl-suid (from .../perl-suid_5.6.0-21_i386.deb) ...
Preparing to replace apache 1.3.14-2 (using .../apache_1.3.19-1_i386.deb) ...
Unpacking replacement apache ...
Preparing to replace apache-common 1.3.14-2 (using .../apache-common_1.3.19-1_i386.deb) ...
Unpacking replacement apache-common ...
Errors were encountered while processing:
 /var/cache/apt/archives/tetex-bin_1.0.7+20000807-8_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
omega:/home/net#




--------------------------------------------------------
Gregory Guthrie
guthrie@mum.edu         (641)472-1125    Fax: -1103
--------------------------------------------------------


Reply to: