[FS#571] opkg can be too easily removed

LEDE Bugs lede-bugs at lists.infradead.org
Tue Feb 28 17:20:46 PST 2017


A new Flyspray task has been opened.  Details are below. 

User who did this - Luiz Angelo Daros de Luca (luizluca) 

Attached to Project - LEDE Project
Summary - opkg can be too easily removed
Task Type - Feature Request
Category - Base system
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - Low
Priority - Very Low
Reported Version - lede-17.01
Due in Version - Undecided
Due Date - Undecided
Details - Hello,

opkg can remove itself too easily. Just a wrong paste can run something like;

 opkg remove opkg install openvpn-openssl

It runs happily. However, without opkg, I cannot reinstall it.
This is very difficult to undo.

opkg should be somehow pre-locked in order to avoid removal. The user should need to supply some time of force or unlock the package before in order to really remove opkg.

 

More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=571



More information about the lede-bugs mailing list