Re: more weird apt - bzip2.

2005-08-23 Thread Bob Proulx
Chris Wakefield wrote:
 I screwed things up even worse, as I copied over apt-get and dpkg
 from another install and I have a big mess now.  You are right, I
 have to fix the original problem first, but I can't fix without
 apt-get  dpkg working right, so gotta do a reinstall I think.

You may have enough working to debootstrap (or cdebootstrap) a new
system on top of the first one.  If that technique can convert a
system from one distro to another then it should be able to convert
from the same to the same but fixed distro.  Not sure that is helpful
to you though.  Just a passing though.

Bob


signature.asc
Description: Digital signature


Re: more weird apt - bzip2.

2005-08-23 Thread Helge Hafting

Chris Wakefield wrote:


Hi Bob.

Yes, I get no output from:  perl -e 0
install-docs says:  no such file  but I think it's probably run inside 
the perl shell somehow, so ...


I screwed things up even worse, as I copied over apt-get and dpkg from another 
install and I have a big mess now.
 

Ouch!  Try not to do that. 

You are right, I have to fix the original problem first, but I can't fix 
without apt-get  dpkg working right, so gotta do a reinstall I think.


 


They do not work _at all_, or it is merely this upgrade problem always
getting stuck on some broken packages?

If dpkg works, then you can fix your apt by dowmlading the apt
package manually from one of the mirrors. 
Then install it using dpkg.


After that, play safe by also reinstalling dpkg,
i.e: apt-get install --reinstall dpkg

If dpkg is _broken_, then download the dpkg deb manually
and unpack it yourself. It is a cpio archive I believe, and can be 
unpacked using
cpio. 


Make sure you get the amd64 package . . .

Helge Hafting


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: more weird apt - bzip2.

2005-08-23 Thread Sander
Helge Hafting wrote (ao):
 If dpkg is _broken_, then download the dpkg deb manually and unpack it
 yourself. It is a cpio archive I believe, and can be unpacked using
 cpio. 

An ar archive actually, to be unpacked with ar.

-- 
Humilis IT Services and Solutions
http://www.humilis.net


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



more weird apt - bzip2.

2005-08-22 Thread Chris Wakefield
HI all.

My system is sick.   For a month now, I haven't been able to successfully 
update or upgrade, now  I can't install anything at all now:
Can anyone suggest some kind of fix?

_

# apt-get install digikam
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
  libimlib2-dev libkexif1 libkipi0 libltdl3-dev libtiff4-dev libtiffxx0c2 
libungif4-dev
Suggested packages:
  libtool-doc
Recommended packages:
  digikamimageplugins kipi-plugins
The following packages will be REMOVED:
  libtiffxx0
The following NEW packages will be installed:
  digikam libimlib2-dev libkexif1 libkipi0 libltdl3-dev libtiff4-dev 
libtiffxx0c2 libungif4-dev
0 upgraded, 8 newly installed, 1 to remove and 22 not upgraded.
1 not fully installed or removed.
Need to get 12.6MB/12.9MB of archives.
After unpacking 21.5MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://debian.csail.mit.edu sid/main libkexif1 0.2.1-2 [42.7kB]
Get:2 http://debian.csail.mit.edu sid/main libkipi0 0.1.1-2 [122kB]
Get:3 http://debian.csail.mit.edu sid/main libtiffxx0c2 3.7.3-1 [42.2kB]
Get:4 http://debian.csail.mit.edu sid/main libtiff4-dev 3.7.3-1 [280kB]
Get:5 http://debian.csail.mit.edu sid/main libungif4-dev 4.1.3-3 [41.2kB]
Get:6 http://debian.csail.mit.edu sid/main libltdl3-dev 1.5.6-6 [19.2kB]
Get:7 http://debian.csail.mit.edu sid/main libimlib2-dev 1.2.0-2.2 [613kB]
Get:8 http://debian.csail.mit.edu sid/main digikam 0.7.2-4 [11.5MB]
Fetched 12.6MB in 22s (551kB/s)
/bin/sh: line 1:  6735 Illegal instruction /usr/sbin/dpkg-preconfigure 
--apt
(Reading database ... 143861 files and directories currently installed.)
Preparing to replace bzip2 1.0.2-8 (using .../bzip2_1.0.2-8_amd64.deb) ...
/var/lib/dpkg/info/bzip2.prerm: line 7:  6745 Illegal instruction 
install-docs -r bzip2
dpkg: warning - old pre-removal script returned error exit status 132
dpkg - trying script from the new package instead ...
/var/lib/dpkg/tmp.ci/prerm: line 7:  6747 Illegal instruction install-docs 
-r bzip2
dpkg: error processing /var/cache/apt/archives/bzip2_1.0.2-8_amd64.deb 
(--unpack):
 subprocess new pre-removal script returned error exit status 132
