Advanced Packaging Tool unable to locate package

Asked by Christopher Kelly

Running xubuntu 11.10 on a standalone

Using the tutorial below:

https://help.ubuntu.com/10.04/internet/C/connecting-wired.html

I got the wired connection working.

Now when i type:

$ iostat

i get:

"The program 'iostat' is currently not installed. You can install it by typing: sudo apt-get install sysstat"

so i type:

$ sudo apt-get install sysstat

and i get:

Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package sysstat

any help my appreciated guys

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu apt Edit question
Assignee:
No assignee Edit question
Solved by:
Sam_
Solved:
Last query:
Last reply:
Revision history for this message
Best Sam_ (and-sam) said :
#1

This will tell in which package iostat and sysstat are:
dpkg -S iostat
dpkg -S sysstat

On Precise the first is in the kernel, the second in language-pack*. Is your system updated?

Revision history for this message
Sam_ (and-sam) said :
#2

Sorry, message send button too fast.
sysstat is available and can be fetched without issues.
Please post output of:
sudo apt-get update && sudo apt-get upgrade

Revision history for this message
Christopher Kelly (christopherkelly-00) said :
#3

$ sudo apt-get update
$ sudo apt-get upgrade

Both did loads output to much to shpeal out

then when i

$ dpkg -S iostat:

linux-headers-3.0.0-12: /usr/src/linux-headers-3.0.0-12/include/linux/nfs_iostat.h
linux-headers-3.0.0-12-generic: /usr/src/linux-headers-3.0.0-12-generic/include/linux/nfs_iostat.h

$ dpkg -S sysstat
language-pack-en-base: /usr/share/locale-langpack/en_GB/LC_MESSAGES/sysstat.mo
language-pack-en-base: /usr/share/locale-langpack/en_AU/LC_MESSAGES/sysstat.mo
language-pack-en-base: /usr/share/locale-langpack/en_CA/LC_MESSAGES/sysstat.mo

Revision history for this message
Christopher Kelly (christopherkelly-00) said :
#4

Thanks Sam_, that solved my question.