d-u error: missing LSB tags, insserv, cups gettext &tc
this is what I have been getting the last few days since my last d-u (using smxi). i have no idea what this is or how to fix it.
help! thanks! :: Code :: Reading package lists... Done
Building dependency tree Reading state information... Done Calculating upgrade... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 4 not fully installed or removed. After this operation, 0B of additional disk space will be used. Do you want to continue [Y/n]? Setting up acpid (1:2.0.2-1) ... insserv: warning: script 'K01cups' missing LSB tags and overrides insserv: warning: script 'S02acpid' missing LSB tags and overrides insserv: warning: script 'S18console-setup' missing LSB tags and overrides insserv: warning: script 'S17keyboard-setup' missing LSB tags and overrides insserv: warning: script 'acpid' missing LSB tags and overrides insserv: warning: current stop runlevel(s) (empty) of script `acpid' overwrites defaults (0 1 6). insserv: warning: script 'keyboard-setup' missing LSB tags and overrides insserv: warning: script 'cups' missing LSB tags and overrides insserv: warning: script 'console-setup' missing LSB tags and overrides /etc/init.d/acpid: 1: Syntax error: EOF in backquote substitution invoke-rc.d: initscript acpid, action "start" failed. dpkg: error processing acpid (--configure): subprocess installed post-installation script returned error exit status 2 Setting up cups (1.4.2-9+b1) ... /etc/default/cups: 1: /usr/share/python-support/python-opengl/OpenGL/raw/GL/VERSION/GL_1_4.py: not found dpkg: error processing cups (--configure): subprocess installed post-installation script returned error exit status 2 Setting up gettext (0.17-9) ... dpkg (subprocess): unable to execute installed post-installation script: Exec format error dpkg: error processing gettext (--configure): subprocess installed post-installation script returned error exit status 2 dpkg: dependency problems prevent configuration of kernel-package: kernel-package depends on gettext; however: Package gettext is not configured yet. dpkg: error processing kernel-package (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: acpid cups gettext kernel-package E: Sub-process /usr/bin/dpkg returned an error code (1) Back to top |
Those are legacy packages, cruft left over that wasn't removed correctly.
First thing I recommend is run the clean up thing in smxi, cruft remover, that will remove some of that stuff. Then you'll have to work through the old packages, find which package owns the files, and where the files are, then purge the packages if installed, with: dpkg --purge <package name> To find what package owns a file: dpkg -S <path to file> It's a pain. However,. that's not your problem here, your problem is some package is broken in apt, and you have to fix that first. Please make sure you have room in your /root partition: df -hT it looks to me like you have a serious problem in apt, and that you may have started to install more packages after a break in another package. Back to top |
my disk usage is OK:
:: Code :: Filesystem Type Size Used Avail Use% Mounted on
/dev/sda7 ext3 9.7G 5.8G 3.4G 63% / tmpfs tmpfs 1.5G 12K 1.5G 1% /lib/init/rw udev tmpfs 10M 180K 9.9M 2% /dev tmpfs tmpfs 1.5G 16K 1.5G 1% /dev/shm /dev/sda5 vfat 36G 25G 11G 70% /documents /dev/sda8 ext3 9.7G 3.8G 5.9G 39% /home /dev/sda1 vfat 63M 7.3M 56M 12% /media/disk1part1 /dev/sda4 vfat 3.1G 2.8G 275M 92% /media/disk1part4 /dev/sda2 fuseblk 91G 56G 36G 62% /windows sda4 vfat partition is a windows restore partition and not a problem what if my permissions got screwed up - about a year ago I had some problems running cairo-dock that i tried to fix by changing the permissions on /etc globally - this made the problem go away but was probably not a smart thing to do otoh, this new problem started only in the last two weeks or so. i can't even remove acpid - i get error messages any ideas? Back to top |
You're probably going to need to force some of the installs.
These kinds of problems are very hard to fix, they are fixable, but it takes time and patience. You can go to your /var/cache/apt/archives after doing: apt-get update && apt-get -d <list of broken packages> then maybe you can use dpkg --force -i <package deb name> one by one, starting with the least critical ones, like cups, and ending with the most critical ones like acpid and gettext. This is risky, again, and there might be better ways to do it. Also try apt-get install -f a few times between each dpkg install. Back to top |
so, i removed gettext, which took kernel-package as well
i separately removed and reinstalled cups everything looks ok now, but do i need gettext or kernel-package for normal usage? thx Back to top |
oh, that worked? great. I would reinstall gettext if you can. kernel-package is: 'A utility for building Linux kernel related Debian packages'
When in doubt: apt-cache show <package name> so the stuff works now, you can do an upgrade and things don't complain? apt is pretty robust, it can almost always be saved, you just have to get in there and do some manual tweaks, that's good news though.. Back to top |
yeah, everything good.
i told you the short version. the long version includes borking my entire system by following BUNTU advice to configure all files in /etc to be not executable, so then i could not even get to kdm login because the rc files did not execute. sweet. and also i discovered that my fstab set the "/" root partition to be read-only, so i couldn't fix the permissions and also couldn't fix fstab. after remounting the root partition as rw, then i fixed fstab, and then i fixed the /etc to set all permissions to "755", and then i could log in again. and somewhere along the way I removed acpid and cups successfully, then determined the kernel-package error was the dependency on the bad gettext package. so i removed both, reconfigured cups, and now there are no errors whatsoever (just four hours later) btw: this was my sidux/kde box that was screwed up, my other box, with pure sid/gnome, is smooth and problem-free... thx! Back to top |
All times are GMT - 8 Hours |