Bug 228

Summary: Удаление пакета не проходит
Product: Sisyphus Reporter: Serge A. Volkov <vserge>
Component: junkbusterAssignee: Dmitry V. Levin <ldv>
Status: CLOSED DUPLICATE QA Contact:
Severity: blocker    
Priority: P4    
Version: unstable   
Hardware: all   
OS: Linux   

Description Serge A. Volkov 2001-12-13 11:49:16 MSK
При потытке удалить
#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 при удалении поддиректорий.
---

---