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

[root@elephants.org: More Help: Upgrade to 2.0, slang conflicts?]]



hmbf.

-- 
Unable to locate coffee, operator halted.  -- Stefan Farsch
--- Begin Message ---
(moderators: I apologize for sending this as root. My machine
             is unstable as a result of upgrading. The root
             windows I had open still work, but I can't login to
             other accts, user accts. )


*******************************************************************
I can't receive mail as root, please reply to: esoteric@elephants.org
*******************************************************************

I'm still having difficulties upgrading.


I'm using autoup.sh to upgrade from 1.3.1 to 2.0
I'm using custom kernel 2.0.33 with Solar Designer's
	buffer overflow patches.

Autoup.sh grabbed the files by ftp cleanly.
Autoup.sh played nicely until it got to slang,
	where it segfaulted.

I noticed that it couldn't install because of failed
	removal of slang0.99.34, reinstall recommended.
So I used dpkg --force-remove-reinsreq. This still doesn't
help, slang doesn't install with script or dpkg -i.

I finally extracted the slang library from the package,
and copied it in place myself, then commented out that
line in the shell script. I had the same problem on
the next package to be installed, libgdbm1.

dpkg produces the error message:
Segmentation fault
# dpkg-deb: subprocess paste killed by signal (Broken pipe)
 
At this point, I'm wondering if there is a problem with
dpkg itself or shell install scripts. Dpkg installed
w/o error, as did bash. However dpkg keeps segfaulting and 
producing these error messages about a broken pipe. Trying to su
to a user account, or running /bin/bash produce also produces
seg fault. Meanwhile, the two root shells I have open work 
ok. (side note: Does Debian include any static linked shells?
	I think slack use to in /sbin but I don't see any.
	when I try to compile "SASE" a small, "safe" shell
        from sunsite, the compiler can't find the std libraries )

What should I do? I need to get this system stable again.
It's not a commercial system, but I've spent alot of time
with it.

Is there a way to step through sequence and verify that each
thing it thinks it's installed is in fact there? How do I
re-install dpkg if I need to remove it to re-install it?
Or is my dpkg database corrupted somehow?

What should I do?

-- error messages

Setting up dpkg-dev (1.4.0.23.2) ...
Installing new version of config file /etc/dpkg/shlibs.default ...
(Reading database ... 23768 files and directories currently installed.)
Preparing to replace slang0.99.34 0.99.38-2 (using
.../slang0.99.34_0.99.38-6.deb) ...
Unpacking replacement slang0.99.34 ...
/home/jon/autoup.sh: line 407:  1065 Segmentation fault      (core dumped)
$DPKG $DPKG_ARGS $PKGS_SLANG

# dpkg -i /tmp/base/slang0.99.38_0.99.38-6.deb
dpkg: regarding .../slang0.99.38_0.99.38-6.deb containing slang0.99.38:
 slang0.99.38 conflicts with slang0.99.34 (<< 0.99.38-2.3)
  slang0.99.34 (version 0.99.38-2) is broken due to failed removal.
dpkg: error processing /tmp/base/slang0.99.38_0.99.38-6.deb (--install):
 conflicting packages - not installing slang0.99.38
Errors were encountered while processing:
 /tmp/base/slang0.99.38_0.99.38-6.deb



# dpkg -i -D2000 slang0.99.38_0.99.38-6.deb
(Reading database ...
dpkg: serious warning: files list file for package `slang0.99.38' missing,
assuming package has no files currently installed.
23470 files and directories currently installed.)
Preparing to replace slang0.99.38 0.99.38-6 (using
slang0.99.38_0.99.38-6.deb) ...
Unpacking replacement slang0.99.38 ...
Segmentation fault (core dumped)
# dpkg-deb: subprocess paste killed by signal (Broken pipe)
(same thing happens with slang0.99.34, and the db lib ) 

dpkg --audit
The following packages are in a mess due to serious problems during
installation.  They must be reinstalled for them (and any packages
that depend on them) to function properly:
 libgdbm1             GNU dbm database routines (runtime version).
 slang0.99.34
 slang0.99.38
(of course it seg faults when I try to re-install them :)

autoup.sh  output
[...] 
Version 2.0.7t-1 of timezones already installed, skipping.
Version 2.0.7t-1 of locales already installed, skipping.
Version 1.9.9e-2.1 of ncurses3.0 already installed, skipping.
Version 1.9.9g-8.8 of ncurses3.4 already installed, skipping.
Version 2.1-10.1 of libreadline2 already installed, skipping.
Version 2.1-10.1 of libreadlineg2 already installed, skipping.
Version 2.01.1-3.1 of bash already installed, skipping.
Version 2.7.2.1-14.4 of libg++27 already installed, skipping.
Version 2.7.2.8-0.1 of libg++272 already installed, skipping.
Version 2.90.29-0.6 of libstdc++2.8 already installed, skipping.
Version 1.4.0.23.2 of dpkg already installed, skipping.
Version 1.4.0.23.2 of dpkg-dev already installed, skipping.
(Reading database ...
dpkg: serious warning: files list file for package `slang0.99.34' missing,
assuming package has no files currently installed.

dpkg: serious warning: files list file for package `slang0.99.38' missing,
assuming package has no files currently installed.
23470 files and directories currently installed.)
Preparing to replace libgdbm1 1.7.3-19 (using
.../oldlibs/libgdbm1_1.7.3-25.deb) ...
Unpacking replacement libgdbm1 ...
/home/jon/autoup.sh: line 411:  7929 Segmentation fault      (core dumped)
$DPKG $DPKG_ARGS $PKGS_LIBGDBM

*******************************************************************
I can't receive mail as root, please reply to: esoteric@elephants.org
*******************************************************************


--- End Message ---

Reply to: