You are here: Home » Topic » "IPKG Update" not working

"IPKG Update" not working

This topic contains 13 replies, has 2 voices, and was last updated by  Dave.B 10 years, 12 months ago.

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #827

    Dave.B
    Participant

    I know this isn’t strictly a Firefly issue, but please excuse me if I ask anyway…

    I just tried an IPKG update on my slug and got the following errors:

    # ipkg update
    Downloading http://ipkg.nslu2-linux.org/feeds/unslung/cross/Packages.gz
    wget: No such file or directory
    Downloading http://ipkg.nslu2-linux.org/feeds/unslung/native/Packages.gz
    wget: No such file or directory
    Downloading http://ipkg.nslu2-linux.org/feeds/unslung/oe/Packages.gz
    wget: No such file or directory
    Downloading http://ipkg.nslu2-linux.org/feeds/unslung/cross/Packages.gz
    wget: No such file or directory
    Downloading http://ipkg.nslu2-linux.org/feeds/unslung/native/Packages.gz
    wget: No such file or directory
    An error ocurred, return value: 5.
    Collected errors:
    ipkg_download: ERROR: Command failed with return value 127: `wget --passive-ftp
    -q -P /tmp/ipkg-oA2vpn http://ipkg.nslu2-linux.org/feeds/unslung/cross/Packag
    es.gz'
    ipkg_download: ERROR: Command failed with return value 127: `wget --passive-ftp
    -q -P /tmp/ipkg-oA2vpn http://ipkg.nslu2-linux.org/feeds/unslung/native/Packa
    ges.gz'
    ipkg_download: ERROR: Command failed with return value 127: `wget --passive-ftp
    -q -P /tmp/ipkg-oA2vpn http://ipkg.nslu2-linux.org/feeds/unslung/oe/Packages.
    gz'
    ipkg_download: ERROR: Command failed with return value 127: `wget --passive-ftp
    -q -P /tmp/ipkg-oA2vpn http://ipkg.nslu2-linux.org/feeds/unslung/cross/Packag
    es.gz'
    ipkg_download: ERROR: Command failed with return value 127: `wget --passive-ftp
    -q -P /tmp/ipkg-oA2vpn http://ipkg.nslu2-linux.org/feeds/unslung/native/Packa
    ges.gz'
    #

    It’s always worked before. Does anyone know what this could be? I have no idea.

    #7585

    Griffer

    Yea i get the same error trying to update it… Damn just as i managed to unbrick my nslu. Have been lying in a closet for 5 months, until i discovered this nifty addon, which im eager to try out.

    #7586

    rpedde
    Participant

    @Griffer wrote:

    Yea i get the same error trying to update it… Damn just as i managed to unbrick my nslu. Have been lying in a closet for 5 months, until i discovered this nifty addon, which im eager to try out.

    Looks like it’s back up now… or at least it seem s to be working for me now:


    [email protected]:~$ sudo ipkg update
    Password:
    Downloading http://ipkg.fireflymediaserver.org/armeb/Packages
    Updated list of available packages in /usr/lib/ipkg/lists/firefly
    Downloading http://ipkg.nslu2-linux.org/feeds/unslung/cross/Packages.gz
    Inflating http://ipkg.nslu2-linux.org/feeds/unslung/cross/Packages.gz
    Updated list of available packages in /usr/lib/ipkg/lists/unslung-cross
    Downloading http://ipkg.nslu2-linux.org/feeds/unslung/native/Packages.gz
    Inflating http://ipkg.nslu2-linux.org/feeds/unslung/native/Packages.gz
    Updated list of available packages in /usr/lib/ipkg/lists/unslung-native
    #7587

    Griffer

    Great! Gonna try it again as soon as im home from work.

    #7588

    Dave.B
    Participant

    Aaah… so it’s not necessarily a problem with my slug then? That’s good news. I’ll try again after work.
    Thanks for the replies.

    FWIW, I asked this question on the NSLU-Linux board at Yahoo and my question got rejected ๐Ÿ‘ฟ

    #7589

    Dave.B
    Participant

    No such luck – it still doesn’t work (same errors as above).

    How about you Griffer?

    #7590

    Griffer

    Im still at work, damn long day :s. But i should be on my way home in half an hour. I will post my result as soon as i try it out.

    #7591

    Griffer

    Nope still don’t work…

    Downloading http://ipkg.nslu2-linux.org/feeds/optware/nslu2/cross/stable/Packages.gz
    wget: ipkg.nslu2-linux.org: Host name lookup failure
    Downloading http://ipkg.nslu2-linux.org/feeds/optware/nslu2/native/stable/Packages.gz
    wget: ipkg.nslu2-linux.org: Host name lookup failure
    Downloading http://ipkg.nslu2-linux.org/feeds/unslung/modules/cross/6.8-beta/Packages.gz
    wget: ipkg.nslu2-linux.org: Host name lookup failure
    An error ocurred, return value: 3.
    Collected errors:
    ipkg_download: ERROR: Command failed with return value 1: `wget --passive-ftp -q -P /tmp/ipkg-zC58sa http://ipkg.nslu2-linux.org/feeds/optware/nslu2/cross/stable/Packages.gz'
    ipkg_download: ERROR: Command failed with return value 1: `wget --passive-ftp -q -P /tmp/ipkg-zC58sa http://ipkg.nslu2-linux.org/feeds/optware/nslu2/native/stable/Packages.gz'
    ipkg_download: ERROR: Command failed with return value 1: `wget --passive-ftp -q -P /tmp/ipkg-zC58sa http://ipkg.nslu2-linux.org/feeds/unslung/modules/cross/6.8-beta/Packages.gz'
    #7592

    Dave.B
    Participant

    Griffer, I think we might have different problems here. Yours looks as though it can’t see the web, whereas mine looks like it’s not recognising the “wget” command for some reason. โ“

    What happens if you type:
    ping google.com

    (Press ctrl+C to stop it pinging)

    #7593

    Griffer

    Yea i noticed now… Hmm seems mine won’t connect to the internet all of the sudden…

    #7594

    Dave.B
    Participant

    Well for some strange reason, my post to the NSLU-Linux group has just shown up at the top of a Google search:
    http://www.nabble.com/IPKG-stopped-working–t2720687.html
    It wasn’t rejected after all.
    I’m still none the wiser though…

    #7595

    Griffer

    Ohh apparently somebody had pulled the power on my router, so the settings had been messed up. Corrected it, and now it works fine.
    Thanks for the ping tip! I hope you solve your problem ๐Ÿ™‚

    #7596

    Dave.B
    Participant

    Cheers Griffer, I’ve got it now:
    The very first reply from Robert Hammond worked.
    ie:

    ln -s /opt/bin/wget /bin/wget
    chmod 0777 /bin/wget

    I don’t know why it changed as I certainly hadn’t fiddled with anything, but there you go.

    I guess that’s two happy slug owners again!

    #7597

    Dave.B
    Participant

    Sorry for harping on, but I’m pretty happy with myself.
    None of you will remember that I could never get Nano, or Joe or Vi working on my Slug – I never figured out why. But I just tried the trick I learnt above and applied it Vi, and it works! I can now edit the conf file directly on the slug without having to copy it to a PC first.

    I did try Nano first, and it started to work, but then quit with an error about a missing library.

    Anyway, I’ll shut up now, but hopefully this may help someone else.
    ๐Ÿ˜€

Viewing 14 posts - 1 through 14 (of 14 total)

You must be logged in to reply to this topic.