Opened 16 years ago

Closed 15 years ago

#56 closed defect (duplicate)

apt: access denied replacing msvcr71.dll

Reported by: maphew Owned by: maphew
Priority: major Component: Installer
Version: Keywords: apt
Cc:

Description

apt upgrade
...snip...
preparing to replace msvcrt 1.0.0-9
Traceback (most recent call last):
  File "d:\src\osgeo4w\svn_trunk\apt\apt.py", line 770, in <module>
    __main__.__dict__[command] ()
  File "d:\src\osgeo4w\svn_trunk\apt\apt.py", line 646, in upgrade
    install ()
  File "d:\src\osgeo4w\svn_trunk\apt\apt.py", line 637, in install
    do_uninstall ()
  File "d:\src\osgeo4w\svn_trunk\apt\apt.py", line 596, in do_uninstall
    if os.remove (file):
WindowsError: [Error 5] Access is denied: 'C:/OSGeo4W\\bin/msvcr71.dll'

permissions error or perhaps because the dll is in use?

Change History (2)

comment:1 by maphew, 16 years ago

Status: newassigned

manually deleting the file and running apt install msvcrt is a successful work-around.

comment:2 by maphew, 15 years ago

Resolution: duplicate
Status: assignedclosed
Note: See TracTickets for help on using tickets.