LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-15-2006, 03:08 PM   #1
deadlikeoscar
LQ Newbie
 
Registered: Oct 2004
Location: Ohio
Distribution: Slackware 10.2
Posts: 5

Rep: Reputation: 0
Unhappy Swaret: --current upgrade broke some programs


I use Slackware 10.2 with the default 2.4 kernel and I recently updated to current using swaret. I wasn't really paying attention and updated while still logged in to KDE. Unfortunately, I used the -a switch and didn't realize I was going to update from KDE 3.4 to 3.5. Everything went fine as far as the update was concerned but now when I log in to KDE my startup "music" skips a little and also Firefox and Mozilla fail to start. When I start Firefox I recieve this error:

/usr/lib/firefox-1.5.0.1/firefox-bin: symbol lookup error: /usr/lib/libgtk-x11-2.0.so.0: un bol: g_object_compat_control

I removed the firefox package and reinstalled it but it changed nothing. Any help would be appreciated.
 
Old 02-15-2006, 03:35 PM   #2
artistikone
Member
 
Registered: Jul 2003
Distribution: slackware-current
Posts: 76

Rep: Reputation: 15
Did you install...

l/cairo-1.0.2-i486-1.tgz: Added cairo graphics library for GTK+2.
n/openldap-client-2.3.17-i486-1.tgz: Added client libraries and
binaries for LDAP authentication. (Thanks to Eric Hameleers for
help with the ./configure options).
ap/linuxdoc-tools-0.9.21-i486-1.tgz: Added linuxdoc-tools-0.9.21.
This package replaces the sgml-tools package and should contain the
essentials needed to handle modern Linux Docbook/SGML documents. Huge
thanks are due to Stuart Winter for doing most of the work on transitioning
Slackware from the old sgml-tools system to this one! :-)

See http://slackware.mirrors.tds.net/pub.../ChangeLog.txt

These are 3 new packages that Swaret won't install on a '--upgrade'. If you have dependancy checking enabled in Swaret, it should have errored out on the cairo libs.
 
Old 02-15-2006, 03:52 PM   #3
deadlikeoscar
LQ Newbie
 
Registered: Oct 2004
Location: Ohio
Distribution: Slackware 10.2
Posts: 5

Original Poster
Rep: Reputation: 0
Thank you. Unfortunately, after I installed those 3 packages, I still have the same error.
 
Old 02-15-2006, 04:09 PM   #4
tobyl
Member
 
Registered: Apr 2003
Location: uk
Distribution: slackware current
Posts: 769

Rep: Reputation: 66
you could try swaret --dep

it may help locate missing dependencies

tobyl
 
Old 02-15-2006, 06:20 PM   #5
JockVSJock
Senior Member
 
Registered: Jan 2004
Posts: 1,420
Blog Entries: 4

Rep: Reputation: 164Reputation: 164
Samething happened to me...I upgraded with Swaret and now Firefox/Mozilla/Gaim won't work...Some missing libs...

I'll have to try to see what I can do to fix this.

thanks

EDIT: I'm running the swaret --dep and will report back if this helps or not.

Last edited by JockVSJock; 02-15-2006 at 06:22 PM.
 
Old 02-15-2006, 06:24 PM   #6
jnorcal
Member
 
Registered: Aug 2005
Distribution: slackware 10.2 kernel 2.6.15.5
Posts: 31

Rep: Reputation: 15
I too also have the same problem, mozilla, gaim wont run on all 3 of my comps that I upgraded. I slackpkg'ed the upgrades and now i have to use konqueror bahhhhh.
 
Old 02-15-2006, 06:48 PM   #7
eelriver
Member
 
Registered: May 2004
Location: san francisco
Distribution: Slackware 10.2 kernel 2.6.13, Gentoo amd64, Some mish-mash of programs that started with slack 9.0
Posts: 165

Rep: Reputation: 30
Read the changelog before running swaret
 
Old 02-15-2006, 06:54 PM   #8
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
Start the broken apps in a terminal and it ought to give an error to what libs are missing. Search for and install them

I had problems with xine because I didnt upgrade Mozilla. I hope these get compiled against Firefox soon, or have the libs as separate packages. Both Xine and Gaim depend on them.
 
Old 02-15-2006, 07:08 PM   #9
ch13f121
LQ Newbie
 
Registered: Feb 2006
Posts: 25

Rep: Reputation: 15
I can't get swaret working at all they say use installpkg, but you can't because its not a .tgz file, its a tar, and when I run the doinst.sh or whatever, it tells me to rename the swaret.conf file, even though its already renamed!
 
Old 02-15-2006, 07:08 PM   #10
JockVSJock
Senior Member
 
Registered: Jan 2004
Posts: 1,420
Blog Entries: 4

Rep: Reputation: 164Reputation: 164
Quote:
Originally Posted by dive
Start the broken apps in a terminal and it ought to give an error to what libs are missing. Search for and install them

I had problems with xine because I didnt upgrade Mozilla. I hope these get compiled against Firefox soon, or have the libs as separate packages. Both Xine and Gaim depend on them.
And its showing libcairo.so.2 is missing. For both Firefox/Mozilla.

I quick search on linuxpackages.net didn't find it, and I did check google...but I'm holding out for swaret --dep will fix it. The funny thing is that I've uninstalled Gnome cause it takes up too much resources on my older machine (I run Fluxbox). And alof of the output on the screen points to Gnome...Not good...

I'll have to use Lynx to get it cause firefox/mozilla are blown out of the water.

BTW, where is the changelog to read from the message above and how can a person figure out what libs they will need when they go to install packages from either swaret or slap-get?

thanks
 
Old 02-15-2006, 07:25 PM   #11
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
ftp://ftp.slackware.com/pub/slackwar.../ChangeLog.txt

I only use slackpkg so I don't know but I think I read that slapt-get -deps might work?
 
Old 02-15-2006, 09:59 PM   #12
shilo
Senior Member
 
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132

Rep: Reputation: 50
Quote:
Originally Posted by JockVSJock
And its showing libcairo.so.2 is missing. For both Firefox/Mozilla.
You need to install cairo.

Quote:
Originally Posted by JockVSJock
I quick search on linuxpackages.net didn't find it,
Since your using -current, use the cauro package from -current.

Quote:
Originally Posted by JockVSJock
I'm holding out for swaret --dep will fix it.
Sometimes, swaret depp fixes things. If notm, though, it usually points you in the right direction. It will tell you what deps are missing (based on ldd). The next step is to figure out which package has those deps. If you are dealing with official Slackware packages, the deps should be in some other package. The package browser on the Slackware site is a good tool to help figure things out.

Quote:
Originally Posted by JockVSJock
The funny thing is that I've uninstalled Gnome cause it takes up too much resources on my older machine (I run Fluxbox). And alof of the output on the screen points to Gnome...Not good...
Just re-install any required libs, regardless of if they are apart of GNOME or not. If swaret --dep says you need a lib, uo need it. You can verify this even without swaret. Just run ldd on the file that has the dep. You'll see a "not found" for the file that swaret lists.

Quote:
Originally Posted by JockVSJock
I'll have to use Lynx to get it cause firefox/mozilla are blown out of the water.
This is easier:
Code:
swaret --install cairo
Quote:
Originally Posted by JockVSJock
BTW, where is the changelog to read from the message above and how can a person figure out what libs they will need when they go to install packages from either swaret or slap-get?

thanks
If you are using swaret, after a swaret --update, check out /var/swaret/.cache. There, you will find a copy of the most recent ChageLog that you have updated against. Also, you can check ftp://ftp.slackware.com/pub/slackwar.../ChangeLog.txt .

Everyone who is moving to -current, it is very important to read the ChangeLog. There are several removals, additions, and name changes (none of these get handled by swaret).

Also, don't forget to:
Code:
find /etc -name "*.new"
Any files this lists have to be dealt with. Don't just delete them. Don't just rename them. Now what they are and how to handle them.
 
Old 02-15-2006, 10:10 PM   #13
RedNovember
Member
 
Registered: Oct 2005
Distribution: Debian etch
Posts: 103

Rep: Reputation: 15
Quote:
Originally Posted by ch13f121
I can't get swaret working at all they say use installpkg, but you can't because its not a .tgz file, its a tar, and when I run the doinst.sh or whatever, it tells me to rename the swaret.conf file, even though its already renamed!
Exact same problem. The SWareT package is .tgz.tar, and I can't figure out how to untar it so it's just .tgz and at the same time NOT a directory. Whenever I untar it it becomes a directory, and won't install through installpkg, while when you try to install the .tgz.tar, it won't work either.
 
Old 02-15-2006, 10:18 PM   #14
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
Rename it to end in .tgz

*edit just tried this but will not install

Last edited by dive; 02-15-2006 at 10:21 PM.
 
Old 02-15-2006, 10:19 PM   #15
ch13f121
LQ Newbie
 
Registered: Feb 2006
Posts: 25

Rep: Reputation: 15
Quote:
Originally Posted by RedNovember
Exact same problem. The SWareT package is .tgz.tar, and I can't figure out how to untar it so it's just .tgz and at the same time NOT a directory. Whenever I untar it it becomes a directory, and won't install through installpkg, while when you try to install the .tgz.tar, it won't work either.

EXACTLY...someone clear this up for us.
 
  


Reply


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
swaret broke my gnome/gdm thrice Slackware 12 05-13-2004 01:59 PM
upgrade to current without using swaret?!! oldi Slackware 3 05-03-2004 06:50 PM
Upgrade of Slack Gnome to current via swaret justaguynsrq Slackware 8 04-07-2004 07:38 AM
swaret upgrade from 8.0 to current. carboncopy Slackware 14 04-05-2004 12:05 PM
Slack 9.0- upgrade to 9.1 or just Swaret to Current? Frank_Drebin Slackware 1 03-12-2004 12:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:25 PM.

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