freezing when downloading htop, iotop, etc...

25 views
Skip to first unread message

suranyami

unread,
Jun 21, 2012, 2:56:29 AM6/21/12
to babush...@googlegroups.com
Total noob here with babushka...

I've been trying it out on a cleanly installed ubuntu box.

When I try running:

    babushka benhoskings:system

It gets to:

    benhoskings:htop.managed {
      ✓ apt (cached)
      system doesn't have htop deb
      meet {
        Downloading... |

then just sits there.

What does this mean? Do I need to update the apt-get sources? or what?

How do I see more of what's going on?


suranyami

unread,
Jun 21, 2012, 3:22:52 AM6/21/12
to babush...@googlegroups.com
BTW, running Ubuntu 12.04

I had a look in the logs and it got to:

        Downloading...        $ env DEBCONF_TERSE='yes' DEBIAN_PRIORITY='critical' DEBIAN_FRONTEND='noninteractive' aptitude -y -d install jnettop

I tried running that line from the command line, and sure enough, it froze up.

I then just tried executing:

    aptitude -y -d install jnettop

That froze up too.

Then tried:

    aptitude -y install jnettop

And that worked. So, the -d option is supposedly for only downloading, not installing (which presumably would happen after the download).

I don't understand why it just stops then, though?

Is this something that can be configured somewhere?

Ben Hoskings

unread,
Jun 24, 2012, 7:39:04 AM6/24/12
to babush...@googlegroups.com
Thanks for sending this through, and sorry about the delay, I've been on holidays and neglecting my email.

I'm not sure why the -d option causes apt to hang. You could try commenting that line out here:

https://github.com/benhoskings/babushka/blob/master/lib/babushka/pkg_helpers/apt_helper.rb#L41

The separate download command is only there to distinguish its progress output. Installing via apt will work just the same if you comment it out.

Let me know how you go.

Cheers
Ben
> --
> To post, email babush...@googlegroups.com
> To unsubscribe, email babushka_app...@googlegroups.com
> ~
> http://babushka.me
> http://github.com/benhoskings/babushka
> http://groups.google.com/group/babushka_app

Reply all
Reply to author
Forward
0 new messages