Bug 463

Summary: mgarepo sync shouldn't try deleting dangling symlinks in SOURCES
Product: Mageia Reporter: Ahmad Samir <ahmadsamir3891>
Component: RPM PackagesAssignee: Nicolas Vigier <boklm>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal    
Version: Cauldron   
Target Milestone: ---   
Hardware: i586   
OS: Linux   
Whiteboard:
Source RPM: mgarepo-1.9.9-2.mga1 CVE:
Status comment:

Description Ahmad Samir 2011-03-19 23:51:46 CET
I was updating wine to 1.3.16, and had an old/dangling symlink:
wine-1.3.14.tar.bz2 -> ../SOURCES-bin/wine-1.3.14.tar.bz

now using 'mgarepo sync -c' tried to delete wine-1.3.14.tar.bz2
$ mgarepo sync -c
D       ./SOURCES/wine-1.3.14.tar.bz2
error: not found: ./SOURCES/wine-1.3.14.tar.bz2

it's not found because wine had already been updated to 1.3.15 just the symlink wasn't deleted (i.e. wine-1.3.14.tar.bz2 had already been deleted from SOURCES-bin and committed long ago).
Ahmad Samir 2011-03-19 23:51:56 CET

Assignee: bugsquad => boklm

Comment 1 Nicolas Vigier 2011-05-17 11:12:11 CEST
Fixed in svn.

Status: NEW => RESOLVED
Resolution: (none) => FIXED