[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Apt-get: move from cdrom to online-sources

On Sat, Nov 01, 2003 at 08:31:04AM -0500, Haines Brown said
> I installed debian from cdrom, but now want to use apt-get (actually,
> aptitude) to get on-line packages. To do this I ran netselect-apt
> woody in the /etc/apt directory, and as a result built a
> /etc/apt/sources list that had a US and a non-US site uncommented. 
> OK, so next I want to get the sudo package and run:
>   # apt-get install sudo
>   Reading Package Lists... Done
>   Building Dependency Tree... Done
>   W: Couldn't stat source package list http://ftp.br.debian.org
>   woody/main Packages
>   (/var/lib/apt/lists/ftp.br.debian.org_debian_dists_woody_main_binary-i386_Packages)
>      - stat (2 No such file or directory) 
>   ... [same for three directories in each of the two source sites
>        listed in sources list]
>   W: You may want to run apt-get update to correct these problems
>   E: Couldn't find package sudo
> I don't understand this. Apparently apt-get reads my sources.list, but
> can't use it. Running apt-get update has the same result. I added

apt-get update has the *exact* same error?  update should try to go out
on the network and get the missing package lists from your debian

Rob Weir <rweir@ertius.org> | mlspam@ertius.org  |  Do I look like I want a CC?
Words of the day:             NWO credit card Syria Chobetsu Yukon Leuken-Baden

Reply to: