I'm working on a virgin debian 5 image on a VPS. To be honest, this may not be the brightest VPS provider in the world and I suspect their image isn't perfect.
apt-get fails for everything:
# apt-get -y install gcc Reading package lists... Done Building dependency tree... Done E: Couldn't find package gcc
There is an
# cat /etc/apt/sources.list deb http://ftp.debian.org/debian lenny main contrib non-free deb http://ftp.debian.org/debian-volatile lenny/volatile main contrib non-free deb http://ftp.debian.org/debian-security lenny/updates main contrib non-free
...which I think is correct.
Now if I use
apt-cache, I find it:
# apt-cache search gcc libgcc1 - GCC support library gcc-4.3-base - The GNU Compiler Collection (base package)
To be honest, I'm not the world's strongest Debian guy. Anyone care to speculate where I should start to fix this problem?