Project

General

Profile

Actions

Bug #11064

closed

if plugin is broken, we cannot upgrade it

Added by Nicolas CHARLES over 6 years ago. Updated over 6 years ago.

Status:
Released
Priority:
N/A
Category:
Packaging
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Fix check:
Regression:

Description

if dsc technique disapeared, like because of upgrade of rudder, plugin cannot be upgraded anymore

The package is already installed, I will upgrade it.
Traceback (most recent call last):
  File "/opt/rudder/bin/rudder-pkg", line 326, in <module>
    install_file(args['<package.rpkg>'])
  File "/opt/rudder/bin/rudder-pkg", line 241, in install_file
    install(metadata, package_file, exist)
  File "/opt/rudder/bin/rudder-pkg", line 216, in install
    remove_files(DB['plugins'][metadata['name']])
  File "/opt/rudder/bin/rudder-pkg", line 211, in remove_files
    os.remove(filename)
OSError: [Errno 2] No such file or directory: '/var/rudder/configuration-repository/dsc/rudder-directives.ps1'

Actions

Also available in: Atom PDF