Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

PHP Laravel 4 Basics Getting Started with Laravel Installing Laravel Homestead

Jenny Swift
Jenny Swift
21,999 Points

When I do 'vagrant ssh' from the homestead directory, I'm told to upgrade and then I get an error when I try to do so.

So when I did 'vagrant ssh,' I got the following:

239 packages can be updated. 36 updates are security updates.
New release '14.10' available. Run 'do-release-upgrade' to upgrade to it.

So I ran the 'do-release-upgrade' command and then got the following:

Checking for a new Ubuntu release Get:1 Upgrade tool signature [198 B]
Get:2 Upgrade tool [1,147 kB]
Fetched 1,148 kB in 0s (0 B/s)
authenticate 'utopic.tar.gz' against 'utopic.tar.gz.gpg'
gpg exited 2
Debug information:

gpg: fatal: can't open fd 26 for status output: Bad file descriptor
secmem usage: 0/0 bytes in 0/0 blocks of pool 0/0

Authentication failed Authenticating the upgrade failed. There may be a problem with the network or with the server.

What should I do please?

Jenny Swift
Jenny Swift
21,999 Points

Hampton Paulk, no one has responded so could you please help me with this?

This seems like a network issue of sorts, perhaps NAT settings. Can you post your configuration details here?

Jenny Swift
Jenny Swift
21,999 Points

Hi Hampton, thank you for your reply and for your work at Treehouse! I've learned so much from you guys. Sorry for my ignorance-I don't know how to do what you asked. I don't know how to find my configuration details. Would you mind explaining, please?

2 Answers

Tom Cawthorn would you mind helping Jenny Swift out on this? You have always been good at finding a way of fixing these strange issues.

hmmm I will try.. but it's not something I've come across before!

This thread seems to be pretty related, and here are the ubunto instructions for upgrading to 4.10.

You'll notice they suggest / use an alternative method to updating - calling apt-get update before do-release-upgrade.

Learn more about apt-get

Also make sure you're putting sudo at the front!

Jenny Swift
Jenny Swift
21,999 Points

Hmm...thanks, Tom, for your efforts, but I'm still having troubles. So I tried:
sudo apt-get update
but still got the same error when I then did:
sudo do-release-upgrade
So then I tried:
sudo apt-get dist-upgrade
There was lots of successful-looking activity as well but this at the end:
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
So I tried:
sudo apt-get update --fix-missing
But then when I ran the vagrant command it said:
The program 'vagrant' is currently not installed. To run 'vagrant' please ask your administrator to install the package 'vagrant'
After this (as well as trying, without success, to install vagrant and virtual box, both which I thought were already installed), my Finder became unusable (I couldn't open it). It just gave me a spinning wheel and was unresponsive, even after a computer restart.
So I did a restore from backup on my Mac and that fixed Finder.

Would you mind please telling me how important you think the upgrade is? Since I don't really understand what I'm doing with those terminal commands and there doesn't seem to be an obvious solution to my problem and I somehow managed to temporarily mess up my computer, I'm thinking maybe I should just forget about trying to upgrade for now, unless of course it's important.

woah! Are you running these commands inside or outside of the box? i.e. do you ssh into your box and then try to update?

Looking now at the first paragraph of the ubuntui docs I sent you:

In fact, Ubuntu 14.10 has no big special features or updates, it is just a bug-fixing & package-updating release, but it’s a good release for those people who want to have the most-recent packages in the their system.

So it doesn't sound too important.

Sounds like you've had a nightmare! Have you tried again since recovering your mac?

Jenny Swift
Jenny Swift
21,999 Points

I thought I ran the commands after doing vagrant ssh. But perhaps I'm wrong.
Good to know it's no big deal if I don't do the update.
No, I haven't tried again yet. And yeah, it wasn't much fun. But I can laugh about it. Ah the adventures of learning to program. :)
Thanks again for trying!