apt-get dpkg error????

Du kommst mit der Installation nicht voran oder willst noch was nachfragen? Schau auch in den "Tipps und Tricks"-Bereich.
Antworten
_glen_
Beiträge: 73
Registriert: 21.09.2003 20:07:49
Wohnort: im Pott ;)
Kontaktdaten:

apt-get dpkg error????

Beitrag von _glen_ » 30.09.2003 13:19:13

Hi,

suche dringend Hilfe zu einem Problem welches ich noch nie zuvor gesehen habe.....

m-s1:/var/qmail# apt-get install xinetden
Reading Package Lists... Done
Building Dependency Tree... Done
Sorry, xinetd is already the newest version.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 packages not fully installed or removed.
Need to get 0B of archives. After unpacking 0B will be used.
debconf: Perl may be unconfigured (Can't locate Debconf/Log.pm in @INC (@INC contains: /usr/lib/perl5/5.8.0/i686-linux /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i686-linux /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl .) at (eval 1) line 4.
BEGIN failed--compilation aborted at (eval 1) line 4.
) -- aborting
Setting up xinetd (2.3.4-1.2) ...
Can't locate Debconf/Db.pm in @INC (@INC contains: /usr/lib/perl5/5.8.0/i686-linux /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i686-linux /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl .) at /usr/share/debconf/frontend line 22.
BEGIN failed--compilation aborted at /usr/share/debconf/frontend line 22.
dpkg: error processing xinetd (--configure):
subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
xinetd
E: Sub-process /usr/bin/dpkg returned an error code (1)

???hiiilllffffeeeee...... ;)

MFG und Danke
Glen

Benutzeravatar
mistersixt
Beiträge: 6601
Registriert: 24.09.2003 14:33:25
Lizenz eigener Beiträge: GNU Free Documentation License

Beitrag von mistersixt » 30.09.2003 13:58:06

Dein Paket "debconf" scheint irgendwie kaputt zu sein. Mach mal:

Code: Alles auswählen

apt-get --reinstall install debconf perl
Und dann probier bitte nochmal.


Gruss, Jomo.

_glen_
Beiträge: 73
Registriert: 21.09.2003 20:07:49
Wohnort: im Pott ;)
Kontaktdaten:

Beitrag von _glen_ » 30.09.2003 14:04:26

immernoch das selbe prob....

m-s1:/var/qmail/supervise/qmail-smtpd# apt-get install xinetd
Reading Package Lists... Done
Building Dependency Tree... Done
Sorry, xinetd is already the newest version.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 packages not fully installed or removed.
Need to get 0B of archives. After unpacking 0B will be used.
debconf: Perl may be unconfigured (Can't locate Debconf/Log.pm in @INC (@INC contains: /usr/lib/perl5/5.8.0/i686-linux /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i686-linux /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl .) at (eval 1) line 4.
BEGIN failed--compilation aborted at (eval 1) line 4.
) -- aborting
Setting up debconf (1.0.32) ...
Can't locate Debconf/Db.pm in @INC (@INC contains: /usr/lib/perl5/5.8.0/i686-linux /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i686-linux /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl .) at /usr/share/debconf/frontend line 22.
BEGIN failed--compilation aborted at /usr/share/debconf/frontend line 22.
dpkg: error processing debconf (--configure):
subprocess post-installation script returned error exit status 2
Setting up xinetd (2.3.4-1.2) ...
Can't locate Debconf/Db.pm in @INC (@INC contains: /usr/lib/perl5/5.8.0/i686-linux /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i686-linux /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl .) at /usr/share/debconf/frontend line 22.
BEGIN failed--compilation aborted at /usr/share/debconf/frontend line 22.
dpkg: error processing xinetd (--configure):
subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
debconf
xinetd
E: Sub-process /usr/bin/dpkg returned an error code (1)

Danke schon mal
Glen

Benutzeravatar
zyta2k
Beiträge: 2446
Registriert: 14.03.2003 09:18:00
Kontaktdaten:

Beitrag von zyta2k » 30.09.2003 16:14:39

wenn debconf putt... auch kein apt-get tut :)

Scheint sich mal wieder um einen Fall von "Backports haben mein Debian zerschossen" zu handeln

Lade von packages.debian.org das .deb herunter und installiers von hand mittels

dpkg -i foobar.deb

Benutzeravatar
mistersixt
Beiträge: 6601
Registriert: 24.09.2003 14:33:25
Lizenz eigener Beiträge: GNU Free Documentation License

Beitrag von mistersixt » 30.09.2003 16:46:56

...das wäre auch mein nächster Vorschlag gewesen :-) ...

_glen_
Beiträge: 73
Registriert: 21.09.2003 20:07:49
Wohnort: im Pott ;)
Kontaktdaten:

Beitrag von _glen_ » 30.09.2003 17:04:15

die idee kam mir auch....

m-s1:/usr/local/src# dpkg -i debconf_1.0.32_all.deb
(Reading database ... 8756 files and directories currently installed.)
Preparing to replace debconf 1.0.32 (using debconf_1.0.32_all.deb) ...
Unpacking replacement debconf ...
Setting up debconf (1.0.32) ...
Can't locate Debconf/Db.pm in @INC (@INC contains: /usr/lib/perl5/5.8.0/i686-linux /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i686-linux /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl .) at /usr/share/debconf/frontend line 22.
BEGIN failed--compilation aborted at /usr/share/debconf/frontend line 22.
dpkg: error processing debconf (--install):
subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
debconf

