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/)

joegumbo 07-10-2009 08:11 PM

Files missing from desktop after sbopkg (Solved... sort of)
 
Hi,

I did a full update with slackpkg for 12.2 with no problems.

Then, I did a full update with 'sbopkg' and now I'm having issues.

This is for SW 12.2 x86 full install with XFCE Desktop.

I updated everything with sbopkg. All seemed to go well except for issues with OpenProj. So, I skipped that.

After updating with sbopkg yesterday and booting today, the OpenOffice files (or their shortcuts) are now missing from my XFCE desktop. I did some checking around this forum and on Google, so I tried looking in /tmp; The OO files are not there either.

I tried starting OO (the new version updated by sbopkg: OO 3.1) and looking under recent documents. The desktop files are not listed.

I then tried logging out of XFCE and starting KDE. The KDE desktop loads OK, but not only are my OO files missing, all desktop shortcut icons are missing in KDE (Home, System, etc.). They used to be there.

It seems that now either the desktops, or maybe my whole system, is unstable.

The OO Writer docs contained phone numbers of recent contacts... I have no backup.

I'd keep tinkering, but I'm afraid I might just mess up a salvagable situation.

Does anyone have any other ideas?

Thanks

Bruce Hill 07-10-2009 08:17 PM

You are using a third-party package manager to update third-party packages.
That is always changing Slackware where it's no longer the 'official' Slack.

You might get help from chess, or rworkman, or someone here. But you should
consult the source of sbopkg, also, if not first.

joegumbo 07-10-2009 08:31 PM

Thank you Bruce,

I looked over the archives at the mailing list
http://sbopkg.org/mailman/listinfo/sbopkg-users
as far back as October 2008. There is no mention.

I'm guessing that I'm just out of luck.

When I did this, I never expected files to disappear. The only ones I see missing are on the desktop. Everything else seems OK.

Bruce Hill 07-10-2009 08:37 PM

http://www.linuxquestions.org/questi...esting-736478/

joegumbo 07-10-2009 08:53 PM

Thanks again,Bruce ! :)

This thread is for the alpha version 0.30. I installed and used version 0.27.4. My fault for not mentioning it.

I also tried 'xfs_check /dev/hda4' I received no errors. I think something actually deleted the files. If this was Windows, I'd suspect I'd been hacked.

Bruce Hill 07-10-2009 09:01 PM

chess, who started that thread, is the author of sbopkg.

You can find his homepage and his email by clicking on his
name in the box to the left there <<<.

joegumbo 07-10-2009 09:04 PM

Duh... I'm sorry.

Thanks.
-Joe

Bruce Hill 07-10-2009 09:13 PM

No problem, Joe. Sometimes things aren't as transparent to new users
as to guys who've been doing it a while.

Sure would like some gumbo. The wife pulled a few tricks and made some
jambalaya here yesterday. We don't have okra natively, but imported, and
there hasn't been any at the market this week. When it shows up again,
we'll have some gumbo. Yummm....

joegumbo 07-10-2009 09:15 PM

I emailed him. :)

Thanks,
-Joe

joegumbo 07-10-2009 09:18 PM

Actually, gumbo is part of my name. But, some day I'll actually try gumbo. Sounds great!

Thanks again :)

chess 07-10-2009 09:41 PM

joegumbo,

I am not sure I understand a few things. You mention upgrading with slackpkg -- upgrading from what? Were you on a previous version of Slackware like 12.1? And I don't understand the KDE issue -- your KDE desktop icons are messed up? It sounds like something got messed up with your Slackware upgrade. Can you provide a bit more information?

I have not received reports similar to what you are describing. I know folks have used sbopkg to upgrade packages between slackware versions -- I did myself, in fact, when going from 12.1 to 12.2.

And when you mention OO.o files -- what files? Your saved documents? Where did you save them? What version of OO.o were you using before you upgraded it?

joegumbo 07-10-2009 10:10 PM

Quote:

Originally Posted by chess (Post 3603922)
joegumbo,

I am not sure I understand a few things. You mention upgrading with slackpkg -- upgrading from what? Were you on a previous version of Slackware like 12.1?

I've been running 12.2. I just used slackpkg to upgrade to the latest pkg versions. I did not upgrade SW version from a prior version. I used 'slackpkg upgrade-all'

Quote:

And I don't understand the KDE issue -- your KDE desktop icons are messed up? It sounds like something got messed up with your Slackware upgrade. Can you provide a bit more information?
All desktop icons are now missing from my kde desktop. The icons are still there on XFCE except for the Writer Documents. I'd be happy to provide any additional info you want.

Quote:

I have not received reports similar to what you are describing. I know folks have used sbopkg to upgrade packages between slackware versions -- I did myself, in fact, when going from 12.1 to 12.2.

And when you mention OO.o files -- what files? Your saved documents? Where did you save them? What version of OO.o were you using before you upgraded it?
Yes. They were Writer documents saved to the desktop for quick access. I believe I was using 3.0.1; sbopkg upgraded to 3.1.0.

I need to add one more thing as well...
Yesterday, I also installed the blobAndConquer slackbuild from SlackBuilds.org. I'm sorry... I just remembered. Late in the day here.

chess 07-10-2009 10:20 PM

Hmm... I have a 12.2 system that I have upgraded with slackpkg along the way, and have also upgraded SBo packages including OO.o with sbopkg and have not encountered this. However, I do not have KDE installed on that system.

Let me try a few things to see if I can reproduce.

In the meantime, have you tried using a terminal and going into your ~/Desktop folder and see what is in there?

joegumbo 07-10-2009 10:22 PM

Quote:

bash-3.1$ ls -l ~/Desktop
total 0
bash-3.1$
Thanks Chess.
-Joe

Btw, this seems strange to me. I do have icons on the XFCE desktop for Trash, Home, and File System. Again, KDE no longer has any desktop icons.

chess 07-10-2009 10:33 PM

It's possible the desktop icons stuff is related to the way OO.o does things in a non-traditional way. I seem to recall that Robby had to do some workarounds or something in the OO.o SlackBuild for 12.1. Check the 12.1 OO.o Slackbuild and the README at SBo to see what I mean. Sbopkg calls 'upgradepkg --reinstall --install-new' when installing or upgrading a package. Maybe something related to the .desktop files and their symlinks in /opt got messed up when doing the OO.o upgrade. That does not explain the KDE icons going missing or the Writer documents themselves.

I'm still testing out a few things here.

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:55 AM.