LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Files missing from desktop after sbopkg (https://www.linuxquestions.org/questions/slackware-14/files-missing-from-desktop-after-sbopkg-739294/)

chess 07-11-2009 12:00 AM

Joe,

I tried to reproduce your situation by doing the following:

-Clean install of Slackware 12.2
-Logged in to Xfce and then KDE and made a few icons on the desktops
-Installed sbopkg 0.27.4
-Installed OO.o 3.0.1 from SBo SlackBuild
-Started Xfce and then KDE and created a few documents in OO Writer. Saved the documents in home, ~/Desktop, and /tmp
-Ran slackpkg update, slackpkg install-new, and slackpkg upgrade-all from a 12.2 mirror
-Ran sbopkg again and upgraded OO.o to 3.1.0
-Logged out and logged back in to Xfce and then KDE

All my Xfce and KDE icons, text files, and OO Writer documents were found. Everything was as-is.

At this point, I'm not sure what the problem was that you ran into. It is possible you might have run into a bug in the OO.o SlackBuild that was fixed in the March 22, 2009 SlackBuilds.org ChangeLog:

Quote:

office/openoffice.org: Fixed a script bug where a zero-length $SOURCEDIR
(which should never happen, but we all know how that goes) will remove the
entire $TMP directory. Thanks to dissociative for the report. --rworkman
Other than that, I'm out of ideas. :/

rworkman 07-11-2009 12:06 AM

It's not terribly clear whether you did a "full update" with *sbopkg* or with *slackpkg* - which is it? You mention both at various places...

Show me the output of this command:
Code:

grep -v ^# /etc/slackpkg/mirrors

joegumbo 07-11-2009 08:55 AM

Thanks Chess.
I thought it might be of use to output the list of sbo packages installed, so I started sbopkg, went to /tmp, and the copied the contents of /tmp/sbo/sbo_pkglist:

Quote:

abiword-2.6.6-i486-1_SBo
acpica-20090422-i486-1_SBo
audacity-1.3.7-i486-3_SBo
blobAndConquer-0.93-i486-1_SBo
blobwars-1.11-i486-1_SBo
chkrootkit-0.48-i486-1_SBo
clamav-0.94-i486-1_SBo
gail-1.22.3-i486-3_SBo
geany-0.17-i486-1_SBo
jpilot-1.6.0-i486-1_SBo
kaffeine-0.8.7-i486-1_SBo
libgnomecanvas-2.20.1.1-i486-3_SBo
libgnomecups-0.2.3-i486-1_SBo
libgnomeprint-2.18.6-i486-1_SBo
libgnomeprintui-2.18.4-i486-1_SBo
libsndfile-1.0.18-i486-1_SBo
mplayer-codecs-all-20071007-i486-2_SBo
openoffice.org-3.1.0_en_US-i586-4_SBo
openproj-1.4-i486-1_SBo
opera-9.64-i386-1_SBo
p7zip-4.65-i486-1_SBo
rkhunter-1.3.2-i486-1_SBo
thunar-archive-plugin-0.2.4-i486-1_SBo
units-1.86-i486-1_SBo
unrar-3.8.5-i486-1_SBo
virtualbox-kernel-2.1.4_2.6.27.7_smp-i486-1_SBo
virtualbox-ose-2.1.4-i486-2_SBo
wv-1.2.1-i486-1_SBo
wxPython-2.8.9.2-i486-2_SBo
xarchiver-0.5.2-i486-2_SBo
Robby, here's the output of the command:
Quote:

root@Slackware:~# grep -v ^# /etc/slackpkg/mirrors
http://slackware.cs.utah.edu/pub/sla...lackware-12.2/
root@Slackware:~#
I've started using slackpkg again to keep my system secure. So, I've started regularly using 'slackpkg update' and then 'slackpkg upgrade-all'.

This is the first time I used sbopkg on this install.

joegumbo 07-11-2009 09:55 AM

I emailed this to Chess, so I thought I should probably post this here as well.

If /tmp is involved in this, then I may have an answer...
Because it seemed that my /tmp directory wasn't being emptied on reboot, I did some searching on LQ and Googling and added the following line to
/etc/rc.d/rc.local_shutdown a while back:

/usr/bin/find /tmp -mindepth 1 -maxdepth 1 -print0 | xargs -0r /bin/rm -fr

I wonder if this might be the problem?


I'm not sure if $TMP = /tmp. But, if it is, then maybe when /tmp was emptied, then maybe that's how my desktop files got removed.

joegumbo 07-11-2009 04:05 PM

I just created a OO Writer document named 'Test' and saved to the desktop in XFCE. After rebooting, it was still there.

joegumbo 07-15-2009 08:23 PM

Just an update...

I think this may not be an sbopkg problem. My other OOo Writer files are garbled after updating to 3.1.

I figured that since SW13 is coming out pretty soon, I'd temporarily try a different distro for comparison: Mepis 8.

Earlier today, I tried viewing a Writer file that had tables. The tables showed on the screen, but would not print as part of the document.

Tonight, I deleted that file and copied it back from my external HD. Now, the tables show, but the formatting is all messed up. All the text, tables, jpeg, etc are superimposed on each other on the upper third of the page.

I tried different views.

Some of these files are several years old. I don't know which version of OO I originally made them with. They were saved in OpenOffice's native format.

On the plus side, my old Calc files seem to render OK.



Just a further update...

I uninstalled OpenOffice completely and then installed my old copy of StarOffice 8. All is well (except for the missing files from on the desktop.) These files may have been originally begun is StarOffice.... older than I thought :)


All times are GMT -5. The time now is 02:08 AM.