Reply
Thread Tools
Posts: 2,102 | Thanked: 1,937 times | Joined on Sep 2008 @ Berlin, Germany
#21
@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
 

The Following User Says Thank You to michaaa62 For This Useful Post:
Posts: 112 | Thanked: 30 times | Joined on Jun 2012 @ Jeddah,Saudi Arabia
#22
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
 

The Following User Says Thank You to unexpected For This Useful Post:
Posts: 226 | Thanked: 270 times | Joined on Apr 2012 @ Bosnia and Herzegovina
#23
 

The Following User Says Thank You to dzano For This Useful Post:
Posts: 1,048 | Thanked: 1,127 times | Joined on Jan 2010 @ Amsterdam
#24
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.
 

The Following User Says Thank You to anthonie For This Useful Post:
Posts: 2,102 | Thanked: 1,937 times | Joined on Sep 2008 @ Berlin, Germany
#25
@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...
 

The Following User Says Thank You to michaaa62 For This Useful Post:
Posts: 112 | Thanked: 30 times | Joined on Jun 2012 @ Jeddah,Saudi Arabia
#26
@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
 

The Following 2 Users Say Thank You to unexpected For This Useful Post:
Posts: 112 | Thanked: 30 times | Joined on Jun 2012 @ Jeddah,Saudi Arabia
#27
@michaaa62
posted there
 

The Following User Says Thank You to unexpected For This Useful Post:
Posts: 1,808 | Thanked: 4,272 times | Joined on Feb 2011 @ Germany
#28
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?
 

The Following User Says Thank You to reinob For This Useful Post:
Posts: 1,808 | Thanked: 4,272 times | Joined on Feb 2011 @ Germany
#29
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.
 

The Following User Says Thank You to reinob For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 10:05.