Bug 228 - Удаление пакета не проходит
: Удаление пакета не проходит
Status: CLOSED DUPLICATE of bug 167
: Sisyphus
(All bugs in Sisyphus/junkbuster)
: unstable
: all Linux
: P4 blocker
Assigned To:
:
:
:
:
:
  Show dependency tree
 
Reported: 2001-12-13 11:49 by
Modified: 2003-08-25 15:18 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2001-12-13 11:49:16
При потытке удалить
#apt-get remove junkbuster
Processing File Dependencies... Done
Reading Package Lists... Done       
Building Dependency Tree... Done
Starting
Starting 2
Done
The following packages will be REMOVED:
  junkbuster 
0 packages upgraded, 0 newly installed, 1 to remove(replace) and 271 not upgrade
d.
Need to get 0B of archives. After unpacking 325kB will be freed.
Do you want to continue? [Y/n] y
Executing RPM (/bin/rpm --nodeps -e)...
rm: `/opt/junkbuster/etc/junkbuster\' is a directory
error: execution of %preun scriptlet from junkbuster-2.0.2-ipl4mdk failed, exit 
status 1
E: Sub-process /bin/rpm returned an error code (255)

потытка #2 руками
# rpm -e junkbuster
rm: `/opt/junkbuster/etc/junkbuster\' is a directory
error: execution of %preun scriptlet from junkbuster-2.0.2-ipl4mdk failed, exit 
status 1

удаление поддиректорий 
# rm -r /opt/junkbuster/etc/junkbuster
rm: descend into directory `/opt/junkbuster/etc/junkbuster\'? y
rm: remove `/opt/junkbuster/etc/junkbuster/aclfile\'? y
rm: remove `/opt/junkbuster/etc/junkbuster/blocklist\'? y
rm: remove `/opt/junkbuster/etc/junkbuster/config\'? y
rm: remove `/opt/junkbuster/etc/junkbuster/cookiefile\'? y
rm: remove `/opt/junkbuster/etc/junkbuster/forward\'? y
rm: remove `/opt/junkbuster/etc/junkbuster/imagelist\'? y
rm: remove `/opt/junkbuster/etc/junkbuster/trust\'? y
rm: remove directory `/opt/junkbuster/etc/junkbuster\'? y

попытка номер #3 
# rpm -e junkbuster

удаление удалось

ВЫВОД: нехватает опции -r при удалении поддиректорий.
---

---