Bug 5629

Summary: package leaves garbage after uninstall and cannot be reinstalled cleanly
Product: Sisyphus Reporter: Sergey Vlasov <vsu>
Component: tcl-gpgmeAssignee: Sergey Bolshakov <sbolshakov>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: major    
Priority: P2 CC: mike
Version: unstable   
Hardware: all   
OS: Linux   

Description Sergey Vlasov 2004-12-05 20:12:56 MSK
When tcl-gpgme is removed, broken symlinks /usr/lib/tcl/libtclgpgme.so and
/usr/lib/tcl/libtclgpgme.so.1 remain; when tcl-gpgme is installed again, these
symlinks break installation (%post script fails).
Steps to Reproduce:
# apt-get install tcl-gpgme
# apt-get remove tcl-gpgme
# apt-get install tcl-gpgme

Actual Results:  
Committing changes...
Preparing...                 ########################################### [100%]
1: tcl-gpgme                 ########################################### [100%]
ln: `/usr/lib/tcl/libtclgpgme.so': File exists
ln: `/usr/lib/tcl/libtclgpgme.so.1': File exists
error: execution of %post scriptlet from tcl-gpgme-1.0.1-alt3.1 failed, exit
status 1
W: Some errors occurred while running transaction


Expected Results:  
No garbage left after uninstallation, no errors during reinstallation.
Comment 1 Sergey Kalinin (BanZaj) 2005-02-09 07:40:13 MSK
Исправил
Comment 2 Sergey Vlasov 2006-08-29 21:24:43 MSD
Где???  В Сизифе до сих пор:

-rw-r--r--      192673 2004/10/19 20:16:16 tcl-gpgme-1.0.1-alt3.1.src.rpm

Поменялись с того времени только ошибки (вероятно, из-за обновления coreutils):

1: tcl-gpgme                 ########################################### [100%]
ln: creating symbolic link `/usr/lib/tcl/libtclgpgme.so' to
`/usr/lib/tcl/libtclgpgme.so.1.0': File exists
ln: creating symbolic link `/usr/lib/tcl/libtclgpgme.so.1' to
`/usr/lib/tcl/libtclgpgme.so.1.0': File exists
error: execution of %post scriptlet from tcl-gpgme-1.0.1-alt3.1 failed, exit
status 1
Comment 3 Michael Shigorin 2007-11-11 00:40:49 MSK
reassign
Comment 4 Sergey Bolshakov 2007-11-11 01:27:20 MSK
fixed in 1.0.1-alt4