Truecrypt missing in SL 4.0 [Solved]

Discussions Regarding Software

Moderator: Moderators

Post Reply
thenthenio
Old Dear Hen
Posts: 522
Joined: Thu Mar 01, 2007 23:11
Location: Melegnano (MI) Italy

Truecrypt missing in SL 4.0 [Solved]

Post by thenthenio » Fri Jan 02, 2009 22:11

In SL 3.5.1 I was using Truecrypt.
In SL 4.0 it was removed during Entropy upgrade.
Actually Equo says Truecrypt is unavailable and Emerge says it is masked...
Is there a way out?

Thanks.
Mauro
Last edited by thenthenio on Thu Jan 15, 2009 22:13, edited 1 time in total.

micia
Sagely Hen
Posts: 2718
Joined: Wed Nov 26, 2008 16:41
Contact:

Re: Truecrypt missing in SL 4.0

Post by micia » Mon Jan 12, 2009 12:31

Apparently TrueCrypt has some problem with Gentoo,
however here is a tutorial from Gentoo Wiki on how to emerge it.

http://en.gentoo-wiki.com/wiki/TrueCrypt

CatalanUser
Growing Hen
Posts: 159
Joined: Fri Oct 26, 2007 9:26
Location: Catalunya

Re: Truecrypt missing in SL 4.0

Post by CatalanUser » Mon Jan 12, 2009 18:30

truecrypt is in Entropy, and it's working fine for me:

Code: Select all

equo search app-crypt/truecrypt-6.0a
/EDIT/ - Sorry, I've just realised you should be in a x86-64 system while I'm in a x86. The package is available in Entropy for x86 and not for x86-64.

thenthenio
Old Dear Hen
Posts: 522
Joined: Thu Mar 01, 2007 23:11
Location: Melegnano (MI) Italy

Re: Truecrypt missing in SL 4.0

Post by thenthenio » Thu Jan 15, 2009 9:21

Thank you for the help!
I followed the guide and unfortunately in my case emerge was ignoring the yarik-overlay even if layman -l was listing it as added... Don't know absolutely why!!!
Afre huors of tries (also trying to download version 6.0a which was instead listed by emerge -s), the solution came out from the sabayon IRC (tangent Iwonder|too).
I had to add this line to /usr/portage/local/layman/make.conf file:

Code: Select all

/usr/portage/local/layman/yarik-overlay
I tried adding yarik-overlay on an SL 3.5 and that line was automatically added to the file!!!
Anyway after that truecrypt was installed and working!

Thank you so much!
Mauro

wolfden
Sharecropper
Posts: 9051
Joined: Sat Jan 14, 2006 0:55
Location: Midwest USA
Contact:

Re: Truecrypt missing in SL 4.0

Post by wolfden » Thu Jan 15, 2009 11:23

sounds like your make.conf isn't set right

should have the line that says:

Code: Select all

source /usr/local/portage/layman/make.conf
than your overlays should all be working fine

User avatar
Fitzcarraldo
Sagely Hen
Posts: 8096
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom
Contact:

Re: Truecrypt missing in SL 4.0

Post by Fitzcarraldo » Thu Jan 15, 2009 12:36

