I'm new to debian and one of the factors in making me switch over was the ease with which features can be installed using apt.
The problem I'm having is that 'apt-cache search <package>' is not finding the packages I need (specifically java-package and fakeroot as per the many posts detailing how to install java).
It's my understanding that the source repositories specified in /etc/apt/sources.list designate the repositories which are searched when you run 'apt-cache search' or 'apt-get update'. I've tried a number of repositories and I've searched the web to see if certain packages are only on certain repositories but to no avail.
I'm running stable sarge but I've also tried the testing sources. Can anyone help me out? I'm sure it's something simple I'm missing.
Thanks in advance.
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
Apt-get can't find packages.
-
- Posts: 136
- Joined: 2004-09-15 21:35
- Location: Vancouver, Canada
Fakeroot appears to be available in all the Debian releases, so it's surprising that you can't see it. Did you run "aptitude update" before searching? That will make a local listing of the packages available on the repositories listed in the sources.list file. Apt-cache then searches the local listing for the file you're interested in.
~ G O W E R O P O L I S ~
-
- Posts: 136
- Joined: 2004-09-15 21:35
- Location: Vancouver, Canada
I find the Debian package website very useful.
http://packages.debian.org/
It gives you a lot of searching options. Another very cool way to use it is if you're looking for java-package, goto the following URL:
http://packages.debian.org/java-package
(Note that there's no slash at the end.)
It will automatically search for the package.
It looks like java-package is in the "contrib" section for stable, testing and unstable. You will need to adjust your sources.list to include the contrib section, and then aptitude update, then aptitude install java-package.
http://packages.debian.org/
It gives you a lot of searching options. Another very cool way to use it is if you're looking for java-package, goto the following URL:
http://packages.debian.org/java-package
(Note that there's no slash at the end.)
It will automatically search for the package.
It looks like java-package is in the "contrib" section for stable, testing and unstable. You will need to adjust your sources.list to include the contrib section, and then aptitude update, then aptitude install java-package.
~ G O W E R O P O L I S ~