WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: lock file  (Read 1521 times)

Offline nitram

  • Hero Member
  • *****
  • Posts: 1054
lock file
« on: February 06, 2016, 01:01:47 PM »
Latest announcement indicates lock file removed. Has the concept been abandoned or just require re-work, i think it's a good idea.

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: lock file
« Reply #1 on: February 06, 2016, 03:13:01 PM »
Has been reinstated in my testing which I have also uncovered what hopefully is one of the final bugs in sce-update which I am going to fix this evening.  Yeah, I think it is a good idea because no matter what the experience level, one may have a long running sce-import or sce-update session in another desktop or terminal unware, and another sce-import or sce-update will ruin both while the is still running.  Will be in the next RC.

Offline nitram

  • Hero Member
  • *****
  • Posts: 1054
Re: lock file
« Reply #2 on: February 07, 2016, 12:00:43 PM »
Preliminary lockout test good. Running  sce-update -a  in first terminal window, open another to run sce-import:
Code: [Select]
tc@box:~$ sce-import
Another SCE utility is presently in use, exiting..

Haen't tried the other way around yet, will report any issues otherwise probably good.

Another counter-productive command worthy of lock-out during import or update might be  sce-debpurge -a  .

[edit] Worked well the other way around too, thanks.
« Last Edit: February 07, 2016, 12:04:59 PM by nitram »

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: lock file
« Reply #3 on: February 07, 2016, 01:51:32 PM »
I have added this to sce-debpurge just before I saw this, as I am now moving deb2sce.tar.gz and it's extracted files to the DEBINX directory. 

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: lock file
« Reply #4 on: February 07, 2016, 03:20:00 PM »
Now in the latest upload.

Offline nitram

  • Hero Member
  • *****
  • Posts: 1054
Re: lock file
« Reply #5 on: February 07, 2016, 03:45:13 PM »
sce-debpurge was locked out while running sce-update -a, looks good, thanks.

Offline nitram

  • Hero Member
  • *****
  • Posts: 1054
Re: lock file
« Reply #6 on: February 09, 2016, 02:15:26 AM »
With new RC sce-debpurge is now locked out nicely when running sce-update or sce-import, thanks.