WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: update-loop with sce-update -a  (Read 11576 times)

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: update-loop with sce-update -a
« Reply #15 on: December 07, 2015, 05:29:30 AM »
I see it has to do with SCEs that have .dep files.  I will look deeper this evening.

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: update-loop with sce-update -a
« Reply #16 on: December 07, 2015, 08:43:54 AM »
Ok, I reproduced the same errors with a new import of pcmanfm depending on filezilla.sce.  I hope this gets it, use the importupdatecheck from the link below.

http://tinycorelinux.net/dCore/x86/import/importupdatecheck

Offline netnomad

  • Hero Member
  • *****
  • Posts: 1026
Re: update-loop with sce-update -a
« Reply #17 on: December 07, 2015, 08:45:38 AM »
hi jason,

usually i use just sce-update -a.

some times ago after i noticed that sce-update -a misses some updates,
i re-imported the sce-packages with sce-import -s -d -l package.sce.lst.

thank you for your help.

Offline netnomad

  • Hero Member
  • *****
  • Posts: 1026
Re: update-loop with sce-update -a
« Reply #18 on: December 07, 2015, 08:52:21 AM »
hi jason,

i used your last http://tinycorelinux.net/dCore/x86/import/importupdatecheck
my /tmp/updateavailable has now both md5sums,
but all my packages reply an update request, although i've updated them today:

000-base-jessie
100-desktop-jessie
200-multimedia-jessie
libreoffice
virtualbox

The above SCEs are about to be updated.  Press Enter to proceed, y to view package updates, or Ctrl-C to abort..

i attached my /tmp/updateavailable-file.

[attachment deleted by admin]
« Last Edit: December 07, 2015, 08:55:09 AM by netnomad »

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: update-loop with sce-update -a
« Reply #19 on: December 07, 2015, 09:28:34 AM »
Ok, we are narrowing it down judging by the /tmp/updateavailable entries.   Try that same link one more time, I think this is it.

Offline netnomad

  • Hero Member
  • *****
  • Posts: 1026
Re: update-loop with sce-update -a
« Reply #20 on: December 07, 2015, 02:46:41 PM »
hi jason,

there are still these two loops left:
000-base-jessie
100-desktop-jessie
The above SCEs are about to be updated.  Press Enter to proceed, y to view package updates, or Ctrl-C to abort..

tc@box:~$ md5sum /usr/bin/importupdatecheck
eb42981b842c96b6e6d395ee02c38bdb  /usr/bin/importupdatecheck

i attached the /tmp/updateavailable-file.

[attachment deleted by admin]
« Last Edit: December 07, 2015, 03:00:26 PM by netnomad »

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: update-loop with sce-update -a
« Reply #21 on: December 07, 2015, 05:00:13 PM »
Ok, that narrowed it down even further. 

Please test with the two below files placed in /usr/bin.  If that works, I will make a new release candidate.

http://tinycorelinux.net/dCore/x86/import/importupdatecheck

http://tinycorelinux.net/dCore/x86/import/sce-update

EDIT: Re-uploaded fixing a glitch.
« Last Edit: December 07, 2015, 05:24:01 PM by Jason W »

Offline netnomad

  • Hero Member
  • *****
  • Posts: 1026
Re: update-loop with sce-update -a
« Reply #22 on: December 08, 2015, 04:40:43 AM »
hi jason,

i took your two new files and got no update request, no loop:

tc@box:~$ md5sum /usr/bin/importupdatecheck
98cc1f2c55373047c209f24cfded0cb9  /usr/bin/importupdatecheck
tc@box:~$ md5sum /usr/bin/sce-import       
563765099be7bc6f10266e9ae2f3b559  /usr/bin/sce-import

i attached the /tmp/updateavailable-file.

[attachment deleted by admin]

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: update-loop with sce-update -a
« Reply #23 on: December 08, 2015, 05:05:46 AM »
Ok, looks like things are good as for what we were looking for with the looping.

Offline netnomad

  • Hero Member
  • *****
  • Posts: 1026
Re: update-loop with sce-update -a
« Reply #24 on: December 08, 2015, 06:45:43 AM »
hi jason,

with the actual last cut of these two files i had an update-request.
after the update i had no loop.
so i think that is a success!

tc@box:~/tools/_test$ md5sum importupdatecheck
98cc1f2c55373047c209f24cfded0cb9  importupdatecheck
tc@box:~/tools/_test$ md5sum sce-update
41447931ecbf91b65803210de3ab17df  sce-update

i attached the /tmp/updateavailable-file.

[attachment deleted by admin]

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: update-loop with sce-update -a
« Reply #25 on: December 08, 2015, 07:53:09 AM »
Thanks for your testing and patience.  I will upload a release candidate this evening.

Offline netnomad

  • Hero Member
  • *****
  • Posts: 1026
Re: update-loop with sce-update -a
« Reply #26 on: December 23, 2015, 12:28:51 PM »
hi jason,

again new loop problems with
tc@box:~$ sce-update -as
...
100-desktop-jessie
The above SCEs are about to be updated.  Press Enter to proceed, y to view package updates, or Ctrl-C to abort..

tc@box:~/tmp$ cat updateavailable
SCE:  100-desktop-jessie
  Available package updates:
    Warning: 100-desktop-jessie.dep file is missing or corrupt. Re-importing is needed.

although i deleted the 100-desktop-jessie.dep file and re-imported the package with:
tc@box:~/tmp$ sce-import -s -d -l 100-desktop-jessie
tc@box:~/mnt/TCE/sce$ cat 100-desktop-jessie.sce.dep
000-base-jessie

...and recreated the dep-file, i cannot get further, i'm stuck in an update loop :-(

tc@box:~$ version -r
You are running dCore-jessie:2015.12.22.21.27 which is the latest release candidate.

is there a typo in the sce-import dialogue?
there is no yes-option proposed... only (n/N)
but y for yes seems to work :-)
...
Do you want to create 100-desktop-jessie.sce from package list /mnt/sdb2/tce/sce/100-desktop-jessie.sce.lst?  Press (n/N) to import a standard 100-desktop-jessie package if it exists, any key will use the existing package list.  WARNING: Pressing (n/N) will delete /mnt/sdb2/tce/sce/100-desktop-jessie.sce.lst now.
...

thank you for your help.
« Last Edit: December 23, 2015, 12:40:54 PM by netnomad »

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: update-loop with sce-update -a
« Reply #27 on: December 23, 2015, 01:27:07 PM »
Nothing changed that should cause a loop, but lets see what is happening.

In /usr/bin/importupdatecheck, uncomment lines 155 and 156 and then re-run 'sce-import -as' and post the resulting /tmp/updateavailable.

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: update-loop with sce-update -a
« Reply #28 on: December 23, 2015, 05:07:29 PM »
There is no yes option as any key will use the package list.

But will add the (y/N) as yes is a choice.  :-)
« Last Edit: December 23, 2015, 08:16:06 PM by Jason W »

Offline netnomad

  • Hero Member
  • *****
  • Posts: 1026
Re: update-loop with sce-update -a
« Reply #29 on: December 24, 2015, 12:06:54 AM »
In /usr/bin/importupdatecheck, uncomment lines 155 and 156 and then re-run 'sce-import -as' and post the resulting /tmp/updateavailable.

[attachment deleted by admin]
« Last Edit: December 24, 2015, 12:08:40 AM by netnomad »