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

[debian-users:30153] Can't remove package



kiyokaと申します。

potato から testing に dist-upgrade したのですが、
ppp パッケージがリプレースできなくなりました。
ppp をリムーブしようとしてもエラーで止まります。

pppパッケージを強引に消したいのですがどうすれば良いでしょうか?

メッセージは以下のようになります。


# apt-get remove ppp

The following packages will be REMOVED:
  ppp 
0 packages upgraded, 0 newly installed, 1 to remove and 0  not upgraded.
1 packages not fully installed or removed.
Need to get 0B of archives. After unpacking 791kB will be freed.
Do you want to continue? [Y/n] 
dpkg: error processing ppp (--remove):
 Package is in a very bad inconsistent state - you should
 reinstall it before attempting a removal.
Errors were encountered while processing:
 ppp
E: Sub-process /usr/bin/dpkg returned an error code (1)



インストールをしようとすると以下のようになります。

genkan:::# apt-get install ppp
Reading Package Lists... Done

Sorry, ppp 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/254kB of archives. After unpacking 0B will be used.
debconf: (not preconfiguring packages since apt-utils is not installed)
Selecting previously deselected package ppp.
(Reading database ... 48438 files and directories currently installed.)
Preparing to replace ppp 2.4.1-4 (using .../archives/ppp_2.4.1-4_i386.deb) ...
Unpacking replacement ppp ...
Error: the current /etc/modules.conf is not automatically generated.
Use "update-modules force" to force (re)generation.
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.
Use "update-modules force" to force (re)generation.
dpkg: error processing /var/cache/apt/archives/ppp_2.4.1-4_i386.deb (--unpack):
 subprocess new post-removal script returned error exit status 1
Error: the current /etc/modules.conf is not automatically generated.
Use "update-modules force" to force (re)generation.
dpkg: error while cleaning up:
 subprocess post-removal script returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/ppp_2.4.1-4_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


どなたか良い解決策をお持ちの方は教えていただけますでしょうか?
# post-removal script を自分で書き直したものに入れかえると良いのでしょうか?

以上よろしくお願いします。
+---
 Kiyoka Nishiyama <kiyoka@xxxxxxxxxxxxx>
 http://www.netfort.gr.jp/~kiyoka/