Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
add comment

1 Answer

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 http://ubottu.com/ljl/apt/

share|improve this answer
    
Having installe the vlan package from the recommended site (ubottu.com/ljl/apt), 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
add comment

Your Answer

 
discard

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.