Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to install VLAN using apt-get but I get this error:

E: Unable to locate package vlan

I'm not connected to the Internet at the moment as I need to tag my Ubuntu server to the VLAN first. I've installed Ubuntu on VMWare using an ISO file.

Is there a way I can install applications using apt-get from the ISO file?

share|improve this question

You can install packages that are contained on the CD. vlan package is most likely not present on the iso for you to install. So you would have to use an offline method to install that package: If you need to download Ubuntu packages using another machine or OS, check the desired packages in Synaptic and select File > Generate package download script. Alternatively, try

share|improve this answer
Having installe the vlan package from the recommended site (, im now having problems tagging the vlan. after editing the file in /etc/network/interfaces, I get the error "Set name-type for VLAN subsystem. Should be visible in /proc/net/vlan/config....RTNETLINK answers: File exists...Failed to bring up vlan340" – William C Aug 30 '12 at 1:27
@WilliamC that deserves another question. If this answer can help you to solve the offline package installation issue, please accept it and open another question for the upcoming issue. – P.-H. Lin Apr 20 at 7:07

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.