Cuddles, my linux tribulations sister , see my post over in the lounge on fear of flying.
Not sure why my first reply here didn't go through. If two eventually show up, pardon me
Considering the "piggy-back" thread this was started in, and the length of that thread at this time, decided to move the thread out to its own topic...
I started this all out trying to get a "thumbnail" viewer for those pesky WMF image formats (that plague Windows) that are given so freely with clip art packages that run specific on Windows systems.
I downloaded the tarball of source, unpacked it, and upon following the instructions, came up with an error that is part of the make routine. With some help from Eco2Geek and Stephen, I accomplished apt-get'ing the libwmf-dev package, and upon trying again the make, it died, now yelling about libxft-dev missing.
Trying the fix by Eco2Geek, I modified the .cpp and .h files to "point" directly to locations of header (.h) files, and it still died with same error.
Trying the fix by Stephen, I assumed I just needed to apt-get the libxft-dev package, and then apt-get hell broke out... output from the apt-get install follows:
Now it appears I have removed something that should "never" have been removed, caused numerous "broken pipes", and still don't have what I "initially" wanted since this all started, no thumbnail viewer for WMF images in Konq.Code:root@Polaris:~# apt-get -u install libxft-dev Reading Package Lists... Done Building Dependency Tree... Done The following extra packages will be installed: libx11-6 libx11-dev libxft2 x-dev The following packages will be REMOVED: libxft2-dev The following NEW packages will be installed: libx11-6 libx11-dev libxft-dev x-dev The following packages will be upgraded: libxft2 1 upgraded, 4 newly installed, 1 to remove and 513 not upgraded. Need to get 2282kB of archives. After unpacking 6406kB of additional disk space will be used. Do you want to continue? [Y/n] y Get:1 http://ftp.egr.msu.edu testing/main libx11-6 4.3.0-7 [672kB] Get:2 http://ftp.egr.msu.edu testing/main x-dev 4.3.0-7 [177kB] Get:3 http://ftp.egr.msu.edu testing/main libx11-dev 4.3.0-7 [1323kB] Get:4 http://ftp.egr.msu.edu testing/main libxft2 2.1.2-6 [50.1kB] Get:5 http://ftp.egr.msu.edu testing/main libxft-dev 2.1.2-6 [60.2kB] Fetched 2282kB in 7m34s (5024B/s) dpkg: libxft2-dev: dependency problems, but removing anyway as you request: libqt3-mt-dev depends on libxft-dev; however: Package libxft-dev is not installed. Package libxft2-dev which provides libxft-dev is to be removed. (Reading database ... 103482 files and directories currently installed.) Removing libxft2-dev ... Removing `diversion of /usr/X11R6/include/X11/Xft/Xft.h to /usr/X11R6/include/X11/Xft/Xft1.h by libxft2-dev' Removing `diversion of /usr/X11R6/lib/libXft.a to /usr/X11R6/lib/libXft1.a by libxft2-dev' Removing `diversion of /usr/X11R6/lib/libXft.so to /usr/X11R6/lib/libXft1.so by libxft2-dev' Selecting previously deselected package libx11-6. (Reading database ... 103468 files and directories currently installed.) Unpacking libx11-6 (from .../libx11-6_4.3.0-7_i386.deb) ... dpkg: error processing /var/cache/apt/archives/libx11-6_4.3.0-7_i386.deb (--unpack): trying to overwrite `/usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2', which is also in package xlibs dpkg-deb: subprocess paste killed by signal (Broken pipe) Selecting previously deselected package x-dev. Unpacking x-dev (from .../archives/x-dev_4.3.0-7_all.deb) ... dpkg: error processing /var/cache/apt/archives/x-dev_4.3.0-7_all.deb (--unpack): trying to overwrite `/usr/X11R6/include/X11/DECkeysym.h', which is also in package xlibs-dev dpkg-deb: subprocess paste killed by signal (Broken pipe) Selecting previously deselected package libx11-dev. Unpacking libx11-dev (from .../libx11-dev_4.3.0-7_i386.deb) ... dpkg: error processing /var/cache/apt/archives/libx11-dev_4.3.0-7_i386.deb (--unpack): trying to overwrite `/usr/X11R6/include/X11/XKBlib.h', which is also in package xlibs-dev dpkg-deb: subprocess paste killed by signal (Broken pipe) Preparing to replace libxft2 2.1.1-2 (using .../libxft2_2.1.2-6_i386.deb) ... Unpacking replacement libxft2 ... Selecting previously deselected package libxft-dev. Unpacking libxft-dev (from .../libxft-dev_2.1.2-6_i386.deb) ... Errors were encountered while processing: /var/cache/apt/archives/libx11-6_4.3.0-7_i386.deb /var/cache/apt/archives/x-dev_4.3.0-7_all.deb /var/cache/apt/archives/libx11-dev_4.3.0-7_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1) root@Polaris:~#
I should never have assumed to "just install" this dev package, I am sure, and am now thinking that it may not be recoverable, and that a complete "gut" of the system is where I am at now, and that a complete reinstall is necessary. (all because I wanted to have a thumbnail viewer in a "support" program !)
I am constantly living with the "what will I do next to cause me to reinstall" thing, most of all the times, it has a lot to do with "apt-get" - its either the "upgrade" or something, I figure, is just an "easy" install -=- and then all hell brakes loose.
Sometimes I just sit back, and enjoy Knoppix just "running", and then I get these "dim-witted" ideas of adding something else to the OS, usually something that I "really" think will help my productivity, or ability to do more with Knoppix -=- only to find, I've trashed my install, and the only way out is to gut the system, reformat the hard drive, and reinstall Knoppix (again, and again, and again...) from the ground floor again - throwing away everything I've done up to that point, (configs, user files, global files, packages, web links, email, contacts, etc...) , and starting all over again.
I've actually gotten good at reinstalling Knoppix, if you want to call that a GOOD thing, I've trashed Windows many times, but never to the point of having to "gut and reinstall" - possibly why Linux is not among the highest rated OS's among newbies ?
Well, here I am again, at the presabyss of Hell - can someone tell me how to get back, or must I jump again? Reminds me, only about a month or so ago, when I was at this same location with ALSA, same OS, same problems with apt-get, same concern for someone to just suggest "reinstall" again. Before that, it was a "apt-get upgrade" - I have had a long line of failures with apt-get.
Someone please, save me from MYSELF
Cuddles
Cuddles, my linux tribulations sister , see my post over in the lounge on fear of flying.
Not sure why my first reply here didn't go through. If two eventually show up, pardon me
Well, Well, nishtya, long time no see compiled any new kernels lately ( I know, I know, that was a "below the belt" shot, sorry )
Anyway, your "heavy hitter" was getting lmsensors running, mine is a constant battle with keeping what I have running... Currently, its this durn thumbnail viewer for Konq, sheesh, something SO simple ends up to be such a pain in the rump - why? Did "I" ask for this?????
I just live between one screw-up to the next, and "hope" to survive it... I guess its the "price" I have to pay for having such a "stable" Operating System?
I can't imagine going back to M$, and its plagued OS's, but with all the "ongoing" hell I end up going through, everytime I think, yeah, I'll just add this neat "feature", I get my whole OS screwed up... It takes its toll on a newbie girl - even when I think I can do this, I know how to do this, you just "apt-get" it, it ends up blowing up in my face... and I spend another weekend, and possibly the following week, sitting in here, hoping to get an answer to fix my problems, again.
So, I'm going to be "resident" here for awhile, until I get this resolved, now... Amazing how much time I have spent, waiting for an answer, when I do something "completely" nit-witty like adding a simple viewer to Konq. -=- sheesh.
Websters Dictionary Defination of a newbie with a clue, but with not enough information, should have my lil ol name after it...
Oh well, the waiting game...
Cuddles
You never removed anything the broken pipe is apt complaing about the error when the X packages cannot overwrite the conflicting file(s) use dpkg -i --force-overwrite /var/cache/apt/archives/libx11-6_4.3.0-7_i386.deb /var/cache/apt/archives/x-dev_4.3.0-7_all.deb /var/cache/apt/archives/libx11-dev_4.3.0-7_i386.deb then dpkg --configure -a to get any packages that remain unconfigured after the error.Originally Posted by Cuddles
I should never have assumed to "just install" this dev package, I am sure, and am now thinking that it may not be recoverable, and that a complete "gut" of the system is where I am at now, and that a complete reinstall is necessary. (all because I wanted to have a thumbnail viewer in a "support" program !)
Yeah things can get a little complicated sometimes doing what should be a simple procedure. Especially when the developers allow X to remain in that state for months it actually installed once without all those errors I think that was the -4 version and then it went to hell in a hand basket again.
An idea to save you all this. Make a new partition or throw a spare small HD in the machine where you put say a 5gb partition for a backup / then you clone your current install to the new partition/hd. Now when anything major needs to be done you boot to the clone do what you are trying and you can basically destroy the entire partition if you want and you always have your original "good" install just sitting there untouched. The procedure I use is relatively simple:I am constantly living with the "what will I do next to cause me to reinstall" thing, most of all the times, it has a lot to do with "apt-get" - its either the "upgrade" or something, I figure, is just an "easy" install -=- and then all hell brakes loose.
Sometimes I just sit back, and enjoy Knoppix just "running", and then I get these "dim-witted" ideas of adding something else to the OS, usually something that I "really" think will help my productivity, or ability to do more with Knoppix -=- only to find, I've trashed my install, and the only way out is to gut the system, reformat the hard drive, and reinstall Knoppix (again, and again, and again...) from the ground floor again - throwing away everything I've done up to that point, (configs, user files, global files, packages, web links, email, contacts, etc...) , and starting all over again.
1. Boot a Knoppix CD with knoppix 2
2. mount /dev/hd?? /mnt/hd?? - root location
3. mount /dev/hd!! /mnt/hd!! - backup root location
4. cp -Rp /mnt/hd??/ /mnt/hd!!/ - copy entire contents retaining all permissions.
5. Repeat steps 2 thru 4 if copying the /home partition to a backup partition as well.
6. Edit the /etc/lilo.conf and /etc/fstab on the backup parition for the changes necessary for the new layout.
7a. chroot /mnt/hd!!/ /sbin/lilo -v - write lilo to the MBR of spare drive if used for the backup.
7b. chroot /mnt/hd!!/ /sbin/lilo -v -b /dev/hd!! - write lilo to the backup / partition.
8. Edit the "good" /etc/lilo.conf to create a chainload entry to the backup lilo which is either in the MBR of a spare drive or a extra partition. This is only required once if you keep the backup parition/drive at the same location for any further backups.
9. chroot /mnt/hd??/ /sbin/lilo -v - write your "good" lilo with the changes to enable you to boot the backup.Code:other=/dev/hd? label=Testing OR other=/dev/hd?4 label=Testing
10. shutdown -r now - Reboot and test to see if the new backup partition actually works. You will end up going through 2 lilo screens with this method if you have both lilo's configured to show you the screen that is.
Well, Well, nishtya, long time no see compiled any new kernels lately ( I know, I know, that was a "below the belt" shot, sorry )
Cuddles, I sense a certain amount of frustration here I can't help with any technical knowhow on how to fix what's happening with your system, to my newbie self if I saw all that pumping out I would have ran for the CD and reinstalled as fast I could to make it go away. But I think someone should be along that can help by tonight. Seems Saturdays are always slow on internet forums and if you just have to do something, maybe you can work on backing up what you can in case you are truly hosed. I know the experts don't ever seem to give up but I guess it's part of being newbie that sometimes we have to just start over and lick our wounds. I really am trying to be supportive
Sorry I got you into this!
If you want to send me your email addy (mine is eco2geek-at-comcast-dot-net), I can just email you the binaries and you can put 'em where they need to go and see if it works.
Yeah, it's a kludge, but it beats tearing your hair out. (I'm beginning to think the only "safe" way to install things is to download the *.deb binaries from Debian's package list, paying close attention to the version numbers, and then using "dpkg -i packagename.deb".)
Now that you've tried Linux, you know you're hooked and you'll just reinstall it anyway. At least dual-boot.
Your right Eco2Geek, I am definately "hooked", I probably would never go back, even after having to do a hundred reinstalls - I'll just get better at doing my backups (always a silver lining)
Stephen, I did the dpkg stuff - appears everything was "forced" in - I did the make and make install, and I appear to be getting farther into the script, but have yet to create the .la or .so files, either where they belong, or where Eco2Geek said they would appear...
Here is the latest output from "make" and "make install"
Looking over the output, am I correct in assuming my "new" problem is Xinerama_pic ??? What the heck is it, and why does a viewer in Konq require it to succeed???Code:root@Polaris:/gblusr/Installs/KonqPlugIns/wmfthumbnail-0.2# make make all-recursive make[1]: Entering directory `/gblusr/Installs/KonqPlugIns/wmfthumbnail-0.2' Making all in doc make[2]: Entering directory `/gblusr/Installs/KonqPlugIns/wmfthumbnail-0.2/doc' Making all in . make[3]: Entering directory `/gblusr/Installs/KonqPlugIns/wmfthumbnail-0.2/doc' make[3]: Nothing to be done for `all-am'. make[3]: Leaving directory `/gblusr/Installs/KonqPlugIns/wmfthumbnail-0.2/doc' Making all in en make[3]: Entering directory `/gblusr/Installs/KonqPlugIns/wmfthumbnail-0.2/doc/en' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/gblusr/Installs/KonqPlugIns/wmfthumbnail-0.2/doc/en' make[2]: Leaving directory `/gblusr/Installs/KonqPlugIns/wmfthumbnail-0.2/doc' Making all in src make[2]: Entering directory `/gblusr/Installs/KonqPlugIns/wmfthumbnail-0.2/src' /bin/sh ../libtool --silent --mode=link --tag=CXX g++ -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -I/usr/include/freetype2 -I/usr/include -L/usr/lib -lwmf -lwmflite -lfreetype -lz -L/usr/X11R6/lib -lSM -lICE -lX11 -lexpat -ljpeg -lpng -lz -lm -o wmfthumbnail.la -rpath /usr/local/kde/lib/kde3 -module -L/usr/X11R6/lib -L/usr/share/qt3/lib -L/usr/lib -avoid-version -module -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -R /usr/lib -R /usr/share/qt3/lib -R /usr/X11R6/lib wmfthumbnail.lo wmfthumbcreator.lo -lkio /usr/bin/ld: cannot find -lXinerama_pic collect2: ld returned 1 exit status make[2]: *** [wmfthumbnail.la] Error 1 make[2]: Leaving directory `/gblusr/Installs/KonqPlugIns/wmfthumbnail-0.2/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/gblusr/Installs/KonqPlugIns/wmfthumbnail-0.2' make: *** [all] Error 2 root@Polaris:/gblusr/Installs/KonqPlugIns/wmfthumbnail-0.2# make install Making install in doc make[1]: Entering directory `/gblusr/Installs/KonqPlugIns/wmfthumbnail-0.2/doc' Making install in . make[2]: Entering directory `/gblusr/Installs/KonqPlugIns/wmfthumbnail-0.2/doc' make[3]: Entering directory `/gblusr/Installs/KonqPlugIns/wmfthumbnail-0.2/doc' make[3]: Nothing to be done for `install-exec-am'. make[3]: Nothing to be done for `install-data-am'. make[3]: Leaving directory `/gblusr/Installs/KonqPlugIns/wmfthumbnail-0.2/doc' make[2]: Leaving directory `/gblusr/Installs/KonqPlugIns/wmfthumbnail-0.2/doc' Making install in en make[2]: Entering directory `/gblusr/Installs/KonqPlugIns/wmfthumbnail-0.2/doc/en' make[3]: Entering directory `/gblusr/Installs/KonqPlugIns/wmfthumbnail-0.2/doc/en' make[3]: Nothing to be done for `install-exec-am'. /bin/sh ../../admin/mkinstalldirs /usr/local/kde/share/doc/HTML/en/wmfthumbnail /usr/bin/install -c -p -m 644 index.docbook /usr/local/kde/share/doc/HTML/en/wmfthumbnail/index.docbook /bin/sh ../../admin/mkinstalldirs /usr/local/kde/share/doc/HTML/en/wmfthumbnail /usr/bin/install -c -p -m 644 index.cache.bz2 /usr/local/kde/share/doc/HTML/en/wmfthumbnail/ rm -f /usr/local/kde/share/doc/HTML/en/wmfthumbnail/common ln -s /usr/share/doc/kde/HTML/en/common /usr/local/kde/share/doc/HTML/en/wmfthumbnail/common make[3]: Leaving directory `/gblusr/Installs/KonqPlugIns/wmfthumbnail-0.2/doc/en' make[2]: Leaving directory `/gblusr/Installs/KonqPlugIns/wmfthumbnail-0.2/doc/en' make[1]: Leaving directory `/gblusr/Installs/KonqPlugIns/wmfthumbnail-0.2/doc' Making install in src make[1]: Entering directory `/gblusr/Installs/KonqPlugIns/wmfthumbnail-0.2/src' /bin/sh ../libtool --silent --mode=link --tag=CXX g++ -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -I/usr/include/freetype2 -I/usr/include -L/usr/lib -lwmf -lwmflite -lfreetype -lz -L/usr/X11R6/lib -lSM -lICE -lX11 -lexpat -ljpeg -lpng -lz -lm -o wmfthumbnail.la -rpath /usr/local/kde/lib/kde3 -module -L/usr/X11R6/lib -L/usr/share/qt3/lib -L/usr/lib -avoid-version -module -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -R /usr/lib -R /usr/share/qt3/lib -R /usr/X11R6/lib wmfthumbnail.lo wmfthumbcreator.lo -lkio /usr/bin/ld: cannot find -lXinerama_pic collect2: ld returned 1 exit status make[1]: *** [wmfthumbnail.la] Error 1 make[1]: Leaving directory `/gblusr/Installs/KonqPlugIns/wmfthumbnail-0.2/src' make: *** [install-recursive] Error 1
This has become a "full-blown" quest now -=- I AM GOING to CONQUOR this - it is NOT going to beat me... whats my next move ??? Stephen? Eco2Geek?
Thanks for all the help in this,
Cuddles
[ps - Eco2Geek, just goes to show, not ALL knoppix installs are alike, apparent by my problems, and the solves you had, don't appear to have worked, or did, but not fully for my install]
You just keep searching to find the package it needs in this case xlibs-static-pic and install it then compile again rinse, wash and repeat as necessary as they say.Originally Posted by Cuddles
Code:>$ dpkg -S Xinerama_pic dpkg: *Xinerama_pic* not found. >$ apt-file search Xinerama_pic xlibs-static-pic: usr/X11R6/lib/libXinerama_pic.a xlibs-static-pic: usr/X11R6/lib/libXinerama_pic.a
Stephen, I just tried the apt-get for the suggested, here is what apt-get tells me:
Not quite sure, but that looks like a "apt-get going to hell" in one fell-swoop... Am I correct in assuming that "after" I enter "Y" to the prompt, everything in heck is going to go everywhere, and nothing is going to go out on me after this????Code:root@Polaris:~# apt-get -u install xlibs-static-pic Reading Package Lists... Done Building Dependency Tree... Done The following extra packages will be installed: hicolor-icon-theme kdelibs-bin kdelibs-data kdelibs4 libarts1 libartsc0 libartsc0-dev libasound2 libasound2-dev libesd0-dev libice-dev libice6 libpcre3 libpcre3-dev libsm-dev libsm6 libxext-dev libxext6 libxi-dev libxi6 libxml2 libxmu-dev libxmu6 libxmuu-dev libxmuu1 libxp-dev libxp6 libxpm-dev libxpm4 libxrandr-dev libxrandr2 libxslt1.1 libxt-dev libxt6 libxtrap-dev libxtrap6 libxtst-dev libxtst6 libxv-dev libxv1 pm-dev xlibs-dev xlibs-static-dev Suggested packages: alsa-base alsadriver libasound2-doc xspecs Recommended packages: menu-xdg xml-core The following packages will be REMOVED: kdelibs4-dev libarts1-dev libqt3-mt-dev xlibs-pic The following NEW packages will be installed: hicolor-icon-theme libesd0-dev libice-dev libice6 libsm-dev libsm6 libxext-dev libxext6 libxi-dev libxi6 libxmu-dev libxmu6 libxmuu-dev libxmuu1 libxp-dev libxp6 libxpm-dev libxpm4 libxrandr-dev libxrandr2 libxt-dev libxt6 libxtrap-dev libxtrap6 libxtst-dev libxtst6 libxv-dev libxv1 pm-dev xlibs-static-dev xlibs-static-pic The following packages will be upgraded: kdelibs-bin kdelibs-data kdelibs4 libarts1 libartsc0 libartsc0-dev libasound2 libasound2-dev libpcre3 libpcre3-dev libxml2 libxslt1.1 xlibs-dev 13 upgraded, 31 newly installed, 4 to remove and 497 not upgraded. Need to get 23.5MB of archives. After unpacking 1925kB disk space will be freed. Do you want to continue? [Y/n]
Give me some confidence here, can I trust entering "Y" here, and be able to still have a working system after it "might" complete on me????
Thanks for everything guys,
Cuddles
That looks like it is going to install KDE 3.2 have you upgraded to that version yet? If not then you will end up with a lot of packages still at the 3.1.5 and you would have to upgrade them for it to work properly. All those X packages that will be installed will be about the same as the last time you tried most likely a couple of force-overwrites and maybe a apt-get -f install thrown in for good measure. Can you put this in your /etc/apt/apt.conf and show me the output of the apt-get -s install xlibs-static-pic command.Originally Posted by Cuddles
Code:APT::Get::Show-Versions "true";
Dell PowerEdge R730 2x E5-2699V3 2.3Ghz 36 Core 128GB RAM H730 X520-I350 2x750W
$329.99
Dell PowerEdge R630 Server 2x E5-2680 V4 = 28 Cores S130 32GB RAM NEW 480GB SSD
$197.99
Dell PowerEdge R630 Server 2x E5-2640v3 2.60Ghz 16-Core 64GB H330
$182.65
Dell Poweredge R630 Server 2x E5-2620 V4 =16 Cores | S130 | 32GB RAM | 2x trays
$159.99
Dell PowerEdge R720xd 26HDD 300gb 2.5-inch E5-2697 X 2CPU 384RAM 7.2 Tb HDD 
$180.00
$49.99
DELL PowerEdge R730XD Server 2x E5-2620 v4 2.1GHz /8GB ddr4 memory / NO HDD
$190.00
Dell PowerEdge R440 2.5" Server 2x Silver 4110 = 16 Cores 32GB DDR4 2x 1GB RJ45
$499.00
DELL R630 Server 2x E5-2680v3 2.5GHz =24 Cores 32GB H730 4x 1.2TB SAS 4xRJ45
$306.00
DELL PowerEdge R430 8SFF 2x E5-2680v4 2.4GHz =28 Cores 32GB H730 4xRJ45
$226.00