Home > Ubuntu > Ubuntu – Unable to locate package vlan

Ubuntu – Unable to locate package vlan

Whilst building some Ubuntu servers today I ran into a minor issue which I thought I might share.

I was deploying to Ubuntu 12.04 servers onto some blade servers, the networking infrastructure requires I setup vlans on the servers in order for them to work. The first thing I need to do was install the vlan package but running the command sudo apt-get install vlan but when I ran this I got an error


Unable to locate package




Got me thinking for a while, I tested I could ping and resolve externally and finally remembered that during install the server did not have internet connectivity and may not have updated it’s repository. A quick search on the internet suggested I run the below command:

sudo apt-get update

Which I did and re-ran the command to install the vlan package again and hey presto it installs.


Categories: Ubuntu Tags:
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: