Ticket #278 (new defect)

Opened 14 months ago

apt remove or upgrade fails on read-only files

Reported by: maphew Owned by: osgeo4w-dev@…
Priority: major Component: Package
Version: Keywords: pkg-apt
Cc:

Description

C:\> apt remove msys
...snip
Traceback (most recent call last):
  File "<string>", line 1043, in <module>
  File "<string>", line 326, in upgrade
  File "<string>", line 150, in install
  File "<string>", line 175, in install_next
  File "<string>", line 453, in do_uninstall
WindowsError: [Error 5] Access is denied: 'B:\\o4w\\apps\\msys\\man\\cat3\\regcomp.3.txt.lnk'

Inspecting the file attributes shows it is set as Read-only. A simple attrib -r *.lnk fixes it.

That said, the link files are broken anyway as they are hard coded to G:\Program Files\Regex\man\....

Note: See TracTickets for help on using tickets.