ISO icon indicating copy to clipboard operation
ISO copied to clipboard

Locked installer

Open karthik-holla opened this issue 1 year ago • 8 comments

I was trying to install Libreoffice and cancelled it in the midle but now the installer is locked forever and it says ' Another installation is still running. ' how can i get out from this ? And now I am not able to install any other apps too.

karthik-holla avatar Jun 29 '23 09:06 karthik-holla

cancelled it in the midle

We need to find a way to prevent users from interrupting running installs, as it can lead to situations like this.

Do you still get this after a reboot?

probonopd avatar Jul 01 '23 18:07 probonopd

Yes

karthik-holla avatar Jul 02 '23 14:07 karthik-holla

https://forums.freebsd.org/threads/pkg-problem.56297/ suggests pkg clean.

probonopd avatar Jul 02 '23 14:07 probonopd

pkg clean has no effect on the installer. It is better to kill the app if cancel button is clicked. I feel it is the only way an user can avoid this lock.

On Sun, 2 Jul 2023, 19:45 probonopd, @.***> wrote:

https://forums.freebsd.org/threads/pkg-problem.56297/ suggests pkg clean.

— Reply to this email directly, view it on GitHub https://github.com/helloSystem/ISO/issues/494#issuecomment-1616678540, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGAHHHXIZONKQFXYZT4RCWLXOF7ANANCNFSM6AAAAAAZYI47Z4 . You are receiving this because you authored the thread.Message ID: @.***>

karthik-holla avatar Jul 04 '23 13:07 karthik-holla

I agree with him, we need to put a cancel button on that thing.

louies0623 avatar Jul 30 '23 02:07 louies0623

A running installation should not be interrupted because it can apparently destroy the package database.

Maybe this will help: https://github.com/helloSystem/ISO/commit/e49f2ab121843447b1f71be9c98b07cf2af1e60d

probonopd avatar Jul 30 '23 05:07 probonopd

I tried to install from command line using pkg install command, interrupted the process by ctrl+c. Then tried to install the same package, the package installed without any issue.

On Sun, 30 Jul 2023, 11:00 probonopd, @.***> wrote:

A running installation should not be interrupted because it can apparently destroy the package database.

— Reply to this email directly, view it on GitHub https://github.com/helloSystem/ISO/issues/494#issuecomment-1657047368, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGAHHHS32FLAFXCAN2WVZPTXSXWPTANCNFSM6AAAAAAZYI47Z4 . You are receiving this because you authored the thread.Message ID: @.***>

karthik-holla avatar Jul 30 '23 07:07 karthik-holla

Users have the right to cancel the installation of the software and uninstall the software, we still have to have something to stop the installation.

If there is a termination during the download process (or if the network is suddenly disconnected for one minute, the user is notified whether to try again, and then the user ends the program), then reverse the installation and remove the downloaded package. Restore the system instead of just shutting down and ending the program,

louies0623 avatar Jul 30 '23 11:07 louies0623