bobertuk wrote:
> Any script experts out there?
>
> I've been trying to use SOA-web update on Cubox-4i over the last couple
> of days and the script now fails partway through with...
>
>
> ==> Extracting sources...
> -> Creating working copy of 7.9 git repo...
> fatal: Cannot update paths and switch to branch 'makepkg' at the same
> time.
> Did you intend to checkout
> 'logitechmediaserver-7.9-lms/src/slimserver/origin/public/7.9' which can
> not be resolved as commit?
> ==> ERROR: Failure while creating working copy of 7.9 git repo
> Aborting...
>
> Update complete: Thu 23 Apr 21:35:19 BST 2015
> }
>
>
>
> The output is normal until it gets to where it says 'fatal'. I think the
> script is /aur/soa-aur/SoA-update-all.sh
>
> It was working ok until there were some module updates which were
> themselves installed by the update script. Any ideas?
>
> Bob
You need a git / pkgbuild expert ... Something's gone wonky with the
LMS build. It's no comfort, but I have a x86_64 test build of SOA
running in virtualbox and the "update" function works OK. When you
reach the stage of updating any installed LMS you shoudl see this:
Code:
--------------------
synchronising scripts
Already up-to-date.
:: Synchronising package databases...
core is up to date
extra is up to date
community is up to date
:: Starting full system upgrade...
there is nothing to do
==> Making package: logitechmediaserver-7.9-lms 1-1 (Fri 24 Apr 10:08:58 BST
2015)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Updating slimserver git repo...
Fetching origin
-> Found service
-> Found install
==> Validating source files with sha1sums...
slimserver ... Skipped
service ... Passed
install ... Passed
==> Extracting sources...
-> Creating working copy of 7.9 git repo...
CLONING INTO 'SLIMSERVER'...
done.
Checking out files: 32% (1022/3147)
Checking out files: 33% (1039/3147)
Checking out files: 34% (1070/3147)
Checking out files: 35% (1102/3147)
Checking out files: 36% (1133/3147)
Checking out files: 37% (1165/3147)
Checking out files: 38% (1196/3147)
Checking out files: 39% (1228/3147)
Checking out files: 40% (1259/3147)
Checking out files: 41% (1291/3147)
Checking out files: 42% (1322/3147)
Checking out files: 43% (1354/3147)
Checking out files: 44% (1385/3147)
Checking out files: 45% (1417/3147)
Checking out files: 46% (1448/3147)
Checking out files: 47% (1480/3147)
Checking out files: 48% (1511/3147)
Checking out files: 48% (1517/3147)
Checking out files: 49% (1543/3147)
Checking out files: 50% (1574/3147)
Checking out files: 51% (1605/3147)
Checking out files: 52% (1637/3147)
Checking out files: 53% (1668/3147)
Checking out files: 54% (1700/3147)
Checking out files: 55% (1731/3147)
Checking out files: 56% (1763/3147)
Checking out files: 57% (1794/3147)
Checking out files: 58% (1826/3147)
Checking out files: 59% (1857/3147)
Checking out files: 60% (1889/3147)
Checking out files: 61% (1920/3147)
Checking out files: 62% (1952/3147)
Checking out files: 63% (1983/3147)
Checking out files: 64% (2015/3147)
Checking out files: 65% (2046/3147)
Checking out files: 66% (2078/3147)
Checking out files: 67% (2109/3147)
Checking out files: 68% (2140/3147)
Checking out files: 69% (2172/3147)
Checking out files: 70% (2203/3147)
Checking out files: 71% (2235/3147)
Checking out files: 72% (2266/3147)
Checking out files: 73% (2298/3147)
Checking out files: 74% (2329/3147)
Checking out files: 75% (2361/3147)
Checking out files: 76% (2392/3147)
Checking out files: 77% (2424/3147)
Checking out files: 78% (2455/3147)
Checking out files: 79% (2487/3147)
Checking out files: 80% (2518/3147)
Checking out files: 81% (2550/3147)
Checking out files: 82% (2581/3147)
Checking out files: 83% (2613/3147)
Checking out files: 84% (2644/3147)
Checking out files: 85% (2675/3147)
Checking out files: 86% (2707/3147)
Checking out files: 87% (2738/3147)
Checking out files: 88% (2770/3147)
Checking out files: 89% (2801/3147)
Checking out files: 90% (2833/3147)
Checking out files: 91% (2864/3147)
Checking out files: 92% (2896/3147)
Checking out files: 93% (2927/3147)
Checking out files: 94% (2959/3147)
Checking out files: 95% (2990/3147)
Checking out files: 96% (3022/3147)
Checking out files: 97% (3053/3147)
Checking out files: 98% (3085/3147)
Checking out files: 99% (3116/3147)
Checking out files: 100% (3147/3147)
Checking out files: 100% (3147/3147), done.
Switched to a new branch 'makepkg'
==> Starting pkgver()...
==> Updated version: logitechmediaserver-7.9-lms 7.9r19707.a6dacd2-1
==> WARNING: A package has already been built, installing existing package...
==> Installing package logitechmediaserver-7.9-lms with pacman -U...
warning: logitechmediaserver-7.9-lms-7.9r19707.a6dacd2-1 is up to date --
skipping
loading packages...
there is nothing to do
==> Cleaning up...
Update complete: Fri 24 Apr 10:09:02 BST 2015
--------------------
If you look at the directory
"/aur/soa-aur/logitechmediaserver-7.9-lms/slimserver" - you should see
this:
Code:
--------------------
[root@archvm slimserver]# ls -l
total 64
drwxr-xr-x 2 aur aur 4096 Apr 14 11:54 branches
-rw-r--r-- 1 aur aur 173 Apr 14 11:54 config
-rw-r--r-- 1 aur aur 73 Apr 14 11:54 description
-RW-R--R-- 1 AUR AUR 19158 APR 24 10:08 FETCH_HEAD
-rw-r--r-- 1 aur aur 27 Apr 14 12:27 HEAD
drwxr-xr-x 2 aur aur 4096 Apr 14 11:54 hooks
drwxr-xr-x 2 aur aur 4096 Apr 14 11:54 info
drwxr-xr-x 4 aur aur 4096 Apr 14 11:54 objects
-rw-r--r-- 1 aur aur 10401 Apr 14 12:27 packed-refs
drwxr-xr-x 4 aur aur 4096 Apr 14 11:54 refs
--------------------
You can see how the FETCH_HEAD file is updated when the "Cloning into
'slimserver'" works correctly. What do you see in
"/aur/soa-aur/logitechmediaserver-7.9-lms" ?
------------------------------------------------------------------------
Krisbee's Profile: http://forums.slimdevices.com/member.php?userid=59080
View this thread: http://forums.slimdevices.com/showthread.php?t=101624
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix