PDA

View Full Version : [ubuntu] apt-get update error



crazymoonboy
May 18th, 2009, 07:42 PM
Hi,

I am trying to install one software from a https server and I already have my user name and password. BUT, Here

My user name is email id i.e., abc@def.com
My password: password

and I am trying to get files from www.example.net/somefile.

Now, I added the whole line in /etc/apt/sources.list file as below:

deb https://abc@def.comassword@example.net/somefile
deb-src https://abc@def.comassword@example.net/somefile

Now, I executed apt-get update command and it is giving the below error:
Couldn't resolve host 'def.comassword@example.net'

It is not taking my entire email id as my user name.

How can I give correctly in /etc/apt/sources.list file? Please help me.

Thanks in advance.

Regards,
Chandra.

aysiu
May 18th, 2009, 10:29 PM
You shouldn't need a username and password to add a source to your /etc/apt/sources.list

What's the actual URL (not the example.net/somefile, the actual URL)?