HP 6313 not found by Ubuntu 10.10

Asked by Jan Greeff

My hp 6313 printer has lost contact with my system, Ubuntu 10.10. The printer is shown, but there seems to be no contact and it is shown as "idle", where do I go from here?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu hplip Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Download and install the latest HPLIP

Revision history for this message
Jan Greeff (jan-verslank) said :
#2

Thanks, I did, now I get: Failed to execute child process "/home/jan/.hplip/hplip.conf" (Permission denied)

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3
Revision history for this message
Jan Greeff (jan-verslank) said :
#4

Now I get: Couldn't add corrupt torrent - hplip-3.11.1.run

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#5

try:

wget -O hplip http://downloads.sourceforge.net/project/hplip/hplip/3.11.1/hplip-3.11.1.run?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fhplip%2Ffiles%2Fhplip%2F3.11.1%2Fhplip-3.11.1.run%2Fdownload&ts=1299653175&use_mirror=netcologne

When the download completes, press CTRL+C

Then run:

chmod +x ./hplip; ./hplip

And run through the installer (accepting defaults is fine)

Revision history for this message
Jan Greeff (jan-verslank) said :
#6

Did exactly as you instructed, then received:
jan@jan-desktop:~$ chmod +x ./hplip; ./hplip
chmod: cannot access `./hplip': No such file or directory
bash: ./hplip: No such file or directory

Revision history for this message
Jan Greeff (jan-verslank) said :
#7

I tried to uninstall and delete all old hplip files, then re-downloaded hplip, same result. Where to from here?

Revision history for this message
Jan Greeff (jan-verslank) said :
#8

In desperation I tried by installing Foomatic-GUI printer configuration tool, then when I try to launch, I get:

"Failed to execute child process "su-to-root" (No such file or directory)"

Where does CUPS fit in Could I have a conflict between CUPS and hplip?

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#9

Try:

sudo apt-get --reinstall install hplip hplip-cups hplip-data

Should do it

Revision history for this message
Jan Greeff (jan-verslank) said :
#10

This is as far as I get, does it make sense? And what do I do from here?

jan@jan-desktop:~$ sudo apt-get --reinstall install hplip hplip-cups
hplip-data
[sudo] password for jan:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
   telepathy-logger
Use 'apt-get autoremove' to remove them.
Suggested packages:
   hplip-doc
The following NEW packages will be installed:
   hplip-cups
0 upgraded, 1 newly installed, 2 reinstalled, 0 to remove and 80 not
upgraded.
Need to get 8,128kB of archives.
After this operation, 1,458kB of additional disk space will be used.
Get:1 http://za.archive.ubuntu.com/ubuntu/ maverick-updates/main hplip
i386 3.10.6-1ubuntu10.2 [139kB]
Get:2 http://za.archive.ubuntu.com/ubuntu/ maverick-updates/main
hplip-cups i386 3.10.6-1ubuntu10.2 [350kB]
Get:3 http://za.archive.ubuntu.com/ubuntu/ maverick-updates/main
hplip-data all 3.10.6-1ubuntu10.2 [7,639kB]
Fetched 8,128kB in 3min 36s (37.5kB/s)
(Reading database ... 232620 files and directories currently installed.)
Preparing to replace hplip 3.10.6-1ubuntu10.2 (using
.../hplip_3.10.6-1ubuntu10.2_i386.deb) ...
Unpacking replacement hplip ...
Selecting previously deselected package hplip-cups.
Unpacking hplip-cups (from .../hplip-cups_3.10.6-1ubuntu10.2_i386.deb) ...
Preparing to replace hplip-data 3.10.6-1ubuntu10.2 (using
.../hplip-data_3.10.6-1ubuntu10.2_all.deb) ...
Unpacking replacement hplip-data ...
Processing triggers for python-support ...
Processing triggers for man-db ...
Setting up hplip-cups (3.10.6-1ubuntu10.2) ...
Setting up hplip-data (3.10.6-1ubuntu10.2) ...
Setting up hplip (3.10.6-1ubuntu10.2) ...
Creating/updating hplip user account...
Processing triggers for python-support ...
jan@jan-desktop:~$ apt-get autoremove
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission
denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you
root?
jan@jan-desktop:~$

Jan

On 12/03/2011 17:40, actionparsnip wrote:
> Your question #148353 on file-roller in ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/file-roller/+question/148353
>
> Status: Open => Answered
>
> actionparsnip proposed the following answer:
> Try:
>
> sudo apt-get --reinstall install hplip hplip-cups hplip-data
>
> Should do it
>

Revision history for this message
Best actionparsnip (andrew-woodhead666) said :
#11

Do you have software centre running or updates running? If so then close them or let them run.If not then run:

sudo fuser -vki /var/lib/dpkg/lock;sudo dpkg --configure -a

Which will free up the packages and stop the error you are getting

Revision history for this message
Jan Greeff (jan-verslank) said :
#12

Thanks, you put me on track - I installed updates, restarted computer, re-installed printer and it's working. Praise the Lord.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#13

Sweet :)

Revision history for this message
Jan Greeff (jan-verslank) said :
#14

Dear actionparsnip, I really appreciate all your help.

Kind regards,

Jan

Jan Greeff
Posbus 4181
Barberton 1300
Tel 013 712 2436 Faks 086 659 7704
Skype jan.greeff
Gesondheid sonder grense: www.verslank.net
Income that keeps coming in: http://www.BeMotivatedToday.com/9441

On 13/03/2011 17:12, actionparsnip wrote:
> Your question #148353 on hplip in ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/hplip/+question/148353
>
> actionparsnip posted a new comment:
> Sweet :)
>