ssh to BBB - pacman is ignoring me

This forum is for discussion about general software issues.

ssh to BBB - pacman is ignoring me

Postby CollieJim » Mon May 19, 2014 8:32 am

Hi,

I have recently installed Arch on my Beaglebone Black, and have successfully installed several packages with pacman. I login as root with ssh.

Today I could install a package and get normal output, but $this->bbcode_second_pass_code('', 'pacman -Sl or
pacman -S bad-package-name')
appear to be ignored. I just get the prompt back with no output from pacman.

I tried connecting the bone with a USB cable but it is not recognised. I have ftdi_sio, usbserial, and usbcore loaded.

What am I missing (besides a functioning brain)?
CollieJim
 
Posts: 5
Joined: Mon May 19, 2014 7:04 am

Re: ssh to BBB - pacman is ignoring me

Postby WarheadsSE » Mon May 19, 2014 12:31 pm

The BBB does not have the USB-serial built into that port, as the original (white) BB does. You would need to hook up an external serial to the 6 ping serial header (you only need the core 3 (gnd, tx,rx))

That's a bit odd.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: ssh to BBB - pacman is ignoring me

Postby CollieJim » Mon May 19, 2014 3:39 pm

Thanks. I've got the debug serial port working, but still not getting pacman to cooperate.
CollieJim
 
Posts: 5
Joined: Mon May 19, 2014 7:04 am

Re: ssh to BBB - pacman is ignoring me

Postby WarheadsSE » Mon May 19, 2014 3:44 pm

Check the return value.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: ssh to BBB - pacman is ignoring me

Postby CollieJim » Tue May 20, 2014 3:35 am

The return value is zero.
So is the size of /usr/bin/pacman.
It is zero on the SD card I used to install as well.
What's happening???
$this->bbcode_second_pass_code('', '[root@alarm log]# cat pacman.log
[2014-05-18 07:09] [PACMAN] Running 'pacman -Syu visudo'
[2014-05-18 07:09] [PACMAN] synchronizing package lists
[2014-05-18 07:11] [PACMAN] Running 'pacman -S emacs-nox'
[2014-05-18 07:17] [PACMAN] installed emacs-nox (24.3-1)
[2014-05-18 07:26] [PACMAN] Running 'pacman -S mlocate'
[2014-05-18 07:26] [PACMAN] installed mlocate (0.26-3)
[2014-05-18 21:44] [PACMAN] Running 'pacman -S ntp'
[2014-05-18 21:44] [PACMAN] upgraded ntp (4.2.6.p5-19 -> 4.2.7.p441-1)
[2014-05-18 21:46] [PACMAN] Running 'pacman -Syyu'
[2014-05-18 21:46] [PACMAN] synchronizing package lists
[2014-05-18 21:46] [PACMAN] starting full system upgrade
[2014-05-18 21:49] [PACMAN] upgraded libdbus (1.8.0-1 -> 1.8.2-1)
[2014-05-18 21:49] [PACMAN] upgraded dbus (1.8.0-1 -> 1.8.2-1)
[2014-05-18 21:49] [PACMAN] upgraded device-mapper (2.02.106-1 -> 2.02.106-2)
[2014-05-18 21:49] [PACMAN] upgraded gawk (4.1.0-2.1 -> 4.1.1-1)
[2014-05-18 21:49] [ALPM-SCRIPTLET] >>> Updating module dependencies. Please wait ...
[root@alarm log]#
')
CollieJim
 
Posts: 5
Joined: Mon May 19, 2014 7:04 am


Return to General

Who is online

Users browsing this forum: No registered users and 19 guests

cron