Envy 0.9.8 adds the support for Ubuntu Gutsy

There are a few announcements I would like to make:

1)
Envy is now available in 2 different packages: “Envy New” and “Envy Legacy”.
“Envy New” supports only Ubuntu Gutsy and Ubuntu Feisty. It is compliant with Debian’s New Python Policy.
“Envy Legacy” supports all the other systems which Envy used to support (have a look at my website)
Please, make sure you select the right package for your OS.

2) Envy now features a restore function which will completely remove what Envy did to your operative system and set the driver to either “nv” or “vesa”. You can call it by typing:
sudo envy --uninstall-all

This feature was suggested by Michael Vogt so that (in the future) Update Manager will be able to call this function and clean the system before you do a dist-upgrade (e.g. if you upgrade Gutsy to Hardy). This will finally solve the problems with Envy and dist-upgrades.

3) Envy can now be removed with a simple “sudo apt-get remove envy” without any need to type “sudo rm -R /usr/share/envy”.

4) Localisation is not ready since I wanted to release Envy today and I had to code at nights (I have an exam on October 22). I’ve decided to postpone this feature (I’ll do it after the exam, I promise).

5) This release includes a few bugfixes as usual.

6) After the exam I will ask your contribution in 2 ways:
a) I will open a logo/theme contest so as to replace Envy’s current theme (which is possibly Envy’s weakest point)
b) I will ask your help to have Envy localised in your language

You can get Envy here as usual

NOTE: if you installed a previous version of Envy you will have to type “sudo rm -R /usr/share/envy” once more (this is the last time, I promise πŸ˜‰ ) before you install version 0.9.8.

