APT

rookie needs apt

Asked by MC Moshou

o.k. people, im a rookie

what is apt and what does it do? where and how do i get it?

Scenario: my update manager hangs whenever i run it. my notebook is up and running for 6 - 8 hours a day. got some advice about configuring dpkg which i did after changing to sudo(im not sure im saying this right). then there was a command i had to put in that had this APT syntax, but i get the following error message:

root@work-baby:~# apt -get -f install
The program 'apt' can be found in the following packages:
 * openjdk-6-jdk
 * sun-java5-jdk
 * sun-java6-jdk
Try: apt-get install <selected package>
bash: apt: command not found

so gentlemen (ladies r gentle2), what do i do now.

Question information

Language:
English Edit question
Status:
Answered
For:
APT Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Nick Gorbunov (intsurfer) said :
#1

hi!
You don't need logging in as root (you can use sudo command). And there's mistake in command: apt<blanc>-get -f install.

Try: sudo apt-get install <selected package>

For example: sudo apt-get install openoffice.org

Revision history for this message
MC Moshou (mcmosh24) said :
#2

Hi, thanx for your contribution but my problem is not solved yet.

i still donno what the 'apt' is or how to have it in my system. it seems there are three different kinds as per error message i posted earlier, how do i even know which package to use?

Revision history for this message
Nick Gorbunov (intsurfer) said :
#3

hi!
try to install the sun-java6-jdk package.

Can you help with this problem?

Provide an answer of your own, or ask MC Moshou for more information if necessary.

To post a message you must log in.