Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 06-02-2012, 10:33 PM   #1
Registered: Dec 2004
Location: USA
Distribution: Slackware 12, Slackware64 14.2
Posts: 236
Blog Entries: 1

Rep: Reputation: 57
Upgrading to Apr 14 KDE 4.8.2 - did I mess up?

Yesterday I upgraded to KDE 4.8.2 by finally catching up to -current again.

The Changelog had some notes:
NOTE:  After upgrading, the following obsolete KDE packages should be removed:
  kdeaccessibility, kdebase, kdebase-runtime, kdebase-workspace,
  kdebindings, kdeedu, kdegraphics, kdeutils, koffice, konq-plugins,
  kopete-cryptography, polkit-kde-1, and all koffice-l10n-*.
I executed those notes by doing a removepkg on the old packages. removepkg showed some lines like (not exact):
WARNING: file xxx changed after installation
I remembered one of the many such lines. After I was finished with the notes I looked for the file mentioned. It was gone. I grepped /var/log/packages for the file. It was listed in kde-baseapps-4.8.2-i486-1.

I did a 'slackpkg reinstall kde-baseapps-4.2.8-i486-1' and the file re-appeared in its normal place.

A bit worried, I wrote some horrible bash scripts to help me locate missing files (run as root, output is in missingfiles.txt in the /root directory):
#   For every file in /var/log/packages calls a script to verify
#   that all files listed in the package exist.
#   If called script exit code is 1 list the package name.

for name in `ls /var/log/packages` ;
	/root/ </var/log/packages/${name} ;
	[[ $? == 1 ]] && echo ${name} ;
done >/root/missingfiles.txt
#   Reads a package installation log.  For every line after the text FILE LIST:
#   verifies that the file exists.  If it does not it echoes the file name and
#   sets the exit code to 1.

export retcode=0

while read aline
	if [[ ${infilelist} == 1  && \
	      ${aline} != install/* && \
	      ${aline} != *.new && \
	      ${aline} != *.orig ]] ; then
		if ! [ -a "/${aline}" ] ; then
		       	echo " " ${aline} does not exist ;
			export retcode=1;

	if [ "${aline}" == "FILE LIST:" ] ; then
exit ${retcode};
Ignoring all of the entries in /dev that devs-2.3.1-noarch-25 doesn't install (?), there are about 1,000 files "missing." Almost all of them are in /usr/doc/HTML/en. Here's a short snippet:
  usr/doc/HTML/en/ark/ does not exist
  usr/doc/HTML/en/ark/ark-mainwindow.png does not exist
  usr/doc/HTML/en/ark/index.docbook does not exist
  usr/doc/HTML/en/ark/man-ark.1.docbook does not exist
  usr/doc/HTML/en/ark/index.cache.bz2 does not exist
  usr/doc/HTML/en/blinken/ does not exist
  usr/doc/HTML/en/blinken/blinken_nickprompt.png does not exist
  usr/doc/HTML/en/blinken/blinken_helpbutton.png does not exist
  usr/doc/HTML/en/blinken/index.docbook does not exist
  usr/doc/HTML/en/blinken/index.cache.bz2 does not exist
  usr/doc/HTML/en/blinken/blinken_highscoresbutton.png does not exist
  usr/doc/HTML/en/blinken/blinken1.png does not exist
  usr/doc/HTML/en/blinken/blinken_accesskeys.png does not exist
  usr/doc/HTML/en/blinken/blinken2.png does not exist
  usr/doc/HTML/en/blinken/blinken_quitbutton.png does not exist
Skipping the devs-2.3.1, ca-certificates, and glibc packages that are listed, should I reinstall all of the listed packages to get the documentation back? I've done a couple on a test machine and the missing files re-appeared.

Did I do something wrong on the upgrade? I simply did:
slackpkg update
slackpkg install-new
slackpkg upgrade-all
removepkg <packages listed in Changelog NOTES>
Thanks for reading and thanks, too, for any advice.

Last edited by jamesf; 06-05-2012 at 02:11 AM. Reason: fixed script error
Old 06-03-2012, 03:25 PM   #2
Registered: Sep 2009
Distribution: Slackware
Posts: 220

Rep: Reputation: 64
If I were you, I wouldn't worry and upgraded to kde 4.8.3 using Alien Bob's packages:
Old 06-03-2012, 09:43 PM   #3
Registered: Dec 2004
Location: USA
Distribution: Slackware 12, Slackware64 14.2
Posts: 236

Original Poster
Blog Entries: 1

Rep: Reputation: 57
Thanks, but I'm trying to stay pretty close to -current. Less to clean up that way, hopefully.

I was hoping that someone else using KDE would run those scripts and see if they got similar results.

Of course, there's one error in them: calls /home/james/ and should instead call /root/

Oh, well. Who's perfect? ;vD
Old 06-05-2012, 02:12 AM   #4
Registered: Dec 2004
Location: USA
Distribution: Slackware 12, Slackware64 14.2
Posts: 236

Original Poster
Blog Entries: 1

Rep: Reputation: 57
Did anyone using -current notice anything similar? Are the files mentioned in the snippet above there?



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Move apr & apr-util install locations? jbennett Linux - Newbie 3 04-20-2012 10:02 AM
APR-util with APR - configure error on Linux nicky77 Linux - Software 1 03-10-2010 10:25 AM
Did I configure apr, apr-util, and subversion correctly? Quip11 Linux - Server 2 06-11-2009 08:38 AM
GNOME VS KDE software, what a mess? numtre Linux - Newbie 18 02-07-2009 10:31 AM
Upgrading php in deb stable..., Is this gonna mess everything up? heelNtoin Debian 3 08-02-2004 09:19 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:37 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration