It didn't help. I tried to create file to remove. Synaptic removes file
and then reports error.
sobies@zwierzak:/etc/init$ ls -la kdm*
-rw-r--r-- 1 root root 1162 2011-04-14 12:19 kdm.conf~
-rw-r--r-- 1 root root 1162 2011-04-14 12:19 kdm.conf~~
sobies@zwierzak:/etc/init$ mv kdm.conf~ kdm.conf
mv: cannot move `kdm.conf~' to `kdm.conf': Permission denied
sobies@zwierzak:/etc/init$ sudo mv kdm.conf~ kdm.conf
[sudo] password for sobies:
sobies@zwierzak:/etc/init$ ls -la kdm*
-rw-r--r-- 1 root root 1162 2011-04-14 12:19 kdm.conf
-rw-r--r-- 1 root root 1162 2011-04-14 12:19 kdm.conf~~
sobies@zwierzak:/etc/init$ sudo touch kdm.conf
sobies@zwierzak:/etc/init$ ls -la kdm*
-rw-r--r-- 1 root root 1162 2011-07-18 23:40 kdm.conf
-rw-r--r-- 1 root root 1162 2011-04-14 12:19 kdm.conf~~
sobies@zwierzak:/etc/init$ sudo apt-get remove kdm
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package kdm is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 28 not upgraded.
sobies@zwierzak:/etc/init$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 28 not upgraded.
sobies@zwierzak:/etc/init$ synaptic
sobies@zwierzak:/etc/init$ sudo synaptic
sobies@zwierzak:/etc/init$ ls -la kdm*
-rw-r--r-- 1 root root 1162 2011-04-14 12:19 kdm.conf~~
sobies@zwierzak:/etc/init$
### Synaptic's output is as follows:
(Reading database ... 191603 files and directories currently installed.)
Removing kdm ...
Purging configuration files for kdm ...
rm: cannot remove `/etc/init/kdm.conf': No such file or directory
dpkg: error processing kdm (--purge):
subprocess installed post-removal script returned error exit status 1
No apport report written because MaxReports has already been reached
Errors were
encountered while processing:
kdm
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
### Please note package kdm is the only one having status "Not installed
(residual config)" as Synaptic says.
### The following is first application of your advice:
sobies@zwierzak:~$ man touch
sobies@zwierzak:~$ sudo touch /etc/init/kdm.conf
[sudo] password for sobies:
sobies@zwierzak:~$ sudo apt-get remove kdm
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności
Odczyt informacji o stanie... Gotowe
Pakiet kdm nie jest zainstalowany, więc nie zostanie usunięty.
The following packages were automatically installed and are no longer required:
python-mmkeys python-cddb hal libhal-storage1 hal-info
Aby je usunąć należy użyć "apt-get autoremove".
0 aktualizowanych, 0 nowo instalowanych, 0 usuwanych i 0 nieaktualizowanych.
sobies@zwierzak:~$ sudo apt-get -f install
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności
Odczyt informacji o stanie... Gotowe
The following packages were automatically installed and are no longer required:
python-mmkeys python-cddb hal libhal-storage1 hal-info
Aby je usunąć należy użyć "apt-get autoremove".
0 aktualizowanych, 0 nowo instalowanych, 0 usuwanych i 0 nieaktualizowanych.
--
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kdebase-workspace in Ubuntu.
https://bugs.launchpad.net/bugs/811960
Title:
package kdm (not installed) failed to install/upgrade: podproces
zainstalowany skrypt post-removal zwrócił kod błędu 1
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/kdebase-workspace/+bug/811960/+subscriptions
--
kubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs