HPLIP pet: How to upload ? (SOLVED)

Using applications, configuring, problems
Message
Author
User avatar
Billwho?
Posts: 559
Joined: Tue 06 Dec 2005, 09:28
Location: still "In The Dog House" East Coast Oz
Trialing 4.20

#21 Post by Billwho? »

SimplyFlower wrote:Thank you. I tried installing both a .deb and a .tgz as alien packages. With the .tgz, Pet-Get exited with errors and told me to clean-up the /root/.packages directory. With the .deb, Pet-Get reported it as installed, but it really wasn't. Oh well, I assume it probably works with some packages and not with others.
I have found that usually when a package fails to install like the .tgz you mentioned. The name of the tarball and the parent directory it contains are not exactly the same eg.
tarball = my-package.tar.gz,
parent directory =my-package-0.0.1.
The easiest way to check would probably be to untar the package in a temporary directory and compare the names here.

Code: Select all

tar xvfz my-package.tar.gz
If the names are different re-tar the new directory with a new name

Code: Select all

tar cvfz my-package-0.0.1.tar.gz my-package-0.0.1
.deb and .rpm packages I am not sure about, but I think they can be installed with PSI. I have not installed either since PSI was incorporated into Puppy.
If you find you cant try this from a terminal.
for .deb

Code: Select all

 dpkg --install my-package.deb
or

What I used to do back then was create my own alien tar.gz files from them this way.

1/ Open the package
for deb

Code: Select all

undeb my-package.deb 
for rpm

Code: Select all

unrpm my-package.rpm
2/ create a directory called my-package if it does not already exist
3/ move all the directories an files from the original package into the my-package directory
4/ Create a new tarball as mentioned above making sure the name of the directory and the tarball are identical.
Linux = Learning through doing :shock: :? :D
The learning curve may be steep but there is a light at the end of the tunnel.
You just have to pass the occasional oncoming train to get there.

User avatar
SimplyFlower
Posts: 49
Joined: Fri 03 Mar 2006, 10:46
Location: Oregon, United States

#22 Post by SimplyFlower »

