[Bug 1182677] Re: Alternative OpenGL lib's not updated when using closed drivers
Okay, I added a whole pile of debugging statments into it, and kept running it as root - it is picking up the parameter configure, but the files aren't updating. So next I tried executing a direct command from the postinst file, to explicitly update the i386 file (as root): update- alternatives --force --install /etc/ld.so.conf.d/i386-linux-gnu_GL.conf i386-linux-gnu_gl_conf /usr/lib/nvidia-313-updates/alt_ld.so.conf 9702 The result was /etc/ld.so.conf.d/i386-linux-gnu_GL.conf updated. So, now I'm scratching my head - why does it work from a command line but it will not work from inside the script (it was a cut and paste with one minor change (so it would execute as root). Well, I'm confused enough and think it's time I hit the sack. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1182677 Title: Alternative OpenGL lib's not updated when using closed drivers To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/1182677/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1182677] Re: Alternative OpenGL lib's not updated when using closed drivers
Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode. To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1182677/+editstatus and add the package name in the text box next to the word Package. [This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.] ** Tags added: bot-comment -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1182677 Title: Alternative OpenGL lib's not updated when using closed drivers To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+bug/1182677/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1182677] Re: Alternative OpenGL lib's not updated when using closed drivers
sorry I didn't list a specific package, it's cause I'm not sure if it's the nVidia/AMD packages, or related to another package. I did deinstall/reinstall the video drivers numerous times over the weekend (first thought was drivers didn't install properly, then started thinking bug in the actual drivers, and then a realization the the issue when I looked at the library paths with ldconfig), and went so far as to try the AMD driver from there web site and removed it again, as well as made use of Neuvoux and Gallium3D drivers (I didn't stick with open drivers as they don't meet my needs). I spent hours debugging wine before I realized what was happening and how it related to Wine, and several programs. I then spent several hours testing and coming up with the pesudo fix posted above. I am not sure if this effects the 32 bit editions, and can only fully confirm this is effecting Kubuntu and Ubuntu Studio 13.04 (earlier releases are fine). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1182677 Title: Alternative OpenGL lib's not updated when using closed drivers To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+bug/1182677/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1182677] Re: Alternative OpenGL lib's not updated when using closed drivers
Starting my tracing... But I think the bug is in a script of a package that uses libc-bin, and it isn't a bug in libc-bin. ** Package changed: ubuntu = eglibc (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1182677 Title: Alternative OpenGL lib's not updated when using closed drivers To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/1182677/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1182677] Re: Alternative OpenGL lib's not updated when using closed drivers
Sorry, this is not a libc-bin bug... But looking through the postinst scripts for the package's for both the ATI and nVidia drivers, it appears that for some reason when the script is executed, the script's in the 64-bit packages are skipping neumerous update-alternative lines, hence ldconfig isn't setting up the directories. So it appears to be the packages affected are fglrx, fglrx-updates, nvidia-173, nvidia-304, nvidia-310, nvidia-313-updates, and possibly others. ** Package changed: eglibc (Ubuntu) = ubuntu -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1182677 Title: Alternative OpenGL lib's not updated when using closed drivers To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+bug/1182677/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1182677] Re: Alternative OpenGL lib's not updated when using closed drivers
I know, this is taking me a while - I'm not a script kitty or a programmer, so I'm not the swiftest at picking out on what's happening - it's study-study, and rip appart and slowly nit pick my way through the scripts while I'm jugling other tasks). ;-) At any rate, with the AMD fglrx-updates driver, it looks like when the postinst script executes $1 is not equaling configure on line 93. --* QUOTE: if [ $1 = configure ]; then *-- So the updates in the if statment aren't being applied to the system. With the nvidia-313-updates driver, it looks like when the postinst script executes, case $1 is not configure on line 108 and 109 --* QUOTE: case $1 in configure) *-- So once again the updates aren't being applied to the system. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1182677 Title: Alternative OpenGL lib's not updated when using closed drivers To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+bug/1182677/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1182677] Re: Alternative OpenGL lib's not updated when using closed drivers
Given that dpkg is passing a parameter ($1) onto the scripts, I beleive the target package is dpkg. ** Package changed: ubuntu = dpkg (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1182677 Title: Alternative OpenGL lib's not updated when using closed drivers To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/1182677/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1182677] Re: Alternative OpenGL lib's not updated when using closed drivers
Better more effective work around - extract the postinst files from the appropriate deb files and then execute them as root: **@:~/temp$ ./postinst configure That got it! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1182677 Title: Alternative OpenGL lib's not updated when using closed drivers To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/1182677/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1182677] Re: Alternative OpenGL lib's not updated when using closed drivers
Err, no it didn't - not on my Laptop or Ubuntu Studio build (forgot to remove the lines from the ld.so.conf files). Command line parameters (in this case configure) are not being passed into the scripts. I really hope this isn't affecting other packages or distro's. :-( -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1182677 Title: Alternative OpenGL lib's not updated when using closed drivers To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/1182677/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs