The time now is Mon 20 May 2013, 15:44
All times are UTC - 4 |
|
Page 2 of 2 [18 Posts] |
Goto page: Previous 1, 2 |
| Author |
Message |
npierce
Joined: 28 Dec 2009 Posts: 625
|
Posted: Fri 07 Dec 2012, 18:13 Post subject:
|
|
Hi Repip,
Thanks again for the information, and taking the time to hand-copy it. (Yes, it would be hard to guess which of the many icons was for the text editor when the icons and their text captions were corrupt. )
I am glad to hear that the icons have been restored.
The information you supplied shows that the file /etc/DISTRO_SPECS contains this line:
I think that is the problem. It should be:
| Code: | | DISTRO_ARCHDIR='i386-linux-gnu' |
If you would like the boring details of what this "386-linux-gnu" stuff is about, read this quotation. If not, feel free to skip over it. (Since you are a Windows user, and new to linux, I'll first mention that the libraries I am talking about are usually Linux "shared object" (.so) files, which are similar to Windows "dynamic linked library" (.dll) files.)
| In another thread, I wrote: | Debian and distros descended from Debian, such as Ubuntu, support "multiarch", which allows a library to have, for instance, both an Intel 32-bit build and an AMD (or Intel) 64-bit build installed on the same PC. (That is one example -- many other architectures are supported.) To do this, Debian and friends will sometimes put libraries built for the 32-bit Intel architecture ("i386") in /lib/i386-linux-gnu/ or /usr/lib/i386-linux-gnu/ instead of the usual /lib/ or /usr/lib/, respectively.
Other distros may handle this differently.
Currently, Puppy continues to use the standard /lib/ and /usr/lib/ directories. For compatibility with Ubuntu packages, Precise Puppy has symlinks from /lib/i386-linux-gnu and /usr/lib/i386-linux-gnu to /lib/ and /usr/lib/, respectively.
The problem you have run into is that sometimes when installing a .deb package from a Debian or Ubuntu repository, those symlinks get overwritten, so some needed libraries are not where they are expected to be. |
The Puppy Package Manager (PPM) in Precise 5.4.2 has code that moves the newly installed library files to their correct Puppy location and restores the symlinks. But that code depends upon DISTRO_ARCHDIR being set with the proper value, which -- for reasons I don't know -- it is not.
(Some of the commands I gave in my previous post were copied from that code, so when you executed them you were doing manually what would have been done automatically if DISTRO_ARCHDIR had been set properly.)
(I hope I'm not boring you with needless details. I'm being even more long-winded than usual here since you said that your were "really keen to learn a little about Puppy", but perhaps you were thinking of things other than all this nuts & bolts stuff. )
| Repip wrote: | | It really is a simple quick exercise to completely reload Puppy anyway so I am willing to try anything at this point. |
I am glad that you are so willing and able to experiment.
If you are happy to have your icons back again, and ready to move on to other things, feel free to do so. But if you would like to try something else related to this problem, consider trying this:
1. Assuming that you are now able to find a text editor, use it to open /etc/DISTRO_SPECS.
2. Look for the line that begins with "DISTRO_ARCHDIR" -- it will be the same as the line in the first Code box earlier in this post.
3. Change it by adding i386-linux-gnu between the single quotation marks, so that it looks like the second Code box in this post.
4. Save the file.
5. Now try installing VLC Player again, and see if it installs without messing up your icons again.
If it works, it may save you from seeing your icons go crazy again when you install some future Ubuntu package. If it doesn't work, well . . . you get the fun of installing Puppy again!
Good luck.
|
|
Back to top
|
|
 |
Repip
Joined: 06 Dec 2012 Posts: 4
|
Posted: Mon 10 Dec 2012, 02:45 Post subject:
Weird Graphical Glitching after installing Precise Puppy Subject description: Restore VLC Player |
|
Hi npierce
Have successfully restored VLC Player with that code you gave me, all systems go now in that area anyway ... hopefully it was a help to you guys.
Thankyou for all your help , I assure you I will need much more in the near future... trying to get a Canon PIXMA IP1000 going ... bit of a challenge, however I will read some info 1st and then request HELP !
regards for now
|
|
Back to top
|
|
 |
npierce
Joined: 28 Dec 2009 Posts: 625
|
Posted: Mon 10 Dec 2012, 11:17 Post subject:
|
|
Hi Repip,
You're welcome.
| Repip wrote: | | Have successfully restored VLC Player with that code you gave me, all systems go now in that area anyway ... |
That is good to hear.
| Repip wrote: | | ... hopefully it was a help to you guys. |
Yes, it was. Your reports made it clear that the code that was supposed to fix the problem wasn't executing, and your report of DISTRO_ARCHDIR=' ' showed us why.
Barry has implemented a fix for the problem, which will be included in his next Service Pack for Precise.
See my bug report at http://www.murga-linux.com/puppy/viewtopic.php?p=669616#669616 and Barry's blog entry: DISTRO_ARCHDIR variable not set
Thanks for your help in tracking this down.
|
|
Back to top
|
|
 |
|
|
Page 2 of 2 [18 Posts] |
Goto page: Previous 1, 2 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|