Envy 0.9.7-0ubuntu11 is now available

here is the list of changes:

* Added: Nvidia driver 100.14.19
* Removed: Nvidia driver 100.14.11
* Fixed: Composite was disabled for the latest driver (this meant that no 3D Desktop effects could be enabled without reenabling Composite)
* Added: GUI dependecy checker. If some dependencies are not installed, an embedded version of Synaptic is called so as to install such dependencies (only in GNOME and XFCE).
* Removed the word "Ubuntu" from the .desktop, from the about dialogue and from the description in debian/control, since Envy is not used only in Ubuntu.

Unfortunately I didn’t manage to prevent Adept_batch from crashing when launched from Envy. This means that Envy won’t launch Adept in KDE in order to satisfy the dependencies which Envy requires. However such dependencies should be installed when you install Envy (i.e. Synaptic is called only if such dependencies are not installed). In other words this is nothing you should worry about.

Envy 0.9.7-0ubuntu09 and 0.9.7-0ubuntu10 were made available only to the Experimental release of Linux Mint (this is why I didn’t blog about them).

You can get Envy here as usual.


Make sure you remove the previous release of Envy before you use the new one
:
sudo apt-get remove envy
sudo rm -R /usr/share/envy

then install the new Envy

36 thoughts on “Envy 0.9.7-0ubuntu11 is now available

  1. The release hansn’t worked for me neither. I’ve had to reinstall Envy 0.9.7-0ubuntu8 and then the previous Nvidia driver. (I’m using ubuntu Feisty)

  2. @Pototo
    make sure you remove the previous release of Envy before you use the new one:
    sudo apt-get remove envy
    sudo rm -R /usr/share/envy

    then install the new Envy

  3. This latest version of Envy doesn’t seem to work for me on Ubuntu 7.04, any clue why? It complains about build-essential, which is installed, but it doesn’t think it is.

    intangible@ds54:~$ envy -t
    Password:
    ENVY: The following packages are not installed:
    build-essential
    ENVY: attempting to install the packages
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    build-essential is already the newest version.
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    ENVY ERROR: The following packages cannot be installed:
    build-essential
    intangible@ds54:~$ sudo apt-get install build-essential
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    build-essential is already the newest version.
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    intangible@ds54:~$

  4. @albertomilone

    Did that and I get the same results after reinstalling the clean copy…

    I commented out the dependency check in interface.py just to see if that was the only problem, but it rears its head again during the install process when checking for these dependencies:
    cpio
    sharutils
    libxtst-dev
    libxinerama-dev

    Those are installed as well…

    Just to be sure, I ran “apt-get install –reinstall” for all the affected packages, but it seems to make no difference.

  5. Alberto — thank you for making this available to so many who need it.

    Uh, i am using Freespire 2.0, based as i understand it, on Feisty but when i try to install nVidia, i get the message

    Your operating system is not supported.

    Is there anything i can do to “fix” this?

    Thanks again! and have a great afternoon! :)

  6. I have an ATI 9250 PCI card, running Ubuntu 7.04, trying to install the ATI driver using this but it tells me the legacy driver doesn’t support Ubuntu 7.04.

    What should I do? I’m desperate to get the drivers working.. (Been trying for ages)

    If possible please get back to me via email.

  7. hi im getting these errors

    Build log starting, file:

    /var/cache/modass/nvidia-new-kernel-source.buildlog.2.6.20-16-generic.119
    0573207
    Date: Sun, 23 Sep 2007 19:46:47 +0100

    OK: All the packages are installed
    dpkg: error processing nvidia-new-kernel-source*.deb (–install):
    cannot access archive: No such file or directory
    Errors were encountered while processing:
    nvidia-new-kernel-source*.deb
    tar: nvidia*: Cannot open: No such file or directory
    tar: Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Error exit delayed from previous errors
    Getting source for kernel version: 2.6.20-16-generic
    Kernel headers available in /lib/modules/2.6.20-16-generic/build
    apt-get install build-essential
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    build-essential is already the newest version.
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

    Done!

    Updated infos about 85 packages
    The source tarball could not be found!
    Package nvidia-new-kernel-source not installed?
    Running “m-a -f get nvidia-new-kernel-source” may help.
    find: /usr/src/modules: No such file or directory
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    dpkg: error processing nvidia-glx-new_*.deb (–install):
    cannot access archive: No such file or directory
    Errors were encountered while processing:
    nvidia-glx-new_*.deb
    dpkg: error processing nvidia-glx-new-dev_*.deb (–install):
    cannot access archive: No such file or directory
    Errors were encountered while processing:
    nvidia-glx-new-dev_*.deb
    Cleaning the build system:
    NOTE: The following are only warnings

    i have tried reinstalling didnt work …any ideas?

  8. Hi Alberto,
    Just want to say thanks for Envy. It’s an absolutely fantastic app, and the way it ‘just worked’ has saved me countless hours and days of headaches. Thanks.
    Alex

  9. @AussiedeviL
    type:
    sudo apt-get remove envy
    sudo rm -R /usr/share/envy

    sudo rm /usr/src/linux

    then install Envy again and try to install the driver

  10. Hi Alberto,
    First I’d like to say thank you for this great tool.
    I’m a newbie when it comes to Linux, but I’m trying to catch up evenfor just a bit.

    Anyway I have a question.
    I installed feisty and then installed nVidia driver using Envy. It worked.. until I installed LinuxMCE, then i got an error I couldn’t bootn into Ubuntu GUI.
    So I do sudo dpkg-reconfigure xserver-xorg, and it fixed it. But everytime I reinstalled nVidia driver using Envy I had the same problem.

    I tried using text based installer, that doesn’t help either.

    Any idea?

    Thank you

  11. I’ve used latest envy to remove in a clean way the nvdia driver 100.14.11 I installed before manually, and then updated through Envy to 100.14.19. But even if I had no errors, I lost the original nvidia control panel! I don’t know where is is now..

  12. Hi Alberto,

    Thanks for your promptness respond.

    Here’s the log, it’s quite long though.

    Again thanks
    ——————————————————————

    python pulse.py nvidia
    dcerouter_35002:/usr/share/envy# python pulse.py nvidia
    Ubuntu Feisty 32bit
    Your graphic card has been detected as a GeForce 8800 GTS
    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
    An installer has been detected
    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.20
    dpkg-buildpackage: source version is 2.6.20-15
    dpkg-buildpackage: source changed by Colin Watson
    dpkg-buildpackage: host architecture i386
    dpkg-buildpackage: source version without epoch 2.6.20-15
    debian/rules clean
    echo ‘# THIS FILE IS AUTO-GENERATED FROM control.stub.in’ > debian/control.stub
    if [ “1.0.100.14.19” = “1.0.9639” ]; then
    sed -e ‘s/@@NV_VERSION@@/1.0.9639/g’
    -e ‘s/@@KVERSION@@/2.6.20/g’
    -e ‘s/@@ABIVER@@/2.6.20/g’
    debian/control.stub.in >> debian/control.stub;
    fi;
    if [ “1.0.100.14.19” = “1.0.100.14.19” ]; then
    sed -e ‘s/@@NV_NEW_VERSION@@/1.0.100.14.19/g’
    -e ‘s/@@KVERSION@@/2.6.20/g’
    -e ‘s/@@ABIVER@@/2.6.20/g’
    debian/control.stub.in >> debian/control.stub;
    fi;
    if [ “1.0.100.14.19” = “1.0.7185” ]; then
    sed -e ‘s/@@NV_LEGACY_VERSION@@/1.0.7185/g’
    -e ‘s/@@KVERSION@@/2.6.20/g’
    -e ‘s/@@ABIVER@@/2.6.20/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.20/g’
    debian/d-i/kernel-versions.in >> debian/d-i/kernel-versions
    rm -rf /usr/share/envy/linux-restricted-modules-2.6.20/debian/d-i-i386
    mkdir -p /usr/share/envy/linux-restricted-modules-2.6.20/debian/d-i-i386/modules /usr/share/envy/linux-restricted-modules-2.6.20/debian/d-i-i386/firmware
    cp -a debian/d-i/modules/i386 /usr/share/envy/linux-restricted-modules-2.6.20/debian/d-i-i386/modules/
    cp: cannot stat `debian/d-i/modules/i386′: No such file or directory
    make: [debian/control] Error 1 (ignored)
    cp -a debian/d-i/firmware/i386 /usr/share/envy/linux-restricted-modules-2.6.20/debian/d-i-i386/firmware/
    cp: cannot stat `debian/d-i/firmware/i386′: No such file or directory
    make: [debian/control] Error 1 (ignored)
    cp -a debian/d-i/package-list debian/d-i/kernel-versions /usr/share/envy/linux-restricted-modules-2.6.20/debian/d-i-i386/
    ln -s .. /usr/share/envy/linux-restricted-modules-2.6.20/debian/d-i-i386/debian
    (cd /usr/share/envy/linux-restricted-modules-2.6.20/debian/d-i-i386 && kernel-wedge gen-control) > debian/control
    rm -rf /usr/share/envy/linux-restricted-modules-2.6.20/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-1.0-9639-pkg1 nvidia/NVIDIA-Linux-x86-1.0-7185-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.20/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.20-15-generic
    if [ “1.0.100.14.19” = “1.0.9639” ]; then
    cd nvidia && sh ./NVIDIA-Linux-x86-1.0-9639-pkg1.run –extract-only;
    if [ -d /usr/share/envy/linux-restricted-modules-2.6.20/nvidia/patches/ ]; then
    for i in /usr/share/envy/linux-restricted-modules-2.6.20/nvidia/patches/*; do
    patch -p0 -d nvidia/NVIDIA-Linux-x86-1.0-9639-pkg1 debian/nvidia-glx$i;
    done;
    fi
    if [ “1.0.100.14.19” = “1.0.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.20/nvidia/patches-new/ ]; then
    for i in /usr/share/envy/linux-restricted-modules-2.6.20/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 [ “1.0.100.14.19” = “1.0.7185” ]; then
    cd nvidia && sh ./NVIDIA-Linux-x86-1.0-7185-pkg1.run –extract-only;
    if [ -d /usr/share/envy/linux-restricted-modules-2.6.20/nvidia/patches-legacy/ ]; then
    for i in /usr/share/envy/linux-restricted-modules-2.6.20/nvidia/patches-legacy/*; do
    patch -p0 -d nvidia/NVIDIA-Linux-x86-1.0-7185-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.20-15-generic.postinst;
    sed -e “s/@@KVERSION@@/$i/g;” debian/linux-restricted-modules.postrm
    > debian/linux-restricted-modules-2.6.20-15-generic.postrm;
    touch unpack-stamp
    dh_testdir
    touch build-stamp
    touch unpack-avm-stamp
    dh_testdir
    touch build-avm-stamp
    dh_testdir
    #if [ “1.0.100.14.19” = “9639” ]; then
    #sh -e nvidia/nvidia_supported
    #debian/build/2.6.20-15-generic/nv/nv-kernel.o nvidia
    #> debian/build/2.6.20-15-generic/nv/modules.alias.override;
    #fi
    #if [ “1.0.100.14.19” = “100.14.19” ]; then
    #sh -e nvidia/nvidia_supported
    #debian/build/2.6.20-15-generic/nv-new/nv-kernel.o nvidia_new
    #> debian/build/2.6.20-15-generic/nv/modules.alias.override;
    #fi
    #if [ “1.0.100.14.19” = “7185” ]; then
    #sh -e nvidia/nvidia_supported
    #debian/build/2.6.20-15-generic/nv-legacy/nv-kernel.o nvidia_legacy
    #> debian/build/2.6.20-15-generic/nv/modules.alias.override;
    #fi
    touch modalias-patterns-stamp
    echo ‘# THIS FILE IS AUTO-GENERATED FROM control.stub.in’ > debian/control.stub
    if [ “1.0.100.14.19” = “1.0.9639” ]; then
    sed -e ‘s/@@NV_VERSION@@/1.0.9639/g’
    -e ‘s/@@KVERSION@@/2.6.20/g’
    -e ‘s/@@ABIVER@@/2.6.20/g’
    debian/control.stub.in >> debian/control.stub;
    fi;
    if [ “1.0.100.14.19” = “1.0.100.14.19” ]; then
    sed -e ‘s/@@NV_NEW_VERSION@@/1.0.100.14.19/g’
    -e ‘s/@@KVERSION@@/2.6.20/g’
    -e ‘s/@@ABIVER@@/2.6.20/g’
    debian/control.stub.in >> debian/control.stub;
    fi;
    if [ “1.0.100.14.19” = “1.0.7185” ]; then
    sed -e ‘s/@@NV_LEGACY_VERSION@@/1.0.7185/g’
    -e ‘s/@@KVERSION@@/2.6.20/g’
    -e ‘s/@@ABIVER@@/2.6.20/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.20/g’
    debian/d-i/kernel-versions.in >> debian/d-i/kernel-versions
    rm -rf /usr/share/envy/linux-restricted-modules-2.6.20/debian/d-i-i386
    mkdir -p /usr/share/envy/linux-restricted-modules-2.6.20/debian/d-i-i386/modules /usr/share/envy/linux-restricted-modules-2.6.20/debian/d-i-i386/firmware
    cp -a debian/d-i/modules/i386 /usr/share/envy/linux-restricted-modules-2.6.20/debian/d-i-i386/modules/
    cp: cannot stat `debian/d-i/modules/i386′: No such file or directory
    make: [debian/control] Error 1 (ignored)
    cp -a debian/d-i/firmware/i386 /usr/share/envy/linux-restricted-modules-2.6.20/debian/d-i-i386/firmware/
    cp: cannot stat `debian/d-i/firmware/i386′: No such file or directory
    make: [debian/control] Error 1 (ignored)
    cp -a debian/d-i/package-list debian/d-i/kernel-versions /usr/share/envy/linux-restricted-modules-2.6.20/debian/d-i-i386/
    ln -s .. /usr/share/envy/linux-restricted-modules-2.6.20/debian/d-i-i386/debian
    (cd /usr/share/envy/linux-restricted-modules-2.6.20/debian/d-i-i386 && kernel-wedge gen-control) > debian/control
    rm -rf /usr/share/envy/linux-restricted-modules-2.6.20/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 [ “1.0.100.14.19” = “1.0.9639” ]; then
    sed -e ‘s/@@NV_VERSION@@/1.0.9639/g’
    -e ‘s/@@KVERSION@@/2.6.20/g’
    -e ‘s/@@ABIVER@@/2.6.20/g’
    debian/control.stub.in >> debian/control.stub;
    fi;
    if [ “1.0.100.14.19” = “1.0.100.14.19” ]; then
    sed -e ‘s/@@NV_NEW_VERSION@@/1.0.100.14.19/g’
    -e ‘s/@@KVERSION@@/2.6.20/g’
    -e ‘s/@@ABIVER@@/2.6.20/g’
    debian/control.stub.in >> debian/control.stub;
    fi;
    if [ “1.0.100.14.19” = “1.0.7185” ]; then
    sed -e ‘s/@@NV_LEGACY_VERSION@@/1.0.7185/g’
    -e ‘s/@@KVERSION@@/2.6.20/g’
    -e ‘s/@@ABIVER@@/2.6.20/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.20/g’
    debian/d-i/kernel-versions.in >> debian/d-i/kernel-versions
    rm -rf /usr/share/envy/linux-restricted-modules-2.6.20/debian/d-i-i386
    mkdir -p /usr/share/envy/linux-restricted-modules-2.6.20/debian/d-i-i386/modules /usr/share/envy/linux-restricted-modules-2.6.20/debian/d-i-i386/firmware
    cp -a debian/d-i/modules/i386 /usr/share/envy/linux-restricted-modules-2.6.20/debian/d-i-i386/modules/
    cp: cannot stat `debian/d-i/modules/i386′: No such file or directory
    make: [debian/control] Error 1 (ignored)
    cp -a debian/d-i/firmware/i386 /usr/share/envy/linux-restricted-modules-2.6.20/debian/d-i-i386/firmware/
    cp: cannot stat `debian/d-i/firmware/i386′: No such file or directory
    make: [debian/control] Error 1 (ignored)
    cp -a debian/d-i/package-list debian/d-i/kernel-versions /usr/share/envy/linux-restricted-modules-2.6.20/debian/d-i-i386/
    ln -s .. /usr/share/envy/linux-restricted-modules-2.6.20/debian/d-i-i386/debian
    (cd /usr/share/envy/linux-restricted-modules-2.6.20/debian/d-i-i386 && kernel-wedge gen-control) > debian/control
    rm -rf /usr/share/envy/linux-restricted-modules-2.6.20/debian/d-i-i386
    dh_testdir
    dh_testroot
    chmod 0644 /usr/share/envy/linux-restricted-modules-2.6.20/debian/temp/modules/nvidia-kernel/debian/$f ;
    done ;
    cp -al nvidia/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv /usr/share/envy/linux-restricted-modules-2.6.20/debian/temp/modules/nvidia-kernel || true;
    rm -f /usr/share/envy/linux-restricted-modules-2.6.20/debian/temp/modules/nvidia-kernel/nv/Makefile;
    chmod 755 /usr/share/envy/linux-restricted-modules-2.6.20/debian/temp/modules/nvidia-kernel/debian/rules;
    chown -R root:src /usr/share/envy/linux-restricted-modules-2.6.20/debian/temp/modules;
    rm -rf /usr/share/envy/linux-restricted-modules-2.6.20/debian/temp/modules/nvidia-kernel/nv/precompiled;
    tar -zcvf /usr/share/envy/linux-restricted-modules-2.6.20/nvidia-kernel-source.tar.gz -C /usr/share/envy/linux-restricted-modules-2.6.20/debian/temp modules;
    rm -rf debian/temp;
    fi
    if [ “1.0.100.14.19” = “1.0.7185” ]; then
    mkdir -p /usr/share/envy/linux-restricted-modules-2.6.20/debian/temp/modules/nvidia-legacy-kernel/debian;
    mkdir -p /usr/share/envy/linux-restricted-modules-2.6.20/debian/temp/modules/nvidia-legacy-kernel/nv;
    cp -r /usr/share/envy/linux-restricted-modules-2.6.20/nvidia/debian.binary/* /usr/share/envy/linux-restricted-modules-2.6.20/debian/temp/modules/nvidia-legacy-kernel/debian;
    set +e && for f in `ls /usr/share/envy/linux-restricted-modules-2.6.20/nvidia/debian.binary` ; do
    perl -p
    -e ‘s{#BASE_VERSION#}{1.0}g;’
    -e ‘s{#RELEASE#}{7185}g;’
    -e ‘s{#VERSION#}{1.0.7185}g;’
    -e ‘s{#UPSTREAMVERSION#}{1.0-7185}g;’
    -e ‘s{#URL#}{http://download.nvidia.com/XFree86/Linux-x86/1.0-7185/NVIDIA-Linux-x86-1.0-7185-pkg1.run}g’
    /usr/share/envy/linux-restricted-modules-2.6.20/debian/temp/modules/nvidia-legacy-kernel/debian/$f ;
    chmod 0644 /usr/share/envy/linux-restricted-modules-2.6.20/debian/temp/modules/nvidia-legacy-kernel/debian/$f ;
    done;
    cp -al nvidia/NVIDIA-Linux-x86-1.0-7185-pkg1/usr/src/nv /usr/share/envy/linux-restricted-modules-2.6.20/debian/temp/modules/nvidia-legacy-kernel || true;
    rm -f /usr/share/envy/linux-restricted-modules-2.6.20/debian/temp/modules/nvidia-legacy-kernel/nv/Makefile;
    chmod 755 /usr/share/envy/linux-restricted-modules-2.6.20/debian/temp/modules/nvidia-legacy-kernel/debian/rules;
    chown -R root:src /usr/share/envy/linux-restricted-modules-2.6.20/debian/temp/modules;
    rm -rf /usr/share/envy/linux-restricted-modules-2.6.20/debian/temp/modules/nvidia-legacy-kernel/nv/precompiled;
    tar -zcvf /usr/share/envy/linux-restricted-modules-2.6.20/nvidia-legacy-kernel-source.tar.gz -C /usr/share/envy/linux-restricted-modules-2.6.20/debian/temp modules;
    rm -rf debian/temp;
    fi
    if [ “1.0.100.14.19” = “1.0.100.14.19” ]; then
    mkdir -p /usr/share/envy/linux-restricted-modules-2.6.20/debian/temp/modules/nvidia-new-kernel/debian;
    mkdir -p /usr/share/envy/linux-restricted-modules-2.6.20/debian/temp/modules/nvidia-new-kernel/nv;
    cp -r /usr/share/envy/linux-restricted-modules-2.6.20/nvidia/debian.binary/* /usr/share/envy/linux-restricted-modules-2.6.20/debian/temp/modules/nvidia-new-kernel/debian;
    set +e && for f in `ls /usr/share/envy/linux-restricted-modules-2.6.20/nvidia/debian.binary` ; do
    perl -p
    -e ‘s{#BASE_VERSION#}{1.0}g;’
    -e ‘s{#RELEASE#}{100.14.19}g;’
    -e ‘s{#VERSION#}{1.0.100.14.19}g;’
    -e ‘s{#UPSTREAMVERSION#}{1.0-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.20/debian/temp/modules/nvidia-new-kernel/debian/$f ;
    chmod 0644 /usr/share/envy/linux-restricted-modules-2.6.20/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.20/debian/temp/modules/nvidia-new-kernel || true;
    rm -f /usr/share/envy/linux-restricted-modules-2.6.20/debian/temp/modules/nvidia-new-kernel/nv/Makefile;
    chmod 755 /usr/share/envy/linux-restricted-modules-2.6.20/debian/temp/modules/nvidia-new-kernel/debian/rules;
    chown -R root:src /usr/share/envy/linux-restricted-modules-2.6.20/debian/temp/modules;
    rm -rf /usr/share/envy/linux-restricted-modules-2.6.20/debian/temp/modules/nvidia-new-kernel/nv/precompiled;
    tar -zcvf /usr/share/envy/linux-restricted-modules-2.6.20/nvidia-new-kernel-source.tar.gz -C /usr/share/envy/linux-restricted-modules-2.6.20/debian/temp modules;
    rm -rf debian/temp;
    fi
    modules/
    modules/nvidia-new-kernel/
    modules/nvidia-new-kernel/nv/
    modules/nvidia-new-kernel/nv/gcc-version-check.c
    modules/nvidia-new-kernel/nv/Makefile.nvidia
    modules/nvidia-new-kernel/nv/Makefile.kbuild
    modules/nvidia-new-kernel/nv/nv.h
    modules/nvidia-new-kernel/nv/README
    modules/nvidia-new-kernel/nv/rmretval.h
    modules/nvidia-new-kernel/nv/cpuopsys.h
    modules/nvidia-new-kernel/nv/nvacpi.c
    modules/nvidia-new-kernel/nv/nv-linux.h
    modules/nvidia-new-kernel/nv/os-agp.h
    modules/nvidia-new-kernel/nv/nv-vm.c
    modules/nvidia-new-kernel/nv/nv.c
    modules/nvidia-new-kernel/nv/os-interface.c
    modules/nvidia-new-kernel/nv/os-registry.c
    modules/nvidia-new-kernel/nv/pat.h
    modules/nvidia-new-kernel/nv/nvreadme.h
    modules/nvidia-new-kernel/nv/makefile
    modules/nvidia-new-kernel/nv/nv-vm.h
    modules/nvidia-new-kernel/nv/nv-memdbg.h
    modules/nvidia-new-kernel/nv/nv-misc.h
    modules/nvidia-new-kernel/nv/nv-i2c.c
    modules/nvidia-new-kernel/nv/nv-kernel.o
    modules/nvidia-new-kernel/nv/nvtypes.h
    modules/nvidia-new-kernel/nv/os-interface.h
    modules/nvidia-new-kernel/nv/os-agp.c
    modules/nvidia-new-kernel/nv/conftest.sh
    modules/nvidia-new-kernel/debian/
    modules/nvidia-new-kernel/debian/postrm
    modules/nvidia-new-kernel/debian/README.Debian
    modules/nvidia-new-kernel/debian/dirs.template
    modules/nvidia-new-kernel/debian/rules
    modules/nvidia-new-kernel/debian/postinst
    modules/nvidia-new-kernel/debian/control.template
    modules/nvidia-new-kernel/debian/changelog
    modules/nvidia-new-kernel/debian/override.template
    modules/nvidia-new-kernel/debian/copyright
    touch build-kernel-stamp
    dh_testdir
    dh_clean -k
    dh_installdirs
    -2.6.20/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.20/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.20/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.20/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.20/debian/nvidia-glx-new-dev/usr/lib32/libGL.la;
    fi;
    install nvidia/nvidia-glx-config
    /usr/share/envy/linux-restricted-modules-2.6.20/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.20/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.20/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.20/debian/nvidia-glx-new/usr/lib32/;
    install -d /usr/share/envy/linux-restricted-modules-2.6.20/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.20/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.20/debian/nvidia-glx-new/usr/lib/xorg/modules/;
    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.20/debian/nvidia-glx-new/usr/lib/xorg/modules/;
    install nvidia/NVIDIA-Linux-x86-100.14.19-pkg1/usr/bin/tls_test
    /usr/share/envy/linux-restricted-modules-2.6.20/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.20/debian/nvidia-glx-new/usr/lib/nvidia;
    install -d /usr/share/envy/linux-restricted-modules-2.6.20/debian/nvidia-glx-new/usr/share/lintian/overrides;
    install -m 0644 debian/nvidia-glx-new.override
    /usr/share/envy/linux-restricted-modules-2.6.20/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.20/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.20/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.20/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.20/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.20/debian/nvidia-glx-new/usr/share/man/man1/;
    fi;
    install /usr/share/envy/linux-restricted-modules-2.6.20/debian/nvidia-glx-new.reportbug
    /usr/share/envy/linux-restricted-modules-2.6.20/debian/nvidia-glx-new/usr/share/bug/nvidia-glx-new/script;
    fi;
    install -d /usr/share/envy/linux-restricted-modules-2.6.20/debian/nvidia-glx-legacy/usr/lib32
    /usr/share/envy/linux-restricted-modules-2.6.20/debian/nvidia-glx-legacy-dev/usr/lib32;
    install -m 0644 nvidia/NVIDIA-Linux-x86-1.0-7185-pkg1/usr/lib32/libGL.so.1.0.7185
    /usr/share/envy/linux-restricted-modules-2.6.20/debian/nvidia-glx-legacy/usr/lib32;
    install -m 0644 nvidia/NVIDIA-Linux-x86-1.0-7185-pkg1/usr/lib32/libGLcore.so.1.0.7185
    /usr/share/envy/linux-restricted-modules-2.6.20/debian/nvidia-glx-legacy/usr/lib32;
    if [ -e nvidia/NVIDIA-Linux-x86-1.0-7185-pkg1/usr/lib32/libnvidia-cfg.so.1.0.7185 ]; then
    install -m 0644 nvidia/NVIDIA-Linux-x86-1.0-7185-pkg1/usr/lib32/libnvidia-cfg.so.1.0.7185
    /usr/share/envy/linux-restricted-modules-2.6.20/debian/nvidia-glx-legacy/usr/lib32;
    fi;
    sed “s/__GENERATED_BY__/Ubuntu nvidia–legacygraphics-drivers/”
    nvidia/NVIDIA-Linux-x86-1.0-7185-pkg1/usr/lib32/libGL.la |
    sed “s/__LIBGL_PATH__//usr/lib32/” >
    /usr/share/envy/linux-restricted-modules-2.6.20/debian/nvidia-glx-legacy-dev/usr/lib32/libGL.la;
    fi;
    install nvidia/nvidia-glx-config
    /usr/share/envy/linux-restricted-modules-2.6.20/debian/nvidia-glx-legacy/usr/sbin;
    install nvidia/NVIDIA-Linux-x86-1.0-7185-pkg1/usr/lib/libnvidia-tls.so.1.0.7185
    /usr/share/envy/linux-restricted-modules-2.6.20/debian/nvidia-glx-legacy/usr/lib/;
    install nvidia/NVIDIA-Linux-x86-1.0-7185-pkg1/usr/lib/tls/libnvidia-tls.so.1.0.7185
    /usr/share/envy/linux-restricted-modules-2.6.20/debian/nvidia-glx-legacy/usr/lib/tls/;
    if [ “i386″ = “amd64″ ]; then
    install nvidia/NVIDIA-Linux-x86-1.0-7185-pkg1/usr/lib32/libnvidia-tls.so.1.0.7185
    /usr/share/envy/linux-restricted-modules-2.6.20/debian/nvidia-glx-legacy/usr/lib32/;
    install -d /usr/share/envy/linux-restricted-modules-2.6.20/debian/nvidia-glx-legacy/usr/lib32/tls;
    install nvidia/NVIDIA-Linux-x86-1.0-7185-pkg1/usr/lib32/tls/libnvidia-tls.so.1.0.7185
    /usr/share/envy/linux-restricted-modules-2.6.20/debian/nvidia-glx-legacy/usr/lib32/tls/;
    fi;
    install nvidia/NVIDIA-Linux-x86-1.0-7185-pkg1/usr/X11R6/lib/modules/extensions/libglx.so.1.0.7185
    /usr/share/envy/linux-restricted-modules-2.6.20/debian/nvidia-glx-legacy/usr/lib/xorg/modules/;
    install nvidia/NVIDIA-Linux-x86-1.0-7185-pkg1/usr/bin/tls_test
    /usr/share/envy/linux-restricted-modules-2.6.20/debian/nvidia-glx-legacy/usr/lib/nvidia;
    install nvidia/NVIDIA-Linux-x86-1.0-7185-pkg1/usr/bin/tls_test_dso.so
    /usr/share/envy/linux-restricted-modules-2.6.20/debian/nvidia-glx-legacy/usr/lib/nvidia;
    install -d /usr/share/envy/linux-restricted-modules-2.6.20/debian/nvidia-glx-legacy/usr/share/lintian/overrides;
    install -m 0644 debian/nvidia-glx-legacy.override
    /usr/share/envy/linux-restricted-modules-2.6.20/debian/nvidia-glx-legacy/usr/share/lintian/overrides/nvidia-glx-legacy;
    install -m 755 nvidia/NVIDIA-Linux-x86-1.0-7185-pkg1/usr/bin/nvidia-bug-report.sh
    /usr/share/envy/linux-restricted-modules-2.6.20/debian/nvidia-glx-legacy/usr/bin/;
    if [ -e nvidia/NVIDIA-Linux-x86-1.0-7185-pkg1/usr/share/man/man1/nvidia-settings.1.gz ]; then
    install -m 755 nvidia/NVIDIA-Linux-x86-1.0-7185-pkg1/usr/bin/nvidia-settings
    /usr/share/envy/linux-restricted-modules-2.6.20/debian/nvidia-glx-legacy/usr/bin/;
    install -m 644 nvidia/NVIDIA-Linux-x86-1.0-7185-pkg1/usr/share/man/man1/nvidia-settings.1.gz
    /usr/share/envy/linux-restricted-modules-2.6.20/debian/nvidia-glx-legacy/usr/share/man/man1/;
    fi;
    if [ -e nvidia/NVIDIA-Linux-x86-1.0-7185-pkg1/usr/share/man/man1/nvidia-xconfig.1.gz ]; then
    install -m 755 nvidia/NVIDIA-Linux-x86-1.0-7185-pkg1/usr/bin/nvidia-xconfig
    /usr/share/envy/linux-restricted-modules-2.6.20/debian/nvidia-glx-legacy/usr/bin/;
    install -m 644 nvidia/NVIDIA-Linux-x86-1.0-7185-pkg1/usr/share/man/man1/nvidia-xconfig.1.gz
    /usr/share/envy/linux-restricted-modules-2.6.20/debian/nvidia-glx-legacy/usr/share/man/man1/;
    fi;
    install /usr/share/envy/linux-restricted-modules-2.6.20/debian/nvidia-glx-legacy.reportbug
    /usr/share/envy/linux-restricted-modules-2.6.20/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 [ “1.0.100.14.19” = “1.0.7185” ]; 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.9639 -X1.0.7185 -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.20/debian/nvidia-glx/usr/lib:/usr/share/envy/linux-restricted-modules-2.6.20/debian/xorg-driver-fglrx/usr/lib
    # this is a dirty hack, but we don’t want -glx-legacy to depend on -glx
    if [ “1.0.100.14.19” = “1.0.7185” ]; 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 [ “1.0.100.14.19” = “1.0.9639” ]; then
    dh_gencontrol -v -pnvidia-glx — -v1:1.0.9639+2.6.20-15 -Vnvidia:Version=1.0.9639;
    dh_gencontrol -v -pnvidia-glx-dev — -v1:1.0.9639+2.6.20-15 -Vnvidia:Version=1.0.9639;
    dh_gencontrol -v -pnvidia-kernel-source — -v1:1.0.9639+2.6.20-15 -Vnvidia:Version=1.0.9639;
    fi;
    if [ “1.0.100.14.19” = “1.0.100.14.19” ]; then
    dh_gencontrol -v -pnvidia-glx-new — -v1:100.14.19+2.6.20-15 -Vnvidia:NewVersion=100.14.19;
    dh_gencontrol -v -pnvidia-glx-new-dev — -v1:100.14.19+2.6.20-15 -Vnvidia:NewVersion=100.14.19;
    dh_gencontrol -v -pnvidia-new-kernel-source — -v1:100.14.19+2.6.20-15 -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.20-15 -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.20-15 -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.20-15 -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 [ “1.0.100.14.19” = “1.0.7185” ]; then
    dh_gencontrol -v -pnvidia-glx-legacy — -v1:1.0.7185+2.6.20-15 -Vnvidia:LegacyVersion=1.0.7185;
    dh_gencontrol -v -pnvidia-glx-legacy-dev — -v1:1.0.7185+2.6.20-15 -Vnvidia:LegacyVersion=1.0.7185;
    dh_gencontrol -v -pnvidia-legacy-kernel-source — -v1:1.0.7185+2.6.20-15 -Vnvidia:LegacyVersion=1.0.7185;
    fi;
    dh_md5sums -s
    dh_builddeb -s
    dpkg-deb: building package `nvidia-glx-new’ in `../nvidia-glx-new_100.14.19+2.6.20-15_i386.deb’.
    dpkg-deb: building package `nvidia-glx-new-dev’ in `../nvidia-glx-new-dev_100.14.19+2.6.20-15_i386.deb’.
    dpkg-deb: building package `nvidia-new-kernel-source’ in `../nvidia-new-kernel-source_100.14.19+2.6.20-15_i386.deb’.
    dpkg-genchanges -b
    dpkg-genchanges: binary-only upload – not including any source code
    dpkg-buildpackage: binary only upload (no source included)
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    0 upgraded, 0 newly installed, 0 to remove and 48 not upgraded.
    OK: All the packages are installed
    Selecting previously deselected package nvidia-new-kernel-source.
    (Reading database … 123131 files and directories currently installed.)
    Unpacking nvidia-new-kernel-source (from nvidia-new-kernel-source_100.14.19+2.6.20-15_i386.deb) …
    Setting up nvidia-new-kernel-source (100.14.19+2.6.20-15) …
    modules/
    modules/nvidia-new-kernel/
    modules/nvidia-new-kernel/nv/
    modules/nvidia-new-kernel/nv/gcc-version-check.c
    modules/nvidia-new-kernel/nv/Makefile.nvidia
    modules/nvidia-new-kernel/nv/Makefile.kbuild
    modules/nvidia-new-kernel/nv/nv.h
    modules/nvidia-new-kernel/nv/README
    modules/nvidia-new-kernel/nv/rmretval.h
    modules/nvidia-new-kernel/nv/cpuopsys.h
    modules/nvidia-new-kernel/nv/nvacpi.c
    modules/nvidia-new-kernel/nv/nv-linux.h
    modules/nvidia-new-kernel/nv/os-agp.h
    modules/nvidia-new-kernel/nv/nv-vm.c
    modules/nvidia-new-kernel/nv/nv.c
    modules/nvidia-new-kernel/nv/os-interface.c
    modules/nvidia-new-kernel/nv/os-registry.c
    modules/nvidia-new-kernel/nv/pat.h
    modules/nvidia-new-kernel/nv/nvreadme.h
    modules/nvidia-new-kernel/nv/makefile
    modules/nvidia-new-kernel/nv/nv-vm.h
    modules/nvidia-new-kernel/nv/nv-memdbg.h
    modules/nvidia-new-kernel/nv/nv-misc.h
    modules/nvidia-new-kernel/nv/nv-i2c.c
    modules/nvidia-new-kernel/nv/nv-kernel.o
    modules/nvidia-new-kernel/nv/nvtypes.h
    modules/nvidia-new-kernel/nv/os-interface.h
    modules/nvidia-new-kernel/nv/os-agp.c
    modules/nvidia-new-kernel/nv/conftest.sh
    modules/nvidia-new-kernel/debian/
    modules/nvidia-new-kernel/debian/postrm
    modules/nvidia-new-kernel/debian/README.Debian
    modules/nvidia-new-kernel/debian/dirs.template
    modules/nvidia-new-kernel/debian/rules
    modules/nvidia-new-kernel/debian/postinst
    modules/nvidia-new-kernel/debian/control.template
    modules/nvidia-new-kernel/debian/changelog
    modules/nvidia-new-kernel/debian/override.template
    modules/nvidia-new-kernel/debian/copyright
    Getting source for kernel version: 2.6.20-15-generic
    Kernel headers available in /lib/modules/2.6.20-15-generic/build
    apt-get install build-essential
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    build-essential is already the newest version.
    0 upgraded, 0 newly installed, 0 to remove and 48 not upgraded.

    Done!
    Updated infos about 85 packages
    Extracting the package tarball, /usr/src/nvidia-new-kernel-source.tar.gz, please wait…

    -glx-new.substvars -Pdebian/nvidia-glx-new -v1:100.14.19+2.6.20-15 -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.20-15 -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.20-15 -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 [ “1.0.100.14.19” = “1.0.7185” ]; then
    dh_gencontrol -v -pnvidia-glx-legacy — -v1:1.0.7185+2.6.20-15 -Vnvidia:LegacyVersion=1.0.7185;
    dh_gencontrol -v -pnvidia-glx-legacy-dev — -v1:1.0.7185+2.6.20-15 -Vnvidia:LegacyVersion=1.0.7185;
    dh_gencontrol -v -pnvidia-legacy-kernel-source — -v1:1.0.7185+2.6.20-15 -Vnvidia:LegacyVersion=1.0.7185;
    fi;
    dh_md5sums -s
    dh_builddeb -s
    dpkg-deb: building package `nvidia-glx-new’ in `../nvidia-glx-new_100.14.19+2.6.20-15_i386.deb’.
    dpkg-deb: building package `nvidia-glx-new-dev’ in `../nvidia-glx-new-dev_100.14.19+2.6.20-15_i386.deb’.
    dpkg-deb: building package `nvidia-new-kernel-source’ in `../nvidia-new-kernel-source_100.14.19+2.6.20-15_i386.deb’.
    dpkg-genchanges -b
    dpkg-genchanges: binary-only upload – not including any source code
    dpkg-buildpackage: binary only upload (no source included)
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    0 upgraded, 0 newly installed, 0 to remove and 48 not upgraded.

    OK: All the packages are installed
    Selecting previously deselected package nvidia-new-kernel-source.
    (Reading database … 123131 files and directories currently installed.)
    Unpacking nvidia-new-kernel-source (from nvidia-new-kernel-source_100.14.19+2.6.20-15_i386.deb) …
    Setting up nvidia-new-kernel-source (100.14.19+2.6.20-15) …
    modules/
    modules/nvidia-new-kernel/
    modules/nvidia-new-kernel/nv/
    modules/nvidia-new-kernel/nv/gcc-version-check.c
    modules/nvidia-new-kernel/nv/Makefile.nvidia
    modules/nvidia-new-kernel/nv/Makefile.kbuild
    modules/nvidia-new-kernel/nv/nv.h
    modules/nvidia-new-kernel/nv/README
    modules/nvidia-new-kernel/nv/rmretval.h
    modules/nvidia-new-kernel/nv/cpuopsys.h
    modules/nvidia-new-kernel/nv/nvacpi.c
    modules/nvidia-new-kernel/nv/nv-linux.h
    modules/nvidia-new-kernel/nv/os-agp.h
    modules/nvidia-new-kernel/nv/nv-vm.c
    modules/nvidia-new-kernel/nv/nv.c
    modules/nvidia-new-kernel/nv/os-interface.c
    modules/nvidia-new-kernel/nv/os-registry.c
    modules/nvidia-new-kernel/nv/pat.h
    modules/nvidia-new-kernel/nv/nvreadme.h
    modules/nvidia-new-kernel/nv/makefile
    modules/nvidia-new-kernel/nv/nv-vm.h
    modules/nvidia-new-kernel/nv/nv-memdbg.h
    modules/nvidia-new-kernel/nv/nv-misc.h
    modules/nvidia-new-kernel/nv/nv-i2c.c
    modules/nvidia-new-kernel/nv/nv-kernel.o
    modules/nvidia-new-kernel/nv/nvtypes.h
    modules/nvidia-new-kernel/nv/os-interface.h
    modules/nvidia-new-kernel/nv/os-agp.c
    modules/nvidia-new-kernel/nv/conftest.sh
    modules/nvidia-new-kernel/debian/
    modules/nvidia-new-kernel/debian/postrm
    modules/nvidia-new-kernel/debian/README.Debian
    modules/nvidia-new-kernel/debian/dirs.template
    modules/nvidia-new-kernel/debian/rules
    modules/nvidia-new-kernel/debian/postinst
    modules/nvidia-new-kernel/debian/control.template
    modules/nvidia-new-kernel/debian/changelog
    modules/nvidia-new-kernel/debian/override.template
    modules/nvidia-new-kernel/debian/copyright
    Getting source for kernel version: 2.6.20-15-generic
    Kernel headers available in /lib/modules/2.6.20-15-generic/build
    apt-get install build-essential
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    build-essential is already the newest version.
    0 upgraded, 0 newly installed, 0 to remove and 48 not upgraded.

    Done!

    Updated infos about 85 packages
    Extracting the package tarball, /usr/src/nvidia-new-kernel-source.tar.gz, please wait…
    Done with /usr/src/nvidia-kernel-2.6.20-15-generic_100.14.19-0ubuntu3+2.6.20-15.27_i386.deb .
    Version 100.14.19-0ubuntu3+2.6.20-15.27 of nvidia-kernel-2.6.20-15-generic already installed, skipping.
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    0 upgraded, 0 newly installed, 0 to remove and 48 not upgraded.
    Selecting previously deselected package nvidia-glx-new.
    (Reading database … 123136 files and directories currently installed.)
    Unpacking nvidia-glx-new (from nvidia-glx-new_100.14.19+2.6.20-15_i386.deb) …
    Setting up nvidia-glx-new (100.14.19+2.6.20-15) …

    Selecting previously deselected package nvidia-glx-new-dev.
    (Reading database … 123186 files and directories currently installed.)
    Unpacking nvidia-glx-new-dev (from nvidia-glx-new-dev_100.14.19+2.6.20-15_i386.deb) …
    Setting up nvidia-glx-new-dev (100.14.19+2.6.20-15) …
    Cleaning the build system:
    NOTE: The following are only warnings
    The build system is now clean
    ENVY: Operation Completed

    ————————————————————–

  13. Hi Alberto,

    A few more things, I’m capable of running up to 1920×1200. But for some reason in order for LinuxMCE AV Wizard to start properly I have tos et it to 1680×1050. Although now these 2 resolutions don’t work well with MCE wizard anymore.

    And now everytime I boot Ubuntu, I could not get into the GUI. (I haven’t tried vesa driver though).

    Also when the MCE Wizard starts off, I can’t see any video nor I can click on any button. Is this video issue related?

    Thanks Alberto.

  14. Hi Alberto,
    thanks for your good work!
    I just upgraded envy (first removed old envy as in 4).
    Installed nvidia driver but got an error (forgot which one). I choose manual install which worked without a problem.
    Strange thing though:
    Nvidia settings (which was reinstalled by envy) says I still have 100.14.11. Synaptics says I have 100.14.19, so I guess it is all right, but why the discrepancy between nvidia settings and synaptics?

  15. Hi Alberto,
    sorry to bother you but I have a problem.

    I have used Envy to successfully install the ATI drivers for my X1300 graphic card many times and without a glitch and specifically for Linux Mint Bianca, Cassandra, Celena and Ubuntu Feisty.

    I wanted to reorganize my PC (which was a mess) and, after having backed up my data, I reformatted the disks with GParted and replaced Bianca with Celena.

    As usual the first thing I did was to install The ATI driver with Envy and apparently everything went well, but I had no 3d acceleration.

    I remove Envy and reinstalled it directly from your web site with no success.
    I tried the same operations with Cassandra and Ubuntu Feisty but the result was the same.

    Not knowing what to do I reinstalled the old Mint Bianca and this time Envy worked flawlessly!

    Is it possible that Envy installed on Bianca an older driver?
    Do you have any suggestion for the other distros?

    Thank you for your great work.

  16. Thank you for this wonderful script! It did not work first shot, but I did eventually get it to run properly.

    I must admit, this whole nvidia thing is quite unnerving. I ended up reinstalling Edgy from scratch in order to get your script working (finally) and then the updates killed the screen again. I switched the “display” adapter in xorg from nvidia to nv and it apparently is happy now. Was I right to do this or did something else get hosed that I am not aware of. I did try to re-run your script in text mode, but it was getting errors (tar nul characters?) and eventually locked up.

    Thanks again – and any suggestions for the future would be happily added to my “Things to do when updating”

    YandaPanda

  17. Hi Alberto,

    This looks like just what I need, but am having trouble making it work. I get a message box reporting that “Build of the package nvidia-new-kernel-source failed!”. When I review the build log file I see:

    /usr/bin/make -f debian/rules clean
    make[1]: Entering directory `/usr/src/modules/nvidia-kernel’
    # select which makefile to use.
    rm -f /usr/src/modules/nvidia-kernel/nv/Makefile || true
    if [ 6 = 6 ]; then
    cd /usr/src/modules/nvidia-kernel/nv ;
    ln -s Makefile.kbuild Makefile ;
    cd .. ;
    if [ 0 = 1 ]; then
    dpatch apply 01_sysfs ;
    dpatch status 01_sysfs >patch-stamp ;
    dpatch apply 02_pcialias ;
    dpatch status 02_pcialias >>patch-stamp ;
    fi
    fi
    if [ 6 = 4 ]; then
    cd /usr/src/modules/nvidia-kernel/nv ;
    ln -s Makefile.nvidia Makefile ;
    cd .. ;
    fi
    if [ -e patch-stamp ]; then
    dpatch deapply-all ;
    rm -rf patch-stamp debian/patched ;
    fi
    if [ -f /usr/src/modules/nvidia-kernel/debian/control.template ]; then
    cp /usr/src/modules/nvidia-kernel/debian/control.template /usr/src/modules/nvidia-kernel/debian/control;
    fi
    dh_testroot
    rm -f build-stamp configure-stamp
    /usr/bin/make clean SYSSRC=/lib/modules/2.6.20-16-generic/build -C /usr/src/modules/nvidia-kernel/nv -f Makefile
    make[2]: Entering directory `/usr/src/modules/nvidia-kernel/nv’
    make[2]: Leaving directory `/usr/src/modules/nvidia-kernel/nv’
    rm -f /usr/src/modules/nvidia-kernel/nv/Makefile || true;
    rm /usr/src/modules/nvidia-kernel/nv/gcc-check
    rm /usr/src/modules/nvidia-kernel/nv/cc-sanity-check
    dh_clean
    rm /usr/src/modules/nvidia-kernel/debian/control
    rm /usr/src/modules/nvidia-kernel/debian/dirs
    rm /usr/src/modules/nvidia-kernel/debian/override
    make[1]: Leaving directory `/usr/src/modules/nvidia-kernel’
    echo “ROOT_CMD = ”
    ROOT_CMD =
    /usr/bin/make -f debian/rules binary_modules
    make[1]: Entering directory `/usr/src/modules/nvidia-kernel’
    # select which makefile to use.
    rm -f /usr/src/modules/nvidia-kernel/nv/Makefile || true
    if [ 6 = 6 ]; then
    cd /usr/src/modules/nvidia-kernel/nv ;
    ln -s Makefile.kbuild Makefile ;
    cd .. ;
    if [ 0 = 1 ]; then
    dpatch apply 01_sysfs ;
    dpatch status 01_sysfs >patch-stamp ;
    dpatch apply 02_pcialias ;
    dpatch status 02_pcialias >>patch-stamp ;
    fi
    fi
    if [ 6 = 4 ]; then
    cd /usr/src/modules/nvidia-kernel/nv ;
    ln -s Makefile.nvidia Makefile ;
    cd .. ;
    fi
    #nothing here anymore
    touch configure-stamp
    if [ -f /usr/src/modules/nvidia-kernel/debian/control.template ]; then
    cp /usr/src/modules/nvidia-kernel/debian/control.template /usr/src/modules/nvidia-kernel/debian/control;
    fi
    dh_testdir
    dh_testroot
    PATCHLEVEL = 6
    Kernel compiler version : 4.1.2
    Detected compiler version : 4.1.2
    Using compiler gcc-4.1 version 4.1.2
    touch /usr/src/modules/nvidia-kernel/nv/gcc-check
    touch /usr/src/modules/nvidia-kernel/nv/cc-sanity-check
    ## Main Make ##
    IGNORE_CC_MISMATCH=1 CC=”gcc-4.1″ /usr/bin/make -C /usr/src/modules/nvidia-kernel/nv -f Makefile SYSSRC=/lib/modules/2.6.20-16-generic/build KBUILD_PARAMS=”-C /lib/modules/2.6.20-16-generic/build SUBDIRS=/usr/src/modules/nvidia-kernel/nv” module;
    make[2]: Entering directory `/usr/src/modules/nvidia-kernel/nv’
    NVIDIA: calling KBUILD…
    make CC=gcc-4.1 -C /lib/modules/2.6.20-16-generic/build SUBDIRS=/usr/src/modules/nvidia-kernel/nv modules
    make[3]: Entering directory `/usr/src/linux-headers-2.6.20-16-generic’
    Makefile:499: /usr/src/linux-headers-2.6.20-16-generic/arch/linux/Makefile: No such file or directory
    make[3]: *** No rule to make target `/usr/src/linux-headers-2.6.20-16-generic/arch/linux/Makefile’. Stop.
    make[3]: Leaving directory `/usr/src/linux-headers-2.6.20-16-generic’
    NVIDIA: left KBUILD.
    nvidia.ko failed to build!
    make[2]: *** [module] Error 1
    make[2]: Leaving directory `/usr/src/modules/nvidia-kernel/nv’
    make[1]: *** [build-stamp] Error 2
    make[1]: Leaving directory `/usr/src/modules/nvidia-kernel’
    make: *** [kdist_image] Error 2

    I am quite inexperienced at all of this and would appreciate any help you (or anybody else) could offer.

    Thanks!
    Scott

  18. hi alberto grettings from peru, i am new in linux, i decide let windows in the past and install ubuntu 7.10 on my pc, the system is correctly configured and updated, also install envy for configure for me, my agp card nvidia geforce mx400 64 mb, the envy version installed is: gtkenvy.py 0.9.7…….but i have a problem, when select install the NVIDIA driver, appears the following error:

    There was an error in the installation process. You can see the log file /var/log/envy-installer.log

    whats wrong, my system?, the envy version is incorrect for my distro? i dont know, im new in this…..bye and congratulations for your work man.

    pd: forget my english, but i dont speak english with correctly.

  19. Hi alberto, i’m having some issues with your latest envy script: Here’s the log:

    python pulse.py ati
    root@manuele-laptop:/usr/share/envy# python pulse.py ati
    Envy - Version 0.9.10
    Ubuntu Feisty 64bit
    Your graphic card has been detected as a ATI RADEON Xpress Series
    Your graphic card is supported by the latest driver
    OK: All the packages are installed
    ENVY: The following packages will be removed:
    fglrx-kernel-2.6.20-16-generic
    fglrx-kernel-source
    xorg-driver-fglrx
    fglrx-amdcccle

    ENVY: attempting to remove the packages
    An installer has been detected
    md5new: d784fa8b6d98d27699781bd9a7cf19f0
    md5sumold: bcdf3c19c0b7a7c2051d751d5131d426
    ENVY ERROR: md5 Error! Trying to fetch the driver from the website
    No installer detected
    Download of the driver in progress, please wait
    --13:49:17-- https://a248.e.akamai.net/f/674/9206/0/www2.ati.com/drivers/linux/ati-driver-installer-8-02-x86.x86_64.run
    => `ati-driver-installer-8-02-x86.x86_64.run'
    Risoluzione di a248.e.akamai.net in corso... 79.140.81.48, 79.140.81.25
    Connessione a a248.e.akamai.net|79.140.81.48:443... connesso.
    HTTP richiesta inviata, aspetto la risposta... 200 OK
    Lunghezza: 52,846,205 (50M) [application/octet-stream]
    100%[===================================================>] 52,846,205 235.33K/s ETA 00:00

    13:53:07 (235.36 KB/s) - "ati-driver-installer-8-02-x86.x86_64.run" salvato [52846205/52846205]

    md5new: bcdf3c19c0b7a7c2051d751d5131d426
    md5sumold: bcdf3c19c0b7a7c2051d751d5131d426
    Created directory fglrx-install.qS6768
    Verifying archive integrity... All good.
    Uncompressing ATI Proprietary Linux Driver-8.455.2.............................................
    ...............................................................................................
    ...............................................................................................
    ...............................................................................................
    ...............................................................................................
    ...............................................................................................
    ............................................................................
    ==================================================
    ATI Technologies Linux Driver Installer/Packager
    ==================================================
    Generating package: Ubuntu/feisty
    Package build failed!
    Package build utility output:
    dpkg-buildpackage: source package is fglrx-installer
    dpkg-buildpackage: source version is 8.455.2-0ubuntu1
    dpkg-buildpackage: source changed by ATI Technologies Inc.
    dpkg-buildpackage: host architecture amd64
    dpkg-buildpackage: source version without epoch 8.455.2-0ubuntu1
    debian/rules build
    echo "Using architecture: amd64"
    Using architecture: amd64
    if [ -f /tmp/fglrx.lZ6857/debian/control.template ]; then
    cat /tmp/fglrx.lZ6857/debian/control.template > /tmp/fglrx.lZ6857/debian/control;
    fi
    for i in preinst postinst postrm shlibs atieventsd.init ; do
    if [ -f /tmp/fglrx.lZ6857/debian/driver.$i ]; then
    sed -e "s/#PKGNAME#/xorg-driver-fglrx/"
    -e "s/#DISTRO#/feisty/" /tmp/fglrx.lZ6857/debian/driver.$i >
    /tmp/fglrx.lZ6857/debian/xorg-driver-fglrx.$i;
    fi;
    done
    if [ -f /tmp/fglrx.lZ6857/debian/10fglrx.template ]; then
    sed -e "s|#XMODDIR#|usr/lib|" -e "s|#XMODDIR32#|usr/lib32|"
    /tmp/fglrx.lZ6857/debian/10fglrx.template > /tmp/fglrx.lZ6857/debian/10fglrx;
    fi
    if [ -f /tmp/fglrx.lZ6857/debian/fglrx.default ]; then
    mv /tmp/fglrx.lZ6857/debian/fglrx.default /tmp/fglrx.lZ6857/debian/fglrx;
    fi
    dh_testdir
    dh_testdir
    # move licenses away from binary dir
    if [ ! -d usr/share/doc/fglrx ]; then
    mkdir -p usr/share/doc/fglrx;
    mv usr/X11R6/bin/LICENSE.* usr/share/doc/fglrx;
    fi
    # set executable on user apps
    find usr/X11R6/bin -type f | xargs chmod a+x
    # remove exec bit from files that don't deserve it
    find usr/X11R6/include
    usr/X11R6/lib
    usr/X11R6/lib64
    usr/share usr/src -type f | xargs chmod -x
    find lib -not -name "*.sh" -type f | xargs chmod -x
    find lib -name "*.sh" -type f | xargs chmod +x
    # remove exec bit from 64-bit libs too
    find usr/X11R6/lib64 -type f | xargs chmod -x
    dh_testdir
    debian/rules binary
    echo "Using architecture: amd64"
    Using architecture: amd64
    if [ -f /tmp/fglrx.lZ6857/debian/control.template ]; then
    cat /tmp/fglrx.lZ6857/debian/control.template > /tmp/fglrx.lZ6857/debian/control;
    fi
    for i in preinst postinst postrm shlibs atieventsd.init ; do
    if [ -f /tmp/fglrx.lZ6857/debian/driver.$i ]; then
    sed -e "s/#PKGNAME#/xorg-driver-fglrx/"
    -e "s/#DISTRO#/feisty/" /tmp/fglrx.lZ6857/debian/driver.$i >
    /tmp/fglrx.lZ6857/debian/xorg-driver-fglrx.$i;
    fi;
    done
    if [ -f /tmp/fglrx.lZ6857/debian/10fglrx.template ]; then
    sed -e "s|#XMODDIR#|usr/lib|" -e "s|#XMODDIR32#|usr/lib32|"
    /tmp/fglrx.lZ6857/debian/10fglrx.template > /tmp/fglrx.lZ6857/debian/10fglrx;
    fi
    if [ -f /tmp/fglrx.lZ6857/debian/fglrx.default ]; then
    mv /tmp/fglrx.lZ6857/debian/fglrx.default /tmp/fglrx.lZ6857/debian/fglrx;
    fi
    dh_testdir
    dh_testdir
    # move licenses away from binary dir
    if [ ! -d usr/share/doc/fglrx ]; then
    mkdir -p usr/share/doc/fglrx;
    mv usr/X11R6/bin/LICENSE.* usr/share/doc/fglrx;
    fi
    # set executable on user apps
    find usr/X11R6/bin -type f | xargs chmod a+x
    # remove exec bit from files that don't deserve it
    find usr/X11R6/include
    usr/X11R6/lib
    usr/X11R6/lib64
    usr/share usr/src -type f | xargs chmod -x
    find lib -not -name "*.sh" -type f | xargs chmod -x
    find lib -name "*.sh" -type f | xargs chmod +x
    # remove exec bit from 64-bit libs too
    find usr/X11R6/lib64 -type f | xargs chmod -x
    dh_testdir
    dh_testdir
    dh_testroot
    dh_clean -k
    rm -f /tmp/fglrx.lZ6857/debian/control
    sed -e 's/#XSERVER#/xorg/g' debian/control.template > /tmp/fglrx.lZ6857/debian/control
    sed: can't read debian/control.template: No such file or directory
    make: *** [install] Error 2
    dpkg: errore processando *.deb (--install):
    impossibile accedere all'archivio: Nessun file o directory
    Sono occorsi degli errori processando:
    *.deb
    ENVY: Compiz is installed
    ENVY: making Compiz configuration backup
    ENVY: Operation Complete

    ___________________________
    The card is an ATI xpress200m on HP laptop 6125 and Feisty Fawn 64bit. Hi from Italy!

  20. @ivan vera
    can you send me your /var/log/envy-installer.log ?

    @macubo
    try this:

    sudo apt-get remove envy
    sudo rm -R /usr/share/envy

    then download Envy again (yes, there is an updated release with the same version), install it and it should work

Leave a Reply

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