PDA

View Full Version : Trying hard to get a repository setup in Ubuntu


niccholaspage
October 6th, 2008, 09:47 PM
I am trying to make a repository that has some extras for Ubuntu and Ultimate OS. I added the source to /etc/apt/sources.list. When I do sudo apt-get update, I get these warnings:

W: Failed to fetch ftp://niccholaspage@sephizor.com/archive/ubuntu/dists/intrepid/Release.gpg Could not resolve 'niccholaspage@sephizor.com'

W: Failed to fetch ftp://niccholaspage@sephizor.com/archive/ubuntu/dists/intrepid/main/i18n/Translation-en_US.bz2 Could not resolve 'niccholaspage@sephizor.com'

W: Some index files failed to download, they have been ignored, or old ones used instead.
W: You may want to run apt-get update to correct these problems

The repository did not work at all.(Repo is at ftp://niccholaspage@sephizor.com/archive/ubuntu intrepid main)
The file structure is this:
archive/ubuntu/intrepid/main/
I have have gwho deb and a Packages.gz.

InfinityCircuit
October 7th, 2008, 12:06 AM
man 5 apt.conf

Search for ftp. You have to specify the password for password-protected ftp servers in /etc/apt/sources.list in the form ftp://[[user][:pass]@]host[:port]/ in ftp::Proxy.

niccholaspage
October 7th, 2008, 08:15 AM
If I set it up like that,Wouldn't it be easy for someone to see my FTP password?

InfinityCircuit
October 7th, 2008, 07:04 PM
Yes. But you can chmod 600 it. Normally, there is no reason to worry about password-protecting a Debian repository--this is free software, after all.