Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 398103

Summary: app-portage/gentoolkit-0.3.0.4-r5 - "eclean -t 1y packages" aborts if dangling symlinks are encountered
Product: Gentoo Linux Reporter: Norman Back <gentoo3>
Component: New packagesAssignee: Portage Tools Team <tools-portage>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 346443    
Attachments: Modified clean.py that fixes the issue in an untidy fashion

Description Norman Back 2012-01-07 23:19:08 UTC
"eclean  -t 1y packages" aborts if dangling symlinks are encountered

Reproducible: Always

Steps to Reproduce:
1. Manually delete an old file from packages/ALL
2. Run eclean -t <time> where <time> includes the deleted file

Actual Results:  
1. Manually delete an old file from packages/ALL
2. Run eclean -t <time> where <time> includes the deleted file
3. eclean aborts when the symlink to the deleted file is detected.

Expected Results:  
1. Manually delete an old file from packages/ALL
2. Run eclean -t <time> where <time> includes the deleted file
3. eclean deletes the dangling symlink and other packages selected
Comment 1 Norman Back 2012-01-07 23:21:40 UTC
Created attachment 298285 [details, diff]
Modified clean.py that fixes the issue in an untidy fashion
Comment 2 Brian Dolbec (RETIRED) gentoo-dev 2012-01-22 17:54:38 UTC
done.  fixed in commit: 
http://git.overlays.gentoo.org/gitweb/p=proj/gentoolkit.git;a=commit;h=0f152f27af3b758b904d257931c17da490468b8e

However, the final fix was not quite the way you modified it in the attached file.

Thank you.

the fix is available now in gentoolkit-9999.
Comment 3 Paul Varner (RETIRED) gentoo-dev 2012-02-29 16:24:06 UTC
Released in gentoolkit-0.3.0.5