/var/lib/dpkg/info/bzip2.postinst: line 16:  6749 Illegal instruction 
install-info --quiet --section General Commands General 
Commands /usr/share/info/bzip2.info
dpkg: error while cleaning up:
 subprocess post-installation script returned error exit status 132
Errors were encountered while processing:
 /var/cache/apt/archives/bzip2_1.0.2-8_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: more weird apt - bzip2.

2005-08-22 Thread Bob Proulx
Chris Wakefield wrote:
 My system is sick.   For a month now, I haven't been able to successfully 
 update or upgrade, now  I can't install anything at all now:
 Can anyone suggest some kind of fix?
 ...
 Preparing to replace bzip2 1.0.2-8 (using .../bzip2_1.0.2-8_amd64.deb) ...
 /var/lib/dpkg/info/bzip2.prerm: line 7:  6745 Illegal instruction 
 install-docs -r bzip2
 dpkg: warning - old pre-removal script returned error exit status 132

Hmm...  'install-docs' is a perl script.  Is perl working on your
system?

  perl -e 0
  install-docs

Neither of those should have any output.  So errors from those may
point to something.  The following should list some status output.

  install-docs -s bzip2

But doc-base is not required to be installed.  If the problem is
something with doc base and not perl then I would try removing it.
There are some packages that depend upon it so we should use apt to
remove those too, if that seems reasonable.

  apt-get remove doc-base

Or if that fails because of the current problem:

  dpkg --remove doc-base

I am guessing something is wrong with perl on your system and
reinstalling it might be best.  But you will probably have to clear
your current problem first.

Bob


signature.asc
Description: Digital signature


Re: more weird apt - bzip2.

2005-08-22 Thread Chris Wakefield
Hi Bob.

Yes, I get no output from:  perl -e 0
install-docs says:  no such file  but I think it's probably run inside 
the perl shell somehow, so ...

I screwed things up even worse, as I copied over apt-get and dpkg from another 
install and I have a big mess now.
You are right, I have to fix the original problem first, but I can't fix 
without apt-get  dpkg working right, so gotta do a reinstall I think.

Thanks anyways,
Chris W.



On August 21, 2005 11:39 pm, Bob Proulx wrote:
 Chris Wakefield wrote:
  My system is sick.   For a month now, I haven't been able to successfully
  update or upgrade, now  I can't install anything at all now:
  Can anyone suggest some kind of fix?
  ...
  Preparing to replace bzip2 1.0.2-8 (using .../bzip2_1.0.2-8_amd64.deb)
  ... /var/lib/dpkg/info/bzip2.prerm: line 7:  6745 Illegal instruction
  install-docs -r bzip2
  dpkg: warning - old pre-removal script returned error exit status 132

 Hmm...  'install-docs' is a perl script.  Is perl working on your
 system?

   perl -e 0
   install-docs

 Neither of those should have any output.  So errors from those may
 point to something.  The following should list some status output.

   install-docs -s bzip2

 But doc-base is not required to be installed.  If the problem is
 something with doc base and not perl then I would try removing it.
 There are some packages that depend upon it so we should use apt to
 remove those too, if that seems reasonable.

   apt-get remove doc-base

 Or if that fails because of the current problem:

   dpkg --remove doc-base

 I am guessing something is wrong with perl on your system and
 reinstalling it might be best.  But you will probably have to clear
 your current problem first.

 Bob


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: more weird apt - bzip2.

2005-08-22 Thread Goswin von Brederlow
Chris Wakefield [EMAIL PROTECTED] writes:

 HI all.

 My system is sick.   For a month now, I haven't been able to successfully 
 update or upgrade, now  I can't install anything at all now:
 Can anyone suggest some kind of fix?

Are you sure your system is healthy? Power supply not strong enough,
ram faulty? Broken kernel?

Since /usr/sbin/install-info is perl yours seem to be broken.

Download the deb and dpkg -x perl.deb /; dpkg -i perl.deb it or
something.

MfG
Goswin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]