[arm-allstar] Rpi2 - ArchLinux OS Update
Chan, Wilson
wchan at honolulu.gov
Mon Dec 7 15:49:38 EST 2015
Found it! This will do since we normally sync to our gps time syncs vs the public ntp servers. Thanks!
/etc/system/timesyncd.conf
Wilson
-----Original Message-----
From: arm-allstar-bounces at hamvoip.org [mailto:arm-allstar-bounces at hamvoip.org] On Behalf Of David McGough
Sent: Monday, December 7, 2015 10:23 AM
To: ARM Allstar <arm-allstar at hamvoip.org>
Subject: Re: [arm-allstar] Rpi2 - ArchLinux OS Update
Hi,
You are correct, ntpd isn't installed. However, systemd-timesyncd is installed and accomplishes similar goals--at least from a ntp client perspective.
...So, unless you're wanting to run a local time SERVER (which other local client could query, installing ntpd is probably redundant.
Are you needing the RPi2 to perform as a local time SERVER?
73, David KB4FXC
On Mon, 7 Dec 2015, Chan, Wilson wrote:
> Noticed that there wasn't ntp enabled. Tried to enable without
> updating
OS and I get the package not found. Seems that Pacman is referencing an older build that is not on the mirror anymore. I normally just do the following on all my other ArchLinux builds (pacman -Syu |
pacman-db-upgrade) but that apparently updates a bunch of core packages that breaks the Allstar build. Any thoughts?
>
> http://mirror.archlinuxarm.org/armv7h/extra/
> <http://mirror.archlinuxarm.org/armv7h/extra/ntp-4.2.8.p4-1-armv7h.pkg.tar.xz>[[ ]]<http://mirror.archlinuxarm.org/armv7h/extra/ntp-4.2.8.p4-1-armv7h.pkg.tar.xz> ntp-4.2.8.p4-1-armv7h.pkg.tar.xz 22-Oct-2015 05:48 1M
> <http://mirror.archlinuxarm.org/armv7h/extra/ntp-4.2.8.p4-1-armv7h.pkg.tar.xz.sig>[[ ]]<http://mirror.archlinuxarm.org/armv7h/extra/ntp-4.2.8.p4-1-armv7h.pkg.tar.xz.sig> ntp-4.2.8.p4-1-armv7h.pkg.tar.xz.sig 22-Oct-2015 05:48 1K
>
>
> [root at rpi2-2 ~]# pacman -S ntp
> resolving dependencies...
> looking for conflicting packages...
>
> Packages (1) ntp-4.2.8.p2-1
>
> Total Download Size: 1.60 MiB
> Total Installed Size: 3.82 MiB
>
> :: Proceed with installation? [Y/n] y
> :: Retrieving packages ...
> error: failed retrieving file 'ntp-4.2.8.p2-1-armv7h.pkg.tar.xz' from
> mirror.archlinuxarm.org : The requested URL returned error: 404
> warning: failed to retrieve some files
> error: failed to commit transaction (unexpected error) Errors
> occurred, no packages were upgraded.
> [root at rpi2-2 ~]#
>
>
> Wilson
> From: arm-allstar-bounces at hamvoip.org
> [mailto:arm-allstar-bounces at hamvoip.org] On Behalf Of Doug Crompton
> Sent: Thursday, December 3, 2015 9:02 PM
> To: ARM Allstar <arm-allstar at hamvoip.org>
> Subject: Re: [arm-allstar] Rpi2 - ArchLinux OS Update
>
> Chan,
>
> Be very careful about updates. Some updates break things especially compiling with the latest gcc updates. Again I would not recommend updates and we do not support broken systems due to updates. It is probable that dahdi will not recompile after an update nor will Asterisk. If you have done an update and it is broken then you will have to reinstall the original image which is a lot easier than trying to get it to compile!
>
> If you just need to install a single package that requires an update you can do it with the pacman -Sy <packagename> command. This usually works as long as the packages dependencies don't require updates also.
>
> May I ask why you want to do a system update?
>
> A new updated image with the latest package and kernel updates will be out soon for both the RPi2 and BBB.
>
> 73 Doug
> WA3DSP
> http://www.crompton.com/hamradio
>
> ________________________________
> From: wchan at honolulu.gov<mailto:wchan at honolulu.gov>
> To: arm-allstar at hamvoip.org<mailto:arm-allstar at hamvoip.org>
> Date: Fri, 4 Dec 2015 02:22:16 +0000
> Subject: Re: [arm-allstar] Rpi2 - ArchLinux OS Update Hi Doug,
>
> Do you have the docs for recompiling dahdi? Also, how are updates handled for rpi2 with arch? Thanks!
>
> Wilson
>
> From:
> arm-allstar-bounces at hamvoip.org<mailto:arm-allstar-bounces at hamvoip.org
> > [mailto:arm-allstar-bounces at hamvoip.org] On Behalf Of Doug Crompton
> Sent: Thursday, December 3, 2015 4:03 PM
> To: ARM Allstar
> <arm-allstar at hamvoip.org<mailto:arm-allstar at hamvoip.org>>
> Subject: Re: [arm-allstar] Rpi2 - ArchLinux OS Update
>
> We do not recommend user system updates but if for some reason you must do it dahdi must be recompiled after you update and reboot.
>
> When are updates come out soon they will include the latest kernels with all updates.
>
> 73 Doug
> WA3DSP
> http://www.crompton.com/hamradio
> ________________________________
> From: wchan at honolulu.gov<mailto:wchan at honolulu.gov>
> To: arm-allstar at hamvoip.org<mailto:arm-allstar at hamvoip.org>
> Date: Fri, 4 Dec 2015 01:31:36 +0000
> Subject: [arm-allstar] Rpi2 - ArchLinux OS Update Using Crompton's
> RPi2_V1.0_Allstar image. I noticed that it was running Arch Linux as its Operating System and was wondering what the thoughts were on updating Arch via pacman?
> I did notice that asterisk was broken after the reboot on my test box #2. What is everyone doing for patching/updates?
>
> ==Update via pacman==
> pacman -Syu
> pacman-db-upgrade
>
> ==Box #1: Not updated and works fine==
> [root at rpi2-1 ~]# asterisk -r
> Asterisk , Copyright (C) 1999 - 2008 Digium, Inc. and others.
> Created by Mark Spencer
> <markster at digium.com<mailto:markster at digium.com>>
> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
> This is free software, with components licensed under the GNU General
> Public License version 2 and other licenses; you are welcome to
> redistribute it under certain conditions. Type 'core show license' for details.
> ======================================================================
> === Connected to Asterisk currently running on rpi2-1 (pid = 225)
> Verbosity is at least 3 rpi2-1*CLI>
>
> [root at rpi2-1 asterisk]# uname -a
> Linux rpi2-1 3.18.10-3-ARCH #1 SMP PREEMPT Thu Apr 2 21:26:52 MDT 2015
> armv7l GNU/Linux
>
> ==Box #2: Updated and now asterisk fails to load==
> [root at rpi2-2 ~]# asterisk -r
> asterisk: error while loading shared libraries: libncursesw.so.5:
> cannot open shared object file: No such file or directory
>
> [root at rpi2-2 ~]# uname -a
> Linux rpi2-2 4.1.13-1-ARCH #1 SMP PREEMPT Fri Nov 13 20:11:44 MST 2015
> armv7l GNU/Linux
>
> ==Here's a diff of the packages between a stock and updated unit==
> *Its not a 100% diff as I did install iotop, htop, nload on Box2. So, things are a bit shifted in the diff but the core packages are listed.
>
> ==Diff from Arch packages on Box1 (Stock) vs Box2 (Updated)
> http://pastebin.com/1G5QJRT5
> | Different
> > Added to Box2
> < Added to only Box 1
>
>
> Wilson
>
>
> _______________________________________________ arm-allstar mailing
> list arm-allstar at hamvoip.org<mailto:arm-allstar at hamvoip.org>
> http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar Visit
> the BBB and RPi2 web page - http://hamvoip.org
>
> _______________________________________________ arm-allstar mailing
> list arm-allstar at hamvoip.org<mailto:arm-allstar at hamvoip.org>
> http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar Visit
> the BBB and RPi2 web page - http://hamvoip.org
>
_______________________________________________
arm-allstar mailing list
arm-allstar at hamvoip.org
http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
Visit the BBB and RPi2 web page - http://hamvoip.org
More information about the arm-allstar
mailing list