Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

Can't emerge truecrypt

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
10 posts • Page 1 of 1
Author
Message
MikeG1
n00b
n00b
Posts: 34
Joined: Sun Aug 15, 2010 12:46 pm

Can't emerge truecrypt

  • Quote

Post by MikeG1 » Sat Aug 28, 2010 11:33 am

When trying to emerge truecrypt I get the following error:

Code: Select all

emerge -av truecrypt                                                                                                
                                                                                                                                 
 * IMPORTANT: 4 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.


These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N F  ] app-crypt/truecrypt-6.3a  USE="X" 1,862 kB

Total: 1 package (1 new), Size of downloads: 1,862 kB
Fetch Restriction: 1 package (1 unsatisfied)

Would you like to merge these packages? [Yes/No] y

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) app-crypt/truecrypt-6.3a

!!! app-crypt/truecrypt-6.3a has fetch restriction turned on.
!!! This probably means that this ebuild's files must be downloaded
!!! manually.  See the comments in the ebuild for more information.

 * Please download .tar.gz source from:
 * http://www.truecrypt.org/downloads2
 * Then put the file in /usr/portage/distfiles/truecrypt-6.3a.tar.gz
 * Fetch failed for 'app-crypt/truecrypt-6.3a', Log file:
 *  '/var/tmp/portage/app-crypt/truecrypt-6.3a/temp/build.log'

>>> Failed to emerge app-crypt/truecrypt-6.3a, Log file:

>>>  '/var/tmp/portage/app-crypt/truecrypt-6.3a/temp/build.log'

 * Messages for package app-crypt/truecrypt-6.3a:

 * Fetch failed for 'app-crypt/truecrypt-6.3a', Log file:
 *  '/var/tmp/portage/app-crypt/truecrypt-6.3a/temp/build.log'
 * Please download .tar.gz source from:
 * http://www.truecrypt.org/downloads2
 * Then put the file in /usr/portage/distfiles/truecrypt-6.3a.tar.gz

 * IMPORTANT: 4 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.


Even though I manually downloaded the file and put it in the listes location I still get the same output.


THX
Top
MotivatedTea
Apprentice
Apprentice
User avatar
Posts: 269
Joined: Mon Nov 06, 2006 7:51 pm
Location: Toronto, Canada

  • Quote

Post by MotivatedTea » Sat Aug 28, 2010 4:43 pm

- Did you download version 6.3a, which is under "Previous Releases" -- not the current version?
- Did you download the .tar.gz version?
- Did you rename the file to "truecrypt-6.3a.tar.gz" and put it in "/usr/portage/distfiles"?
Top
MikeG1
n00b
n00b
Posts: 34
Joined: Sun Aug 15, 2010 12:46 pm

  • Quote

Post by MikeG1 » Sat Aug 28, 2010 5:27 pm

MotivatedTea wrote:- Did you download version 6.3a, which is under "Previous Releases" -- not the current version?
- Did you download the .tar.gz version?
- Did you rename the file to "truecrypt-6.3a.tar.gz" and put it in "/usr/portage/distfiles"?

Yes, did all of the above..
The result is the output posted.

Any other ideas ?


THX
Top
MotivatedTea
Apprentice
Apprentice
User avatar
Posts: 269
Joined: Mon Nov 06, 2006 7:51 pm
Location: Toronto, Canada

  • Quote

Post by MotivatedTea » Sat Aug 28, 2010 5:50 pm

The error message you're getting really indicates that the ebuild can't find the file it expects in /usr/portage/distifles. What is the output of "ls -l /usr/portage/distfiles/truecrypt-6.3a.tar.gz"?

Maybe it's a permission problem, or perhaps the file is corrupt or the wrong version (ie. x86 vs x86_64). What is the output of "sha1sum /usr/portage/distfiles/truecrypt-6.3a.tar.gz"?
Top
MikeG1
n00b
n00b
Posts: 34
Joined: Sun Aug 15, 2010 12:46 pm

  • Quote

Post by MikeG1 » Sat Aug 28, 2010 9:02 pm

MotivatedTea wrote:The error message you're getting really indicates that the ebuild can't find the file it expects in /usr/portage/distifles. What is the output of "ls -l /usr/portage/distfiles/truecrypt-6.3a.tar.gz"?

Maybe it's a permission problem, or perhaps the file is corrupt or the wrong version (ie. x86 vs x86_64). What is the output of "sha1sum /usr/portage/distfiles/truecrypt-6.3a.tar.gz"?
ah ok... I checked the logfile:

