Author Topic: I broke Slackware..  (Read 10567 times)

0 Members and 1 Guest are viewing this topic.

Offline deadly7

  • 42
  • x86
  • Hero Member
  • *****
  • Posts: 6496
    • View Profile
I broke Slackware..
« on: March 04, 2006, 03:32:11 am »
All right.. this is a really weird problem.

As root (I figured I ought to be safe when doing this..) I ran "slapt-get --update," which is supposed to update all packages that have been modified.  It ran (took a long time) and I thought "Ok, cool, it's done."  I logout of root and switch to deadly7.  I type "startx" to, well, start x.  It changes screens and then brings me right back to the main BASH-y screen that you get when you just log in.  It says some errors and stuff.. here's everything that shows on my monitor.
Quote
"2005 i586
Build Date: 14 January 2006
  Before reporting problems, check http://wiki.X.org
  to make sure that you have the latest version.
Module Loader present
Marks: (--) probed, (**) from config file (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implimented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sat Mar 4 02:33:50 2006
(==)Using config file: "/etc/X11/xorg.conf"
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list!
OpenSSL version mismatch.  Built against 90707f, you have 90801f which: no dbus-launch in (/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:usr/bin:/bin:/usr/X11R6/bin:/usr/games:/usr/lib/java/bin:/usr/lib/java/jre/bin:/opt/kde/bin:/usr/lib/qt/bin:/usr/share/texmf/bin)
/usr/bin/xfce4-session: error while loading shared libraries: libcairo.so.2: can not open shared object file: No such file or directory.
OpenSSL version mismatch, Built against 90707f, you have 90801f

waiting for X server to shut down FreeFontPath: FPE "/usr/X11R6/lib/X11/fonts/misc/" refcount is 2, should be 1; fixing."
However, when I switch to KDE, KDE loads up.  When I try to use any of the programs that I updated, they don't work at all..  Is there anything short of becoming more familiar with Slackware's install that I can do to fix this?
« Last Edit: March 04, 2006, 03:36:10 am by deadly7 »
[17:42:21.609] <Ergot> Kutsuju you're girlfrieds pussy must be a 403 error for you
 [17:42:25.585] <Ergot> FORBIDDEN

on IRC playing T&T++
<iago> He is unarmed
<Hitmen> he has no arms?!

on AIM with a drunk mythix:
(00:50:05) Mythix: Deadly
(00:50:11) Mythix: I'm going to fuck that red dot out of your head.
(00:50:15) Mythix: with my nine

Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
Re: I broke Slackware..
« Reply #1 on: March 04, 2006, 04:34:46 am »
There are 2 problems:

#1: you're missing libcairo, which xfce seems to require now.  Figure out where you get it from and get it. 

#2: openssh/openssl doesn't work right when you do --update, which I recently discovered too.  Manually compile/install openssl then openssh to the right place.  Make sure you also edit /etc/rc.d/rc.sshd to point to /usr/local... instead of /usr...  It shouldn't be too difficult. 

Good luck!

Offline deadly7

  • 42
  • x86
  • Hero Member
  • *****
  • Posts: 6496
    • View Profile
Re: I broke Slackware..
« Reply #2 on: March 04, 2006, 11:25:31 am »
#1 http://packages.debian.org/unstable/libs/libcairo-ruby is that the right thing?

#2 Uh.  I don't know how to compile with Linux.  What's the "right place" to install the files to?  And do I have to delete any files modified by --update?

How do you manually update files, anyways?
[17:42:21.609] <Ergot> Kutsuju you're girlfrieds pussy must be a 403 error for you
 [17:42:25.585] <Ergot> FORBIDDEN

on IRC playing T&T++
<iago> He is unarmed
<Hitmen> he has no arms?!

on AIM with a drunk mythix:
(00:50:05) Mythix: Deadly
(00:50:11) Mythix: I'm going to fuck that red dot out of your head.
(00:50:15) Mythix: with my nine

Offline Sidoh

  • x86
  • Hero Member
  • *****
  • Posts: 17634
  • MHNATY ~~~~~
    • View Profile
    • sidoh
Re: I broke Slackware..
« Reply #3 on: March 04, 2006, 11:36:43 am »
You'll need to find the Slackware package.  It's not going to work if you try installing a package that's intended for Debian.

They're packages.  You just use # pkginstall.

Offline deadly7

  • 42
  • x86
  • Hero Member
  • *****
  • Posts: 6496
    • View Profile
Re: I broke Slackware..
« Reply #4 on: March 04, 2006, 12:04:51 pm »
http://www.slackware.com/changelog/current.php?cpu=i386

Holy hell I love Google Groups!

Sidoh: was that a reference to my "How do you update" question?
[17:42:21.609] <Ergot> Kutsuju you're girlfrieds pussy must be a 403 error for you
 [17:42:25.585] <Ergot> FORBIDDEN

on IRC playing T&T++
<iago> He is unarmed
<Hitmen> he has no arms?!

on AIM with a drunk mythix:
(00:50:05) Mythix: Deadly
(00:50:11) Mythix: I'm going to fuck that red dot out of your head.
(00:50:15) Mythix: with my nine

Offline Sidoh

  • x86
  • Hero Member
  • *****
  • Posts: 17634
  • MHNATY ~~~~~
    • View Profile
    • sidoh
Re: I broke Slackware..
« Reply #5 on: March 04, 2006, 12:06:06 pm »
http://www.slackware.com/changelog/current.php?cpu=i386

Holy hell I love Google Groups!

Google Groups is nice.  I've used it many times before for issues similar to this one.

Sidoh: was that a reference to my "How do you update" question?

Yep.

Offline deadly7

  • 42
  • x86
  • Hero Member
  • *****
  • Posts: 6496
    • View Profile
Re: I broke Slackware..
« Reply #6 on: March 04, 2006, 12:23:15 pm »
Yay! XFCE and all updated programs work now.  Now to simply update OpenSSH/OpenSSL.
[17:42:21.609] <Ergot> Kutsuju you're girlfrieds pussy must be a 403 error for you
 [17:42:25.585] <Ergot> FORBIDDEN

on IRC playing T&T++
<iago> He is unarmed
<Hitmen> he has no arms?!

on AIM with a drunk mythix:
(00:50:05) Mythix: Deadly
(00:50:11) Mythix: I'm going to fuck that red dot out of your head.
(00:50:15) Mythix: with my nine

Offline deadly7

  • 42
  • x86
  • Hero Member
  • *****
  • Posts: 6496
    • View Profile
Re: I broke Slackware..
« Reply #7 on: March 04, 2006, 12:36:05 pm »
'tis all fixed.  Thanks for the help iago/Sidoh.
[17:42:21.609] <Ergot> Kutsuju you're girlfrieds pussy must be a 403 error for you
 [17:42:25.585] <Ergot> FORBIDDEN

on IRC playing T&T++
<iago> He is unarmed
<Hitmen> he has no arms?!

on AIM with a drunk mythix:
(00:50:05) Mythix: Deadly
(00:50:11) Mythix: I'm going to fuck that red dot out of your head.
(00:50:15) Mythix: with my nine

Offline Warrior

  • supreme mac daddy of trolls
  • Hero Member
  • *****
  • Posts: 7503
  • One for a Dime two for a Quarter!
    • View Profile
Re: I broke Slackware..
« Reply #8 on: March 04, 2006, 02:02:09 pm »
You didn't break it, it's a feature for things not to work out of the box with Linux.
One must ask oneself: "do I will trolling to become a universal law?" And then when one realizes "yes, I do will it to be such," one feels completely justified.
-- from Groundwork for the Metaphysics of Trolling

Offline Sidoh

  • x86
  • Hero Member
  • *****
  • Posts: 17634
  • MHNATY ~~~~~
    • View Profile
    • sidoh
Re: I broke Slackware..
« Reply #9 on: March 04, 2006, 02:20:50 pm »
You didn't break it, it's a feature for things not to work out of the box with Linux.

If you actually read the beginning of the topic, you'll realize that he ran # slapt-get, a 3rd party program.

Offline deadly7

  • 42
  • x86
  • Hero Member
  • *****
  • Posts: 6496
    • View Profile
Re: I broke Slackware..
« Reply #10 on: March 04, 2006, 02:36:57 pm »
You didn't break it, it's a feature for things not to work out of the box with Linux.
Stop being such a pigheaded moron.

Closed, it's fixed.
[17:42:21.609] <Ergot> Kutsuju you're girlfrieds pussy must be a 403 error for you
 [17:42:25.585] <Ergot> FORBIDDEN

on IRC playing T&T++
<iago> He is unarmed
<Hitmen> he has no arms?!

on AIM with a drunk mythix:
(00:50:05) Mythix: Deadly
(00:50:11) Mythix: I'm going to fuck that red dot out of your head.
(00:50:15) Mythix: with my nine

Offline deadly7

  • 42
  • x86
  • Hero Member
  • *****
  • Posts: 6496
    • View Profile
Re: I broke Slackware..
« Reply #11 on: March 04, 2006, 02:59:53 pm »
Quote
#!/bin/sh
# Start/stop/restart the secure shell server:

sshd_start() {
  # Create host keys if needed.
  if [ ! -r /etc/ssh/ssh_host_key ]; then
    /usr/bin/ssh-keygen -t rsa1 -f /etc/ssh/ssh_host_key -N ''
  fi
  if [ ! -f /etc/ssh/ssh_host_dsa_key ]; then
    /usr/bin/ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key -N ''
  fi
  if [ ! -f /etc/ssh/ssh_host_rsa_key ]; then
    /usr/bin/ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key -N ''
  fi
  /usr/sbin/sshd
}

sshd_stop() {
  killall sshd
}

sshd_restart() {
  if [ -r /var/run/sshd.pid ]; then
    echo "WARNING: killing listener process only.  To kill every sshd process, you must"
    echo "         use 'rc.sshd stop'.  'rc.sshd restart' kills only the parent sshd to"
    echo "         allow an admin logged in through sshd to use 'rc.sshd restart' without"
    echo "         being cut off.  If sshd has been upgraded, new connections will now"
    echo "         use the new version, which should be a safe enough approach."
    kill `cat /var/run/sshd.pid`
  else
    killall sshd
  fi
  sleep 1
  sshd_start
}

case "$1" in
'start')
  sshd_start
  ;;
