Weblog entry #20 for Utumno
tajwan:~/software# apt-get update Get:1 http://ftp.us.debian.org sid Release.gpg [378B] Hit http://ftp.us.debian.org sid Release Get:2 http://ftp.us.debian.org sid/main Packages/DiffIndex [2038B] Get:3 http://ftp.us.debian.org sid/contrib Packages [67.0kB] Get:4 http://ftp.us.debian.org sid/non-free Packages [93.8kB] Hit http://ftp.us.debian.org sid/main Packages Fetched 163kB in 40s (3982B/s) Reading package lists... Done tajwan:~/software# apt-get upgrade Reading package lists... Done Building dependency tree... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. Need to get 0B of archives. After unpacking 0B of additional disk space will be used. Do you want to continue [Y/n]? Setting up virtualbox (1.3.2-17408_Debian_etch) ... Creating group 'vboxusers'. VM users must be member of that group! No precompiled module for this kernel found -- trying to build one Messages displayed during module compilation will be logged to /var/log/vbox-install.log Compilation of kernel module failed, aborting installation dpkg: error processing virtualbox (--configure): subprocess post-installation script returned error exit status 1 Errors were encountered while processing: virtualbox E: Sub-process /usr/bin/dpkg returned an error code (1)
tajwan:~/software# dpkg -P virtualbox (Reading database ... 17400 files and directories currently installed.) Removing virtualbox ... (Kernel module not found)...fail! invoke-rc.d: initscript virtualbox, action "stop" failed. dpkg: error processing virtualbox (--purge): subprocess pre-removal script returned error exit status 1 Creating group 'vboxusers'. VM users must be member of that group! No precompiled module for this kernel found -- trying to build one Messages displayed during module compilation will be logged to /var/log/vbox-install.log Compilation of kernel module failed, aborting installation dpkg: error while cleaning up: subprocess post-installation script returned error exit status 1 Errors were encountered while processing: virtualbox
I suppose I could force the pre-removal script to return success, but generally speaking how does one cope with broken packages like this?
Comments on this Entry
[ Parent | Reply to this comment ]
[ Send Message | View Utumno's Scratchpad | View Weblogs ]
[ Parent | Reply to this comment ]
[ Send Message | View Steve's Scratchpad | View Weblogs ]
Generally one does force it I think, since in this state you couldn't even upgrade it if there was a fixed package available ..
[ Parent | Reply to this comment ]