Gotta say that the Gentoo decision to change the default overlay sources directory from /usr/portage/local/layman/ to /usr/local/portage/layman/ has been a royal PITA in practice. Presumably done for a good reason, but caused a lot of confusion for many people (e.g. http://forum.sabayonlinux.org/viewtopic ... 54&t=14347). :roll:

thenthenio
Old Dear Hen
Posts: 522
Joined: Thu Mar 01, 2007 23:11
Location: Melegnano (MI) Italy

Re: Truecrypt missing in SL 4.0

Post by thenthenio » Thu Jan 15, 2009 21:32

sounds like your make.conf isn't set right
You are right, Wolfden, but the situation is little more complicated:

Code: Select all

# grep source /etc/make.conf
source /usr/[b]portage/local[/b]/layman/make.conf
and (before manual adding yarik-overlay):

Code: Select all

# cat /usr/[b]portage/local[/b]/layman/make.conf
PORTDIR_OVERLAY="
/usr/portage/local/layman/sabayon
$PORTDIR_OVERLAY
"
So looking the other place:
# cat /usr/local/portage/layman/make.conf
PORTDIR_OVERLAY="
/usr/local/portage/layman/desktop-effects
/usr/local/portage/layman/yarik-overlay
/usr/local/portage/layman/sabayon
$PORTDIR_OVERLAY
"
Doing locate ebuild | grep effects I can see that the ebuild files are in /usr/local/portage.
Here is what I thnk:l
Portage thinks overlays are in /usr/portage/local but Layman thinks the overlays are in /usr/local/portage.
In fact:

Code: Select all

# emerge -s cairo-dock-plugins
Searching...
[ Results for search key : cairo-dock-plugins ]
[ Applications found : 1 ]

*  x11-plugins/cairo-dock-plugins
      Latest version available: 1.5.4.2-r1
      Latest version installed: 1.5.4.2-r1
      Size of files: 43,263 kB
      Homepage:      http://developer.berlios.de/projects/cairo-dock/
      Description:   Cairo-dock is yet another dock applet.
      License:       GPL
#
#
# eix cairo-dock-plugins
[I] x11-plugins/cairo-dock-plugins [1]
     Available versions:  (~)1.5.4.2-r1 {alsa-mixer clock compiz-icon dbus dustbin gnome-integration gnome-integration-old logout mail netspeed penguin powermanager rame rendering rhythmbox shortcuts show-desklets show-desktop slider stacks switcher systray terminal tomboy weather wifi xfce-integration xgamma xmms}
     Installed versions:  1.5.4.2-r1(01:14:50 26/12/2008)(alsa-mixer clock compiz-icon dbus dustbin gnome-integration gnome-integration-old logout mail netspeed penguin powermanager rame rendering rhythmbox shortcuts show-desklets slider stacks switcher systray terminal tomboy weather wifi xfce-integration xgamma -show-desktop -xmms)
     Homepage:            http://developer.berlios.de/projects/cairo-dock/
     Description:         Cairo-dock is yet another dock applet.

[1] "sabayon" /usr/portage/local/layman/sabayon

Code: Select all

# layman -l
* desktop-effects           [Git       ] (source: git://git.overlays.gentoo....)
* sabayon                   [Subversion] (source: http://svn.sabayonlinux.or...)
* yarik-overlay             [Subversion] (source: http://yarik-overlay.googl...)
In desktop effects cairo-dock-plugins is version 1.6.3.1!!!
So, now, the question is: which of them is right: portage or layman.
In other words what should I do to fix this mismatching configuration?

This also means that Fitzcarraldo is right saying this:
Gotta say that the Gentoo decision to change the default overlay sources directory from /usr/portage/local/layman/ to /usr/local/portage/layman/ has been a royal PITA in practice
Ciao.
Mauro

thenthenio
Old Dear Hen
Posts: 522
Joined: Thu Mar 01, 2007 23:11
Location: Melegnano (MI) Italy

Re: Truecrypt missing in SL 4.0

Post by thenthenio » Thu Jan 15, 2009 22:09

I decided layman is right because its configuration file is in /usr/local/portage/layman, the same place the ovelays ebuilds are, so /etc/make.conf points to the INCORRECT layman configuration file (/usr/portage/local/layman/make.conf).
Besides this it should be a mess moving the ebuilds where Portage thinks is the correct place.
The correct fix is:
Replace source /usr/portage/local/layman/make.conf with source /usr/local/portage/layman/make.conf in /etc/make.conf!!!

Ciao.
Mauro

User avatar
Fitzcarraldo
Sagely Hen
Posts: 8096
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom
Contact:

Re: Truecrypt missing in SL 4.0 [Solved]

Post by Fitzcarraldo » Fri Jan 16, 2009 1:29

You reached the correct conclusion, Mauro. If you read the thread I mentioned earlier (http://forum.sabayonlinux.org/viewtopic ... 54&t=14347) I explain the details.

Once I made sure all the various config files (including layman.cfg) had the correct (same) sources directory (/usr/local/portage/layman/) then I did a: layman -d sabayon; emerge --sync; emerge -1v portage; emerge -1v layman; emerge -1v eix; layman -a sabayon; layman -S; update-eix. This cleaned up all the directories and left everything in the correct configuration.

thenthenio
Old Dear Hen
Posts: 522
Joined: Thu Mar 01, 2007 23:11
Location: Melegnano (MI) Italy

Re: Truecrypt missing in SL 4.0 [Solved]

Post by thenthenio » Fri Jan 16, 2009 12:10

Yes, it is the same problem.
I'll do all those commands to fix and clean.

Thanks.
Mauro

Post Reply