'stop')
  sshd_stop
  ;;
'restart')
  sshd_restart
  ;;
*)
  echo "usage $0 start|stop|restart"
esac
What do I replace??  None of it seems at all relevant to OpenSSL..
[17:42:21.609] <Ergot> Kutsuju you're girlfrieds pussy must be a 403 error for you
 [17:42:25.585] <Ergot> FORBIDDEN

on IRC playing T&T++
<iago> He is unarmed
<Hitmen> he has no arms?!

on AIM with a drunk mythix:
(00:50:05) Mythix: Deadly
(00:50:11) Mythix: I'm going to fuck that red dot out of your head.
(00:50:15) Mythix: with my nine

Offline Sidoh

  • x86
  • Hero Member
  • *****
  • Posts: 17634
  • MHNATY ~~~~~
    • View Profile
    • sidoh
Re: I broke Slackware..
« Reply #12 on: March 04, 2006, 03:13:43 pm »
Did you have to install SSHD?  Does SSHD work/is it running? ($ ps aux | grep "sshd")

If you have it installed and it's working, don't worry about it.

Offline deadly7

  • 42
  • x86
  • Hero Member
  • *****
  • Posts: 6496
    • View Profile
Re: I broke Slackware..
« Reply #13 on: March 04, 2006, 03:26:52 pm »
Yeah, it seems to be working.  It just spits out an error when I quit XFCE about OpenSSL version mismatch.
[17:42:21.609] <Ergot> Kutsuju you're girlfrieds pussy must be a 403 error for you
 [17:42:25.585] <Ergot> FORBIDDEN