28 thoughts on “Envy 0.9.8 adds the support for Ubuntu Gutsy

  1. Summed up (I have little time right now): it will always provide you with the latest driver and works with recompiled kernels.

  2. Awesome! I upgraded to Gutsy last week and got stuck with single monitors. Figured I just tough it out and wait for a new Envy rather than trying to fix it myself and potentially screw things up. Just installed and ran it and am on dual display again. Thanks for a fantastic tool.

  3. Why do both the “new” and “legacy” packages have the same name ?

    I use Envy on several systems (some are Dapper, others Feisty and Gutsy) and find it confusing.

    Best regards,
    Patrick.

  4. Only yesterday did I notice that the version of python-central which I use was available only on Feisty and on Gutsy, therefore I had to solve this problem quickly.

    I’m planning to set up two distinct repositories.

    P.S. if you try to install Envy New on a legacy system you will not succeed since you will not be able to satisfy the dependencies.

  5. I get this error when running Envy, any hints please?

    E: There are problems and -y was used without –force-yes
    ENVY ERROR: The following packages cannot be installed:
    libqt3-mt-dev
    kernel-wedge
    rpm
    sharutils
    libgtk2.0-dev
    libxxf86misc-dev
    libxtst-dev
    libxxf86vm-dev
    libxinerama-dev

  6. @All
    I’ll let you know when Envy is ready for localisation

    @John Miner
    you should have Ubuntu’s key. However you can install those files separately and try Envy again.

  7. Thx, that fixed it and I am running with 7.10, I sent a donation. glad you responded and glad you created Envy.

  8. ah, what a life saver for a Ubuntu newbie. Thanks, without the new Envy for Gutsy I would’ve probably been stuck for another couple days.

  9. Thanks a lot for the new version! Which ATI/AMD driver will be used now? The newest 8.41.7 or the older 8.40.4 ?

    best regards
    retroK

  10. Just like with Feisty, Envy has saved my ass again.

    Upgraded to Gutsy today, and BOOM! Nvidia support is broken entirely. The official driver crap refuses to work. I do a search, find Envy has been updated, and a bunch of Ubuntu folk bitching that “It’s not needed anymore”. I grab it, run it, clean out the old crap, let it work it’s mojo, and voila, here I am in all my Compiz splendor.

    Thank you for this wonderful little tool. Twice now it’s succeeded where Ubuntu and nVidia have failed.

  11. Having trouble with Envy… The driver installs correctly and works(I have compiz-fusion running, so that should be a clue), but for some reason the nvidia-settings program says
    “You do not appear to be using the NVIDIA X driver. Please edit your X configuration file (just run `nvidia-xconfig` as root), and restart the X server.”

    Any hints on how to get it working?

  12. 1) can I see your /var/log/envy-installer.log ?
    2) try typing “sudo nvidia-xconfig” and restart the Xserver

  13. Couldn’t find it, only an nvidia-installer.log, and it doesn’t seem to have any helpful information.

    I’ve tried “sudo nvidia-xconfig” also, but I’ll try again and see what happens.

  14. Envy is great, but…

    I have the same problem than Benjamin and no OpenGL 1.3.
    β€œsudo nvidia-xconfig” didn’t fix it.

    Here’s my /var/log/envy-installer.log

    python pulse.py nvidia
    root@markus-desktop:/usr/share/envy# python pulse.py nvidia
    Envy – Version 0.9.8
    Ubuntu Gutsy 32bit
    Your graphic card has been detected as a GeForce 6600 GT
    Your graphic card is supported by the latest driver
    OK: All the packages are installed
    Checking the Dependencies for the New Method
    OK: All the packages are installed
    ENVY: The following packages will be removed:
    nvidia-glx
    nvidia-glx-dev
    nvidia-kernel-source
    nvidia-glx
    nvidia-glx-dev
    nvidia-kernel-source
    nvidia-settings

    ENVY: attempting to remove the packages
    An installer has been detected
    md5new: d41d8cd98f00b204e9800998ecf8427e
    md5sumold: d2f89f60cef8f9a0cc0ce228b46eeb8b
    ENVY ERROR: md5 Error! Trying to fetch the driver from the website
    No installer detected
    Download of the driver in progress, please wait
    –22:12:46– http://us.download.nvidia.com/XFree86/Linux-x86/100.14.19/NVIDIA-Linux-x86-100.14.19-pkg1.run
    => `NVIDIA-Linux-x86-100.14.19-pkg1.run’
    SelvitetÀÀn osoitetta us.download.nvidia.com… 84.53.134.40, 84.53.134.51
    YhdistetÀÀn palvelimeen us.download.nvidia.com|84.53.134.40|:80… yhdistetty.
    HTTP-pyyntΓΆ lΓ€hetetty, odotetaan vastausta… 200 OK
    Pituus: 15 105 713 (14M) [application/octet-stream]

    100%[================================================================================================>] 15 105 713 121.23K/s ETA 00:00

    22:14:48 (120.94 KB/s) – “NVIDIA-Linux-x86-100.14.19-pkg1.run” tallennettu [15105713/15105713]
    md5new: d2f89f60cef8f9a0cc0ce228b46eeb8b
    md5sumold: d2f89f60cef8f9a0cc0ce228b46eeb8b
    Checking the Dependencies for the New Method
    OK: All the packages are installed
    dpkg-buildpackage: source package is linux-restricted-modules-2.6.22
    dpkg-buildpackage: source version is 2.6.22-14
    dpkg-buildpackage: source changed by Colin Watson
    dpkg-buildpackage: host architecture i386
    dpkg-buildpackage: source version without epoch 2.6.22-14
    debian/rules clean
    echo ‘# THIS FILE IS AUTO-GENERATED FROM control.stub.in’ > debian/control.stub
    if [ “100.14.19” = “96.43.01” ]; then
    sed -e ‘s/@@NV_VERSION@@/96.43.01/g’
    -e ‘s/@@KVERSION@@/2.6.22/g’
    -e ‘s/@@ABIVER@@/2.6.22/g’
    debian/control.stub.in >> debian/control.stub;
    fi;
    if [ “100.14.19” = “100.14.19” ]; then
    sed -e ‘s/@@NV_NEW_VERSION@@/100.14.19/g’
    -e ‘s/@@KVERSION@@/2.6.22/g’
    -e ‘s/@@ABIVER@@/2.6.22/g’
    debian/control.stub.in >> debian/control.stub;
    fi;
    if [ “100.14.19” = “71.86.01” ]; then
    sed -e ‘s/@@NV_LEGACY_VERSION@@/71.86.01/g’
    -e ‘s/@@KVERSION@@/2.6.22/g’
    -e ‘s/@@ABIVER@@/2.6.22/g’
    debian/control.stub.in >> debian/control.stub;
    fi;
    echo ‘# THIS FILE IS AUTO-GENERATED FROM kernel-versions.in’ > debian/d-i/kernel-versions;
    sed -e ‘s/@@ABIVER@@/2.6.22/g’
    debian/d-i/kernel-versions.in >> debian/d-i/kernel-versions
    rm -rf /usr/share/envy/linux-restricted-modules-2.6.22/debian/d-i-i386
    mkdir -p /usr/share/envy/linux-restricted-modules-2.6.22/debian/d-i-i386/modules /usr/share/envy/linux-restricted-modules-2.6.22/debian/d-i-i386/firmware
    cp -a debian/d-i/modules/i386 /usr/share/envy/linux-restricted-modules-2.6.22/debian/d-i-i386/modules/
    cp: tiedoston “debian/d-i/modules/i386” tilaa ei voi lukea: No such file or directory
    make: [debian/control] Virhe 1 (ei huomioida)
    #-cp -a debian/d-i/firmware/i386 /usr/share/envy/linux-restricted-modules-2.6.22/debian/d-i-i386/firmware/
    cp -a debian/d-i/package-list debian/d-i/kernel-versions /usr/share/envy/linux-restricted-modules-2.6.22/debian/d-i-i386/
    ln -s .. /usr/share/envy/linux-restricted-modules-2.6.22/debian/d-i-i386/debian
    (cd /usr/share/envy/linux-restricted-modules-2.6.22/debian/d-i-i386 && kernel-wedge gen-control) > debian/control
    rm -rf /usr/share/envy/linux-restricted-modules-2.6.22/debian/d-i-i386
    dh_testdir
    dh_testroot
    rm -f unpack-stamp build-stamp build-kernel-stamp
    modalias-patterns-stamp
    rm -rf debian/build* debian/temp/
    rm -f debian/vmware-*-kernel-modules-*.postinst
    rm -f debian/vmware-*-kernel-modules-*.postrm
    rm -f debian/linux-restricted-modules-[0-9]*.postinst
    rm -f debian/linux-restricted-modules-*.postrm
    rm -f debian/linux-restricted-modules-*.preinst
    rm -f debian/linux-restricted-modules-*.prerm
    rm -f debian/nic-restricted-modules-*.postinst
    for i in -dev.dirs -dev.links -dev.postinst -dev.postrm
    -dev.preinst .dirs .docs .examples .links.amd64
    .links .override .postinst .postrm .preinst
    .prerm .README.Debian .reportbug .shlibs;
    do rm -f debian/nvidia-glx$i debian/nvidia-glx-legacy$i debian/nvidia-glx-new$i;
    done
    rm -rf nvidia/NVIDIA-Linux-x86-96.43.01-pkg1 nvidia/NVIDIA-Linux-x86-71.86.01-pkg1 nvidia/NVIDIA-Linux-x86-100.14.19-pkg1;
    rm -f nvidia-kernel-source.tar.gz nvidia-legacy-kernel-source.tar.gz
    nvidia-new-kernel-source.tar.gz
    rm -f fglrx-kernel-source.tar.gz
    #dh_clean `find debian/d-i/modules debian/d-i/firmware -type l 2>/dev/null`
    rm -rf /usr/share/envy/linux-restricted-modules-2.6.22/debian/d-i-i386
    rm -rf avm-download build-avm-stamp unpack-avm-stamp
    rm -rf debian/nic-restricted-modules-*-di
    debian/nic-restricted-firmware-*-di
    rm -f correct-lib-path
    cp -f debian/control.stub debian/control
    debian/rules build
    dh_testdir
    if [ -e debian/build ]; then
    mv debian/build debian/build.old;
    fi
    mkdir debian/build
    mkdir -p debian/build/2.6.22-14-386
    if [ “100.14.19” = “96.43.01” ]; then
    cd nvidia && sh ./NVIDIA-Linux-x86-96.43.01-pkg1.run –extract-only;
    if [ -d /usr/share/envy/linux-restricted-modules-2.6.22/nvidia/patches/ ]; then
    for i in /usr/share/envy/linux-restricted-modules-2.6.22/nvidia/patches/*; do
    patch -p0 -d nvidia/NVIDIA-Linux-x86-96.43.01-pkg1 debian/nvidia-glx$i;
    done;
    fi
    if [ “100.14.19” = “100.14.19” ]; then
    cd nvidia && sh ./NVIDIA-Linux-x86-100.14.19-pkg1.run –extract-only;
    if [ -d /usr/share/envy/linux-restricted-modules-2.6.22/nvidia/patches-new/ ]; then
    for i in /usr/share/envy/linux-restricted-modules-2.6.22/nvidia/patches-new/*; do
    patch -p0 -d nvidia/NVIDIA-Linux-x86-100.14.19-pkg1 debian/nvidia-glx-new$i;
    done;
    fi
    Creating directory NVIDIA-Linux-x86-100.14.19-pkg1
    Verifying archive integrity… OK
    Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86 100.14.19……………………………………………………………
    ……………………………………………………………………………………………………………………………
    …………………………………………………………..
    if [ “100.14.19” = “71.86.01” ]; then
    cd nvidia && sh ./NVIDIA-Linux-x86-71.86.01-pkg1.run –extract-only;
    if [ -d /usr/share/envy/linux-restricted-modules-2.6.22/nvidia/patches-legacy/ ]; then
    for i in /usr/share/envy/linux-restricted-modules-2.6.22/nvidia/patches-legacy/*; do
    patch -p0 -d nvidia/NVIDIA-Linux-x86-71.86.01-pkg1 debian/nvidia-glx-legacy$i;
    done;
    fi;
    sed -e “s/@@KVERSION@@/$i/g;” debian/linux-restricted-modules.postinst
    > debian/linux-restricted-modules-2.6.22-14-386.postinst;
    sed -e “s/@@KVERSION@@/$i/g;” debian/linux-restricted-modules.postrm
    > debian/linux-restricted-modules-2.6.22-14-386.postrm;
    touch unpack-stamp
    dh_testdir
    touch build-stamp
    touch unpack-avm-stamp
    dh_testdir
    touch build-avm-stamp
    dh_testdir
    #if [ “100.14.19” = “96.43.01” ]; then
    #sh -e nvidia/nvidia_supported
    #debian/build/2.6.22-14-386/nv/nv-kernel.o nvidia
    #> debian/build/2.6.22-14-386/nv/modules.alias.override;
    #fi
    #if [ “100.14.19” = “100.14.19” ]; then
    #sh -e nvidia/nvidia_supported
    #debian/build/2.6.22-14-386/nv-new/nv-kernel.o nvidia_new
    #> debian/build/2.6.22-14-386/nv/modules.alias.override;
    #fi
    #if [ “100.14.19” = “71.86.01” ]; then
    #sh -e nvidia/nvidia_supported
    #debian/build/2.6.22-14-386/nv-legacy/nv-kernel.o nvidia_legacy
    #> debian/build/2.6.22-14-386/nv/modules.alias.override;
    #fi
    touch modalias-patterns-stamp
    echo ‘# THIS FILE IS AUTO-GENERATED FROM control.stub.in’ > debian/control.stub
    if [ “100.14.19” = “96.43.01” ]; then
    sed -e ‘s/@@NV_VERSION@@/96.43.01/g’
    -e ‘s/@@KVERSION@@/2.6.22/g’
    -e ‘s/@@ABIVER@@/2.6.22/g’
    debian/control.stub.in >> debian/control.stub;
    fi;
    if [ “100.14.19” = “100.14.19” ]; then
    sed -e ‘s/@@NV_NEW_VERSION@@/100.14.19/g’
    -e ‘s/@@KVERSION@@/2.6.22/g’
    -e ‘s/@@ABIVER@@/2.6.22/g’
    debian/control.stub.in >> debian/control.stub;
    fi;
    if [ “100.14.19” = “71.86.01” ]; then
    sed -e ‘s/@@NV_LEGACY_VERSION@@/71.86.01/g’
    -e ‘s/@@KVERSION@@/2.6.22/g’
    -e ‘s/@@ABIVER@@/2.6.22/g’
    debian/control.stub.in >> debian/control.stub;
    fi;
    echo ‘# THIS FILE IS AUTO-GENERATED FROM kernel-versions.in’ > debian/d-i/kernel-versions;
    sed -e ‘s/@@ABIVER@@/2.6.22/g’
    debian/d-i/kernel-versions.in >> debian/d-i/kernel-versions
    rm -rf /usr/share/envy/linux-restricted-modules-2.6.22/debian/d-i-i386
    mkdir -p /usr/share/envy/linux-restricted-modules-2.6.22/debian/d-i-i386/modules /usr/share/envy/linux-restricted-modules-2.6.22/debian/d-i-i386/firmware
    cp -a debian/d-i/modules/i386 /usr/share/envy/linux-restricted-modules-2.6.22/debian/d-i-i386/modules/
    cp: tiedoston “debian/d-i/modules/i386” tilaa ei voi lukea: No such file or directory
    make: [debian/control] Virhe 1 (ei huomioida)
    #-cp -a debian/d-i/firmware/i386 /usr/share/envy/linux-restricted-modules-2.6.22/debian/d-i-i386/firmware/
    cp -a debian/d-i/package-list debian/d-i/kernel-versions /usr/share/envy/linux-restricted-modules-2.6.22/debian/d-i-i386/
    ln -s .. /usr/share/envy/linux-restricted-modules-2.6.22/debian/d-i-i386/debian
    (cd /usr/share/envy/linux-restricted-modules-2.6.22/debian/d-i-i386 && kernel-wedge gen-control) > debian/control
    rm -rf /usr/share/envy/linux-restricted-modules-2.6.22/debian/d-i-i386
    debian/rules binary
    dh_testdir
    dh_installchangelogs -i
    dh_installchangelogs: I have no package to build
    dh_fixperms -i
    dh_fixperms: I have no package to build
    dh_compress -i
    dh_compress: I have no package to build
    dh_installdeb -i
    dh_installdeb: I have no package to build
    dh_gencontrol -i
    dh_gencontrol: I have no package to build
    dh_md5sums -i
    dh_md5sums: I have no package to build
    dh_builddeb -i
    dh_builddeb: I have no package to build
    echo ‘# THIS FILE IS AUTO-GENERATED FROM control.stub.in’ > debian/control.stub
    if [ “100.14.19” = “96.43.01” ]; then
    sed -e ‘s/@@NV_VERSION@@/96.43.01/g’
    -e ‘s/@@KVERSION@@/2.6.22/g’
    -e ‘s/@@ABIVER@@/2.6.22/g’
    debian/control.stub.in >> debian/control.stub;
    fi;
    if [ “100.14.19” = “100.14.19” ]; then
    sed -e ‘s/@@NV_NEW_VERSION@@/100.14.19/g’
    -e ‘s/@@KVERSION@@/2.6.22/g’
    -e ‘s/@@ABIVER@@/2.6.22/g’
    debian/control.stub.in >> debian/control.stub;
    fi;
    if [ “100.14.19” = “71.86.01” ]; then
    sed -e ‘s/@@NV_LEGACY_VERSION@@/71.86.01/g’
    -e ‘s/@@KVERSION@@/2.6.22/g’
    -e ‘s/@@ABIVER@@/2.6.22/g’
    debian/control.stub.in >> debian/control.stub;
    fi;
    echo ‘# THIS FILE IS AUTO-GENERATED FROM kernel-versions.in’ > debian/d-i/kernel-versions;
    sed -e ‘s/@@ABIVER@@/2.6.22/g’
    debian/d-i/kernel-versions.in >> debian/d-i/kernel-versions
    rm -rf /usr/share/envy/linux-restricted-modules-2.6.22/debian/d-i-i386
    mkdir -p /usr/share/envy/linux-restricted-modules-2.6.22/debian/d-i-i386/modules /usr/share/envy/linux-restricted-modules-2.6.22/debian/d-i-i386/firmware
    cp -a debian/d-i/modules/i386 /usr/share/envy/linux-restricted-modules-2.6.22/debian/d-i-i386/modules/
    cp: tiedoston “debian/d-i/modules/i386” tilaa ei voi lukea: No such file or directory
    make: [debian/control] Virhe 1 (ei huomioida)
    #-cp -a debian/d-i/firmware/i386 /usr/share/envy/linux-restricted-modules-2.6.22/debian/d-i-i386/firmware/
    cp -a debian/d-i/package-list debian/d-i/kernel-versions /usr/share/envy/linux-restricted-modules-2.6.22/debian/d-i-i386/
    ln -s .. /usr/share/envy/linux-restricted-modules-2.6.22/debian/d-i-i386/debian
    (cd /usr/share/envy/linux-restricted-modules-2.6.22/debian/d-i-i386 && kernel-wedge gen-control) > debian/control
    rm -rf /usr/share/envy/linux-restricted-modules-2.6.22/debian/d-i-i386
    dh_testdir
    dh_testroot
    if [ “100.14.19” = “96.43.01” ]; then
    mkdir -p /usr/share/envy/linux-restricted-modules-2.6.22/debian/temp/modules/nvidia-kernel/debian;
    mkdir -p /usr/share/envy/linux-restricted-modules-2.6.22/debian/temp/modules/nvidia-kernel/nv;
    cp -r /usr/share/envy/linux-restricted-modules-2.6.22/nvidia/debian.binary/* /usr/share/envy/linux-restricted-modules-2.6.22/debian/temp/modules/nvidia-kernel/debian;
    set +e && for f in `ls /usr/share/envy/linux-restricted-modules-2.6.22/nvidia/debian.binary` ; do
    perl -p
    -e ‘s{#RELEASE#}{96.43.01}g;’
    -e ‘s{#VERSION#}{96.43.01}g;’
    -e ‘s{#UPSTREAMVERSION#}{96.43.01}g;’
    -e ‘s{#URL#}{http://download.nvidia.com/XFree86/Linux-x86/96.43.01/NVIDIA-Linux-x86-96.43.01-pkg1.run}g’
    /usr/share/envy/linux-restricted-modules-2.6.22/debian/temp/modules/nvidia-kernel/debian/$f ;
    chmod 0644 /usr/share/envy/linux-restricted-modules-2.6.22/debian/temp/modules/nvidia-kernel/debian/$f ;
    done ;
    cp -al nvidia/NVIDIA-Linux-x86-96.43.01-pkg1/usr/src/nv /usr/share/envy/linux-restricted-modules-2.6.22/debian/temp/modules/nvidia-kernel || true;
    rm -f /usr/share/envy/linux-restricted-modules-2.6.22/debian/temp/modules/nvidia-kernel/nv/Makefile;
    chmod 755 /usr/share/envy/linux-restricted-modules-2.6.22/debian/temp/modules/nvidia-kernel/debian/rules;
    chown -R root:src /usr/share/envy/linux-restricted-modules-2.6.22/debian/temp/modules;
    rm -rf /usr/share/envy/linux-restricted-modules-2.6.22/debian/temp/modules/nvidia-kernel/nv/precompiled;
    tar -zcvf /usr/share/envy/linux-restricted-modules-2.6.22/nvidia-kernel-source.tar.gz -C /usr/share/envy/linux-restricted-modules-2.6.22/debian/temp modules;
    rm -rf debian/temp;
    fi
    if [ “100.14.19” = “71.86.01” ]; then
    mkdir -p /usr/share/envy/linux-restricted-modules-2.6.22/debian/temp/modules/nvidia-legacy-kernel/debian;
    mkdir -p /usr/share/envy/linux-restricted-modules-2.6.22/debian/temp/modules/nvidia-legacy-kernel/nv;
    cp -r /usr/share/envy/linux-restricted-modules-2.6.22/nvidia/debian.binary/* /usr/share/envy/linux-restricted-modules-2.6.22/debian/temp/modules/nvidia-legacy-kernel/debian;
    set +e && for f in `ls /usr/share/envy/linux-restricted-modules-2.6.22/nvidia/debian.binary` ; do
    perl -p
    -e ‘s{#RELEASE#}{71.86.01}g;’
    -e ‘s{#VERSION#}{71.86.01}g;’
    -e ‘s{#UPSTREAMVERSION#}{71.86.01}g;’
    -e ‘s{#URL#}{http://download.nvidia.com/XFree86/Linux-x86/71.86.01/NVIDIA-Linux-x86-71.86.01-pkg1.run}g’
    /usr/share/envy/linux-restricted-modules-2.6.22/debian/temp/modules/nvidia-legacy-kernel/debian/$f ;
    chmod 0644 /usr/share/envy/linux-restricted-modules-2.6.22/debian/temp/modules/nvidia-legacy-kernel/debian/$f ;
    done;
    cp -al nvidia/NVIDIA-Linux-x86-71.86.01-pkg1/usr/src/nv /usr/share/envy/linux-restricted-modules-2.6.22/debian/temp/modules/nvidia-legacy-kernel || true;
    rm -f /usr/share/envy/linux-restricted-modules-2.6.22/debian/temp/modules/nvidia-legacy-kernel/nv/Makefile;
    chmod 755 /usr/share/envy/linux-restricted-modules-2.6.22/debian/temp/modules/nvidia-legacy-kernel/debian/rules;
    chown -R root:src /usr/share/envy/linux-restricted-modules-2.6.22/debian/temp/modules;
    rm -rf /usr/share/envy/linux-restricted-modules-2.6.22/debian/temp/modules/nvidia-legacy-kernel/nv/precompiled;
    tar -zcvf /usr/share/envy/linux-restricted-modules-2.6.22/nvidia-legacy-kernel-source.tar.gz -C /usr/share/envy/linux-restricted-modules-2.6.22/debian/temp modules;
    rm -rf debian/temp;
    fi
    if [ “100.14.19” = “100.14.19” ]; then
    mkdir -p /usr/share/envy/linux-restricted-modules-2.6.22/debian/temp/modules/nvidia-new-kernel/debian;
    mkdir -p /usr/share/envy/linux-restricted-modules-2.6.22/debian/temp/modules/nvidia-new-kernel/nv;
    cp -r /usr/share/envy/linux-restricted-modules-2.6.22/nvidia/debian.binary/* /usr/share/envy/linux-restricted-modules-2.6.22/debian/temp/modules/nvidia-new-kernel/debian;
    set +e && for f in `ls /usr/share/envy/linux-restricted-modules-2.6.22/nvidia/debian.binary` ; do
    perl -p
    -e ‘s{#RELEASE#}{100.14.19}g;’
    -e ‘s{#VERSION#}{100.14.19}g;’
    -e ‘s{#UPSTREAMVERSION#}{100.14.19}g;’
    -e ‘s{#URL#}{http://download.nvidia.com/XFree86/Linux-x86/100.14.19/NVIDIA-Linux-x86-100.14.19-pkg1.run}g’
    /usr/share/envy/linux-restricted-modules-2.6.22/debian/temp/modules/nvidia-new-kernel/debian/$f ;
    chmod 0644 /usr/share/envy/linux-restricted-modules-2.6.22/debian/temp/modules/nvidia-new-kernel/debian/$f ;
    done;
    cp -al nvidia/NVIDIA-Linux-x86-100.14.19-pkg1/usr/src/nv /usr/share/envy/linux-restricted-modules-2.6.22/debian/temp/modules/nvidia-new-kernel || true;
    rm -f /usr/share/envy/linux-restricted-modules-2.6.22/debian/temp/modules/nvidia-new-kernel/nv/Makefile;
    chmod 755 /usr/share/envy/linux-restricted-modules-2.6.22/debian/temp/modules/nvidia-new-kernel/debian/rules;
    chown -R root:src /usr/share/envy/linux-restricted-modules-2.6.22/debian/temp/modules;
    rm -rf /usr/share/envy/linux-restricted-modules-2.6.22/debian/temp/modules/nvidia-new-kernel/nv/precompiled;
    tar -zcvf /usr/share/envy/linux-restricted-modules-2.6.22/nvidia-new-kernel-source.tar.gz -C /usr/share/envy/linux-restricted-modules-2.6.22/debian/temp modules;
    rm -rf debian/temp;
    fi
    modules/
    modules/nvidia-new-kernel/
    modules/nvidia-new-kernel/debian/
    modules/nvidia-new-kernel/debian/README.Debian
    modules/nvidia-new-kernel/debian/changelog
    modules/nvidia-new-kernel/debian/control.template
    modules/nvidia-new-kernel/debian/copyright
    modules/nvidia-new-kernel/debian/dirs.template
    modules/nvidia-new-kernel/debian/override.template
    modules/nvidia-new-kernel/debian/postinst
    modules/nvidia-new-kernel/debian/postrm
    modules/nvidia-new-kernel/debian/rules
    modules/nvidia-new-kernel/nv/
    modules/nvidia-new-kernel/nv/README
    modules/nvidia-new-kernel/nv/nv.c
    modules/nvidia-new-kernel/nv/nv-vm.c
    modules/nvidia-new-kernel/nv/os-agp.c
    modules/nvidia-new-kernel/nv/os-interface.c
    modules/nvidia-new-kernel/nv/os-registry.c
    modules/nvidia-new-kernel/nv/nv-i2c.c
    modules/nvidia-new-kernel/nv/nvacpi.c
    modules/nvidia-new-kernel/nv/os-agp.h
    modules/nvidia-new-kernel/nv/os-interface.h
    modules/nvidia-new-kernel/nv/nv-linux.h
    modules/nvidia-new-kernel/nv/nv-misc.h
    modules/nvidia-new-kernel/nv/nv-memdbg.h
    modules/nvidia-new-kernel/nv/nv-vm.h
    modules/nvidia-new-kernel/nv/nv.h
    modules/nvidia-new-kernel/nv/rmretval.h
    modules/nvidia-new-kernel/nv/cpuopsys.h
    modules/nvidia-new-kernel/nv/nvtypes.h
    modules/nvidia-new-kernel/nv/nvreadme.h
    modules/nvidia-new-kernel/nv/pat.h
    modules/nvidia-new-kernel/nv/gcc-version-check.c
    modules/nvidia-new-kernel/nv/conftest.sh
    modules/nvidia-new-kernel/nv/Makefile.nvidia
    modules/nvidia-new-kernel/nv/Makefile.kbuild
    modules/nvidia-new-kernel/nv/makefile
    modules/nvidia-new-kernel/nv/nv-kernel.o
    touch build-kernel-stamp
    dh_testdir
    dh_clean -k
    dh_installdirs
    # Split modules for install
    chmod u+rx debian/split-module
    ##flavour = 2.6.22-14-386
    ##flavour = 2.6.22-14-386
    ## export KERNELPATH=/usr/src/linux-headers-2.6.22-14-386;
    #debian/split-module nvidia
    #debian/build/2.6.22-14-386/nv-legacy
    #/usr/share/envy/linux-restricted-modules-2.6.22/debian/linux-restricted-modules-2.6.22-14-386/lib/linux-restricted-modules/2.6.22-14-386/nv-legacy;
    #mv /usr/share/envy/linux-restricted-modules-2.6.22/debian/linux-restricted-modules-2.6.22-14-386/lib/linux-restricted-modules/2.6.22-14-386/nv-legacy/nvidia
    #/usr/share/envy/linux-restricted-modules-2.6.22/debian/linux-restricted-modules-2.6.22-14-386/lib/linux-restricted-modules/2.6.22-14-386/nvidia_legacy;
    #rm -rf /usr/share/envy/linux-restricted-modules-2.6.22/debian/linux-restricted-modules-2.6.22-14-386/lib/linux-restricted-modules/2.6.22-14-386/nv-legacy;
    #debian/split-module nvidia
    #debian/build/2.6.22-14-386/nv-new
    #/usr/share/envy/linux-restricted-modules-2.6.22/debian/linux-restricted-modules-2.6.22-14-386/lib/linux-restricted-modules/2.6.22-14-386/nv-new;
    #mv /usr/share/envy/linux-restricted-modules-2.6.22/debian/linux-restricted-modules-2.6.22-14-386/lib/linux-restricted-modules/2.6.22-14-386/nv-new/nvidia
    #/usr/share/envy/linux-restricted-modules-2.6.22/debian/linux-restricted-modules-2.6.22-14-386/lib/linux-restricted-modules/2.6.22-14-386/nvidia_new;
    #rm -rf /usr/share/envy/linux-restricted-modules-2.6.22/debian/linux-restricted-modules-2.6.22-14-386/lib/linux-restricted-modules/2.6.22-14-386/nv-new;
    #install -D -m0644
    #debian/build/2.6.22-14-386/nv/modules.alias.override
    #/usr/share/envy/linux-restricted-modules-2.6.22/debian/linux-restricted-modules-2.6.22-14-386/usr/share/linux-restricted-modules/2.6.22-14-386/modules.alias.override/nvidia;
    nclude/GL;
    mkdir -p /usr/share/envy/linux-restricted-modules-2.6.22/debian/nvidia-glx-new/usr/lib/tls/;
    mkdir -p /usr/share/envy/linux-restricted-modules-2.6.22/debian/nvidia-glx-new/usr/bin/;
    mkdir -p /usr/share/envy/linux-restricted-modules-2.6.22/debian/nvidia-glx-new/usr/share/bug/nvidia-glx-new/;
    install -m 644 /usr/share/envy/linux-restricted-modules-2.6.22/nvidia-new-kernel-source.tar.gz
    /usr/share/envy/linux-restricted-modules-2.6.22/debian/nvidia-new-kernel-source/usr/src;
    install -m 0644 nvidia/NVIDIA-Linux-x86-100.14.19-pkg1/usr/X11R6/lib/modules/drivers/nvidia_drv.so
    /usr/share/envy/linux-restricted-modules-2.6.22/debian/nvidia-glx-new/usr/lib/xorg/modules/drivers/;
    install nvidia/NVIDIA-Linux-x86-100.14.19-pkg1/usr/X11R6/lib/libXvMCNVIDIA.a
    /usr/share/envy/linux-restricted-modules-2.6.22/debian/nvidia-glx-new-dev/usr/lib/libXvMCNVIDIA.a;
    install nvidia/NVIDIA-Linux-x86-100.14.19-pkg1/usr/X11R6/lib/libXvMCNVIDIA.so.100.14.19
    /usr/share/envy/linux-restricted-modules-2.6.22/debian/nvidia-glx-new/usr/lib/libXvMCNVIDIA.so.100.14.19;
    install -m 0644 nvidia/NVIDIA-Linux-x86-100.14.19-pkg1/usr/include/GL/gl.h
    /usr/share/envy/linux-restricted-modules-2.6.22/debian/nvidia-glx-new-dev/usr/share/doc/nvidia-glx-new-dev/include/GL;
    install -m 0644 nvidia/NVIDIA-Linux-x86-100.14.19-pkg1/usr/include/GL/glext.h
    /usr/share/envy/linux-restricted-modules-2.6.22/debian/nvidia-glx-new-dev/usr/share/doc/nvidia-glx-new-dev/include/GL;
    install -m 0644 nvidia/NVIDIA-Linux-x86-100.14.19-pkg1/usr/include/GL/glx.h
    /usr/share/envy/linux-restricted-modules-2.6.22/debian/nvidia-glx-new-dev/usr/share/doc/nvidia-glx-new-dev/include/GL;
    if [ -e nvidia/NVIDIA-Linux-x86-100.14.19-pkg1/usr/include/GL/glxext.h ]; then
    install -m 0644 nvidia/NVIDIA-Linux-x86-100.14.19-pkg1/usr/include/GL/glxext.h
    /usr/share/envy/linux-restricted-modules-2.6.22/debian/nvidia-glx-new-dev/usr/share/doc/nvidia-glx-new-dev/include/GL;
    fi;
    install -m 0644 nvidia/NVIDIA-Linux-x86-100.14.19-pkg1/usr/lib/libGL.so.100.14.19
    /usr/share/envy/linux-restricted-modules-2.6.22/debian/nvidia-glx-new/usr/lib;
    install -m 0644 nvidia/NVIDIA-Linux-x86-100.14.19-pkg1/usr/lib/libGLcore.so.100.14.19
    /usr/share/envy/linux-restricted-modules-2.6.22/debian/nvidia-glx-new/usr/lib;
    if [ -e nvidia/NVIDIA-Linux-x86-100.14.19-pkg1/usr/lib/libnvidia-cfg.so.100.14.19 ]; then
    install -m 0644 nvidia/NVIDIA-Linux-x86-100.14.19-pkg1/usr/lib/libnvidia-cfg.so.100.14.19
    /usr/share/envy/linux-restricted-modules-2.6.22/debian/nvidia-glx-new/usr/lib;
    fi;
    sed “s/__GENERATED_BY__/Ubuntu nvidia–newgraphics-drivers/”
    nvidia/NVIDIA-Linux-x86-100.14.19-pkg1/usr/lib/libGL.la | sed “s/__LIBGL_PATH__//usr/lib/” >
    /usr/share/envy/linux-restricted-modules-2.6.22/debian/nvidia-glx-new-dev/usr/lib/libGL.la;
    if [ “i386” = “amd64” ]; then
    install -d /usr/share/envy/linux-restricted-modules-2.6.22/debian/nvidia-glx-new/usr/lib32
    /usr/share/envy/linux-restricted-modules-2.6.22/debian/nvidia-glx-new-dev/usr/lib32;
    install -m 0644 nvidia/NVIDIA-Linux-x86-100.14.19-pkg1/usr/lib32/libGL.so.100.14.19
    /usr/share/envy/linux-restricted-modules-2.6.22/debian/nvidia-glx-new/usr/lib32;
    install -m 0644 nvidia/NVIDIA-Linux-x86-100.14.19-pkg1/usr/lib32/libGLcore.so.100.14.19
    /usr/share/envy/linux-restricted-modules-2.6.22/debian/nvidia-glx-new/usr/lib32;
    if [ -e nvidia/NVIDIA-Linux-x86-100.14.19-pkg1/usr/lib32/libnvidia-cfg.so.100.14.19 ]; then
    install -m 0644 nvidia/NVIDIA-Linux-x86-100.14.19-pkg1/usr/lib32/libnvidia-cfg.so.100.14.19
    /usr/share/envy/linux-restricted-modules-2.6.22/debian/nvidia-glx-new/usr/lib32;
    fi;
    sed “s/__GENERATED_BY__/Ubuntu nvidia–newgraphics-drivers/”
    nvidia/NVIDIA-Linux-x86-100.14.19-pkg1/usr/lib32/libGL.la |
    sed “s/__LIBGL_PATH__//usr/lib32/” >
    /usr/share/envy/linux-restricted-modules-2.6.22/debian/nvidia-glx-new-dev/usr/lib32/libGL.la;
    fi;
    install nvidia/nvidia-glx-config
    /usr/share/envy/linux-restricted-modules-2.6.22/debian/nvidia-glx-new/usr/sbin;
    install nvidia/NVIDIA-Linux-x86-100.14.19-pkg1/usr/lib/libnvidia-tls.so.100.14.19
    /usr/share/envy/linux-restricted-modules-2.6.22/debian/nvidia-glx-new/usr/lib/;
    install nvidia/NVIDIA-Linux-x86-100.14.19-pkg1/usr/lib/tls/libnvidia-tls.so.100.14.19
    /usr/share/envy/linux-restricted-modules-2.6.22/debian/nvidia-glx-new/usr/lib/tls/;
    if [ “i386” = “amd64” ]; then
    install nvidia/NVIDIA-Linux-x86-100.14.19-pkg1/usr/lib32/libnvidia-tls.so.100.14.19
    /usr/share/envy/linux-restricted-modules-2.6.22/debian/nvidia-glx-new/usr/lib32/;
    install -d /usr/share/envy/linux-restricted-modules-2.6.22/debian/nvidia-glx-new/usr/lib32/tls;
    install nvidia/NVIDIA-Linux-x86-100.14.19-pkg1/usr/lib32/tls/libnvidia-tls.so.100.14.19
    /usr/share/envy/linux-restricted-modules-2.6.22/debian/nvidia-glx-new/usr/lib32/tls/;
    fi;
    install nvidia/NVIDIA-Linux-x86-100.14.19-pkg1/usr/X11R6/lib/modules/extensions/libglx.so.100.14.19
    /usr/share/envy/linux-restricted-modules-2.6.22/debian/nvidia-glx-new/usr/lib/xorg/modules/;
    if [ -e nvidia/NVIDIA-Linux-x86-100.14.19-pkg1/usr/X11R6/lib/modules/libnvidia-wfb.so.100.14.19 ]; then
    install nvidia/NVIDIA-Linux-x86-100.14.19-pkg1/usr/X11R6/lib/modules/libnvidia-wfb.so.100.14.19
    /usr/share/envy/linux-restricted-modules-2.6.22/debian/nvidia-glx-new/usr/lib/xorg/modules/;
    ln -s libnvidia-wfb.so.100.14.19
    /usr/share/envy/linux-restricted-modules-2.6.22/debian/nvidia-glx-new/usr/lib/xorg/modules/libwfb.so;
    fi;
    install nvidia/NVIDIA-Linux-x86-100.14.19-pkg1/usr/bin/tls_test
    /usr/share/envy/linux-restricted-modules-2.6.22/debian/nvidia-glx-new/usr/lib/nvidia;
    install nvidia/NVIDIA-Linux-x86-100.14.19-pkg1/usr/bin/tls_test_dso.so
    /usr/share/envy/linux-restricted-modules-2.6.22/debian/nvidia-glx-new/usr/lib/nvidia;
    install -d /usr/share/envy/linux-restricted-modules-2.6.22/debian/nvidia-glx-new/usr/share/lintian/overrides;
    install -m 0644 debian/nvidia-glx-new.override
    /usr/share/envy/linux-restricted-modules-2.6.22/debian/nvidia-glx-new/usr/share/lintian/overrides/nvidia-glx-new;
    install -m 755 nvidia/NVIDIA-Linux-x86-100.14.19-pkg1/usr/bin/nvidia-bug-report.sh
    /usr/share/envy/linux-restricted-modules-2.6.22/debian/nvidia-glx-new/usr/bin/;
    if [ -e nvidia/NVIDIA-Linux-x86-100.14.19-pkg1/usr/share/man/man1/nvidia-settings.1.gz ]; then
    install -m 755 nvidia/NVIDIA-Linux-x86-100.14.19-pkg1/usr/bin/nvidia-settings
    /usr/share/envy/linux-restricted-modules-2.6.22/debian/nvidia-glx-new/usr/bin/;
    install -m 644 nvidia/NVIDIA-Linux-x86-100.14.19-pkg1/usr/share/man/man1/nvidia-settings.1.gz
    /usr/share/envy/linux-restricted-modules-2.6.22/debian/nvidia-glx-new/usr/share/man/man1/;
    fi;
    if [ -e nvidia/NVIDIA-Linux-x86-100.14.19-pkg1/usr/share/man/man1/nvidia-xconfig.1.gz ]; then
    install -m 755 nvidia/NVIDIA-Linux-x86-100.14.19-pkg1/usr/bin/nvidia-xconfig
    /usr/share/envy/linux-restricted-modules-2.6.22/debian/nvidia-glx-new/usr/bin/;
    install -m 644 nvidia/NVIDIA-Linux-x86-100.14.19-pkg1/usr/share/man/man1/nvidia-xconfig.1.gz
    /usr/share/envy/linux-restricted-modules-2.6.22/debian/nvidia-glx-new/usr/share/man/man1/;
    fi;
    install /usr/share/envy/linux-restricted-modules-2.6.22/debian/nvidia-glx-new.reportbug
    /usr/share/envy/linux-restricted-modules-2.6.22/debian/nvidia-glx-new/usr/share/bug/nvidia-glx-new/script;
    fi;
    mkdir -p /usr/share/envy/linux-restricted-modules-2.6.22/debian/nvidia-glx-legacy/usr/bin/;
    mkdir -p /usr/share/envy/linux-restricted-modules-2.6.22/debian/nvidia-glx-legacy/usr/share/bug/nvidia-glx-legacy/;
    install -m 644 /usr/share/envy/linux-restricted-modules-2.6.22/nvidia-legacy-kernel-source.tar.gz
    /usr/share/envy/linux-restricted-modules-2.6.22/debian/nvidia-legacy-kernel-source/usr/src;
    install -m 0644 nvidia/NVIDIA-Linux-x86-71.86.01-pkg1/usr/X11R6/lib/modules/drivers/nvidia_drv.so
    /usr/share/envy/linux-restricted-modules-2.6.22/debian/nvidia-glx-legacy/usr/lib/xorg/modules/drivers/;
    install nvidia/NVIDIA-Linux-x86-71.86.01-pkg1/usr/X11R6/lib/libXvMCNVIDIA.a
    /usr/share/envy/linux-restricted-modules-2.6.22/debian/nvidia-glx-legacy-dev/usr/lib/libXvMCNVIDIA.a;
    install nvidia/NVIDIA-Linux-x86-71.86.01-pkg1/usr/X11R6/lib/libXvMCNVIDIA.so.71.86.01
    /usr/share/envy/linux-restricted-modules-2.6.22/debian/nvidia-glx-legacy/usr/lib/libXvMCNVIDIA.so.71.86.01;
    install -m 0644 nvidia/NVIDIA-Linux-x86-71.86.01-pkg1/usr/include/GL/gl.h
    /usr/share/envy/linux-restricted-modules-2.6.22/debian/nvidia-glx-legacy-dev/usr/share/doc/nvidia-glx-legacy-dev/include/GL;
    install -m 0644 nvidia/NVIDIA-Linux-x86-71.86.01-pkg1/usr/include/GL/glext.h
    /usr/share/envy/linux-restricted-modules-2.6.22/debian/nvidia-glx-legacy-dev/usr/share/doc/nvidia-glx-legacy-dev/include/GL;
    install -m 0644 nvidia/NVIDIA-Linux-x86-71.86.01-pkg1/usr/include/GL/glx.h
    /usr/share/envy/linux-restricted-modules-2.6.22/debian/nvidia-glx-legacy-dev/usr/share/doc/nvidia-glx-legacy-dev/include/GL;
    if [ -e nvidia/NVIDIA-Linux-x86-71.86.01-pkg1/usr/include/GL/glxext.h ]; then
    install -m 0644 nvidia/NVIDIA-Linux-x86-71.86.01-pkg1/usr/include/GL/glxext.h
    /usr/share/envy/linux-restricted-modules-2.6.22/debian/nvidia-glx-legacy-dev/usr/share/doc/nvidia-glx-legacy-dev/include/GL;
    fi;
    install -m 0644 nvidia/NVIDIA-Linux-x86-71.86.01-pkg1/usr/lib/libGL.so.71.86.01
    /usr/share/envy/linux-restricted-modules-2.6.22/debian/nvidia-glx-legacy/usr/lib;
    install -m 0644 nvidia/NVIDIA-Linux-x86-71.86.01-pkg1/usr/lib/libGLcore.so.71.86.01
    /usr/share/envy/linux-restricted-modules-2.6.22/debian/nvidia-glx-legacy/usr/lib;
    if [ -e nvidia/NVIDIA-Linux-x86-71.86.01-pkg1/usr/lib/libnvidia-cfg.so.71.86.01 ]; then
    install -m 0644 nvidia/NVIDIA-Linux-x86-71.86.01-pkg1/usr/lib/libnvidia-cfg.so.71.86.01
    /usr/share/envy/linux-restricted-modules-2.6.22/debian/nvidia-glx-legacy/usr/lib;
    fi;
    sed “s/__GENERATED_BY__/Ubuntu nvidia–legacygraphics-drivers/”
    nvidia/NVIDIA-Linux-x86-71.86.01-pkg1/usr/lib/libGL.la | sed “s/__LIBGL_PATH__//usr/lib/” >
    /usr/share/envy/linux-restricted-modules-2.6.22/debian/nvidia-glx-legacy-dev/usr/lib/libGL.la;
    if [ “i386” = “amd64” ]; then
    install -d /usr/share/envy/linux-restricted-modules-2.6.22/debian/nvidia-glx-legacy/usr/lib32
    /usr/share/envy/linux-restricted-modules-2.6.22/debian/nvidia-glx-legacy-dev/usr/lib32;
    install -m 0644 nvidia/NVIDIA-Linux-x86-71.86.01-pkg1/usr/lib32/libGL.so.71.86.01
    /usr/share/envy/linux-restricted-modules-2.6.22/debian/nvidia-glx-legacy/usr/lib32;
    install -m 0644 nvidia/NVIDIA-Linux-x86-71.86.01-pkg1/usr/lib32/libGLcore.so.71.86.01
    /usr/share/envy/linux-restricted-modules-2.6.22/debian/nvidia-glx-legacy/usr/lib32;
    if [ -e nvidia/NVIDIA-Linux-x86-71.86.01-pkg1/usr/lib32/libnvidia-cfg.so.71.86.01 ]; then
    install -m 0644 nvidia/NVIDIA-Linux-x86-71.86.01-pkg1/usr/lib32/libnvidia-cfg.so.71.86.01
    /usr/share/envy/linux-restricted-modules-2.6.22/debian/nvidia-glx-legacy/usr/lib32;
    fi;
    sed “s/__GENERATED_BY__/Ubuntu nvidia–legacygraphics-drivers/”
    nvidia/NVIDIA-Linux-x86-71.86.01-pkg1/usr/lib32/libGL.la |
    sed “s/__LIBGL_PATH__//usr/lib32/” >
    /usr/share/envy/linux-restricted-modules-2.6.22/debian/nvidia-glx-legacy-dev/usr/lib32/libGL.la;
    fi;
    install nvidia/nvidia-glx-config
    /usr/share/envy/linux-restricted-modules-2.6.22/debian/nvidia-glx-legacy/usr/sbin;
    install nvidia/NVIDIA-Linux-x86-71.86.01-pkg1/usr/lib/libnvidia-tls.so.71.86.01
    /usr/share/envy/linux-restricted-modules-2.6.22/debian/nvidia-glx-legacy/usr/lib/;
    install nvidia/NVIDIA-Linux-x86-71.86.01-pkg1/usr/lib/tls/libnvidia-tls.so.71.86.01
    /usr/share/envy/linux-restricted-modules-2.6.22/debian/nvidia-glx-legacy/usr/lib/tls/;
    if [ “i386” = “amd64” ]; then
    install nvidia/NVIDIA-Linux-x86-71.86.01-pkg1/usr/lib32/libnvidia-tls.so.71.86.01
    /usr/share/envy/linux-restricted-modules-2.6.22/debian/nvidia-glx-legacy/usr/lib32/;
    install -d /usr/share/envy/linux-restricted-modules-2.6.22/debian/nvidia-glx-legacy/usr/lib32/tls;
    install nvidia/NVIDIA-Linux-x86-71.86.01-pkg1/usr/lib32/tls/libnvidia-tls.so.71.86.01
    /usr/share/envy/linux-restricted-modules-2.6.22/debian/nvidia-glx-legacy/usr/lib32/tls/;
    fi;
    install nvidia/NVIDIA-Linux-x86-71.86.01-pkg1/usr/X11R6/lib/modules/extensions/libglx.so.71.86.01
    /usr/share/envy/linux-restricted-modules-2.6.22/debian/nvidia-glx-legacy/usr/lib/xorg/modules/;
    if [ -e nvidia/NVIDIA-Linux-x86-71.86.01-pkg1/usr/X11R6/lib/modules/libnvidia-wfb.so.71.86.01 ]; then
    install nvidia/NVIDIA-Linux-x86-71.86.01-pkg1/usr/X11R6/lib/modules/libnvidia-wfb.so.71.86.01
    /usr/share/envy/linux-restricted-modules-2.6.22/debian/nvidia-glx-legacy/usr/lib/xorg/modules/;
    ln -s libnvidia-wfb.so.71.86.01
    /usr/share/envy/linux-restricted-modules-2.6.22/debian/nvidia-glx-legacy/usr/lib/xorg/modules/libwfb.so;
    fi;
    install nvidia/NVIDIA-Linux-x86-71.86.01-pkg1/usr/bin/tls_test
    /usr/share/envy/linux-restricted-modules-2.6.22/debian/nvidia-glx-legacy/usr/lib/nvidia;
    install nvidia/NVIDIA-Linux-x86-71.86.01-pkg1/usr/bin/tls_test_dso.so
    /usr/share/envy/linux-restricted-modules-2.6.22/debian/nvidia-glx-legacy/usr/lib/nvidia;
    install -d /usr/share/envy/linux-restricted-modules-2.6.22/debian/nvidia-glx-legacy/usr/share/lintian/overrides;
    install -m 0644 debian/nvidia-glx-legacy.override
    /usr/share/envy/linux-restricted-modules-2.6.22/debian/nvidia-glx-legacy/usr/share/lintian/overrides/nvidia-glx-legacy;
    install -m 755 nvidia/NVIDIA-Linux-x86-71.86.01-pkg1/usr/bin/nvidia-bug-report.sh
    /usr/share/envy/linux-restricted-modules-2.6.22/debian/nvidia-glx-legacy/usr/bin/;
    if [ -e nvidia/NVIDIA-Linux-x86-71.86.01-pkg1/usr/share/man/man1/nvidia-settings.1.gz ]; then
    install -m 755 nvidia/NVIDIA-Linux-x86-71.86.01-pkg1/usr/bin/nvidia-settings
    /usr/share/envy/linux-restricted-modules-2.6.22/debian/nvidia-glx-legacy/usr/bin/;
    install -m 644 nvidia/NVIDIA-Linux-x86-71.86.01-pkg1/usr/share/man/man1/nvidia-settings.1.gz
    /usr/share/envy/linux-restricted-modules-2.6.22/debian/nvidia-glx-legacy/usr/share/man/man1/;
    fi;
    if [ -e nvidia/NVIDIA-Linux-x86-71.86.01-pkg1/usr/share/man/man1/nvidia-xconfig.1.gz ]; then
    install -m 755 nvidia/NVIDIA-Linux-x86-71.86.01-pkg1/usr/bin/nvidia-xconfig
    /usr/share/envy/linux-restricted-modules-2.6.22/debian/nvidia-glx-legacy/usr/bin/;
    install -m 644 nvidia/NVIDIA-Linux-x86-71.86.01-pkg1/usr/share/man/man1/nvidia-xconfig.1.gz
    /usr/share/envy/linux-restricted-modules-2.6.22/debian/nvidia-glx-legacy/usr/share/man/man1/;
    fi;
    install /usr/share/envy/linux-restricted-modules-2.6.22/debian/nvidia-glx-legacy.reportbug
    /usr/share/envy/linux-restricted-modules-2.6.22/debian/nvidia-glx-legacy/usr/share/bug/nvidia-glx-legacy/script;
    fi;
    #install
    dh_testdir
    dh_installchangelogs -s
    dh_installdocs -s
    dh_installexamples -s
    dh_installman -s
    dh_installinit -s
    dh_link -s
    # FIXME: Remove this when -legacy supports this library:
    if [ “100.14.19” = “71.86.01” ]; then
    rm -f debian/nvidia-glx-legacy/usr/lib/libnvidia-cfg.so.1;
    rm -f debian/nvidia-glx-legacy/usr/lib32/libnvidia-cfg.so.1;
    fi;
    dh_strip -s -X1.0.96.43.01 -X1.0.71.86.01 -Xtls_test
    dh_compress -X.h -s
    dh_fixperms -s
    dh_installdeb -s
    dh_shlibdeps -X’*tls*’ -X’*lib32*’ -X’*lib64*’ -s
    -l/usr/share/envy/linux-restricted-modules-2.6.22/debian/nvidia-glx/usr/lib:/usr/share/envy/linux-restricted-modules-2.6.22/debian/xorg-driver-fglrx/usr/lib
    # this is a dirty hack, but we don’t want -glx-legacy to depend on -glx
    if [ “100.14.19” = “71.86.01” ]; then
    sed -i -e ‘s/, nvidia-glx//’ debian/nvidia-glx-legacy.substvars ;
    fi;
    dh_gencontrol -s
    dpkg-gencontrol: warning: unknown substitution variable ${nvidia:NewVersion}
    dpkg-gencontrol: warning: unknown substitution variable ${nvidia:NewVersion}
    dpkg-gencontrol: warning: unknown substitution variable ${nvidia:NewVersion}
    dpkg-gencontrol: warning: unknown substitution variable ${nvidia:NewVersion}
    # fglrx, nVidia and ACM build with different version numbers
    if [ “100.14.19” = “96.43.01” ]; then
    dh_gencontrol -v -pnvidia-glx — -v1:96.43.01+2.6.22-14 -Vnvidia:Version=96.43.01;
    dh_gencontrol -v -pnvidia-glx-dev — -v1:96.43.01+2.6.22-14 -Vnvidia:Version=96.43.01;
    dh_gencontrol -v -pnvidia-kernel-source — -v1:96.43.01+2.6.22-14 -Vnvidia:Version=96.43.01;
    fi;
    if [ “100.14.19” = “100.14.19” ]; then
    dh_gencontrol -v -pnvidia-glx-new — -v1:100.14.19+2.6.22-14 -Vnvidia:NewVersion=100.14.19;
    dh_gencontrol -v -pnvidia-glx-new-dev — -v1:100.14.19+2.6.22-14 -Vnvidia:NewVersion=100.14.19;
    dh_gencontrol -v -pnvidia-new-kernel-source — -v1:100.14.19+2.6.22-14 -Vnvidia:NewVersion=100.14.19;
    fi;
    dpkg-gencontrol -pnvidia-glx-new -ldebian/changelog -isp -Tdebian/nvidia-glx-new.substvars -Pdebian/nvidia-glx-new -v1:100.14.19+2.6.22-14 -Vnvidia:NewVersion=100.14.19
    chmod 644 debian/nvidia-glx-new/DEBIAN/control
    chown 0:0 debian/nvidia-glx-new/DEBIAN/control
    dpkg-gencontrol -pnvidia-glx-new-dev -ldebian/changelog -isp -Tdebian/nvidia-glx-new-dev.substvars -Pdebian/nvidia-glx-new-dev -v1:100.14.19+2.6.22-14 -Vnvidia:NewVersion=100.14.19
    chmod 644 debian/nvidia-glx-new-dev/DEBIAN/control
    chown 0:0 debian/nvidia-glx-new-dev/DEBIAN/control
    dpkg-gencontrol -pnvidia-new-kernel-source -ldebian/changelog -isp -Tdebian/nvidia-new-kernel-source.substvars -Pdebian/nvidia-new-kernel-source -v1:100.14.19+2.6.22-14 -Vnvidia:NewVersion=100.14.19
    chmod 644 debian/nvidia-new-kernel-source/DEBIAN/control
    chown 0:0 debian/nvidia-new-kernel-source/DEBIAN/control
    if [ “100.14.19” = “71.86.01” ]; then
    dh_gencontrol -v -pnvidia-glx-legacy — -v1:71.86.01+2.6.22-14 -Vnvidia:LegacyVersion=71.86.01;
    dh_gencontrol -v -pnvidia-glx-legacy-dev — -v1:71.86.01+2.6.22-14 -Vnvidia:LegacyVersion=71.86.01;
    dh_gencontrol -v -pnvidia-legacy-kernel-source — -v1:71.86.01+2.6.22-14 -Vnvidia:LegacyVersion=71.86.01;
    fi;
    dh_md5sums -s
    dh_builddeb -s
    dpkg-deb: building package `nvidia-glx-new’ in `../nvidia-glx-new_100.14.19+2.6.22-14_i386.deb’.
    dpkg-deb: building package `nvidia-glx-new-dev’ in `../nvidia-glx-new-dev_100.14.19+2.6.22-14_i386.deb’.
    dpkg-deb: building package `nvidia-new-kernel-source’ in `../nvidia-new-kernel-source_100.14.19+2.6.22-14_i386.deb’.
    dpkg-genchanges -b
    dpkg-genchanges: binary-only upload – not including any source code
    dpkg-buildpackage: binary only upload (no source included)
    Luetaan pakettiluetteloita… Valmis
    Muodostetaan riippuvuussuhteiden puu
    Reading state information… Valmis
    0 pΓ€ivitetty, 0 uutta asennusta, 0 poistettavaa ja 2 pΓ€ivittΓ€mΓ€tΓΆntΓ€.
    OK: All the packages are installed
    Valitsen aikaisemmin valitsemattoman paketin nvidia-new-kernel-source.
    (Luetaan tietokantaa… 263140 tiedostoa ja hakemistoa tΓ€llΓ€ hetkellΓ€ asennettuna.)
    Puretaan pakettia nvidia-new-kernel-source (nvidia-new-kernel-source_100.14.19+2.6.22-14_i386.deb)…
    SÀÀdΓ€n asetukset: nvidia-new-kernel-source (1:100.14.19+2.6.22-14) …
    modules/
    modules/nvidia-new-kernel/
    modules/nvidia-new-kernel/debian/
    modules/nvidia-new-kernel/debian/README.Debian
    modules/nvidia-new-kernel/debian/changelog
    modules/nvidia-new-kernel/debian/control.template
    modules/nvidia-new-kernel/debian/copyright
    modules/nvidia-new-kernel/debian/dirs.template
    modules/nvidia-new-kernel/debian/override.template
    modules/nvidia-new-kernel/debian/postinst
    modules/nvidia-new-kernel/debian/postrm
    modules/nvidia-new-kernel/debian/rules
    modules/nvidia-new-kernel/nv/
    modules/nvidia-new-kernel/nv/README
    modules/nvidia-new-kernel/nv/nv.c
    modules/nvidia-new-kernel/nv/nv-vm.c
    modules/nvidia-new-kernel/nv/os-agp.c
    modules/nvidia-new-kernel/nv/os-interface.c
    modules/nvidia-new-kernel/nv/os-registry.c
    modules/nvidia-new-kernel/nv/nv-i2c.c
    modules/nvidia-new-kernel/nv/nvacpi.c
    modules/nvidia-new-kernel/nv/os-agp.h
    modules/nvidia-new-kernel/nv/os-interface.h
    modules/nvidia-new-kernel/nv/nv-linux.h
    modules/nvidia-new-kernel/nv/nv-misc.h
    modules/nvidia-new-kernel/nv/nv-memdbg.h
    modules/nvidia-new-kernel/nv/nv-vm.h
    modules/nvidia-new-kernel/nv/nv.h
    modules/nvidia-new-kernel/nv/rmretval.h
    modules/nvidia-new-kernel/nv/cpuopsys.h
    modules/nvidia-new-kernel/nv/nvtypes.h
    modules/nvidia-new-kernel/nv/nvreadme.h
    modules/nvidia-new-kernel/nv/pat.h
    modules/nvidia-new-kernel/nv/gcc-version-check.c
    modules/nvidia-new-kernel/nv/conftest.sh
    modules/nvidia-new-kernel/nv/Makefile.nvidia
    modules/nvidia-new-kernel/nv/Makefile.kbuild
    modules/nvidia-new-kernel/nv/makefile
    modules/nvidia-new-kernel/nv/nv-kernel.o
    ENVY: The following packages will be removed:
    nvidia-kernel-2.6.22-14-386

    ENVY: attempting to remove the packages
    Getting source for kernel version: 2.6.22-14-386
    Kernel headers available in /usr/src/linux-headers-2.6.22-14-386
    Creating symlink…
    apt-get install build-essential
    Luetaan pakettiluetteloita… Valmis
    Muodostetaan riippuvuussuhteiden puu
    Reading state information… Valmis
    build-essential on jo uusin versio.
    0 pΓ€ivitetty, 0 uutta asennusta, 0 poistettavaa ja 2 pΓ€ivittΓ€mΓ€tΓΆntΓ€.

    Done!
    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€Updating cached package data────────────────────────┐
    β”‚ cryptoloop-source β”‚
    β”‚ β”‚
    β”‚ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚
    β”‚ β”‚ 100% β”‚ β”‚
    β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚
    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

    Updated infos about 85 packages
    Extracting the package tarball, /usr/src/nvidia-new-kernel-source.tar.gz, please wait…
    β”Œβ”€β”€β”€β”€β”€β”€β”€Building nvidia-new-kernel-source, step 1, please wait…─────────┐
    β”‚ Build starting… β”‚
    β”‚ β”‚
    β”‚ β”‚
    β”‚ β”‚
    β”‚ β”‚
    β”‚ β”‚
    β”‚ β”‚
    β”‚ β”‚
    β”‚ β”‚
    β”‚ β”‚
    β”‚ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚
    β”Œβ”€β”€β”€β”€β”€β”€β”€Building nvidia-new-kernel-source, step 2, please wait…─────────┐
    β”‚ Build continues… β”‚
    β”‚ β”‚
    β”‚ β”‚
    β”‚ β”‚
    β”‚ β”‚
    β”‚ β”‚
    β”‚ β”‚
    β”‚ β”‚
    β”‚ β”‚
    β”‚ β”‚
    β”‚ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚
    β”‚ β”‚ 100% β”‚ β”‚
    β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚
    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

    Done with /usr/src/nvidia-kernel-2.6.22-14-386_100.14.19-0ubuntu3+2.6.22-14.46_i386.deb .
    Valitsen aikaisemmin valitsemattoman paketin nvidia-kernel-2.6.22-14-386.
    (Luetaan tietokantaa… 263138 tiedostoa ja hakemistoa tΓ€llΓ€ hetkellΓ€ asennettuna.)
    Puretaan pakettia nvidia-kernel-2.6.22-14-386 (…/nvidia-kernel-2.6.22-14-386_100.14.19-0ubuntu3+2.6.22-14.46_i386.deb)…
    SÀÀdΓ€n asetukset: nvidia-kernel-2.6.22-14-386 (100.14.19-0ubuntu3+2.6.22-14.46) …

    Luetaan pakettiluetteloita… Valmis
    Muodostetaan riippuvuussuhteiden puu
    Reading state information… Valmis
    0 pΓ€ivitetty, 0 uutta asennusta, 0 poistettavaa ja 2 pΓ€ivittΓ€mΓ€tΓΆntΓ€.
    Valitsen aikaisemmin valitsemattoman paketin nvidia-glx-new.
    (Luetaan tietokantaa… 263145 tiedostoa ja hakemistoa tΓ€llΓ€ hetkellΓ€ asennettuna.)
    Puretaan pakettia nvidia-glx-new (nvidia-glx-new_100.14.19+2.6.22-14_i386.deb)…
    SÀÀdΓ€n asetukset: nvidia-glx-new (1:100.14.19+2.6.22-14) …
    Processing triggers for libc6 …
    ldconfig deferred processing now taking place
    Valitsen aikaisemmin valitsemattoman paketin nvidia-glx-new-dev.
    (Luetaan tietokantaa… 263195 tiedostoa ja hakemistoa tΓ€llΓ€ hetkellΓ€ asennettuna.)
    Puretaan pakettia nvidia-glx-new-dev (nvidia-glx-new-dev_100.14.19+2.6.22-14_i386.deb)…
    SÀÀdΓ€n asetukset: nvidia-glx-new-dev (1:100.14.19+2.6.22-14) …
    Cleaning the build system:
    NOTE: The following are only warnings
    The build system is now clean
    ENVY: Operation Complete

  15. Doesn’t seem to have worked. I did restart the Xserver as well(Also restarted the computer for good measure), but I forgot to add that to the last comment.

    Thanks for the help… I guess I couldn’t file a bug, since I used your script?

  16. I used Envy after having many issues with my nvidia drivers. unfortunately I installed and used 0.9.8 before reading I should have uninstalled the previous version (I found a link to an older version on another website) and now I’m having all sorts of problems.
    I followed all the instructions above to remove Envy and finally got it reinstalled again.
    I re-ran the program and all seemed to be well but now it defaults to low graphics mode and I have to manually set the graphics card and driver every time I boot.
    Any ideas on how I can make sure it defaults to my current settings?

  17. Thanks for your prompt reply.
    I followed the instructions in the link and encountered all sorts of new problems.
    I followed the instructions again, had to do a couple of restarts and manually select the driver once again but finally everything seems to be working ok now!

    Many thanks.

  18. I’ve since reinstalled envy and now I’ve found the envy-installer.log file. I figure I should upload it to a file hosting site than to post the contents here(Keep it clean, right?), so here’s a link to the file: http://www.box.net/shared/yctlmzv1qz

    I’ll be checking back every once in a while, but if you would rather contact me in a different manner you may find several ways(meebo, deviantArt, meebo chat, etc) on my website.

    Thanks and hope this helps. ^.^

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.