You are not logged in.

#1 2016-03-16 13:38:44

archuser11301
Member
Registered: 2016-02-09
Posts: 40

pacman doesn't install latest version of syncthing? and error message

pacman -S syncthing

shows

Packages (1) syncthing-0.12.19-1

Yet looking on the web it shows syncthing 0.12.20-1

I wouldn't care except when I try and run syncthing from command line I am getting an error:

Illegal instruction (core dumped)

So wondering if the latest version will fix it. Alternatively do you know why that message might be appearing?

Last edited by archuser11301 (2016-03-16 13:41:11)

Offline

#2 2016-03-16 13:41:43

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,456
Website

Re: pacman doesn't install latest version of syncthing? and error message

Yes, you're sync database hasn't been updated: run pacman -Syu.

As for that error, that shouldn't happen even with an older version - but step one is still to update your system.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2016-03-16 14:00:18

archuser11301
Member
Registered: 2016-02-09
Posts: 40

Re: pacman doesn't install latest version of syncthing? and error message

Ok I ran the update and installed latest version of syncthing and the error message remains. What next? smile

Offline

#4 2016-03-16 14:03:58

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,456
Website

Re: pacman doesn't install latest version of syncthing? and error message

Tell us what you are doing for one.  What command did you run?  Post the complete command and all the output.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#5 2016-03-16 14:04:55

runical
Member
From: The Netherlands
Registered: 2012-03-03
Posts: 896

Re: pacman doesn't install latest version of syncthing? and error message

Do you have the complete output of the crash?

EDIT: Too slow...

@Trilby: Syncthing can be run from the commandline just like any application. It's just more useful to use a systemd service.

Last edited by runical (2016-03-16 14:06:27)

Offline

#6 2016-03-16 14:08:57

archuser11301
Member
Registered: 2016-02-09
Posts: 40

Re: pacman doesn't install latest version of syncthing? and error message

[dilbert@athlonlinux ~]$ syncthing
Illegal instruction (core dumped)
[dilbert@athlonlinux ~]$

I have just done the pacman install and immediately tried to run it with typing that above. Not done any other setup. Was following the archwiki and so ran aground there. So I was upto:

After installing, you can either run the syncthing binary manually from a terminal

Last edited by archuser11301 (2016-03-16 14:12:20)

Offline

#7 2016-03-16 14:21:41

runical
Member
From: The Netherlands
Registered: 2012-03-03
Posts: 896

Re: pacman doesn't install latest version of syncthing? and error message

Hmm. Could you provide the output of

uname -a

Another thing you can try is removing the configuration directory if that already exists. It might somehow have a wrong config. Also try syncthing-bin from the AUR. That is the official binary (although I have no clue why this would happen since it runs fine on my computers).

Last edited by runical (2016-03-16 14:22:19)

Offline

#8 2016-03-16 14:23:57

archuser11301
Member
Registered: 2016-02-09
Posts: 40

Re: pacman doesn't install latest version of syncthing? and error message

[dilbert@athlonlinux bin]$ uname -a
Linux athlonlinux 4.4.1-2-ARCH #1 SMP PREEMPT Wed Feb 3 13:40:19 UTC 2016 i686 GNU/Linux
[dilbert@athlonlinux bin]$

Where should the config directory be to remove it?

Last edited by archuser11301 (2016-03-16 14:24:57)

Offline

#9 2016-03-16 14:29:45

mrunion
Member
From: Jonesborough, TN
Registered: 2007-01-26
Posts: 1,938
Website

Re: pacman doesn't install latest version of syncthing? and error message

Is your system completely up to date? That's not the latest Kernel is why I am asking. Does

pacman -Syu

show you have nothing to update? Are you ignoring packages in pacman.conf?


Matt

"It is very difficult to educate the educated."

Offline

#10 2016-03-16 14:32:32

archuser11301
Member
Registered: 2016-02-09
Posts: 40

Re: pacman doesn't install latest version of syncthing? and error message

mrunion wrote:

Is your system completely up to date? That's not the latest Kernel is why I am asking. Does

pacman -Syu

show you have nothing to update? Are you ignoring packages in pacman.conf?

Yes I just ran it again

[root@athlonlinux .config]# pacman -Syu
:: 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
[root@athlonlinux .config]# syncthing
Illegal instruction (core dumped)
[root@athlonlinux .config]#

Offline

#11 2016-03-16 14:39:53

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,694

Re: pacman doesn't install latest version of syncthing? and error message

What CPU?

Offline

#12 2016-03-16 14:47:05

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,456
Website

Re: pacman doesn't install latest version of syncthing? and error message

uname gives the running kernel.  I assume you have along uptime.  What's the output of `pacman -Q linux`?  I don't know if/why/how syncthing would depend on module loading, but if the pacman -Q linux output doesn't match the version in uname, then a reboot would be a good thing to try.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#13 2016-03-16 14:57:56

archuser11301
Member
Registered: 2016-02-09
Posts: 40

Re: pacman doesn't install latest version of syncthing? and error message

Trilby wrote:

uname gives the running kernel.  I assume you have along uptime.  What's the output of `pacman -Q linux`?  I don't know if/why/how syncthing would depend on module loading, but if the pacman -Q linux output doesn't match the version in uname, then a reboot would be a good thing to try.

[root@athlonlinux dilbert]# pacman -Q linux
linux 4.4.5-1
[root@athlonlinux dilbert]#

I turn the computer off every evening so no long run times and only installed arch on it the other week. I rebooted first before running the above if that matters.

Also I'm not tied to using syncthing although I tried it today since I thought the open soruce solution is the best one to try first. If there are any other solutions available whcih do the job as well I'll try those. I simply want a folder synced of my python projects between my main computer and my server. Both computers are in my house. I guess Ill try btsync again if there we don't find any solutions here though it is nice to use open source when possible.

