nixCraft Linux Forum

nixCraft

Linux Tech Support Forum

gnupg

This is a discussion on gnupg within the All about FreeBSD/OpenBSD/NetBSD forums, part of the *BSD Operating systems category; Hi, Before I begin, I'm a complete novice: I tried to install the latest version of gnupg-2.0....


Go Back   nixCraft Linux Forum > *BSD Operating systems > All about FreeBSD/OpenBSD/NetBSD

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 05-07-2008, 11:12 PM
Junior Member
User
 
Join Date: May 2008
My distro: FreeBSD
Posts: 3
redp is on a distinguished road
Default gnupg

Hi,

Before I begin, I'm a complete novice:

I tried to install the latest version of gnupg-2.0.9 and it has dependencies that I'm not quite sure how to update and don't really have time to address them. I'd like to 'roll-back' to gnupg-2.0.4 but portupgrade has de-installed gnupg-2.0.4 and not installed gnupg-2.0.9.

I can't seem to install gnupg-2.0.9 as it's dependent on libassuan-1.0.4 and I only have libassuan-1.0.3. I can't see how I can proceed and I'm not quite sure what I can do? I tried using portsnap to update ports and I get a response telling me I have stale dependencies for gnupg-2.0.4.

Could someone point me in the right direction?

Many Thanks
Reply With Quote
  #2 (permalink)  
Old 05-08-2008, 01:12 AM
rockdalinux's Avatar
Contributors
User
 
Join Date: May 2005
Location: Bangalore
My distro: RHEL, HP-UX, Solaris, FreeBSD, Ubuntu
Posts: 521
rockdalinux is on a distinguished road
Default

Have you tried to run make deinstall? Go to gnupg-2.0.9 directory (or directory where you type make install clean) command and type
Code:
make deinstall
__________________
Rocky Jr.
You may have my body & soul, but you will never touch my pride!

If you have knowledge, let others light their candles at it.

Certified to work on HP-UX / Sun Solaris / RedHat
Reply With Quote
  #3 (permalink)  
Old 05-08-2008, 02:30 AM
Junior Member
User
 
Join Date: May 2008
My distro: FreeBSD
Posts: 3
redp is on a distinguished road
Default

Hi Rocky,

I haven't tried running make deinstall, I did try running make install clean but that didn't work. If I run make deinstall will that affect the dependencies?

If the dependencies are unaffected and I run make deinstall and then run make install clean (assuming that work would that install gnupg-2.0.9 or gnupg-2.0.4. Sorry, I'm a bit confused and don't want to mess anything else up.
Reply With Quote
  #4 (permalink)  
Old 05-08-2008, 03:05 AM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
My distro: Any distro with shell
Posts: 838
nixcraft is an unknown quantity at this point
Default

Do you have 2.0.9 installed? What is the output following command?
Code:
pkg_info | grep gnupg
if 2.0.9 is installed just remove it.

If nothing is installed go to /usr/ports/security/gnupg
Code:
cd /usr/ports/security/gnupg
make rmconfig
make install clean
__________________
Vivek | My personal blog
Linux Evangelist
Play hard stay cool
Reply With Quote
  #5 (permalink)  
Old 05-08-2008, 02:27 PM
Junior Member
User
 
Join Date: May 2008
My distro: FreeBSD
Posts: 3
redp is on a distinguished road
Default

Hi Nixcraft,

I get the following when following your instructions:
Code:
# pkg_info | grep gnupg
# cd /usr/ports/security/gnupg
# make rmconfig
===> Removing user-configured options for gnupg-2.0.9
# make install clean
===>   gnupg-2.0.9 depends on package: libassuan>=1.0.4 - not found
===>   Found libassuan-1.0.3, but you need to upgrade to libassuan>=1.0.4.
*** Error code 1

Stop in /usr/ports/security/gnupg.
I've tried upgrading libassuan to 1.0.4 but portupgrade says I don't need to upgrade?

Code:
# portupgrade -vRr libassuan
--->  Session started at: Thu, 08 May 2008 09:56:37 +0100
** No need to upgrade 'pth-2.0.7' (>= pth-2.0.7). (specify -f to force)
--->  ** Upgrade tasks 2: 0 done, 1 ignored, 0 skipped and 0 failed
** No need to upgrade 'libassuan-1.0.3' (>= libassuan-1.0.3). (specify -f to force)
--->  ** Upgrade tasks 2: 0 done, 2 ignored, 0 skipped and 0 failed
--->  Listing the results (+:done / -:ignored / *:skipped / !:failed)
        - devel/pth (pth-2.0.7)
        - security/libassuan (libassuan-1.0.3)
--->  Packages processed: 0 done, 2 ignored, 0 skipped and 0 failed
--->  Session ended at: Thu, 08 May 2008 09:56:40 +0100 (consumed 00:00:02)
Any ideas?
Reply With Quote
Reply

Bookmarks

Tags
freebsd , gnupg , ports , troubleshooting

Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +5.5. The time now is 12:46 AM.


Powered by vBulletin® Version 3.7.2 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30