=================== BUG #2696: FULL BUG SNAPSHOT ===================
http://savannah.nongnu.org/bugs/?func=detailbug&bug_id=2696&group_id=2348

Submitted by: yeupou                  Project: Package DataBase View        
Submitted on: Sun 03/02/03 at 19:12
Category:  core                       Severity:  7                          
Bug Group:  None                      Resolution:  None                     
Assigned to:  yeupou                  Status:  Open                         

Summary:  pdbv 2.0.0 does not remove correctly orphans

Original Submission:  In --debug mode, it turns out that pdbv 2.0.0 do not 
remove correctly orphans:

 - /var/www/pdbv/package/tmp.test
/var/www/pdbv/package/libldap2_2.0.23-6.3.html
/var/www/pdbv/package/libnetpbm9_2:9.20-8.html
/var/www/pdbv/package/librrd0_1.0.35-2.html
/var/www/pdbv/package/libsnmp4.2_4.2.3-2.html
/var/www/pdbv/package/libungif4g_4.1.0b1-2.html
/var/www/pdbv/package/libxslt1_1.0.16-0.1.html
/var/www/pdbv/package/xlib6g_4.1.0-16.html
/var/www/pdbv/package/xlibmesa3_4.1.0-16.html
0 orphans removed

We need do a split(); in the list, since apparently all items are just one 
single item for the list. Debug should be print
- item
- item
instead of
- item
item
item
if it was working correctly. So it's not surprising that unlink() do not work.


I'll fix it soon and do a bugfixe release, since it's does not only mean to 
have unappropriates files left, but it means also that packages list is not 
updated, as it's done only if # of orphans removed > 0.





No Followups Have Been Posted


CC list is empty


No files currently attached


For detailed info, follow this link:
http://savannah.nongnu.org/bugs/?func=detailbug&bug_id=2696&group_id=2348


Reply via email to