Envy and its textual installer

If you installed Envy New and you typed “envy -t” you might have noticed this error (which you can’t reproduce if you use the graphical installer):

Traceback (most recent call last):
File "interface.py", line 13, in
from instun import main
ImportError: No module named instun

This problem is fixed in envy_0.9.8-0ubuntu5.

Thanks for your feedback.

P.S. I’m planning to set up 2 repositories (1 for Envy New and 1 for Envy Legacy) so that you don’t have to update Envy manually.

29 thoughts on “Envy and its textual installer

  1. I don’t know where to fill a bug for envy, but I hope you read it. Thanx for your work:

    I upgraded to envy_0.9.8-0ubuntu6_all.deb New. I want to remove the Nvidia driver 100.14.19 with envy, and then upgrade to gutsy. But I get this error in the envy terminal:

    python pulse.py nvidia uninstall
    root@acrosoft-pc:/usr/share/envy# python pulse.py nvidia uninstall
    Envy – Version 0.9.8
    Traceback (most recent call last):
    File “pulse.py”, line 48, in
    choice(sys.argv[1], sys.argv[2])
    File “pulse.py”, line 18, in choice
    objects.nvidiauninstallg()
    File “/usr/lib/python2.5/site-packages/Envy/objects.py”, line 265, in nvidiauninstallg
    nvidiauninstall2g()#CONTINUE THE INSTALLATION
    File “/usr/lib/python2.5/site-packages/Envy/objects.py”, line 245, in nvidiauninstall2g
    task.nviconrm()
    File “/usr/lib/python2.5/site-packages/Envy/classes.py”, line 1578, in nviconrm
    os.remove(‘/usr/share/pixmaps/nvidia-settings.gif’)
    OSError: [Errno 2] No such file or directory: ‘/usr/share/pixmaps/nvidia-settings.gif’
    root@acrosoft-pc:/usr/share/envy#

  2. Alberto,ottima scelta per i repository,ci vogliono proprio,molto + comodi,anche se io questi script li metterei benissimo nei repo ufficiali di Ubuntu per quanto sono utili,soprattutto per quelli che si trovano per la prima volta a smanettare su linux.
    Questo non vale per me dato che delle volte ho installato i driver a mano,ma il tuo script è talmente comodo…. 😀

  3. Hi i have a little problem with the last version on Ubuntu 7.10.

    Packadge installer give met his error: “Dependency is not satisfiable: xserver-xorg-dev”

    I try install the dependency using aptitude but don’t find it. Any help? Thanks in advance!

  4. sorry I get this:

    python pulse.py nvidia uninstall
    root@acrosoft-pc:/usr/share/envy# python pulse.py nvidia uninstall
    Envy – Version 0.9.8
    Traceback (most recent call last):
    File “pulse.py”, line 48, in
    choice(sys.argv[1], sys.argv[2])
    File “pulse.py”, line 18, in choice
    objects.nvidiauninstallg()
    File “/usr/lib/python2.5/site-packages/Envy/objects.py”, line 265, in nvidiauninstallg
    nvidiauninstall2g()#CONTINUE THE INSTALLATION
    File “/usr/lib/python2.5/site-packages/Envy/objects.py”, line 245, in nvidiauninstall2g
    task.nviconrm()
    File “/usr/lib/python2.5/site-packages/Envy/classes.py”, line 1580, in nviconrm
    os.remove(‘/usr/share/applications/nvidia-settings.desktop’)
    OSError: [Errno 2] No such file or directory: ‘/usr/share/applications/nvidia-settings.desktop’
    root@acrosoft-pc:/usr/share/envy#

  5. I have the most recent version of envy and I have upgraded to gutsy but before I installed envy, graphically everyting was fine. Now all of my icons are deformed. I did uninstall my ati drivers and then installed them again and it didn’t fix the issue. scrolling webpages is also very slow. the scrolling is line-by-line instead of smooth.

    thanks

  6. I also get “Dependency is not satisfiable: xserver-xorg-dev” error on a fresh install on first try. Also, “Couldn’t find package xserver-xorg-dev” is the default for the fresh install (amd64_x64) on Gusty.

  7. Hi Alberto, I don-t know if It did what it was expected. But I think now it works, because the gears from glxgears are slooooooooooooow, so thanx.

    this is the envy terminal output:

    root@acrosoft-pc:/usr/share/envy# python pulse.py nvidia uninstall
    Envy – Version 0.9.8
    ENVY: The following packages will be removed:
    nvidia-glx-new
    nvidia-glx-new-dev
    nvidia-new-kernel-source

    ENVY: attempting to remove the packages
    Leyendo lista de paquetes… Hecho
    Creando árbol de dependencias
    Leyendo información de estado… Hecho
    Los siguientes paquetes fueron instalados automáticamente y ya no son necesarios:
    sun-java6-plugin gstreamer0.10-plugins-ugly-multiverse
    Use «apt-get autoremove» para desinstalarlos.
    0 actualizados, 0 se instalarán, 3 reinstalados, 0 para eliminar y 0 no actualizados.
    Necesito descargar 13,7MB de archivos.
    Se utilizarán 0B de espacio de disco adicional después de desempaquetar.
    Des:1 http://es.archive.ubuntu.com feisty-updates/main libgl1-mesa-glx 6.5.2-3ubuntu8 [143kB]
    Des:2 http://es.archive.ubuntu.com feisty-updates/main libgl1-mesa-dri 6.5.2-3ubuntu8 [13,3MB]
    55% [2 libgl1-mesa-dri 7371916/13,3MB 55%] 188kB/s 32s

    Descargados 13,7MB en 1m28s (155kB/s)
    (Leyendo la base de datos …
    207141 ficheros y directorios instalados actualmente.)
    Preparando para reemplazar libgl1-mesa-glx 6.5.2-3ubuntu8 (usando …/libgl1-mesa-glx_6.5.2-3ubuntu8_i386.deb) …
    Desempaquetando el reemplazo de libgl1-mesa-glx …
    Preparando para reemplazar libgl1-mesa-dri 6.5.2-3ubuntu8 (usando …/libgl1-mesa-dri_6.5.2-3ubuntu8_i386.deb) …
    Desempaquetando el reemplazo de libgl1-mesa-dri …
    Preparando para reemplazar libglu1-mesa 6.5.2-3ubuntu8 (usando …/libglu1-mesa_6.5.2-3ubuntu8_i386.deb) …
    Desempaquetando el reemplazo de libglu1-mesa …
    Configurando libgl1-mesa-glx (6.5.2-3ubuntu8) …

    Configurando libgl1-mesa-dri (6.5.2-3ubuntu8) …
    Configurando libglu1-mesa (6.5.2-3ubuntu8) …

  8. @mycall
    Ubuntu’s servers are getting too many requests (and are down at times) therefore you will have to try to install that file manually.

    @tinin
    what you posted is part of the log of the uninstallation. Therefore the driver wasn’t installed. Try installing the driver

  9. Can you publish Terminal instructions for installing ATI driver? I have no GUI with ATI card installed in machine, just terminal.

  10. @tuxd

    Try typing:
    sudo envy –uninstall-all

    and then:
    sudo envy -t

    then select “Install the ATI driver” (by typing “3”)

  11. Great job, keep up the good work! 🙂

    Looking forward to the repositories, it’s something that just has to be implemented for such a great program 😉

  12. I tried Envy to install the ATI drivers for my ATI Radeon x700 Pro (PCIE) card on my AMD64 Ubuntu ‘Gutsy’ box, but it failed with the following from the module assistant log-file viewer:


    FATAL: modpost: GPL-incompatible module fglrx.ko uses GPL-only symbol ‘__rcu_read_unlock’

    Any ideas?

    Thanks

    Chuck

  13. Here is the complete log:

    dh_testroot
    rm -f configure-stamp
    rm -f fglrx.ko fglrx.mod.c *.o libfglrx_ip.a
    rm -f .version .*.o.flags .*.o.d .*.o.cmd .*.ko.cmd
    rm -rf .tmp_versions
    rm -rf patch
    dh_clean
    rm /usr/src/modules/fglrx/debian/control
    rm /usr/src/modules/fglrx/debian/dirs
    if [ -f /usr/src/modules/fglrx/debian/control.template ]; then
    cat /usr/src/modules/fglrx/debian/control.template > /usr/src/modules/fglrx/debian/control;
    fi
    if [ -f /usr/src/modules/fglrx/debian/postinst ]; then
    mv /usr/src/modules/fglrx/debian/postinst /usr/src/modules/fglrx/debian/fglrx-kernel-2.6.22-14-rt.postinst;
    fi
    dh_testdir
    touch configure-stamp
    dh_testdir
    /usr/bin/make -C /usr/src/linux SUBDIRS=/usr/src/modules/fglrx modules
    make[1]: Entering directory `/usr/src/linux-headers-2.6.22-14-rt’
    CC [M] /usr/src/modules/fglrx/firegl_public.o
    /usr/src/modules/fglrx/firegl_public.c: In function ‘firegl_put_user_ptr’:
    /usr/src/modules/fglrx/firegl_public.c:1494: warning: cast from pointer to integer of different size
    /usr/src/modules/fglrx/firegl_public.c:1494: warning: cast from pointer to integer of different size
    /usr/src/modules/fglrx/firegl_public.c:1494: warning: cast from pointer to integer of different size
    /usr/src/modules/fglrx/firegl_public.c:1494: warning: cast from pointer to integer of different size
    /usr/src/modules/fglrx/firegl_public.c: In function ‘__ke_pci_find_device’:
    /usr/src/modules/fglrx/firegl_public.c:1886: warning: ‘pci_find_device’ is deprecated (declared at include/linux/pci.h:477)
    /usr/src/modules/fglrx/firegl_public.c: In function ‘__ke_request_irq’:
    /usr/src/modules/fglrx/firegl_public.c:2829: warning: ‘deprecated_irq_flag’ is deprecated (declared at include/linux/interrupt.h:68)
    /usr/src/modules/fglrx/firegl_public.c:2829: warning: passing argument 2 of ‘request_irq’ from incompatible pointer type
    /usr/src/modules/fglrx/firegl_public.c: In function ‘__ke_unregister_ioctl32_conversion’:
    /usr/src/modules/fglrx/firegl_public.c:2852: warning: ‘return’ with a value, in function returning void
    /usr/src/modules/fglrx/firegl_public.c: At top level:
    /usr/src/modules/fglrx/firegl_public.c:5306: warning: ‘kmem_cache_t’ is deprecated
    /usr/src/modules/fglrx/firegl_public.c: In function ‘KAS_SlabCache_Initialize’:
    /usr/src/modules/fglrx/firegl_public.c:5347: warning: cast from pointer to integer of different size
    LD [M] /usr/src/modules/fglrx/fglrx.o
    Building modules, stage 2.
    MODPOST 1 modules
    WARNING: could not find /usr/src/modules/fglrx/.libfglrx_ip.a.GCC4.cmd for /usr/src/modules/fglrx/libfglrx_ip.a.GCC4
    FATAL: modpost: GPL-incompatible module fglrx.ko uses GPL-only symbol ‘__rcu_read_unlock’
    make[2]: *** [__modpost] Error 1
    make[1]: *** [modules] Error 2
    make[1]: Leaving directory `/usr/src/linux-headers-2.6.22-14-rt’
    make: *** [build] Error 2

    I for /usr/src/modules/fglrx/.libfglrx_ip.a.GCC4.cmd
    and it wasn’t there.

    Thanks –

    Chuck

  14. @Chuck

    I think it depends on the fact that you’re using a realtime kernel (linux-image-2.6.22-14-rt).

    can you try using a -generic kernel.

  15. Well, you were right about the kernel. I booted the generic kernel and then was able to run Envy and install the ATI drivers, and everything looked good like it was going to work. I rebooted when prompted to do so, but when it came back up, all I got was a messed up screen. I had to do the ‘sudo envy –uninstall-all’ and go back to the Radeon fglrx open source driver. I should have written down what was at the tail end of my Xorg.0.log file. I may try it again tomorrow, but I’ve had nothing but trouble with ATI and I’m about ready to go back to nVidia. Even the Open source driver refuses to even work right with any resolution above 1280×768.
    Oh, well. I’ll let you know if I find the solution. Thanks for your help!

    Chuck

  16. Thanks for your work on Envy, it has really helped me in the past, but now I am having problems after upgrading from fiesty to gutsy.
    I have an Lenovo T61 with Nvidia card, but the driver installation fails when it is trying to build a deb from source. Can you have a look at the output below and tell me what I might be doing wrong?

    Envy – Version 0.9.8
    Ubuntu Gutsy 32bit
    Your graphic card has been detected as a uadro NVS 140M
    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

    ENVY: attempting to remove the packages
    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.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: target `/usr/share/envy/linux-restricted-modules-2.6.22/debian/d-i-i386/modules/’ is not a directory: 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.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/
    cp: target `/usr/share/envy/linux-restricted-modules-2.6.22/debian/d-i-i386/’ is not a directory: No such file or directory
    make: *** [debian/control] Error 1
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

    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.22-14-generic
    Kernel headers available in /usr/src/linux-headers-2.6.22-14-generic
    Creating symlink…
    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 1 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/nvidia*: 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 1 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
    mv: target `/usr/share/envy/linux-restricted-modules-2.6.22.1/debian/linux-restricted-modules-2.6.22.1.postinst’ is not a directory
    mv: target `/usr/share/envy/linux-restricted-modules-2.6.22.1/debian/linux-restricted-modules-2.6.22.1.postrm’ is not a directory
    Cleaning the build system:
    NOTE: The following are only warnings

    The build system is now clean
    ENVY: cannot copy nvidia-settings icon
    Do you want your xorg.conf to be automatically configured? (y/n) “y” is the default answer
    n
    Do you want to restart your computer now (Recommended)? (y/n) “y” is the default answer
    n
    Remember to restart your computer manually
    ENVY: Operation Complete

  17. “what happens if you type:
    sudo apt-get install xserver-xorg-dev”

    I also have the Error: Dependency is not satisfiable:xserver-xorg-dev

    I have tried your suggestion of using apt-get to resolve the dependency but the response form the terminal is:
    E: Couldn’t find package xserver-xorg-dev

    Any further suggestions?

  18. I downloaded xserver-xorg-dev from packages.ubuntu.com, specifically:
    xserver-xorg-dev_1.3.0.0.dfsg-12ubuntu8_amd64.deb

    When I tried to install that I get:

    Same Version is already installed.

    I chose to reinstall the package.

    After that I tried to load ENVY again. Now I get a new dependency failure: module-assistant

    Loaded that and then needed dh-make.

    Loaded that and then needed many other packages. After downloading allthe branching required files this software loaded. NOw I am attempting to use the drivers that it loaded to get my fancy desktop running. Fingers crossed.

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.