Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    Problem in Terminal

    Reply
    Page 1 of 3 | 1   2     3   | Next
    Ammar Hamdan | # 1 | 2013-01-13, 12:35 | Report

    hiii...

    I have a problem with terninal, I can't upgrade or install any app..

    hope someone find a solution for this problem......


    here's an output of terminal:


    Code:
    BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso31+0cssu0) built-in shell (ash)
    Enter 'help' for a list of built-in commands.
    
    ~ $ root
    
    
    BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso31+0cssu0) built-in shell (ash)
    Enter 'help' for a list of built-in commands.
    
    ~ # apt-get upgrade
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    The following packages have been kept back:
      tor
    The following packages will be upgraded:
      espeak-data libespeak qcpufreq
    3 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
    Need to get 157kB/1126kB of archives.
    After this operation, 41.0kB of additional disk space will be used.
    Do you want to continue [Y/n]? y
    Get:1 http://repository.maemo.org fremantle/free qcpufreq 0.4.4-1 [157kB]
    Fetched 157kB in 2s (54.4kB/s)   
    dpkg: `ldconfig' not found on PATH.
    dpkg: `start-stop-daemon' not found on PATH.
    dpkg: `install-info' not found on PATH.
    dpkg: `update-rc.d' not found on PATH.
    dpkg: 4 expected program(s) not found on PATH.
    NB: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin.
    W: Ignoring Provides line with DepCompareOp for package binutils
    W: You may want to run apt-get update to correct these problems
    E: Sub-process /usr/bin/dpkg returned an error code (2)
    ~ #

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to Ammar Hamdan For This Useful Post:
    Wikiwide

     
    Wikiwide | # 2 | 2013-01-13, 14:09 | Report

    Bumping...
    What happens if you run 'apt-get update'?

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 3 Users Say Thank You to Wikiwide For This Useful Post:
    MINKIN2, misiak, ranbaxy

     
    Ammar Hamdan | # 3 | 2013-01-13, 14:52 | Report

    apt-get update:

    Code:
    BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso31+0cssu0) built-in shell (ash)
    Enter 'help' for a list of built-in commands.
    
    ~ $ root
    
    
    BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso31+0cssu0) built-in shell (ash)
    Enter 'help' for a list of built-in commands.
    
    ~ # apt-get update
    Hit http://repository.maemo.org fremantle Release.gpg
    Ign http://repository.maemo.org fremantle/free Translation-en_US
    Ign http://repository.maemo.org fremantle/non-free Translation-en_US
    Hit http://repository.maemo.org fremantle-1.3 Release.gpg
    Get:1 https://downloads.maemo.nokia.com ./ Release.gpg [198B]
    Ign http://repository.maemo.org fremantle-1.3/free Translation-en_US
    Ign http://repository.maemo.org fremantle-1.3/non-free Translation-en_US
    Hit http://repository.maemo.org fremantle Release.gpg
    Ign https://downloads.maemo.nokia.com ./ Translation-en_US
    Ign http://repository.maemo.org fremantle/free Translation-en_US
    Ign http://repository.maemo.org fremantle/non-free Translation-en_US
    Hit http://repository.maemo.org fremantle Release.gpg
    Ign http://repository.maemo.org fremantle/free Translation-en_US
    Ign http://repository.maemo.org fremantle/non-free Translation-en_US
    Hit http://repository.maemo.org fremantle Release.gpg
    Get:2 https://downloads.maemo.nokia.com ./ Release.gpg [198B]
    Ign http://repository.maemo.org fremantle/free Translation-en_US
    Ign http://repository.maemo.org fremantle/non-free Translation-en_US
    Hit http://repository.maemo.org fremantle-1.3 Release.gpg
    Ign https://downloads.maemo.nokia.com ./ Translation-en_US
    Ign http://repository.maemo.org fremantle-1.3/free Translation-en_US
    Ign http://repository.maemo.org fremantle-1.3/non-free Translation-en_US
    Hit http://repository.maemo.org fremantle Release
    Hit http://repository.maemo.org fremantle-1.3 Release
    Get:3 https://downloads.maemo.nokia.com ./ Release.gpg [198B]
    Hit http://repository.maemo.org fremantle Release          
    Hit http://repository.maemo.org fremantle Release          
    Ign https://downloads.maemo.nokia.com ./ Translation-en_US 
    Hit http://repository.maemo.org fremantle Release          
    Hit https://downloads.maemo.nokia.com ./ Release           
    Hit http://repository.maemo.org fremantle-1.3 Release      
    Hit https://downloads.maemo.nokia.com ./ Release           
    Hit https://downloads.maemo.nokia.com ./ Release           
    Ign http://repository.maemo.org fremantle/free Packages/DiffIndex
    Ign http://repository.maemo.org fremantle/non-free Packages/DiffIndex
    Ign http://repository.maemo.org fremantle-1.3/free Packages/DiffIndex
    Ign http://repository.maemo.org fremantle-1.3/non-free Packages/DiffIndex
    Get:4 https://downloads.maemo.nokia.com ./ Release [507B]  
    Err https://downloads.maemo.nokia.com ./ Release           
      
    Ign http://repository.maemo.org fremantle/free Packages/DiffIndex
    Ign http://repository.maemo.org fremantle/non-free Packages/DiffIndex
    Ign http://repository.maemo.org fremantle/free Packages/DiffIndex
    Get:5 https://downloads.maemo.nokia.com ./ Release [507B]  
    Ign http://repository.maemo.org fremantle/non-free Packages/DiffIndex
    Ign http://repository.maemo.org fremantle/free Packages/DiffIndex
    Ign http://repository.maemo.org fremantle/non-free Packages/DiffIndex
    Err https://downloads.maemo.nokia.com ./ Release           
      
    Ign http://repository.maemo.org fremantle-1.3/free Packages/DiffIndex
    Ign http://repository.maemo.org fremantle-1.3/non-free Packages/DiffIndex
    Ign https://downloads.maemo.nokia.com ./ Release           
    Get:6 https://downloads.maemo.nokia.com ./ Release [507B]  
    Ign https://downloads.maemo.nokia.com ./ Release           
    Ign https://downloads.maemo.nokia.com ./ Release           
    Hit http://repository.maemo.org fremantle/free Packages    
    Hit http://repository.maemo.org fremantle/non-free Packages
    Ign https://downloads.maemo.nokia.com ./ Packages/DiffIndex
    Hit http://repository.maemo.org fremantle-1.3/free Packages
    Hit http://repository.maemo.org fremantle-1.3/non-free Packages
    Hit http://repository.maemo.org fremantle/free Packages    
    Ign https://downloads.maemo.nokia.com ./ Packages/DiffIndex
    Hit http://repository.maemo.org fremantle/non-free Packages
    Hit http://repository.maemo.org fremantle/free Packages    
    Hit http://repository.maemo.org fremantle/non-free Packages
    Hit http://repository.maemo.org fremantle/free Packages    
    Hit http://repository.maemo.org fremantle/non-free Packages
    Ign https://downloads.maemo.nokia.com ./ Packages/DiffIndex
    Hit http://repository.maemo.org fremantle-1.3/free Packages
    Hit http://repository.maemo.org fremantle-1.3/non-free Packages
    Hit https://downloads.maemo.nokia.com ./ Packages          
    Hit https://downloads.maemo.nokia.com ./ Packages          
    Hit https://downloads.maemo.nokia.com ./ Packages          
    Fetched 2115B in 13s (152B/s)                              
    Reading package lists... Done
    W: Conflicting distribution: http://repository.maemo.org fremantle-1.3 Release (expected fremantle-1.3 but got )
    W: GPG error: https://downloads.maemo.nokia.com ./ Release: The following signatures were invalid: KEYEXPIRED 1349249546 KEYEXPIRED 1349249546 KEYEXPIRED 1349249546
    W: GPG error: https://downloads.maemo.nokia.com ./ Release: The following signatures were invalid: KEYEXPIRED 1349249546 KEYEXPIRED 1349249546 KEYEXPIRED 1349249546
    W: GPG error: https://downloads.maemo.nokia.com ./ Release: The following signatures were invalid: KEYEXPIRED 1349249546 KEYEXPIRED 1349249546 KEYEXPIRED 1349249546
    W: You may want to run apt-get update to correct these problems
    ~ #

    Edit | Forward | Quote | Quick Reply | Thanks

     
    anthonie | # 4 | 2013-01-13, 17:36 | Report

    I can't believe, people keep doing apt-get upgrade. Who tells them to do that? Might as well ask them to double click the exe file in order to install this or that,,,

    --------

    The only error message I know of the OP is the ldconfig one, that is, AFAIK ldconfig belongs to the libc6 package. The other packages I know, but how they got messed up, no clue.

    Apparently packages have been removed before that are needed now. Unless you know what package had files like "install-info" and such, I don't know how to solve it.

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by anthonie; 2013-01-13 at 17:41.
    The Following 4 Users Say Thank You to anthonie For This Useful Post:
    Ammar Hamdan, misiak, shadowjk, Wikiwide

     
    Wikiwide | # 5 | 2013-01-14, 00:34 | Report

    Well, I do keep doing "apt-get update" and "apt-get upgrade" in order to update the packages. Sometimes, I use aptitude instead of directly calling apt-get.
    And when I need to install something on Windows machine, the steps often are: download, check on virustotal, double-click the exe file.
    Since libc6 package has some files lost, "apt-get install libc6" could be attempted. However, since dpkg seems to be unable to work due to these errors, the user might have to unpack libc6 manually, to get ldconfig in the filesystem.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 4 Users Say Thank You to Wikiwide For This Useful Post:
    Ammar Hamdan, dzano, ranbaxy, udaychaitanya16

     
    shadowjk | # 6 | 2013-01-14, 00:47 | Report

    I think what anthonie was referring to, was that apt-get upgrade often does bad things, and or leaves things incomplete. Using apt-get directly in Maemo is only recommended if you know what you're doing, and "knowing what you're doing" isn't the same thing as "knowing what I'm doing if this was exactly like debian or ubuntu".

    As for the original issue, things looks very strange indeed. Key programs have gone missing...

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 6 Users Say Thank You to shadowjk For This Useful Post:
    Ammar Hamdan, anthonie, ArchiMark, mr_pingu, Sourav.dubey, Wikiwide

     
    misiak | # 7 | 2013-01-14, 00:55 | Report

    OP seems to be from Syria... OP, could it be possible that your ISP is blocking access to Nokia's servers containing repositories?

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to misiak For This Useful Post:
    Sourav.dubey, Wikiwide

     
    anthonie | # 8 | 2013-01-14, 01:23 | Report

    Originally Posted by
    Well, I do keep doing "apt-get update" and "apt-get upgrade" in order to update the packages. Sometimes, I use aptitude instead of directly calling apt-get.
    Thats cool for you, but I believe this advice should always be accompanied by a thick hefty disclaimer. It simply isn't the same as a Debian distro. If I got a euro for every thread here on TMO, where things have gone bad for the OP's N900, and somewhere in the thread apt-get upgrade is being mentioned, I could buy myself another N900 second-hand from ebay.

    Every time an uneducated person performs apt-get upgrade on a N900, Minerva chuckles and sighs.

    Originally Posted by
    However, since dpkg seems to be unable to work due to these errors, the user might have to unpack libc6 manually, to get ldconfig in the filesystem.
    Possibly, at least worth a try. But that's only one problem we were able to identify. Of the others it is quite unclear what manual measures ought to be taken.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 4 Users Say Thank You to anthonie For This Useful Post:
    mr_pingu, shadowjk, thedead1440, Wikiwide

     
    reinob | # 9 | 2013-01-14, 07:57 | Report

    Originally Posted by Ammar Hamdan View Post
    NB: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin.
    As root, type "echo $PATH", and post here the exact output.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 3 Users Say Thank You to reinob For This Useful Post:
    ArchiMark, Sourav.dubey, Wikiwide

     
    michaaa62 | # 10 | 2013-01-14, 08:16 | Report

    If this essential package is broken, something went terribly wrong. It might be necessary and faster to backup and reflash.

    Nevertheless, you could try to extract the libc6 package with
    Code:
    sudo gainroot
    apt-get install --reinstall -dy libc6
    dpkg -x /var/cache/apt/archives/libc6*.deb
    to fix this issue, but...

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 4 Users Say Thank You to michaaa62 For This Useful Post:
    ArchiMark, ranbaxy, Sourav.dubey, Wikiwide

     
    Page 1 of 3 | 1   2     3   | Next
vBulletin® Version 3.8.8
Normal Logout