Billwho?, thank you. I'll give your suggestions a try the next time. :D
[color=#8B0AE0]-- [i][size=150]SimplyFlower[/size][/i][/color]
[size=25]Puppy Linux 2.15CE Final, Frugal w/pup_save.2fs file; Dell w/ Intel Celeron 1.1 GHZ, 512 MB RAM[/size]
[color=#8B0AE0][url=http://my.care2.com/simplyflower]Care2[/url][/color]

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#23 Post by MU »

Last edited by MU on Sun 30 Sep 2007, 10:31, edited 1 time in total.

lluamco
Posts: 208
Joined: Fri 16 Mar 2007, 09:10
Location: Banyoles, Spain

#24 Post by lluamco »

Thank you, Mark.
The file http://dotpups.de/dotpups/Printing/hpli ... a-i486.pet
has now a more standard and permanent location.

NOTE: A previous version with an extra v2 suffix did not install properly.
The solution is to rename hplip_for_puppy_217-1.7.4a-i486.v2.pet to
hplip_for_puppy_217-1.7.4a-i486.pet
Now the file should install (please give feedback otherwise).

Notice that the pet install requires a large amount of free disk space.
This can be avoided using the instructions given by Billwho? in a previous message in this threat.

User avatar
edoc
Posts: 4729
Joined: Sun 07 Aug 2005, 20:16
Location: Southeast Georgia, USA
Contact:

#25 Post by edoc »

Any chance that this expanded HP multi-function printer support found its way into
the new version Puppy 3.00?

Anyone tested it under 3.00?
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603

lluamco
Posts: 208
Joined: Fri 16 Mar 2007, 09:10
Location: Banyoles, Spain

#26 Post by lluamco »

I checked the hplip pet in version 3.00 and it worked perfectly. I hope it will work for you too.

lluamco
Posts: 208
Joined: Fri 16 Mar 2007, 09:10
Location: Banyoles, Spain

#27 Post by lluamco »

Please notice that in order to use the hplip package under puppy linux 3.01, the file hpijs must be manually included in the /usr/bin directory.
I attach the gzipped file. In a terminal, do:

gunzip hpijs.gz
chmod +x hpijs
cp hpijs /usr/bin
Attachments
hpijs.gz
(141.9 KiB) Downloaded 510 times

User avatar
Eastern Counties
Posts: 145
Joined: Tue 31 Jan 2006, 18:09
Location: UK

#28 Post by Eastern Counties »

I have upgraded to Puppy 3.01 from 2.17, but haven't been able to get hplip to work, whereas it did in 2.17. I installed it using the pet package and all seemed fine, but when I try to run Setup, I get this message:

'import site'failed; use -v traceback
Traceback (most recent call last):
File "/usr/local/lib/python2.5/getopt.py", line 37 in <module>
import os
File "/usr/local/lib/python2.5/os.py", line 690 in <module>
import copy_reg as copy_reg
File "/usr/local/lib/python2.5/copy_reg.py", line 7 in <module>
from types import ClassType as _ClassType
ImportError: No module named types


but have no idea what it means. Any clues?

Thanks
John
PS I saved the message as a screen capture png file. How do I insert it in a message to save typing it out?

User avatar
Eastern Counties
Posts: 145
Joined: Tue 31 Jan 2006, 18:09
Location: UK

#29 Post by Eastern Counties »

Its OK, all sorted now, but not certain which operation did it.

I uninstalled HPLIP and downloaded the pet again, but from megaupload this time. I installed the libgphoto.pet and then re-installed HPLIP and this time it worked perfectly.

John

minoruhackerguy
Posts: 31
Joined: Wed 28 Nov 2007, 00:47
Contact:

#30 Post by minoruhackerguy »

This all looks very great. XD I can't wait to install. I have a crappy printer that could REALLY use the HPLIP drivers.

Kudo's to the both of you. ;)

---

Oh, and, Next time you need a good place to host something, you should try wikiupload. There is a 5gb file size limit and WAY less adds that megaupload.

User avatar
HairyWill
Posts: 2928
Joined: Fri 26 May 2006, 23:29
Location: Southampton, UK

#31 Post by HairyWill »

thank you
hplip works great for me on puppy 3.01 using a HP C5180 multi-function.

I used the pet on puppylinux.ca. It took me a while of looking at logs to work out that I needed hpijs as well. It might be a good idea to repackage the pet to include it or at least give the user a warning that it is missing.
Will
contribute: [url=http://www.puppylinux.org]community website[/url], [url=http://tinyurl.com/6c3nm6]screenshots[/url], [url=http://tinyurl.com/6j2gbz]puplets[/url], [url=http://tinyurl.com/57gykn]wiki[/url], [url=http://tinyurl.com/5dgr83]rss[/url]

olovram
Posts: 109
Joined: Sat 08 Mar 2008, 02:58

#32 Post by olovram »

would you mind uploading it to rapidshare or anywhere else, 'cause im from mexico and i cant download from megaupload:(

User avatar
HairyWill
Posts: 2928
Joined: Fri 26 May 2006, 23:29
Location: Southampton, UK

#33 Post by HairyWill »

there are a couple of other locations for it here
http://www.murga-linux.com/puppy/viewtopic.php?t=25482

Does Mexico block access to megaupload?
Will
contribute: [url=http://www.puppylinux.org]community website[/url], [url=http://tinyurl.com/6c3nm6]screenshots[/url], [url=http://tinyurl.com/6j2gbz]puplets[/url], [url=http://tinyurl.com/57gykn]wiki[/url], [url=http://tinyurl.com/5dgr83]rss[/url]

olovram
Posts: 109
Joined: Sat 08 Mar 2008, 02:58

#34 Post by olovram »

thank you:)
no not actually, but i cant download it cuase every time i access theese appears "All download slots assigned to your country (Mexico) are currently in use. Please try again in a few hours or install the Megaupload Toolbar for immediate access - with the toolbar installed, there are no more slot limitations for you!"

Post Reply