sgfxi initial start
Just a note.
I installed antiX and decided to use sgfxi immediately to get nvidia working. sgfxi downloads the correct drivers, but errors as it cannot build as build-essentials is not installed. The problem is that an apt-get update needs to be run before running sgfxi for the first time. Now that MEPIS users are increasingly using sgfxi, would it be a good idea to have some check that there has been an apt-get update before it is run for the first time? Or, to include in the error message something like, 'please run apt-get update' anticapitalista Back to top |
sgfxi should be running apt-get update prior to package install, but I guess the very first time when it looks for presence of packages it needs to run it too, ie, if some file is not set, let me see if I can remember which, I think smxi tests for that already.
Back to top |
added that feature, give it a test to make sure it works, now if the update file is null, unset or empty, sgfxi should run an update first.
Back to top |
Same result.
Here is the sgfxi log. :: Code ::
========================================================= START sgfxi LOGGING: ========================================================= Script started: 2009-12-20-22:15:17 Video Card Information: nVidia Corporation G86 [GeForce 8400 GS] (rev a1) Video Card Type: 10de Video Card Number: 0422 Installing driver to kernel: 2.6.32-1-mepis-smp sgfxi script version: 4.10.03 sgfxi start options: SYSTEM_BASE: debian SYSTEM_CODENAME: testing DISTRIB_CODENAME: testing DISTRIB_ID: antix DISTRIB_RELEASE: FG_DISTRIB_CODENAME: sid FG_DISTRIB_ID: Debian APT_TYPE: apt-get ========================================================= INSTALL_TO_KERNEL: KERNEL_VERSION: 2.6.32-1-mepis-smp KERNEL_BASE: 2.6 KERNEL_THREE: 2.6.32 KERNEL_THIRD: 32 IS_XEN: Function: create_x_conf - Primary: Start xorg is present with xorg.conf file Function: create_x_conf - Primary: End Function: check_supported_driver - Utility: Start Function: check_supported_driver - Utility: End Function: set_cpu_data - Utility: Start BITS: 32 - arch: Function: set_cpu_data - Utility: End Function: set_version - Primary: Start Function: check_supported_driver - Utility: Start Args: last-check Function: check_supported_driver - Utility: End Function: print_information_continue - Utility: Start Args: standard The graphics installer will be installing the nvidia driver: 190.53 Function: print_information_continue - Utility: End Installing this driver: 190.53 Function: set_version - Primary: End Function: driver_support_tests - Utility: Start Args: supported-driver Function: driver_support_tests - Utility: End Function: check_kernel_headers - Utility: Start Function: check_package_status - Utility: Start Args: linux-headers-2.6.32-1-mepis-smp i Package Version: 2.6.32-1mepis1 Function: check_package_status - Utility: End Function: check_package_status - Utility: Start Args: linux-headers-2.6.32-1-mepis-smp c Package Version: 2.6.32-1mepis1 Function: check_package_status - Utility: End headerName: linux-headers-2.6.32-1-mepis-smp headerInstalled: 2.6.32-1mepis1 headerAvailable: 2.6.32-1mepis1 headerFile: Function: check_kernel_headers - Utility: End Function: set_download_info - Primary: Start download url: ftp://download.nvidia.com/XFree86/Linux-x86/190.53/ - driver file: NVIDIA-Linux-x86-190.53-pkg0 Function: set_download_info - Primary: End Function: download_extract_driver - Primary: Start Args: ftp://download.nvidia.com/XFree86/Linux-x86/190.53/ NVIDIA-Linux-x86-190.53-pkg0 Function: pre_extract_cleanup - Utility: Start Args: NVIDIA-Linux-x86-190.53-pkg0 Function: pre_extract_cleanup - Utility: End Creating directory NVIDIA-Linux-x86-190.53-pkg0 Verifying archive integrity... OK Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86 190.53................................................... Function: download_extract_driver - Primary: End Function: x_start_stop_master - Primary: Start Args: stop Function: start_stop_x - Utility: Start Args: stop Function: x_is_running - Utility: Start Function: x_is_running - Utility: End Function: start_stop_x - Utility: End Function: x_start_stop_master - Primary: End Function: check_install_tools - Primary: Start Function: check_dpkg_update - Utility: Start dpkgUpdate: 2009-12-20-22:15 Function: check_dpkg_update - Utility: End Function: check_package_status - Utility: Start Args: module-assistant i Package Version: 0.11.1 Function: check_package_status - Utility: End Function: check_package_status - Utility: Start Args: module-assistant c Package Version: 0.11.1 Function: check_package_status - Utility: End Function: check_package_status - Utility: Start Args: build-essential i Package Version: Function: check_package_status - Utility: End Function: check_package_status - Utility: Start Args: build-essential c Package Version: Function: check_package_status - Utility: End Function: check_package_status - Utility: Start Args: logrotate i Package Version: 3.7.8-4 Function: check_package_status - Utility: End Function: check_package_status - Utility: Start Args: logrotate c Package Version: 3.7.8-4 Function: check_package_status - Utility: End Function: check_package_status - Utility: Start Args: patch i Package Version: 2.6-2 Function: check_package_status - Utility: End Function: check_package_status - Utility: Start Args: patch c Package Version: 2.6-2 Function: check_package_status - Utility: End Function: check_package_status - Utility: Start Args: fakeroot i Package Version: Function: check_package_status - Utility: End Function: check_package_status - Utility: Start Args: fakeroot c Package Version: Function: check_package_status - Utility: End Function: check_install_tools - Primary: End Function: prep_install - Primary: Start Function: prep_install - Primary: End Function: preinstall_cleanup - Primary: Start Function: list_installed_packages - Utility: Start Args: nvidia (modalias|libvdpau) packageList: Function: list_installed_packages - Utility: End Function: list_installed_packages - Utility: Start Args: fglrx modalias packageList: Function: list_installed_packages - Utility: End Function: preinstall_cleanup - Primary: End Function: run_patches - Primary: Start Function: run_patches - Primary: End Function: run_driver_installer - Primary: Start driver: 190.53 ERROR: You do not appear to have libc header files installed on your system. Please install your distribution's libc development package. ERROR: Installation has failed. Please see the file '/var/log/nvidia-installer.log' for details. You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com. Function: apply_module_patch - Primary: Start Args: post Function: apply_module_patch - Primary: End ERROR: (245) The nvidia installer exited with the error: 1 ========================================================= START sgfxi LOGGING: ========================================================= Script started: 2009-12-20-22:21:37 Video Card Information: nVidia Corporation G86 [GeForce 8400 GS] (rev a1) Video Card Type: 10de Video Card Number: 0422 Installing driver to kernel: 2.6.32-1-mepis-smp sgfxi script version: 4.10.03 sgfxi start options: SYSTEM_BASE: debian SYSTEM_CODENAME: testing DISTRIB_CODENAME: testing DISTRIB_ID: antix DISTRIB_RELEASE: FG_DISTRIB_CODENAME: sid FG_DISTRIB_ID: Debian APT_TYPE: apt-get ========================================================= INSTALL_TO_KERNEL: KERNEL_VERSION: 2.6.32-1-mepis-smp KERNEL_BASE: 2.6 KERNEL_THREE: 2.6.32 KERNEL_THIRD: 32 IS_XEN: Function: create_x_conf - Primary: Start xorg is present with xorg.conf file Function: create_x_conf - Primary: End Function: check_supported_driver - Utility: Start Function: check_supported_driver - Utility: End Function: set_cpu_data - Utility: Start BITS: 32 - arch: Function: set_cpu_data - Utility: End Function: set_version - Primary: Start Function: check_supported_driver - Utility: Start Args: last-check Function: check_supported_driver - Utility: End Function: print_information_continue - Utility: Start Args: standard The graphics installer will be installing the nvidia driver: 190.53 Function: print_information_continue - Utility: End Installing this driver: 190.53 Function: set_version - Primary: End Function: driver_support_tests - Utility: Start Args: supported-driver Function: driver_support_tests - Utility: End Function: check_kernel_headers - Utility: Start Function: check_package_status - Utility: Start Args: linux-headers-2.6.32-1-mepis-smp i Package Version: 2.6.32-1mepis1 Function: check_package_status - Utility: End Function: check_package_status - Utility: Start Args: linux-headers-2.6.32-1-mepis-smp c Package Version: 2.6.32-1mepis1 Function: check_package_status - Utility: End headerName: linux-headers-2.6.32-1-mepis-smp headerInstalled: 2.6.32-1mepis1 headerAvailable: 2.6.32-1mepis1 headerFile: Function: check_kernel_headers - Utility: End Function: set_download_info - Primary: Start download url: ftp://download.nvidia.com/XFree86/Linux-x86/190.53/ - driver file: NVIDIA-Linux-x86-190.53-pkg0 Function: set_download_info - Primary: End Function: download_extract_driver - Primary: Start Args: ftp://download.nvidia.com/XFree86/Linux-x86/190.53/ NVIDIA-Linux-x86-190.53-pkg0 Function: pre_extract_cleanup - Utility: Start Args: NVIDIA-Linux-x86-190.53-pkg0 Function: pre_extract_cleanup - Utility: End Creating directory NVIDIA-Linux-x86-190.53-pkg0 Verifying archive integrity... OK Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86 190.53.................................................................... Function: download_extract_driver - Primary: End Function: x_start_stop_master - Primary: Start Args: stop Function: start_stop_x - Utility: Start Args: stop Function: x_is_running - Utility: Start Function: x_is_running - Utility: End Function: start_stop_x - Utility: End Function: x_start_stop_master - Primary: End Function: check_install_tools - Primary: Start Function: check_dpkg_update - Utility: Start dpkgUpdate: 2009-12-20-22:21 Function: check_dpkg_update - Utility: End Function: check_package_status - Utility: Start Args: module-assistant i Package Version: 0.11.1 Function: check_package_status - Utility: End Function: check_package_status - Utility: Start Args: module-assistant c Package Version: 0.11.1 Function: check_package_status - Utility: End Function: check_package_status - Utility: Start Args: build-essential i Package Version: Function: check_package_status - Utility: End Function: check_package_status - Utility: Start Args: build-essential c Package Version: 11.4 Function: check_package_status - Utility: End Function: install_package - Utility: Start Args: build-essential Function: check_package_status - Utility: Start Args: build-essential i Package Version: Function: check_package_status - Utility: End ========================================================= START sgfxi LOGGING: ========================================================= Script started: 2009-12-20-22:22:58 Video Card Information: nVidia Corporation G86 [GeForce 8400 GS] (rev a1) Video Card Type: 10de Video Card Number: 0422 Installing driver to kernel: 2.6.32-1-mepis-smp sgfxi script version: 4.10.03 sgfxi start options: SYSTEM_BASE: debian SYSTEM_CODENAME: testing DISTRIB_CODENAME: testing DISTRIB_ID: antix DISTRIB_RELEASE: FG_DISTRIB_CODENAME: sid FG_DISTRIB_ID: Debian APT_TYPE: apt-get ========================================================= INSTALL_TO_KERNEL: KERNEL_VERSION: 2.6.32-1-mepis-smp KERNEL_BASE: 2.6 KERNEL_THREE: 2.6.32 KERNEL_THIRD: 32 IS_XEN: Function: create_x_conf - Primary: Start xorg is present with xorg.conf file Function: create_x_conf - Primary: End Function: check_supported_driver - Utility: Start Function: check_supported_driver - Utility: End Function: set_cpu_data - Utility: Start BITS: 32 - arch: Function: set_cpu_data - Utility: End Function: set_version - Primary: Start Function: check_supported_driver - Utility: Start Args: last-check Function: check_supported_driver - Utility: End Function: print_information_continue - Utility: Start Args: standard The graphics installer will be installing the nvidia driver: 190.53 Function: print_information_continue - Utility: End Installing this driver: 190.53 Function: set_version - Primary: End Function: driver_support_tests - Utility: Start Args: supported-driver Function: driver_support_tests - Utility: End Function: check_kernel_headers - Utility: Start Function: check_package_status - Utility: Start Args: linux-headers-2.6.32-1-mepis-smp i Package Version: 2.6.32-1mepis1 Function: check_package_status - Utility: End Function: check_package_status - Utility: Start Args: linux-headers-2.6.32-1-mepis-smp c Package Version: 2.6.32-1mepis1 Function: check_package_status - Utility: End headerName: linux-headers-2.6.32-1-mepis-smp headerInstalled: 2.6.32-1mepis1 headerAvailable: 2.6.32-1mepis1 headerFile: Function: check_kernel_headers - Utility: End Function: set_download_info - Primary: Start download url: ftp://download.nvidia.com/XFree86/Linux-x86/190.53/ - driver file: NVIDIA-Linux-x86-190.53-pkg0 Function: set_download_info - Primary: End Function: download_extract_driver - Primary: Start Args: ftp://download.nvidia.com/XFree86/Linux-x86/190.53/ NVIDIA-Linux-x86-190.53-pkg0 Function: pre_extract_cleanup - Utility: Start Args: NVIDIA-Linux-x86-190.53-pkg0 Function: pre_extract_cleanup - Utility: End Creating directory NVIDIA-Linux-x86-190.53-pkg0 Verifying archive integrity... OK Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86 190.53.................................................... Function: download_extract_driver - Primary: End Function: x_start_stop_master - Primary: Start Args: stop Function: start_stop_x - Utility: Start Args: stop Function: x_is_running - Utility: Start Function: x_is_running - Utility: End Function: start_stop_x - Utility: End Function: x_start_stop_master - Primary: End Function: check_install_tools - Primary: Start Function: check_dpkg_update - Utility: Start dpkgUpdate: 2009-12-20-22:23 Function: check_dpkg_update - Utility: End Function: check_package_status - Utility: Start Args: module-assistant i Package Version: 0.11.1 Function: check_package_status - Utility: End Function: check_package_status - Utility: Start Args: module-assistant c Package Version: 0.11.1 Function: check_package_status - Utility: End Function: check_package_status - Utility: Start Args: build-essential i Package Version: Function: check_package_status - Utility: End Function: check_package_status - Utility: Start Args: build-essential c Package Version: 11.4 Function: check_package_status - Utility: End Function: install_package - Utility: Start Args: build-essential Function: check_package_status - Utility: Start Args: build-essential i Package Version: Function: check_package_status - Utility: End Function: install_package - Utility: End Function: check_package_status - Utility: Start Args: logrotate i Package Version: 3.7.8-4 Function: check_package_status - Utility: End Function: check_package_status - Utility: Start Args: logrotate c Package Version: 3.7.8-4 Function: check_package_status - Utility: End Function: check_package_status - Utility: Start Args: patch i Package Version: 2.6-2 Function: check_package_status - Utility: End Function: check_package_status - Utility: Start Args: patch c Package Version: 2.6-2 Function: check_package_status - Utility: End Function: check_package_status - Utility: Start Args: fakeroot i Package Version: Function: check_package_status - Utility: End Function: check_package_status - Utility: Start Args: fakeroot c Package Version: 1.14.4-1 Function: check_package_status - Utility: End Function: install_package - Utility: Start Args: fakeroot Function: check_package_status - Utility: Start Args: fakeroot i Package Version: Function: check_package_status - Utility: End Function: install_package - Utility: End Function: check_install_tools - Primary: End Function: prep_install - Primary: Start Function: prep_install - Primary: End Function: preinstall_cleanup - Primary: Start Function: list_installed_packages - Utility: Start Args: nvidia (modalias|libvdpau) packageList: Function: list_installed_packages - Utility: End Function: list_installed_packages - Utility: Start Args: fglrx modalias packageList: Function: list_installed_packages - Utility: End Function: preinstall_cleanup - Primary: End Function: run_patches - Primary: Start Function: run_patches - Primary: End Function: run_driver_installer - Primary: Start driver: 190.53 Function: apply_module_patch - Primary: Start Args: post Function: apply_module_patch - Primary: End Function: run_driver_installer - Primary: End Function: post_installer_steps - Primary: Start Function: post_installer_steps - Primary: End Function: update_xorg - Primary: Start xorg.conf was backed up to: /etc/X11/xorg.conf-bu-2009-12-20-22:24:39 Function: create_section_device - Utility: Start Function: create_section_device - Utility: End Function: create_driver_entry - Utility: Start Function: create_driver_entry - Utility: End Function: update_xorgconf_driver_version - Utility: Start Function: update_xorgconf_driver_version - Utility: End Function: clear_prep_xorg - Utility: Start Function: clear_prep_xorg - Utility: End Function: check_extensions - Utility: Start Function: check_extensions - Utility: End Function: remove_modelines - Utility: Start Function: remove_modelines - Utility: End Function: update_xorg - Primary: End Function: final_install_steps - Primary: Start Function: process_xvmc - Utility: Start Function: process_xvmc - Utility: End Function: final_install_steps - Primary: End Function: x_start_stop_master - Primary: Start Args: start Function: start_x_question - Primary: Start Final Step: start-desktop Function: start_stop_x - Utility: Start Args: start This is what I did. Installed antiX-base On reboot to desktop, Ctrl Alt F1, login as root, sgfxi - it fails. apt-get update run sgfxi again and all is ok. Back to top |
The problem here is that your system for some reason isn't showing that build-essential is available from apt even though the test shows that the file: /var/cache/apt/pkgcache.bin
exists. A fresh install I believe should not have this file existing until the first apt-get update runs, at least I think that's how it is, unless you do a debian install that builds from apt during the install, then it's going to be present. I'd have to double check that, but can you just try it with a livecd again, and see if that file exists, and what it's size is. I can change the test to test for min size I guess, but give me this data for a fresh install with no apt update run. du -h /var/cache/apt/pkgcache.bin and we can figure it out. Back to top |
yes, I confirmed this, on a fresh livecd boot of sidux, there is no such file existing.
This may be a bug in your system or antix setup, that file should not exist until apt-get update has run at least once, and if it exists, the database should be noting the presence of that package, which after the update it does. Also show: ls -l /var/cache/apt/pkgcache.bin so I can see the age of it, the one on a fresh install, without apt-get update run. In smxi I test for that file, if it's not there I know no update has been run, so it's odd that it's present. Even if it was out of date that package should show, just in an out of date version, and sgfxi always runs apt-get update prior to the first package install in all cases. There might be other possibiilties, you'll have to go from the fresh iso to find the place it messes up. It's possible that file was left there after building the iso, I think anyway, I'm not sure, it depends on how the iso is built I suppose. It's possible to compare dates though it's a bit of a pain, I prefer not to go that route, it's better to know exactly why that database file does contain other package data but does not contain the build-essential package data, that shouldn't be happening. I think lenny has that package too, so that shouldn't be the reason either, and sid and testing definitely have it. Back to top |
livecd /var/cache/apt/pkgcache.bin exists and is 18M.
For live. :: Code :: ls -l /var/cache/apt/pkgcache.bin
-rw-r--r-- 1 root root 18598248 2009-12-19 04:40 /var/cache/apt/pkgcache.bin Now to install Back to top |
Fresh install, no update.
:: Code :: $ du -h /var/cache/apt/pkgcache.bin
352K /var/cache/apt/pkgcache.bin :: Code :: $ ls -l /var/cache/apt/pkgcache.bin
-rw-r--r-- 1 root root 422419 2009-12-21 01:36 /var/cache/apt/pkgcache.bin Back to top |
The livecd, assuming that's correct, 18 mB, I don't see anything I can do about that, unless there's a way to know it's a livecd that is foolproof for mepis/antix.
The fresh install, yes, that can be done. Try it again, I set it if file is < 5mB, run update first. Not sure what the minimum sizes are, but I think once updated files are at least 10mB large. However, the real question would be why with a full database file mepis/antix isn't showing that package until apt update runs, that's a bug I think, that's what it looks like to me, unless there is some oddness in how that iso is created. Back to top |
|
All times are GMT - 8 Hours |