Hi Sven

Am 08.02.2016 um 23:59 schrieb Sven Kirmess:
> I'm trying to upgrade Bering-uClibc from 5.2.3 to 5.2.4.
> 
>> firewall# more /etc/motd
>> LEAF Bering-uClibc 5.2.3 Rev 1 uClibc 0.9.33.2  at firewall
>> Linux 4.1.15-x86_64 #1 SMP Tue Dec 29 00:47:12 CET 2015
> 
> On my system it tries to download <
> http://sourceforge.net/p/leaf/packages/ci/5.2.4/tree/i386/linux-x86_64>,
> which does not exist.

This is a bug in upgrade, thank you for spotting it.

If you want to help getting it right, please try to apply the following
to /usr/sbin/upgrade

--- a/repo/config/upgrade
+++ b/repo/config/upgrade
@@ -233,6 +233,7 @@ get_running_arch() {
                geode)  ARCH_GROUP=i386;;
                i686)   ARCH_GROUP=i686;;
                rpi)    ARCH_GROUP=rpi;;
+               x86_64) ARCH_GROUP=X86_64;;
                *)      ARCH_GROUP=i386;;
        esac
 }


> 
>> firewall# upgrade
>> upgrade: starting
>> upgrade: retrieve
> http://sourceforge.net/p/leaf/packages/ci/master/tree/stable
>> upgrade: retrieve
> http://sourceforge.net/p/leaf/packages/ci/5.2.4/tree/i386/linux-x86_64
>> aborting: retrieve
> http://sourceforge.net/p/leaf/packages/ci/5.2.4/tree/i386/linux-x86_64
>> upgrade: abort retrieve
> http://sourceforge.net/p/leaf/packages/ci/5.2.4/tree/i386/linux-x86_64
>> upgrade: upgrade terminated successfully
> 
> This fixes the problem.

> 
> firewall# diff -u -U 10 -t /usr/sbin/upgrade*
> --- /usr/sbin/upgrade
> +++ /usr/sbin/upgrade.orig
> @@ -222,21 +222,20 @@
>          [ $NOISE_LEVEL -gt 0 ] && log "Installed version is $RUNNING_V"
>  }
> 
> 
>  get_running_arch() {
>          case $ARCH in
>                  i486)   ARCH_GROUP=i386;;
>                  geode)  ARCH_GROUP=i386;;
>                  i686)   ARCH_GROUP=i686;;
>                  rpi)    ARCH_GROUP=rpi;;
> -                x86_64) ARCH_GROUP=X86_64;;
>                  *)      ARCH_GROUP=i386;;
>          esac

Thank you.... see above

Erich



------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
------------------------------------------------------------------------
leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/

Reply via email to