Last edited by archuser11301 (2016-03-16 15:03:35)

Offline

#14 2016-03-16 15:01:10

runical
Member
From: The Netherlands
Registered: 2012-03-03
Posts: 896

Re: pacman doesn't install latest version of syncthing? and error message

And yet you run a kernel that isn't the latest nor the LTS kernel (maybe you updated earlier today?). Try rebooting and try again for syncthing.

Last edited by runical (2016-03-16 15:01:38)

Offline

#15 2016-03-16 15:03:07

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,456
Website

Re: pacman doesn't install latest version of syncthing? and error message

archuser11301 wrote:

I turn the computer off every evening so no long run times and only installed arch on it the other week. I rebooted first before running the above if that matters.

This is not possible.  It is possible that you have never updated before, and since you just updated and haven't rebooted you could be running an old kernel.  But the kernel you are running was last in the repos on January 13th.  So either you installed on or before January 13th and have never updated, or there is something important you aren't telling us.

I see in your other posts you claim to have followed some tutorial other than our wiki for installing arch.  This is likely the source of the kernel descrepancy and is almost certainly the root cause of the problem you are having with syncthing.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#16 2016-03-16 15:05:11

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,694

Re: pacman doesn't install latest version of syncthing? and error message

I seriously doubt the kernel is going to make any difference. It is a problem that needs to be addressed, but it's likely unrelated.

Scimmia wrote:

What CPU?

Answering myself, the hostname includes Athlon. I'm going to assume this is an older i686 Athlon, which did not have SSE2 instructions. If the package is trying to use that instruction set, you'll get this error. This is one of the causes of "Illegal Instruction".

Last edited by Scimmia (2016-03-16 15:08:59)

Offline

#17 2016-03-16 15:06:34

archuser11301
Member
Registered: 2016-02-09
Posts: 40

Re: pacman doesn't install latest version of syncthing? and error message

Trilby wrote:
archuser11301 wrote:

I turn the computer off every evening so no long run times and only installed arch on it the other week. I rebooted first before running the above if that matters.

This is not possible.  It is possible that you have never updated before, and since you just updated and haven't rebooted you could be running an old kernel.  But the kernel you are running was last in the repos on January 13th.  So either you installed on or before January 13th and have never updated, or there is something important you aren't telling us.

Yes I never updated before. I only did it an hour or two ago when you told me to tongue.  I updated when you told me and rebooted a couple of seconds ago and only then ran `pacman -Q linux`. Does that answer the issue or no?

Last edited by archuser11301 (2016-03-16 15:07:29)

Offline

#18 2016-03-16 15:07:23

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,456
Website

Re: pacman doesn't install latest version of syncthing? and error message

Scimmia wrote:

I seriously doubt the kernel is going to make any difference. It is a problem that needs to be addressed, but it's likely unrelated.

Scimmia, see the last line in the edit of my previous post.  A different kernel version would not cause this error.  But an impossible-on-archlinux kernel version does point to something suspicious and likely shares the same root cause as this issue.

EDIT: nevermind, I give up.  I've seen a history of counterproductive exchanges with this user, and now that it is clear some important information is being hidden, I really don't care to bother to try to extract what it might be.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#19 2016-03-16 15:08:39

archuser11301
Member
Registered: 2016-02-09
Posts: 40

Re: pacman doesn't install latest version of syncthing? and error message

Scimmia wrote:

I seriously doubt the kernel is going to make any difference. It is a problem that needs to be addressed, but it's likely unrelated.

Scimmia wrote:

What CPU?

Answering myself, the hostname includes Athlon. I'm going to assume this is an older i686 Athlon, which did not have SSE2 instructions. If the package is trying to use that instruction set, you'll get this error. This is what "Illegal Instruction" means.

It is an athlonxp 3200.

Offline

#20 2016-03-16 15:09:57

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,694

Re: pacman doesn't install latest version of syncthing? and error message

Yep, no SSE2. Rebuild the package locally and I'd bet the problem goes away.

Offline

#21 2016-03-16 15:20:50

archuser11301
Member
Registered: 2016-02-09
Posts: 40

Re: pacman doesn't install latest version of syncthing? and error message

Scimmia wrote:

Yep, no SSE2. Rebuild the package locally and I'd bet the problem goes away.

How do I do that ? is that the same as installing the binary from the AUR as trilby advised earlier?

Offline

#22 2016-03-16 15:24:40

ugjka
Member
From: Latvia
Registered: 2014-04-01
Posts: 1,952
Website

Re: pacman doesn't install latest version of syncthing? and error message

You can use ABS or just grab sources off projects page https://projects.archlinux.org/svntogit … /syncthing

Offline

#23 2016-03-16 15:24:43

a821
Member
Registered: 2012-10-31
Posts: 389

Re: pacman doesn't install latest version of syncthing? and error message

archuser11301 wrote:

Also I'm not tied to using syncthing although I tried it today since I thought the open soruce solution is the best one to try first. If there are any other solutions available whcih do the job as well I'll try those. I simply want a folder synced of my python projects between my main computer and my server. Both computers are in my house. I guess Ill try btsync again if there we don't find any solutions here though it is nice to use open source when possible.

If you want to keep your code synchronized, why not git? (or other VCS).

Offline

#24 2016-03-16 15:28:39

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,694

Re: pacman doesn't install latest version of syncthing? and error message

Offline

#25 2016-03-16 15:32:31

archuser11301
Member
Registered: 2016-02-09
Posts: 40

Re: pacman doesn't install latest version of syncthing? and error message

Offline

Board footer

Powered by FluxBB