---
m-s1:/usr/local/src# sudo dpkg --force-depends --remove debconf
(Reading database ... 8756 files and directories currently installed.)
Removing debconf ...
dpkg - warning: while removing debconf, directory `/var/cache/debconf' not empty so not removed.
dpkg - warning: while removing debconf, directory `/etc/apt/apt.conf.d' not empty so not removed.
m-s1:/usr/local/src# dpkg --configure --pending
dpkg: dependency problems prevent configuration of ipchains:
ipchains depends on debconf; however:
Package debconf is not installed.
dpkg: error processing ipchains (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of netbase:
netbase depends on ipchains | ipfwadm | iptables; however:
Package ipchains is not configured yet.
Package ipfwadm is not installed.
Package iptables is not installed.
netbase depends on debconf; however:
Package debconf is not installed.
dpkg: error processing netbase (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
ipchains
netbase
m-s1:/usr/local/src#
---

alles nix gebracht...

_glen_
Beiträge: 73
Registriert: 21.09.2003 20:07:49
Wohnort: im Pott ;)
Kontaktdaten:

Beitrag von _glen_ » 30.09.2003 17:06:26

per sieht auch gut aus....

m-s1:/usr/local/src# dpkg -l perl\*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-=================================-=================================-==================================================================================
ii perl 5.6.1-8.3 Larry Wall's Practical Extraction and Report Language.
un perl-5.004 <none> (no description available)
un perl-5.004-base <none> (no description available)
un perl-5.004-debug <none> (no description available)
un perl-5.004-doc <none> (no description available)
un perl-5.004-suid <none> (no description available)
ii perl-5.005 6.3 Transitional package.
un perl-5.005-base <none> (no description available)
un perl-5.005-debug <none> (no description available)
un perl-5.005-doc <none> (no description available)
un perl-5.005-suid <none> (no description available)
un perl-5.005-thread <none> (no description available)
un perl-5.6 <none> (no description available)
un perl-5.6-base <none> (no description available)
un perl-5.6-debug <none> (no description available)
un perl-5.6-doc <none> (no description available)
un perl-5.6-suid <none> (no description available)
ii perl-base 5.6.1-8.3 The Pathologically Eclectic Rubbish Lister.
un perl-byacc <none> (no description available)
un perl-curses <none> (no description available)
un perl-debug <none> (no description available)
un perl-doc <none> (no description available)
ii perl-modules 5.6.1-8.3 Core Perl modules.
un perl-suid <none> (no description available)
un perl-tk <none> (no description available)
un perl2html <none> (no description available)
un perl5 <none> (no description available)
un perl5-base <none> (no description available)
un perl5-thread <none> (no description available)
un perlapi-5.005 <none> (no description available)
un perlapi-5.6.0 <none> (no description available)
un perlapi-5.6.1 <none> (no description available)
un perlmagick <none> (no description available)
un perlmenu <none> (no description available)
un perlsgml <none> (no description available)
un perltidy <none> (no description available)

---

m-s1:/usr/local/src# which perl
/usr/bin/perl
m-s1:/usr/local/src# perl -V
Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
Platform:
osname=linux, osvers=2.2.20-idepci, archname=i686-linux
uname='linux m-s1 2.2.20-idepci #1 sat apr 20 12:45:19 est 2002 i686 unknown '
config_args=''
hint=previous, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O3',
cppflags='-fno-strict-aliasing -I/usr/local/include -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
ccversion='', gccversion='2.95.4 20011002 (Debian prerelease)', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=4, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -ldb -ldl -lm -lc -lcrypt -lutil
perllibs=-lnsl -ldl -lm -lc -lcrypt -lutil
libc=/lib/libc-2.2.5.so, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version='2.2.5'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'


Characteristics of this binary (from libperl):
Compile-time options: USE_LARGE_FILES
Built under linux
Compiled at Sep 28 2003 21:15:03
@INC:
/usr/lib/perl5/5.8.0/i686-linux
/usr/lib/perl5/5.8.0
/usr/lib/perl5/site_perl/5.8.0/i686-linux
/usr/lib/perl5/site_perl/5.8.0
/usr/lib/perl5/site_perl
.

Benutzeravatar
pdreker
Beiträge: 8298
Registriert: 29.07.2002 21:53:30
Lizenz eigener Beiträge: MIT Lizenz
Wohnort: Nürnberg

Beitrag von pdreker » 30.09.2003 17:44:16

OK, poste bitte die Sources.list (/etc/apt/sources.list). Du hast scheinbar ein gemischtes Woody/Sarge/SID System, und da in SID gerade ein ERL Upgrade läuft (5.6.1 -> 5.8) hat es Dein Paketsystem zerissen, da dpkg und Co. stark von Perl abhängen.

Im besten Fall, kannst Du durch aufräumen der sources.list alles wieder einigermassen hinbiegen. Im schlimmsten Fall solltest Du Dir schonmal die Installations CDs bereitlegen...

Patrick
Definitely not a bot...
Jabber: pdreker@debianforum.de

_glen_
Beiträge: 73
Registriert: 21.09.2003 20:07:49
Wohnort: im Pott ;)
Kontaktdaten:

Beitrag von _glen_ » 30.09.2003 17:46:17

so schaut es aus...

deb http://ftp.at.debian.org/debian/ stable main non-free contrib
deb-src http://ftp.at.debian.org/debian/ stable main non-free contrib
deb http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free
deb-src http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free

deb http://security.debian.org/ stable/updates main contrib non-free

habe gerade erfahren, dass der Eigentümer "ich bin nur Admin des Systems" gerade mal ein paar Dinge neu installaier hat und dafür die sources.list geänder hat mit ein paar unstable u.a. sources.... :(

Eine Neuinstallation ist fas ausgeschlossen da der server schom im RZ steht....habe den Server erst vor ein paar Tagen übernommen....

MfG
Glen

Antworten