back       next

ubuntu

HP Deskjet F2430 printing in Ubuntu-9.10

Although the printer HP Deskjet F2430 was automatically detected upon usb connection to my ubuntu-9.10 desktop, the 3.9.8 version of hplip that came via apt repository did not quite get printing to work.

I headed off to hplipopensource.com, downloaded and installed the latest driver (version 3.9.12 as of this writing) and got the all-in-one printer to work just following the install wizard.

I have yet to test the scanner... but that's going to be another update.

sysstat in ubuntu

If you apt-get install sysstat, and sar returns:

Cannot open /var/log/sysstat/sa27: No such file or directory

Sar needs to be enabled before it can be used. The error message in this case is completely useless, and the solution I have found is as below:

Enable sysstat data collection by doing

# dpkg-reconfigure sysstat

or manually by changing value of ENABLED from "false" to "true" in "/etc/default/sysstat".

Then start sysstat via:

# /etc/init.d/sysstat start

Check "/var/log/sysstat/" for the missing file.

Run sar after about 10 minutes to see the collected data.

# sar -A

Debian / Ubuntu command notes for packages and service maintenance ...

APT-GET

  • Clean up non-existent data
    # apt-get autoclean

  • Update list
    # apt-get update

  • Install/update a package
    # apt-get install <pkg>

  • review dist-upgrade prior:
    # apt-get -Vsu -o Debug::pkgProblemResolver=yes dist-upgrade

  • Apply updates
    # apt-get -Vu upgrade

  • Upgrade all dependencies
    # apt-get -Vu dist-upgrade

  • Search cache
    # apt-cache search <pkg>

  • Remove and purge packages
    # apt-get --purge remove <pkg>

DPKG

  • Install/Update package
    # dpkg -i <pgk>

  • Check listing of installed packages
    # dpkg -l *<pkg>*

  • file belongs to
    # dpkg --search /path/to/file

  • List of file in package
    #dpkg -L <pkg>

  • Info about package
    # dpkg -s <pkg>

SERVICES

  • Manage services at init levels.
    # sysv-rc-conf
    # update-rc.d

Syndicate content