Support for 2.6.26 kernel ?

Asked by Martin Dige

Thanks for all your effort for making it possible to use truecrypt on Debian. I am however running a custom 2.6.26 Debian kernel and tc-dpkg fails with the following error:

touch configure-stamp
# Check Truecrypt version compatibility
if ! dpkg --compare-versions "4.3a" ge "4.1" && \
             dpkg --compare-versions "4.3a" le "4.3a"; \
        then \
            echo "[FATAL] Not a supported truecrypt version." \
                 " 4.3a != 4.3a" >&2; \
            return 4; \
        fi
# Check Kernel version compatibility
if ! dpkg --compare-versions 2.6.26 le 2.6.25 ; then \
            echo "[WARN] Not a supported kernel version." \
                 " 2.6.26 > 2.6.25" >&2; \
            return 4; \
        fi
[WARN] Not a supported kernel version. 2.6.26 > 2.6.25
/bin/sh: line 3: return: can only `return' from a function or sourced script
make: *** [kernel-version] Fejl 1
dpkg-buildpackage: failure: debian/rules build gave error exit status 2
debuild: fatal error at line 1319:
dpkg-buildpackage -rfakeroot -D -us -uc -b -i failed

Is it because that 2.6.26 kernels are not supported yet or have I somehow failed to follow the instructions properly ?

Thanks in advance.

Best regards

Martin

Question information

Language:
English Edit question
Status:
Solved
For:
truecrypt-installer Edit question
Assignee:
No assignee Edit question
Solved by:
Jari Aalto
Solved:
Last query:
Last reply:
Revision history for this message
Best Jari Aalto (jari-aalto) said :
#1

The message:

  [WARN] Not a supported kernel version. 2.6.26 > 2.6.25

means that every new kernel needs verification before it can be labeled "tested". In this case the last supported kernel was 2.6.25.

The 2.6.26 support is available in revision 279 of 'truecrypt-deb'. No actions are needed to install
anything. Running the deb build command again automatically retrieves latest code:

  tc-dpkg --auto --install

-- Jari

Revision history for this message
Martin Dige (mdige) said :
#2

Thanks Jari Aalto, that solved my question.

Revision history for this message
Martin Dige (mdige) said :
#3

Hi Jari

Sorry for a very late reply. I just wanted to let you know that I worked like a charm.

Thank you so much

Best regards

Martin

Revision history for this message
Outdooralex (alex-outdooralex) said :
#4

Hi, I have kind of the same problem on Ubuntu 9.04

Installation breaks with an error:
# kernel-version-check: Check Kernel version compatibility
[FATAL] Not a supported kernel version. 2.6.28-11-server > 2.6.27

how do I go from here?

or how can I deinstall since I can't even install the TrueCrypt.deb which is now in conflict with tc-installer?

Revision history for this message
Jari Aalto (jari-aalto) said :
#5

The latest installer supports Kernels up to 2.6.30.

To remove packages, see dpkg(1) manual page and options --purge --remove.

-- Jari