update SlugOS/BE to 4.8-beta

View: New views
4 Messages — Rating Filter:   Alert me  

update SlugOS/BE to 4.8-beta

by Vitus Jensen-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hej!

According to http://www.nslu2-linux.org/wiki/SlugOS/Upgrade it's possible to
update 3.10-beta to the new release.  I'm trying to do this, but
every "ipkg upgrade" fails.  Even the first, when package sources still
point to 3.10-beta!

A lot of the upgrades work but than all downloads fail:

Downloading
http://ipkg.nslu2-linux.org/feeds/slugos-bag/cross/3.10-beta/vsftpd-doc_2.0.3-r4_armeb.ipk
Upgrading    xinetd on root from 2.3.14-6 to 2.3.14-7...
Downloading
http://ipkg.nslu2-linux.org/feeds/optware/nslu2/cross/stable/xinetd_2.3.14-7_armeb.ipk
Upgrading    zip on root from 2.31-r0 to 2.32-1...
Downloading
http://ipkg.nslu2-linux.org/feeds/optware/nslu2/cross/stable/zip_2.32-1_armeb.ipk
Configuring amule
Configuring apr
Configuring apr-util
Configuring busybox
postinst script returned status 127
ERROR: busybox.postinst returned 127
Configuring busybox-base
Configuring busybox-links
postinst script returned status 127
ERROR: busybox-links.postinst returned 127
Configuring e2fsprogs
postinst script returned status 127
ERROR: e2fsprogs.postinst returned 127
Collected errors:
ipkg_download: ERROR: Command failed with return value 127:
`wget --passive-ftp    -q -P /tmp/ipkg-rX47Hq
http://ipkg.nslu2-linux.org/feeds/optware/nslu2/cross/stable/bzip2_1.0.4-2_armeb.ipk'
Failed to download bzip2. Perhaps you need to run 'ipkg update'?


This leaves me at the shell prompt without any shell tools :-(
Skipping the upgrade in 3.10-beta and going directly to 4.8 shows the same
symptoms.  rootfs on the usb stick has still 387 MiB free.

I'm lost!  Did someone here try the upgrade?  Any pointers what I could try
to fix the situation?

Bye,
   Vitus


Re: update SlugOS/BE to 4.8-beta

by Rod Whitby-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Vitus Jensen wrote:
> According to http://www.nslu2-linux.org/wiki/SlugOS/Upgrade it's possible to
> update 3.10-beta to the new release.  I'm trying to do this, but
> every "ipkg upgrade" fails.  Even the first, when package sources still
> point to 3.10-beta!
>
> A lot of the upgrades work but than all downloads fail:
>
> Downloading
> http://ipkg.nslu2-linux.org/feeds/optware/nslu2/cross/stable/xinetd_2.3.14-7_armeb.ipk

We didn't test it with Optware feeds active during the upgrade.

I have updated the instructions to disable the optware feeds during the
upgrade process, and have also added some other important steps that
were missing.

-- Rod

Re: update SlugOS/BE to 4.8-beta

by Vitus Jensen-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Rod Whitby wrote:

> Vitus Jensen wrote:
>> According to http://www.nslu2-linux.org/wiki/SlugOS/Upgrade it's possible
>> to
>> update 3.10-beta to the new release.  I'm trying to do this, but
>> every "ipkg upgrade" fails.  Even the first, when package sources still
>> point to 3.10-beta!
>>
>> A lot of the upgrades work but than all downloads fail:
>>
>> Downloading
>>
http://ipkg.nslu2-linux.org/feeds/optware/nslu2/cross/stable/xinetd_2.3.14-7_armeb.ipk
>
> We didn't test it with Optware feeds active during the upgrade.

Oh!  It should work IMHO, shouldn't it?

> I have updated the instructions to disable the optware feeds during the
> upgrade process, and have also added some other important steps that
> were missing.

I moved the instruction to disable optware feeds to the front as any upgrade
would fail when it's enabled (even with 3.10).  And I used "ipkg -noaction
upgrade" to test the upgrade which complained on zip and samba.  After
removing those packages the only issue was openssh: it's startup script
isn't in /opt as the upgrade seems to assume but in /etc/init.d.

I created a dummy /opt/etc/init/S47sshd and the upgrade completed.  No idea
whether the result is bootable, flashing the image is still to be done
*fingers crossed*

Stay tuned...
   Vitus



Re: update SlugOS/BE to 4.8-beta

by Vitus Jensen-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Vitus Jensen wrote:

> Rod Whitby wrote:
>

...

>> I have updated the instructions to disable the optware feeds during the
>> upgrade process, and have also added some other important steps that
>> were missing.
>
> I moved the instruction to disable optware feeds to the front as any
> upgrade
> would fail when it's enabled (even with 3.10).  And I used "ipkg -noaction
> upgrade" to test the upgrade which complained on zip and samba.  After
> removing those packages the only issue was openssh: it's startup script
> isn't in /opt as the upgrade seems to assume but in /etc/init.d.
>
> I created a dummy /opt/etc/init/S47sshd and the upgrade completed.  No
> idea whether the result is bootable, flashing the image is still to be
> done *fingers crossed*

It worked! :-)

Used upslug2, edited apex boot script to include meminit etc, turnup disk
and *whoops* there is my new FatSlug!  Switched positions with the old slug
(still 32MB), connected disks, rebooted and NFS, vsftpd, lighttpd worked
right away.

There is still an issue with the USB drive cabinet: it has to switched on
after NSLU2 is up and needs a powercycle whenever the slug reboots but as
this is the same as in slugos/be 3.10 it's probably the fault of the drive
cabinet.

Thank you for your help!
   A happy FatSlug owner.