How to install wvdial without getting the following error?

Asked by JJXJ on 2012-12-10

Error message I got when I ran the command:

sudo apt-get install wvdial

error
p@p:~$ sudo apt-get install wvdial
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package wvdial is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package wvdial has no installation candidate
p@p:~$

So how can I install wvdial?
I dont have access to internet from ubuntu for direct installation. Please help

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu wvdial Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:

Run:

sudo apt-get update
sudo apt-get install wvdial

JJXJ (jjxj) said : #2

when I tried sudo apt-get update I got some index files failed to download .Some ignored some replaced with existing ones. then I tried sudo apt-get install wvdial and they asked me to enter Y/n I entered Y and they asked me to insert Quantal Quetzel Cd and I dont have that

Run:

gksudo gedit /etc/apt/sources.list

comment out the top few lines, these reference the install CD. Save the new file, close gedit then run:

sudo apt-get update
sudo apt-get install wvdial

I assume you have web access.

Manfred Hampl (m-hampl) said : #4

If I understand your problem correctly, you do not have a network connection, but you expect that you get one by installing the package wvdial.

You can download the package from launchpad or with help of packages.ubuntu.com
If you go to packages.ubuntu.com and then search for wvdial, you will be redirected to the page http://packages.ubuntu.com/quantal/comm/wvdial
At the end of the page you see the headline 'download wvdial'. Here you have to select amd64 or i386 depending on your system ("uname -a" should tell if your system is 32 or 64 bit), and on the next page you can select a download mirror near you for downloading the file.

You can then install wvdial as follows:

open a terminal (ctrl-alt-t), and cd (change directory) to the directory where you have put the .deb file
Then issue the command
sudo dpkg -i {filename}

This will most probably complain that there are unmet dependencies. I am rather sure that you have also to download the packages libuniconf4.6, libwvstreams4.6-base and libwvstreams4.6-extras, and maybe some more.

If you need further instructions don't hesitate to ask.

Can you help with this problem?

Provide an answer of your own, or ask JJXJ for more information if necessary.

To post a message you must log in.