LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Bash Limbo (https://www.linuxquestions.org/questions/linux-newbie-8/bash-limbo-805996/)

nnjond 05-04-2010 11:40 PM

Bash Limbo
 
Hi,

Synaptic Pkg Manager recommended i ran this command.


nnjond@nnjond-desktop:~$ sudo dpkg --configure -a
[sudo] password for nnjond:
Setting up libgdata1.4-cil (1.4.0.2-3) ...
* Installing 14 assemblies from libgdata1.4-cil into Mono

....nothing 's happened for 15 minutes?

linuxunix 05-05-2010 12:40 AM

Seems that you are on Ubuntu Box.
try out:

$sudo apt-get install <packagename>
$sudo aptitude install <packagename>

Am always happy with these command as it clearly displays me the package being installed.

nnjond 05-05-2010 01:39 AM

Thanks for your interest.

As Much as I understand you this happen...


nnjond@nnjond-desktop:~$ $sudo apt-get install Banshee
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?

EricTRA 05-05-2010 01:48 AM

Hi,

Do you have another instance of a package manager open? Maybe Synaptic is running or not closed properly? Check with
Code:

ps -aux
Kind regards,

Eric

nnjond 05-05-2010 02:25 AM

nnjond@nnjond-desktop:~$ ps -aux
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.0 2792 1524 ? Ss 05:08 0:00 /sbin/init
root 2 0.0 0.0 0 0 ? S 05:08 0:00 [kthreadd]
root 3 0.0 0.0 0 0 ? S 05:08 0:00 [migration/0]
root 4 0.0 0.0 0 0 ? S 05:08 0:00 [ksoftirqd/0]
root 5 0.0 0.0 0 0 ? S 05:08 0:00 [watchdog/0]
root 6 0.0 0.0 0 0 ? S 05:08 0:00 [events/0]


....... much more !

evo2 05-05-2010 02:50 AM

As Eric pointed out, it seems you have some other package manager running. To find it please try running the following command.
Code:

ps aux | grep -E 'dpkg|apt|synaptic'
If you don't understand the output of that command please post it here on the forum.

Evo2.

nnjond 05-05-2010 03:30 AM

nnjond@nnjond-desktop:~$ ps aux | grep -E 'dpkg|apt|synaptic'
root 2290 0.0 0.3 9020 6104 ? S 05:15 0:00 dpkg --configure -a
root 2291 0.0 0.0 1828 512 ? S 05:15 0:00 /bin/sh /var/lib/dpkg/info/libgdata1.4-cil.postinst configure
nnjond 3626 0.0 0.0 3328 896 pts/1 S+ 09:30 0:00 grep --color=auto -E dpkg|apt|synaptic
nnjond@nnjond-desktop:~$

evo2 05-06-2010 02:48 AM

Ok, so you have "dpkg --configure -a" running somewhere. It is probably waiting for input from you: Eg. waiting for you to press "y". If you can't find the terminal where it is running you can kill it using:

Code:

sudo kill 2290
(where 2290 is the pid as given by the output of ps).

HTH,

Evo2.

EricTRA 05-14-2010 06:05 AM

Hello nnjond,

Can you confirm that you've got a solution to your problem? If so, please close this thread marking it as solved with the Thread tools.

Kind regards,

Eric


All times are GMT -5. The time now is 06:50 AM.