little python script to clean up double entries in /usr/lib/opkg/status

neo at el-hennig.de neo at el-hennig.de
Tue May 4 16:38:34 CEST 2010


> for some reason I often suffer from double (or triple or...) entries in
> my /usr/lib/opkg/status and decided to write a little script that
> removes double entries. To be safe I opted to remove the newer entries
> and keep only the oldest.

This is a good idea! 

However, the script does to take the version into account. That led to the deletion of the newer version in my case. No big deal as I checked the results before putting the chnaged file into place, but still you might want to change this.

--
neo at el-hennig.de

 Lubarsky's Law of Cybernetic Entomology:
   There's always one more bug.
 



More information about the community mailing list