Debian 6.0 system is "up to date", in that apt-get udate; apt-get upgrade find nothing new. TDE is 3.5.13. Settings menu option for Control Center produces nothing, while from Konsole, the message in $SUBJECT. Individual settings from the main menu is among the worst UIs on the planet. Please, how can I get kcontrol working (without hours of updating)?
On Sat December 13 2014 19:50:38 Felix Miata wrote:
Debian 6.0 system is "up to date", in that apt-get udate; apt-get upgrade find nothing new. TDE is 3.5.13. Settings menu option for Control Center produces nothing, while from Konsole, the message in $SUBJECT. Individual settings from the main menu is among the worst UIs on the planet. Please, how can I get kcontrol working (without hours of updating)?
Does "apt-get --reinstall install kdelibs4c2a-trinity" help at all?
--Mike
Mike Bird composed on 2014-12-13 21:26 (UTC-0800):
Felix Miata wrote:
Debian 6.0 system is "up to date", in that apt-get udate; apt-get upgrade find nothing new. TDE is 3.5.13. Settings menu option for Control Center produces nothing, while from Konsole, the message in $SUBJECT. Individual settings from the main menu is among the worst UIs on the planet. Please, how can I get kcontrol working (without hours of updating)?
Does "apt-get --reinstall install kdelibs4c2a-trinity" help at all?
Helped a lot! KControl works. :-D http://tinyurl.com/nz37aer :-D How did you figure out that's what needed doing? $SUBJECT produced 0 hits from Google. :-p
On Sun, 14 Dec 2014 01:26:25 -0500 Felix Miata mrmazda@earthlink.net wrote:
Mike Bird composed on 2014-12-13 21:26 (UTC-0800):
Felix Miata wrote:
Debian 6.0 system is "up to date", in that apt-get udate; apt-get upgrade find nothing new. TDE is 3.5.13. Settings menu option for Control Center produces nothing, while from Konsole, the message in $SUBJECT. Individual settings from the main menu is among the worst UIs on the planet. Please, how can I get kcontrol working (without hours of updating)?
Does "apt-get --reinstall install kdelibs4c2a-trinity" help at all?
Helped a lot! KControl works. :-D http://tinyurl.com/nz37aer :-D How did you figure out that's what needed doing? $SUBJECT produced 0 hits from Google. :-p
The error suggested it was having difficulty finding the symbol definitions for a common TDE graphical component. The logical place for such a component to be defined is the libs package, and the easiest way to deal with a broken package is usually to reinstall it and hope the package mangler gets it right this time. ;)
E. Liddell
E. Liddell composed on 2014-12-14 07:29 (UTC-0500):
On Sun, 14 Dec 2014 01:26:25 -0500 Felix Miata wrote:
Mike Bird composed on 2014-12-13 21:26 (UTC-0800):
Does "apt-get --reinstall install kdelibs4c2a-trinity" help at all?
Helped a lot! KControl works. :-D http://tinyurl.com/nz37aer :-D How did you figure out that's what needed doing? $SUBJECT produced 0 hits from Google. :-p
The error suggested it was having difficulty finding the symbol definitions for a common TDE graphical component. The logical place for such a component to be defined is the libs package, and the easiest way to deal with a broken package is usually to reinstall it and hope the package mangler gets it right this time. ;)
Mike Bird composed on 2014-12-14 07:39 (UTC-0800):
kdelibs4c2a-trinity was by far the most likely candidate. Downloaded the source for that package and checked that KListView::selectAll is defined there.
I get that *some* lib was a likely candidate, and that reinstalling the right package should be the solution. What I don't see is the connection between the error message and the package name string "kdelibs4c2a" that Mike correctly identified.
I suggest you might want determine how the problem arose - whether by user error or disk error or malicious attack or otherwise.
Likely a combination of user error and package mangler error. I had tried to update to v14, but after an hour of seeing upgrade candidate messages scroll up the screen without noticing evidence of actual progress, I Ctrl-C'd out, restored the old sources.list, and from there dont' remember what I did and didn't do. I've since done an update that included somewhere between 250 & 300 packages, and all seems good now with that installation.
As it's a multiboot machine, with old HD and new Asus A88X-Pro motherboard/RAM/CPU/video, I have to get all working acceptably, and I've hit another big snag Google isn't helping with. The owner's vision is somewhere in the bottom 2%, very poor. One of his workarounds is using a 42" TV screen. Another was apparently installing/configuring some accessibility package that made his mouse pointer easier to find in KDE3 in openSUSE 11.3. Using his 11.3 user data for a fresh 13.1 installation, his mouse pointer totally disappears as soon as login painting completes, and it stays gone. With a virgin user the pointer works normally. I've tried going through .kde/share/config/ looking for mouse configs to zero out, but that hasn't worked, and neither has looking for suspect package names among a complete package list. I found he had downloaded 140787-LargeCursors.tar.bz2 and installed that, but no help from it either.
Also, many sound devices are showing up in lsmod, apparently confusing both automatic and manual configuration attempts. Alsactl init in Squeeze returns instantly, writing nothing anywhere I can find. According to YaST2 on openSUSE 13.2, there are 2 "cards", ATI as card0 using snd-hda-intel, and FCH Azalia as card1, also using snd-hda-intel.
:~(
On Sun December 14 2014 11:41:52 Felix Miata wrote:
I get that *some* lib was a likely candidate, and that reinstalling the right package should be the solution. What I don't see is the connection between the error message and the package name string "kdelibs4c2a" that Mike correctly identified.
_ZN9KListView9selectAllEb is C++ symbol mangling of KListView::selectAll which sounds like a common standard KDE function so I checked the common standard KDE library package first. I already knew its name from many installs over the years.
//
Likely a combination of user error and package mangler error. I had tried to update to v14, but after an hour of seeing upgrade candidate messages scroll up the screen without noticing evidence of actual progress, I Ctrl-C'd out, restored the old sources.list, and from there dont' remember what I did and didn't do. I've since done an update that included somewhere between 250 & 300 packages, and all seems good now with that installation.
Ah yes, that could leave things in a bad state. I suggest you run the following (all on one line) to look for other possible problems:
dpkg-query --show --showformat='${STATUS} ${PACKAGE} ${VERSION} ${ARCHITECTURE}\n' | grep -v 'install ok installed'
//
Mouse pointer and sound card problems are outside my area of expertise. Hopefully somebody else can help you with those.
--Mike
Mike Bird composed on 2014-12-14 15:40 (UTC-0800):
Felix Miata wrote:
_ZN9KListView9selectAllEb is C++ symbol mangling of KListView::selectAll which sounds like a common standard KDE function so I checked the common standard KDE library package first. I already knew its name from many installs over the years.
Likely a combination of user error and package mangler error. I had tried to update to v14, but after an hour of seeing upgrade candidate messages scroll up the screen without noticing evidence of actual progress, I Ctrl-C'd out, restored the old sources.list, and from there dont' remember what I did and didn't do. I've since done an update that included somewhere between 250 & 300 packages, and all seems good now with that installation.
Ah yes, that could leave things in a bad state. I suggest you run the following (all on one line) to look for other possible problems:
dpkg-query --show --showformat='${STATUS} ${PACKAGE} ${VERSION} ${ARCHITECTURE}\n' | grep -v 'install ok installed'
Of 148 lines of output, 147 looked like this one: deinstall ok config-files libweather-ion4a 4:4.4.5-7+squeeze1 amd64
The other is this: install ok half-configured linux-image-2.6.32-5-amd64 2.6.32-48squeeze6 amd64
The latter is not unexpected, given its routine of not completing linux-image installation.
Repeating that command without the grep produced 0 lines not containing ok, 1923 total lines.
Mouse pointer and sound card problems are outside my area of expertise. Hopefully somebody else can help you with those.
I gave up trying to "fix" the mouse pointer. I made it work by deleting most of the content of .kde/share/config/, kde4 configs, gnome/gtk configs, and the caches to more or less emulate a virgin user. Sound I "fixed" by installing the PCI Audigy Sound Blaster that had been used with the old motherboard. With that installed, sound simply works without me having had to do configuring.
On Sun December 14 2014 18:07:29 Felix Miata wrote:
dpkg-query --show --showformat='${STATUS} ${PACKAGE} ${VERSION} ${ARCHITECTURE}\n' | grep -v 'install ok installed'
Of 148 lines of output, 147 looked like this one: deinstall ok config-files libweather-ion4a 4:4.4.5-7+squeeze1 amd64
Those packages are removed but not purged. Unless you planned on reinstalling them you would normally purge them just to tidy up your system. If you leave them as they are some (rare) problems can occur.
The other is this: install ok half-configured linux-image-2.6.32-5-amd64 2.6.32-48squeeze6 amd64
Its installation was interrupted by an error or ctrl-C. Best to reinstall or purge it to avoid possible boot-related problems.
--Mike
Mike Bird composed on 2014-12-14 18:21 (UTC-0800):
On Sun December 14 2014 18:07:29 Felix Miata wrote:
dpkg-query --show --showformat='${STATUS} ${PACKAGE} ${VERSION} ${ARCHITECTURE}\n' | grep -v 'install ok installed'
Of 148 lines of output, 147 looked like this one: deinstall ok config-files libweather-ion4a 4:4.4.5-7+squeeze1 amd64
Those packages are removed but not purged. Unless you planned on reinstalling them you would normally purge them just to tidy up your system. If you leave them as they are some (rare) problems can occur.
The other is this: install ok half-configured linux-image-2.6.32-5-amd64 2.6.32-48squeeze6 amd64
Its installation was interrupted by an error or ctrl-C. Best to reinstall or purge it to avoid possible boot-related problems.
I did these:
# apt-get --reinstall install linux-image-2.6.32-5-amd64 # apt-get purge all # apt-get purge * # apt-get --reinstall install linux-image-2.6.32-5-amd64 # apt-get --reinstall install linux-image-2.6.32-5-amd64
Each except the purges generated the following (same as many times before): Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 16 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Setting up linux-image-2.6.32-5-amd64 (2.6.32-48squeeze6) ... Running depmod. Running update-initramfs. update-initramfs: Generating /boot/initrd.img-2.6.32-5-amd64 W: Possible missing firmware /lib/firmware/rtl_nic/rtl8105e-1.fw for module r8169 W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168e-2.fw for module r8169 W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168e-1.fw for module r8169 W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168d-2.fw for module r8169 W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168d-1.fw for module r8169 Examining /etc/kernel/postinst.d. run-parts: executing /etc/kernel/postinst.d/initramfs-tools 2.6.32-5-amd64 /boot/vmlinuz-2.6.32-5-amd64 run-parts: executing /etc/kernel/postinst.d/pm-utils 2.6.32-5-amd64 /boot/vmlinuz-2.6.32-5-amd64 run-parts: executing /etc/kernel/postinst.d/update-notifier 2.6.32-5-amd64 /boot/vmlinuz-2.6.32-5-amd64 run-parts: executing /etc/kernel/postinst.d/zz-update-grub 2.6.32-5-amd64 /boot/vmlinuz-2.6.32-5-amd64 Searching for GRUB installation directory ... found: /boot/grub Searching for default file ... Generating /boot/grub/default file and setting the default boot entry to 0 entry not specified. run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 1 Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-2.6.32-5-amd64.postinst line 799. dpkg: error processing linux-image-2.6.32-5-amd64 (--configure): subprocess installed post-installation script returned error exit status 2 configured to not write apport reports Errors were encountered while processing: linux-image-2.6.32-5-amd64 E: Sub-process /usr/bin/dpkg returned an error code (1)
These too fail with what appears to be the exact same messages as using apt-get to install or remove anything else, or upgrade: # apt-get purge linux-image-2.6.32-5-amd64 # apt-get remove linux-image-2.6.32-5-amd64
Too many ways to fail around here lately. :-(
Felix,
(With apologies to T-U readers as this has become somewhat O/T but I hope it is still useful.)
The linux-image install may be failing as a result of a config file left over from a removed but not purged package or an obsolete config file resulting from a downgrade or failed upgrade.
Try the following (all on one line):
dpkg-query --show --showformat='${STATUS} ${PACKAGE} ${VERSION} ${ARCHITECTURE}\n' | grep 'deinstall ok config-files' | awk '{print $4}'
That should give you a list of packages to be purged. If it looks OK add a "dpkg --purge $(" on the front and a ")" on the end to purge them.
Then try the reinstall again. If it works great. If it fails please show me the result of:
grep 'obsolete$' /var/lib/dpkg/status
--Mike
Mike Bird composed on 2014-12-14 19:30 (UTC-0800):
The linux-image install may be failing as a result of a config file left over from a removed but not purged package or an obsolete config file resulting from a downgrade or failed upgrade.
Try the following (all on one line):
dpkg-query --show --showformat='${STATUS} ${PACKAGE} ${VERSION} ${ARCHITECTURE}\n' | grep 'deinstall ok config-files' | awk '{print $4}'
success ( | wc -l: 147 )
That should give you a list of packages to be purged. If it looks OK add a "dpkg --purge $(" on the front and a ")" on the end to purge them.
Took me a while to grok this instruction into:
dpkg --purge $(dpkg-query --show --showformat='${STATUS} ${PACKAGE} ${VERSION} ${ARCHITECTURE}\n' | grep 'deinstall ok config-files' | awk '{print $4}')
Then try the reinstall again. If it works great. If it fails
Fails again with what looks like the exact same messages as all the other times, and :-( again.
please show me the result of:
grep 'obsolete$' /var/lib/dpkg/status
/etc/default/kdm.d/10_desktop-base 0c8e814e3ff9771bc023cca7fffc4fd7 obsolete /etc/trinity/kdeglobals 03f62af2e6af270e0cb1b9e396fc5a78 obsolete /etc/trinity/kdm/backgroundrc e5d6fd0838cafe044f1cff0224af4b12 obsolete
Thanks for your persistence Mike, and sorry for wasting your time with this OT followup!
Looking back through those error messages again made me take a look at /etc/kernel/postinst.d/. It looks like in my naive effort over two years ago when I did this installation that in order to prevent updates to menu.lst from being created at upgrades time I renamed /etc/kernel/postinst.d/update-grub to zz-update-grub instead of removing its execute bits and/or making menu.lst immutable. The reason for wanting that is in multiboot, using a master bootloader, life is simpler when kernels and initrds in boot stanzas don't have names that change. I facilitate that relative simplicity with manually created symlinks to fixed names initrd-cur, vmlinuz-cur, initrd-prv, vmlinuz-prv, initrd-prv2, vmlinuz-prv2, etc. The Debian boot menu updates process mangles boot menu file creation when it finds kernel and initrd names that do not include version numbers, which in turn makes chainloading to the installation's own boot menu instead of bypassing it via master boot menu difficult if not impossible at precisely the time it's most needed to fall back to.
On Sat December 13 2014 22:26:25 Felix Miata wrote:
Mike Bird composed on 2014-12-13 21:26 (UTC-0800):
Felix Miata wrote:
Debian 6.0 system is "up to date", in that apt-get udate; apt-get upgrade find nothing new. TDE is 3.5.13. Settings menu option for Control Center produces nothing, while from Konsole, the message in $SUBJECT. Individual settings from the main menu is among the worst UIs on the planet. Please, how can I get kcontrol working (without hours of updating)?
Does "apt-get --reinstall install kdelibs4c2a-trinity" help at all?
Helped a lot! KControl works. :-D http://tinyurl.com/nz37aer :-D How did you figure out that's what needed doing? $SUBJECT produced 0 hits from Google. :-p
Hi Felix,
kdelibs4c2a-trinity was by far the most likely candidate. Downloaded the source for that package and checked that KListView::selectAll is defined there.
I suggest you might want determine how the problem arose - whether by user error or disk error or malicious attack or otherwise.
--Mike