dpkg interrupted error when using apt-get install.

69 views
Skip to first unread message

Tinashe Mudavanhu

unread,
Feb 20, 2016, 7:33:20 AM2/20/16
to BeagleBoard
Hi,

I'm trying to install v4l-utils on my BBB running Debian (Nov 12 22015 update; the Distro is running on a 32GB ADATA Class 10 SDCard) but i keep getting the "dpkg was interrupted, you must run manually 'dpkg --configure -a' to correct the problem ", and each time i run that command, it runs forever. I have also tried to run some commands with apt-get install but still getting the same error. Sometimes it locks the admin such that i wont be able to update the BBB.

I am using ssh to access the BBB and also sharing Internet via the same USB  cable (If the info is relevant).

I need your help in solving this problem.

Thanks

Tinashe Mudavanhu

unread,
Feb 21, 2016, 1:02:46 AM2/21/16
to beagl...@googlegroups.com

I formatted the SDCard and created another bootable SDCard. Sshed into it and updated the distro but the problem came when using apt-get upgrade, it upgrades some dependencies but then reaches a point it keeps on executing on and on. It has been doing that for 4hrs now. Below are the statements that are repeatedly displayin in the terminal;

ACTION Regenerating Makefile
make: Leaving directory '/root/.c9/node_modules/pty.js/buld'
make: Entering directory '/root/.9/node_module/pty.jsbuild'
make: Warning: File '../../../../.node-gyp/0.10.42/common.gypt' has modification time 7.6+06 s in the future

Can someone iut there assist me?

--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to a topic in the Google Groups "BeagleBoard" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/LkVeTUvIDqM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beagleboard...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Robert Nelson

unread,
Feb 21, 2016, 9:47:46 AM2/21/16
to Beagle Board
On Sun, Feb 21, 2016 at 12:02 AM, Tinashe Mudavanhu <tina...@gmail.com> wrote:
> I formatted the SDCard and created another bootable SDCard. Sshed into it
> and updated the distro but the problem came when using apt-get upgrade, it
> upgrades some dependencies but then reaches a point it keeps on executing on
> and on. It has been doing that for 4hrs now. Below are the statements that
> are repeatedly displayin in the terminal;
>
> ACTION Regenerating Makefile
> make: Leaving directory '/root/.c9/node_modules/pty.js/buld'
> make: Entering directory '/root/.9/node_module/pty.jsbuild'
> make: Warning: File '../../../../.node-gyp/0.10.42/common.gypt' has
> modification time 7.6+06 s in the future

Sync up your clock..

c9-core-installer (aka cloud9 on port 3000) relies on nodejs/npm to
install a few dependicys...

Last week we also transitioned from, nodejs 0.10.x -> 0.12.x and npm
1.2.x -> 3.7.1

So make sure you clock is synced:

systemd-timesync

then

sudo apt-get update
sudo apt-get upgrade

Regards,

--
Robert Nelson
https://rcn-ee.com/

Tinashe Mudavanhu

unread,
Feb 21, 2016, 9:56:27 AM2/21/16
to beagl...@googlegroups.com

Thank you. Just tried the systemd-timesync command but its saying

-bash: systemd-timesync: command not found

I'm sorry im a newbie, how do i type the command?

I have also tried the     ntpdate -b -s -u pool.ntp.org command, not sure if it works the same way with your command.

Robert Nelson

unread,
Feb 21, 2016, 10:00:33 AM2/21/16
to Beagle Board
On Sun, Feb 21, 2016 at 8:56 AM, Tinashe Mudavanhu <tina...@gmail.com> wrote:
> Thank you. Just tried the systemd-timesync command but its saying
>
> -bash: systemd-timesync: command not found
>
> I'm sorry im a newbie, how do i type the command?

opps, missed the extra d:

https://www.freedesktop.org/software/systemd/man/systemd-timesyncd.service.html

>
> I have also tried the ntpdate -b -s -u pool.ntp.org command, not sure if
> it works the same way with your command.

sudo ntpdate pool.ntp.org should also work (we switched from ntpdate
-> systemd-timesyncd)

Tinashe Mudavanhu

unread,
Feb 21, 2016, 10:09:18 AM2/21/16
to beagl...@googlegroups.com

Hi Robert,

Still getting the same  error (command not found).

Looked for the file in /usr/lib/systemd/systemd-timesyncd, a file path in that link you included but the file does not exist.

Are there some packages i have to install first to run the command?

Robert Nelson

unread,
Feb 21, 2016, 10:13:23 AM2/21/16
to Beagle Board
On Sun, Feb 21, 2016 at 9:09 AM, Tinashe Mudavanhu <tina...@gmail.com> wrote:
> Hi Robert,
>
> Still getting the same error (command not found).
>
> Looked for the file in /usr/lib/systemd/systemd-timesyncd, a file path in
> that link you included but the file does not exist.
>
> Are there some packages i have to install first to run the command?

sudo systemctl start systemd-timesyncd

then:
sudo journalctl -f

to see it syncing..

Tinashe Mudavanhu

unread,
Feb 21, 2016, 10:21:23 AM2/21/16
to beagl...@googlegroups.com

Aftrler running that command to initialise syncin, i got : Failed to issue method call: Unit name systemd-timesyncd is not valid

Tinashe Mudavanhu

unread,
Feb 21, 2016, 11:26:52 AM2/21/16
to beagl...@googlegroups.com

I have removed the c9-core-installer. Tried reinstalling it but still getting to that looping point even after time sync (using ntpdate command).

What can be the problems associated working without cloud 9? Does it mean i wont be able to use node.js too?
I dont intend to work with the cloud IDE though

John Syne

unread,
Feb 21, 2016, 3:55:44 PM2/21/16
to beagl...@googlegroups.com
Try

ntpdate-debian

then

sudo update
sudo upgrade

Regards,
John




You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.

Robert Nelson

unread,
Feb 21, 2016, 9:50:48 PM2/21/16
to Beagle Board
On Sun, Feb 21, 2016 at 10:26 AM, Tinashe Mudavanhu <tina...@gmail.com> wrote:
> I have removed the c9-core-installer. Tried reinstalling it but still
> getting to that looping point even after time sync (using ntpdate command).

Odd, it's working for me:

https://gist.github.com/RobertCNelson/9af8de2221a1c380504a

> What can be the problems associated working without cloud 9? Does it mean i
> wont be able to use node.js too?
> I dont intend to work with the cloud IDE though

Cloud9 ide depends on node.js... So removing c9-core-installer will
not affect node.js..

Tinashe Mudavanhu

unread,
Feb 21, 2016, 10:34:22 PM2/21/16
to beagl...@googlegroups.com

Finally, it has worked. I reinstalled c9-core-installer after running these commands first; npm i chjj/pty.js --save   and npm install -g node-gyp

Thank you.

Reply all
Reply to author
Forward
0 new messages