Vadim Tabakman

apt-get died unexpectedly segmentation fault 

apt-get died unexpectedly segmentation fault

What an exciting title for a post :)

This is purely for me.  After starting my Raspberry PI 3, I went to do an update and the "sudo apt-get update" failed with an error that contained "has died unexpectedly" and "segmentation fault".

After many minutes googling and binging I found that this worked :

cd /tmp

wget http://mirrordirector.raspbian.org/raspbian/pool/main/a/apt/apt_0.9.7.7+rpi1_armhf.deb

dpkg -i apt_0.9.7.7+rpi1_armhf.deb

 

But, I ended up going to "http://mirrordirector.raspbian.org/raspbian/pool/main/a/apt/" to find a package that existed and that I could actually install without an error.

It is meant to update your "apt-get', but it actually downgraded it.  I'm hoping after the update/upgrade, it will update that also.

Hope this helps someone.

Posted by Vadim Tabakman Monday, October 2, 2017 6:02:00 PM Categories: apt-get Raspberry PI

Raspberry Pi visible to Windows 

Raspberry Pi visible to Windows

I had a bunch of copy and pasting I wanted to do to my Pi from my Windows pc.  Obviously, by default, the Pi is locked down and isn't visible on the network.  To get it be visible, I had to install Samba and tweak the config and also set a password.

Here are the steps I took:

sudo apt-get install samba

sudo apt-get install samba-common-bin

sudo nano /etc/samba/smb.conf

Make some changes to this conf file.

workgroup = WORKGROUP

wins support = yes

add the following to the bottom of the conf file.

[PiShare]

   comment = Pi Home

   path=/home/pi

   browseable=Yes

   writeable=Yes

   only guest=no

   create mask=0777

   directory mask=0777

   public=no

Finally, run this command and enter the password.

sudo smbpasswd -a pi

Posted by Vadim Tabakman Tuesday, January 17, 2017 11:58:00 AM Categories: apt-get Raspberry PI Samba

Updating your Raspberry Pi 

Updating your Raspberry Pi

It's been a while since my Unix days, so I feel like I'm learning all over again.

Updating the Raspberry Pi is quite simple.

sudo apt-get update && sudo apt-get upgrade

That goes and downloads all the updates for what you have installed.  In some cases, it will stop and ask if you want to continue.  You just need to press Y and then <enter>

Posted by Vadim Tabakman Tuesday, January 3, 2017 8:16:00 PM Categories: apt-get Raspberry PI