LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > 4MLinux
User Name
Password
4MLinux This forum is for the discussion of 4MLinux.

Notices


Reply
  Search this Thread
Old 02-14-2017, 08:16 AM   #1
i720
LQ Newbie
 
Registered: Jul 2016
Posts: 9

Rep: Reputation: Disabled
add gnupg to 4MLinux maybe?


Hey! just tried 4MLinux for the first time yesterday. Spent a little time these couple of days setting up my hp printer which unfortunately requires plugin. Here comes the problem: hp-plugin results in error "error: GPG command not found".
to be precise when running in debug mode the last few seemingly relevant lines go like this:

hp-plugin[30295]: debug: File error page score: 0.000000
hp-plugin[30295]: debug: Validating /root/.hplip/hplip-3.16.8-plugin.run with /root/.hplip/hplip-3.16.8-plugin.run.asc signature file
()
error: GPG command not found
hp-plugin[30295]: debug: Unlocking: /var/hp-plugin.lock

i assume it needs gnupg? i did install the whole "Development packages" suite with that neat little script you provide. i did try compiling various gnupg versions (1.4+ and 2.0+) but i never even reached the "make install" phase, which i could provide more info on if needed, but yet it seems to be a whole other story).

and to keep it in one thread for now, another small thing to report on so far would be that after you install seamonkey extension, it automatically loads it with a prompt window of what to set it as default for: browser, email etc... but that little window would not close out by pressing "ok" button, only would close by pressing x. just a small thing to keep in mind i guess.

either way thanks a lot for your work, there's just so much to appreciate for sure, even on the first glance!
 
Old 02-14-2017, 10:32 AM   #2
zk1234
4MLinux Maintainer
 
Registered: Oct 2010
Location: Poland
Distribution: 4MLinux, Slackware
Posts: 568

Rep: Reputation: 129Reputation: 129
Hi,

That's right. GnuPG is not included in 4MLinux. Fortunately, some small scripts written by me provide limited support for Debian, Fedora and Slackware packages. The quick workaround you can try:
Code:
#!/bin/sh
#
#
 mkdir $HOME/rpms
 cd $HOME/rpms
 file1=g/gnupg-1.4.21-1.fc25.i686.rpm
 file2=n/ncurses-libs-6.0-6.20160709.fc25.i686.rpm
 file3=r/readline-6.3-8.fc24.i686.rpm
 for i in $file1 $file2 $file3; do
   wget http://dl.fedoraproject.org/pub/fedora/linux/releases/25/Everything/i386/os/Packages/$i
 done
 for i in $(ls); do
   rpm -i $i
 done
Now you should have the gpg command ready to use.

.
 
1 members found this post helpful.
Old 02-14-2017, 11:09 AM   #3
zk1234
4MLinux Maintainer
 
Registered: Oct 2010
Location: Poland
Distribution: 4MLinux, Slackware
Posts: 568

Rep: Reputation: 129Reputation: 129
Quote:
Originally Posted by i720 View Post
and to keep it in one thread for now, another small thing to report on so far would be that after you install seamonkey extension, it automatically loads it with a prompt window of what to set it as default for: browser, email etc... but that little window would not close out by pressing "ok" button, only would close by pressing x. just a small thing to keep in mind i guess.
I know this problem. This is a relatively small price (it appears only once after installing SeaMonkey) 4MLinux must pay for its own implementation of the mime type system. Thanks to this system many other things work in the way expected by me. It looks that 4MLinux is like Android: it's GNU Linux but it does many things in its own way (much different than in other distros).

.
 
Old 02-14-2017, 04:42 PM   #4
i720
LQ Newbie
 
Registered: Jul 2016
Posts: 9

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by zk1234 View Post
Hi,