Code: Select all

 [32;01m*[0m Please download .tar.gz source from:
 [32;01m*[0m http://www.truecrypt.org/downloads2
 [32;01m*[0m Then put the file in /usr/portage/distfiles/truecrypt-6.3a.tar.gz
!!! Previously fetched file: 'truecrypt-6.3a.tar.gz'
!!! Reason: Filesize does not match recorded size
!!! Got:      1619086
!!! Expected: 1906146
Refetching... File renamed to '/usr/portage/distfiles/truecrypt-6.3a.tar.gz._checksum_failure_.r67J39'
Why the checksum error.. I downloaded the tar.gz a couple of times..
Top
MotivatedTea
Apprentice
Apprentice
User avatar
Posts: 269
Joined: Mon Nov 06, 2006 7:51 pm
Location: Toronto, Canada

  • Quote

Post by MotivatedTea » Sat Aug 28, 2010 11:07 pm

It looks like the file size has changed. That means that the source tarball has changed since the ebuild was last updated. If there isn't already a gentoo bug about this, you should probably file one. Note, however, that due to issues with the Truecypt license, the ebuild maintainers may not want to move quickly on this (see Gentoo bug 241650).

If you can locate a copy of the truecrypt6.2 source tarball, you could revert to that version. It no longer appears to be available from the Truecrypt website. You might be able to find a copy from some random mirror somewhere out there on the internet. Portage checks multiple hashes of the file (as you've seen), so as long as you no longer get a checksum error you can have some confidence that you're not installing a maliciously-modified version.

Alternatively, assuming you trust the Truecrypt authors, you could copy the ebuild to your own local overlay and update it:
- create a local overlay for yourself if you haven't already
- copy the truecrypt ebuild into your own overlay
- download the source tarball (which you have done already)
- "cd" into the directory in your overlay where the ebuild is and update the ebuild's manifest by running "ebuild truecrypt-6.3a.ebuild digest". What this will do is update the checksums in the "Manifest" file in the same directory. Then you should be able to emerge the (modified) version from your own overlay.
Top
MikeG1
n00b
n00b
Posts: 34
Joined: Sun Aug 15, 2010 12:46 pm

  • Quote

Post by MikeG1 » Sun Aug 29, 2010 12:54 am

MotivatedTea wrote:It looks like the file size has changed. That means that the source tarball has changed since the ebuild was last updated. If there isn't already a gentoo bug about this, you should probably file one. Note, however, that due to issues with the Truecypt license, the ebuild maintainers may not want to move quickly on this (see Gentoo bug 241650).

If you can locate a copy of the truecrypt6.2 source tarball, you could revert to that version. It no longer appears to be available from the Truecrypt website. You might be able to find a copy from some random mirror somewhere out there on the internet. Portage checks multiple hashes of the file (as you've seen), so as long as you no longer get a checksum error you can have some confidence that you're not installing a maliciously-modified version.

Alternatively, assuming you trust the Truecrypt authors, you could copy the ebuild to your own local overlay and update it:
- create a local overlay for yourself if you haven't already
- copy the truecrypt ebuild into your own overlay
- download the source tarball (which you have done already)
- "cd" into the directory in your overlay where the ebuild is and update the ebuild's manifest by running "ebuild truecrypt-6.3a.ebuild digest". What this will do is update the checksums in the "Manifest" file in the same directory. Then you should be able to emerge the (modified) version from your own overlay.
ok thx.. filled a new bug report here: http://bugs.gentoo.org/show_bug.cgi?id=335073
Top
krotuss
Apprentice
Apprentice
Posts: 253
Joined: Fri Aug 01, 2008 6:11 pm

  • Quote

Post by krotuss » Sun Aug 29, 2010 9:05 am

MikeG1 wrote:
MotivatedTea wrote:The error message you're getting really indicates that the ebuild can't find the file it expects in /usr/portage/distifles. What is the output of "ls -l /usr/portage/distfiles/truecrypt-6.3a.tar.gz"?

Maybe it's a permission problem, or perhaps the file is corrupt or the wrong version (ie. x86 vs x86_64). What is the output of "sha1sum /usr/portage/distfiles/truecrypt-6.3a.tar.gz"?
ah ok... I checked the logfile:

Code: Select all

 [32;01m*[0m Please download .tar.gz source from:
 [32;01m*[0m http://www.truecrypt.org/downloads2
 [32;01m*[0m Then put the file in /usr/portage/distfiles/truecrypt-6.3a.tar.gz
!!! Previously fetched file: 'truecrypt-6.3a.tar.gz'
!!! Reason: Filesize does not match recorded size
!!! Got:      1619086
!!! Expected: 1906146
Refetching... File renamed to '/usr/portage/distfiles/truecrypt-6.3a.tar.gz._checksum_failure_.r67J39'
Why the checksum error.. I downloaded the tar.gz a couple of times..
Your file size is exactly the same as "Console-only - 32-bit (x86)" binary (truecrypt-6.3a-linux-console-x86.tar.gz). You need to download source tarball.
Top
sylvain_
n00b
n00b
Posts: 56
Joined: Mon Aug 13, 2007 10:42 pm

i got the same

  • Quote

Post by sylvain_ » Sun Aug 29, 2010 11:04 am

leave this bullshit that is truecrypt, and follow that : http://www.lylebackenroth.com/blog/2008 ... -and-luks/
you can create a simple file as a container
hunhun ça vaux mieux que pan tu l'aura
Top
MotivatedTea
Apprentice
Apprentice
User avatar
Posts: 269
Joined: Mon Nov 06, 2006 7:51 pm
Location: Toronto, Canada

  • Quote

Post by MotivatedTea » Sun Aug 29, 2010 12:47 pm

sylvain_: MikeG1 hasn't said what he is using Truecrypt for, but one of the main reasons I use it is that it's cross-platform compatible (Windows, Mac, Linux).
Top
Post Reply

10 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic