add/remove applications problem

Asked by ryan10ad

I am running 7.04 on a old Compaq with windows 2000 installed. I tried the print to my HP Deskjet D1360, and it always failed. Anyway I reinstalled HPLIP and I can print , although slowly. I tried to add the HPLIP Tool kit though Add/Remove Application. Now once i comfirm the program to be installed, the program hangs and the waiting icon comes up in the place of the cursor. I know the Add/remove is sometimes slow, but is it really slow?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Markus Thielmann (thielmann) said :
#1

Thanks for your question.

It all depends on how "slow" "really slow" is :-)

Maybe we should check if there's a problem with apt-get. Apt-get is the "underlying" programm for the add/remove application.

Please open a terminal window and run "sudo apt-get install hplip". Are there any error messages? Please report them here.

Revision history for this message
ryan10ad (ryan10ad-deactivatedaccount) said :
#2

First thing, I mean slow as in the wait icon will go on until I log off, Shut down or kill the app. Second thing I am trying to get the HP LIP Tool kit, so i can see the status, and change settings. The HPLIP drivers are already installed.

Revision history for this message
Markus Thielmann (thielmann) said :
#3

The package hplip includes:

>>> SNIP >>>
HP Linux Printing and Imaging System (HPLIP)
The HP Linux Printing and Imaging System provides full support for printing on most HP SFP (single function peripheral) inkjets and many LaserJets, and for scanning, sending faxes and for photo-card access on most HP MFP (multi-function peripheral) printers.
HPLIP is composed of:
• System services to handle communications with the printers
• HP CUPS backend driver (hp:) with bi-directional communication with HP printers (provides printer status feedback to CUPS and enhanced HPIJS functionality such as 4-side full-bleed printing support)
• HP CUPS backend driver for sending faxes (hpfax:)
• HPIJS Ghostscript IJS driver to rasterize output from PostScript(tm) files or from any other input format supported by Ghostscript, and also for PostScript(tm) to fax conversion support (HPIJS is shipped in a separate package)
• Command line utilities to perform printer maintenance, such as ink-level monitoring or pen cleaning and calibration
• GUI and command line utility to download data from the photo card interfaces in MFP devices
• GUI and command line utilities to interface with the fax functions
• A GUI toolbox to access all these functions in a friendly way
• HPAIO SANE backend (hpaio) for flatbed and Automatic Document Feeder (ADF) scanning using MFP devices
USB, JetDirect (network) and parallel-port devices are supported.
Homepage: http://hplip.sourceforge.net/
Version: 1.7.3-0ubuntu1 (hplip)
>>> SNIP >>>

So it might be a good idea to test apt-get as mentioned.

You might also give Synaptic (System->Administration->Synaptic Package Manager) a try. It's also based on apt-get, but you might be more comfortable with a graphical user interface.

Revision history for this message
ryan10ad (ryan10ad-deactivatedaccount) said :
#4

Aside from HPLIP, When i want to install or remove a app using Add/Remove Applications it hangs. I am new at this and i want to just install apps from this tool.

Revision history for this message
Markus Thielmann (thielmann) said :
#5

See, ryan: If apt-get does not work, you won't be able to install any kind of software with Add/Remove Applications.

For that, we still should check if apt-get gives any error messages, as mentioned.

Additional to that, please run "/usr/bin/gnome-app-install" (it's Add/Remove Applications) from terminal, try to install something and provide us any error messages during the installation.

Revision history for this message
ryan10ad (ryan10ad-deactivatedaccount) said :
#6

Currently this is what I am seeing: (http://www.flickr.com/photos/85242548@N00/489938084/) Please note its been like that for about 2 hours

Revision history for this message
Markus Thielmann (thielmann) said :
#7

You might (for sure) kill the application. Please provide the terminal error messages (if any) from "/usr/bin/gnome-app-install" and "sudo apt-get install hplip". Thanks!

Revision history for this message
ryan10ad (ryan10ad-deactivatedaccount) said :
#8

Well how do I kill it, I only started using Ubuntu on Wed!

Revision history for this message
Markus Thielmann (thielmann) said :
#9

Easyiest way would be a restart. But you can also open a terminal and type "killall gnome-app-install".

Revision history for this message
Markus Thielmann (thielmann) said :
#10

Restart: If you press "Ctrl-Alt-Backspace" (*not* Ctrl-Alt-Del) only X-Window will restart and provide you a login window.

Revision history for this message
ryan10ad (ryan10ad-deactivatedaccount) said :
#11

I managed to kill it and ran the commands in terminal, you can see then below:

ryan@ubuntu:~$ /usr/bin/gnome-app-install

** (gnome-app-install:15386): WARNING **: return value of custom widget handler was not a GtkWidget
sudo apt-get install hplip
/usr/lib/python2.5/site-packages/AppInstall/AppInstall.py:1532: GtkWarning: gtk_tree_model_sort_sort: assertion `tree_model_sort->default_sort_func != NULL' failed
  item.applications.set_default_sort_func(None)

When i ran /usr/bin/gnome-app-install, add/remove applications came back up.

Revision history for this message
Markus Thielmann (thielmann) said :
#12

Now, please try to install something and watch the output growing (please add the information here). You can always kill gnome-app-install by pressing Ctrl-C in the terminal window.

Revision history for this message
ryan10ad (ryan10ad-deactivatedaccount) said :
#13

Do i install something through the terminal or the add/remove

Revision history for this message
Felix Heinonen (fheinonen) said :
#14

Try this in Terminal:
sudo killall gnome-app-install
sudo killall apt-get
then open synaptic and reinstall gnome-app-install it if that doesn't work. remove it completely and then install it again.

Can you help with this problem?

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

To post a message you must log in.