That's right. GnuPG is not included in 4MLinux. Fortunately, some small scripts written by me provide limited support for Debian, Fedora and Slackware packages. The quick workaround you can try:
Code:
#!/bin/sh
#
#
 mkdir $HOME/rpms
 cd $HOME/rpms
 file1=g/gnupg-1.4.21-1.fc25.i686.rpm
 file2=n/ncurses-libs-6.0-6.20160709.fc25.i686.rpm
 file3=r/readline-6.3-8.fc24.i686.rpm
 for i in $file1 $file2 $file3; do
   wget http://dl.fedoraproject.org/pub/fedora/linux/releases/25/Everything/i386/os/Packages/$i
 done
 for i in $(ls); do
   rpm -i $i
 done
Now you should have the gpg command ready to use.

.
Hey! thank you so much for a quick reply! it sure did install gnupg really good! unfortunately having this step passed, i'm facing another problem with this hp-plugin - it now complains that:
error: Unable to load pkit...is HPLIP installed?
error: Python gobject/dbus may be not installed

i tried to mimic your script and go like
Code:
#!/bin/sh
#
#
 mkdir $HOME/rpms
 cd $HOME/rpms
 file1=p/python-gobject-3.22.0-1.fc25.i686.rpm
 file2=p/python-gobject-base-3.22.0-1.fc25.i686.rpm
for i in $file1 $file2; do
   wget http://dl.fedoraproject.org/pub/fedo...verything/i386
 done
 for i in $(ls); do
   rpm -i $i
 done
but it was not enough apparently if significant at all.
anyway, once again thanks a lot for your time and efforts!

Last edited by i720; 02-14-2017 at 04:43 PM. Reason: added the code tags
 
Old 02-14-2017, 04:58 PM   #5
zk1234
4MLinux Maintainer
 
Registered: Oct 2010
Location: Poland
Distribution: 4MLinux, Slackware
Posts: 568

Rep: Reputation: 129Reputation: 129
Hi again,

In a moment you will install full Fedora under 4MLinux, which rather does not make sense :-)

Possible solution: when adding your printer in CUPS, check if you can choose the Gutenprint driver (and not the HPLIP one).

.
 
Old 02-14-2017, 05:10 PM   #6
i720
LQ Newbie
 
Registered: Jul 2016
Posts: 9

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by zk1234 View Post
Hi again,

In a moment you will install full Fedora under 4MLinux, which rather does not make sense :-)

Possible solution: when adding your printer in CUPS, check if you can choose the Gutenprint driver (and not the HPLIP one).

.
yeah, i guess it's knida missing the original purpose... but that's pretty much only two things i'm missing: that hplip plugin and chinese input which i was hoping to compile from scim's github to see how it would go. and as far as i know that proprietary plugin is rather mandatory... so little luck i guess
 
Old 02-14-2017, 05:12 PM   #7
zk1234
4MLinux Maintainer
 
Registered: Oct 2010
Location: Poland
Distribution: 4MLinux, Slackware
Posts: 568

Rep: Reputation: 129Reputation: 129
Quote:
Originally Posted by i720 View Post
yeah, i guess it's knida missing the original purpose... but that's pretty much only two things i'm missing: that hplip plugin and chinese input which i was hoping to compile from scim's github to see how it would go. and as far as i know that proprietary plugin is rather mandatory... so little luck i guess
:-(

PS.
Thanks for your nice words about 4MLinux !

Last edited by zk1234; 02-14-2017 at 05:14 PM.
 
Old 02-14-2017, 05:25 PM   #8
i720
LQ Newbie
 
Registered: Jul 2016
Posts: 9

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by zk1234 View Post
:-(

PS.
Thanks for your nice words about 4MLinux !
it's very well worth it to say the least good luck with further development!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
The 4MLinux 15.0 series zk1234 4MLinux 18 01-01-2016 04:17 AM
4MLinux zk1234 Linux - News 47 10-01-2015 08:51 AM
LXer: Final 4MLinux and 4MLinux Allinone Edition 12.0 Released with PAE Support LXer Syndicated Linux News 0 05-10-2015 12:56 AM
how to add PGP key to GnuPG or PGPKeyring " zameer_india Linux - Software 3 10-05-2004 11:21 PM


All times are GMT -5. The time now is 03:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration