Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    Problem in Terminal

    Reply
    Page 3 of 3 | Prev |   1     2   3 |
    michaaa62 | # 21 | 2013-01-14, 19:01 | Report

    @Ammar Hamdan
    The warning is expected since the keys are expired, blame Nokia.
    Try using force-yes option to get the package to your N900
    Code:
    apt-get install --reinstall --force-yes -dy libc6

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

     
    unexpected | # 22 | 2013-01-14, 20:57 | Report

    Originally Posted by michaaa62 View Post
    @unexpected : Here you are http://talk.maemo.org/showpost.php?p...55&postcount=4
    thank u very much for the help
    heres the output of first command:
    Code:
    BusyBox v1.20.2 (Debian 1.20.2power5+thumb0) built-in shell (ash)
    Enter 'help' for a list of built-in commands.
    
    ~ $ root
    
    
    BusyBox v1.20.2 (Debian 1.20.2power5+thumb0) built-in shell (ash)
    Enter 'help' for a list of built-in commands.
    
    Nokia-N900:~# apt-get purge libwrt-api1 qtwrt wrt wrt-api wrt
    -api-experimental
    E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
    E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
    Nokia-N900:~#
    sorry m not a programmer so i cant understand the line below that
    can u please simply give me codes & i'll put them on terminal
    thanx again

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

     
    dzano | # 23 | 2013-01-14, 21:17 | Report

    Close HAM!

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

     
    anthonie | # 24 | 2013-01-14, 21:34 | Report

    unexpected:

    as root, do

    Code:
    cp /var/lib/dpkg/lock /var/lib/dpkg/lock.backup
    Code:
    rm /var/lib/dpkg/lock
    Then run the command you were trying, prior to this error, again.

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

     
    michaaa62 | # 25 | 2013-01-14, 21:53 | Report

    @unexpected
    Would be easier to take your problem to the dedicated thread, not everyone likes to switch to this thread to look up the commands...

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

     
    unexpected | # 26 | 2013-01-14, 21:56 | Report

    @dzano HAM was closed

    @anthonie
    heres the output:



    BusyBox v1.20.2 (Debian 1.20.2power5+thumb0) built-in shell (ash)
    Enter 'help' for a list of built-in commands.

    ~ $ root


    BusyBox v1.20.2 (Debian 1.20.2power5+thumb0) built-in shell (ash)
    Enter 'help' for a list of built-in commands.

    Nokia-N900:~# cp /var/lib/dpkg/lock /var/lib/dpkg/lock.backup
    Nokia-N900:~# rm /var/lib/dpkg/lock
    Nokia-N900:~# apt-get purge libwrt-api1 qtwrt wrt wrt-api wr
    t-api-experimental
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Package wrt-api-experimental is not installed, so not removed
    You might want to run `apt-get -f install' to correct these:
    The following packages have unmet dependencies:
    qtwrt-experimental: Depends: wrt-experimental (= 1.1tp-3) but it is not going to be installed
    Depends: wrt-api-experimental (= 1.1tp-3) but it is not going to be installed
    E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
    Nokia-N900:~#

    also tried apt-get -f install but same error

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to unexpected For This Useful Post:
    dzano, Wikiwide

     
    unexpected | # 27 | 2013-01-14, 22:04 | Report

    @michaaa62
    posted there

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

     
    reinob | # 28 | 2013-01-15, 10:01 | Report

    Originally Posted by Ammar Hamdan View Post
    At first thx guys 4 ur replies



    it shows this:

    Code:
    ~ # echo $PATH
    /usr/bin:/bin
    ~ #
    This is clearly wrong (or at least will cause unexpected problems such as the one you have).

    My (root) PATH has
    /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11

    Please (again as root), type "cat /root/.profile"

    Mine has (typing by hand):
    Code:
    if [ -f ~/.bashrc ]; then
     . ~/.bashrc
    fi
    
    PATH=(the line above)
    export PATH
    
    mesg n
    You haven't played with speedpatch and/or batterypatch lately, have you?

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to reinob For This Useful Post:
    anthonie

     
    reinob | # 29 | 2013-01-15, 10:04 | Report

    Originally Posted by michaaa62 View Post
    @Ammar Hamdan
    The warning is expected since the keys are expired, blame Nokia.
    Try using force-yes option to get the package to your N900
    Code:
    apt-get install --reinstall --force-yes -dy libc6
    If the PATH is wrongly set, which is clearly the case, then neither dpkg nor apt-get (which will call dpkg anyway) will work at all, so regardless of whatever fancy commands the OP is asked to execute, none will work until he fixes the PATH, which takes all of 1 minute.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to reinob For This Useful Post:
    anthonie

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