on IRC playing T&T++
<iago> He is unarmed
<Hitmen> he has no arms?!

on AIM with a drunk mythix:
(00:50:05) Mythix: Deadly
(00:50:11) Mythix: I'm going to fuck that red dot out of your head.
(00:50:15) Mythix: with my nine

Offline Sidoh

  • x86
  • Hero Member
  • *****
  • Posts: 17634
  • MHNATY ~~~~~
    • View Profile
    • sidoh
Re: I broke Slackware..
« Reply #14 on: March 04, 2006, 03:33:56 pm »
Yeah, it seems to be working.  It just spits out an error when I quit XFCE about OpenSSL version mismatch.

SSHD uses OpenSSL, but it isn't OpenSSL.

Since you updated OpenSSL, iago was probably saying that you should update SSHD too.  After you do that, chage /etc/rc.d/rc.sshd in the ways iago suggested.

Offline Ergot

  • 吴立峰 ^_^ !
  • x86
  • Hero Member
  • *****
  • Posts: 3724
  • I steal bandwidth. p_o
    • View Profile
Re: I broke Slackware..
« Reply #15 on: March 04, 2006, 05:12:50 pm »
Change line 14. I get the same error. too lazy to fix.

Quote
jimmy@x86:~$ ssh
OpenSSL version mismatch. Built against 9060df, you have 90801f
Who gives a damn? I fuck sheep all the time.
And yes, male both ends.  There are a couple lesbians that need a two-ended dildo...My router just refuses to wear a strap-on.
(05:55:03) JoE ThE oDD: omfg good job i got a boner thinkin bout them chinese bitches
(17:54:15) Sidoh: I love cosmetology

Offline mynameistmp

  • Moderator
  • Full Member
  • *****
  • Posts: 111
  • Hi! I'm new here!
    • View Profile
Re: I broke Slackware..
« Reply #16 on: March 05, 2006, 10:13:20 pm »
Download OpenSSH/compile it against your new OpenSSL libraries.