Bug 228 - Удаление пакета не проходит
Summary: Удаление пакета не проходит
Status: CLOSED DUPLICATE of bug 167
Alias: None
Product: Sisyphus
Classification: Development
Component: junkbuster (show other bugs)
Version: unstable
Hardware: all Linux
: P4 blocker
Assignee: Dmitry V. Levin
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-12-13 11:49 MSK by Serge A. Volkov
Modified: 2003-08-25 15:18 MSD (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 при удалении поддиректорий.
---

---