[osgeo4w-dev] [osgeo4w] #278: apt remove or upgrade fails on read-only files

OSGeo4W trac_osgeo4w at osgeo.org
Thu Nov 20 20:59:26 PST 2014


#278: apt remove or upgrade fails on read-only files
--------------------+-------------------------------------------------------
Reporter:  maphew   |        Owner:  osgeo4w-dev@…              
    Type:  defect   |       Status:  closed                     
Priority:  major    |    Component:  Package                    
 Version:           |   Resolution:  fixed                      
Keywords:  pkg-apt  |  
--------------------+-------------------------------------------------------
Changes (by maphew):

  * status:  new => closed
  * resolution:  => fixed


Comment:

 fixed at
 https://github.com/maphew/apt/commit/f3540a18c06416a7f3faa2fa908bc342d7910e5d

 however today I noticed a knock on effect: even though the readonly file
 is removed from the file system and the installed-files-list successfully,
 that removal is not reported to console:

 {{{B:\code\apt>attrib  b:\o4w\bin\iconv.dll
 A            B:\o4w\bin\iconv.dll

 B:\code\apt>attrib +R b:\o4w\bin\iconv.dll

 B:\code\apt>attrib  b:\o4w\bin\iconv.dll
 A    R       B:\o4w\bin\iconv.dll

 B:\code\apt>apt remove iconv
 iconv
 removing iconv 1.9.1-1
 removed: B:\o4w\include\iconv.h
 removed: B:\o4w\lib\iconv.lib

 B:\code\apt>attrib  b:\o4w\bin\iconv.dll
 File not found - B:\o4w\bin\iconv.dll
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/osgeo4w/ticket/278#comment:1>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer and package environment for the OSGeo stack.


More information about the osgeo4w-dev mailing list