hi
when i try to reinstall the pkg powermgmt-base using apt-get  or dpkg, i
have the following error : 

host:/var/cache/apt/archives$apt-get --reinstall install powermgmt-base
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be upgraded:
  powermgmt-base
1 upgraded, 0 newly installed, 0 to remove and 56 not upgraded.
24 not fully installed or removed.
Need to get 0B/12.1kB of archives.
After unpacking 0B of additional disk space will be used.

Preconfiguring packages ...
(Reading database ... 37599 files and directories currently installed.)
Preparing to replace powermgmt-base 1.17 (using
.../powermgmt-base_1.18_i386.deb) ...
Unpacking replacement powermgmt-base ...
Error: the current /etc/modules.conf is not automatically generated.
dpkg: warning - old post-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
Error: the current /etc/modules.conf is not automatically generated.
dpkg: error processing
/var/cache/apt/archives/powermgmt-base_1.18_i386.deb (--unpack):
 subprocess new post-removal script returned error exit status 1
Error: the current /etc/modules.conf is not automatically generated.
dpkg: error while cleaning up:
 subprocess post-removal script returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/powermgmt-base_1.18_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

***********************************************************************
host:/var/cache/apt/archives$dpkg --force-all -i
powermgmt-base_1.18_i386.deb 
(Reading database ... 37599 files and directories currently installed.)
Preparing to replace powermgmt-base 1.17 (using
powermgmt-base_1.18_i386.deb) ...
Unpacking replacement powermgmt-base ...
Error: the current /etc/modules.conf is not automatically generated.
dpkg: warning - old post-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
Error: the current /etc/modules.conf is not automatically generated.
dpkg: error processing powermgmt-base_1.18_i386.deb (--install):
 subprocess new post-removal script returned error exit status 1
Error: the current /etc/modules.conf is not automatically generated.
dpkg: error while cleaning up:
 subprocess post-removal script returned error exit status 1
Errors were encountered while processing:
 powermgmt-base_1.18_i386.deb


any way to bypass this error ?

thks



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

Reply via email to