dpkg

Založil falle, 05. 08. 2011, 18:05:21

Předchozí téma - Další téma

falle

Ahojte mam problém s inštaláciou všetkých aplikácii stále to píše :


FATAL -> Failed to fork.
alebo
E: Sub-process /usr/bin/dpkg returned an error code (2)


Priklad:


Traceback (most recent call last):
  File "/usr/bin/apt-listchanges", line 28, in <module>
    import apt_pkg
ImportError: /usr/lib/python2.5/site-packages/apt_pkg.so: failed to map segment from shared object: Cannot allocate memory
debconf: Perl may be unconfigured (Can't load '/usr/lib/perl/5.10/auto/POSIX/POSIX.so' for module POSIX: /usr/lib/perl/5.10/auto/POSIX/POSIX.so: failed to map segment from shared object: Cannot allocate memory at /usr/lib/perl/5.10/XSLoader.pm line 64.
at /usr/lib/perl/5.10/POSIX.pm line 35
Compilation failed in require at /usr/share/perl5/Debconf/Template.pm line 7.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Template.pm line 7.
Compilation failed in require at /usr/share/perl5/Debconf/Question.pm line 8.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Question.pm line 8.
Compilation failed in require at /usr/share/perl5/Debconf/Config.pm line 7.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Config.pm line 7.
Compilation failed in require at /usr/share/perl5/Debconf/Log.pm line 10.
Compilation failed in require at (eval 1) line 4.
BEGIN failed--compilation aborted at (eval 1) line 4.
) -- aborting
dpkg: unrecoverable fatal error, aborting:
syntax error: unknown user `root' in statoverride file
E: Sub-process /usr/bin/dpkg returned an error code (2)


skúšal som už aj vo var/lib/dpkg

prepísať:

status-old na status
statoverride-old na statoverride
diversions-old na diversions
available-old na available


Ale nepomohlo prosím poraďte čo mam spraviť, je to vps Debian lenny9 + ISP Config

Hobild

ujistil bych se, ze dpkg je kompatibilni s pouzitou verzi perlu, nekdy tyhle vztahy rozhodi nahozeni nekterych aplikaci z testingu/experimental, ktere povysi jen nektere komponenty systemu. Pokud pouzivas pouze stable balicky, pak me nic nenapada krome nejak naboreneho systemu (tezko dohledatelne, nejrozumnejsi by byl asi reinstall), na hw bych to netipoval, snad az po vylouceni moznych soft. pricin.
H.