apt-get died unexpectedly segmentation fault
Monday, October 2, 2017 6:02:00 PM
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 :
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.
Raspberry Pi visible to Windows
Tuesday, January 17, 2017 11:58:00 AM
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.
comment = Pi Home
Finally, run this command and enter the password.
sudo smbpasswd -a pi
Updating your Raspberry Pi
Tuesday, January 3, 2017 8:16:00 PM
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>