Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
03-21-2009, 03:23 AM
|
#1
|
Member
Registered: Feb 2007
Distribution: Vector
Posts: 318
Rep:
|
Install KDE 4.2.1 on Slackware 12.2
What's the easiest way to install KDE 4.2.1 which is in slackware-current, but not in the DVD-ISO?
DVD-ISO included 3.5 which was installed.
I am not familiar with Slackware's package management and don't know how to properly install the entire KDE 4.2.1 and meeting all dependencies for shared libraries.
I simply installed all packages in the the slackware/kde directory on the server using pkgtool, but KDE 4 won't start up because of missing libraries. I manually downloaded and installed some of them using pkgtool, but now KDE crashes after running kdeinit4 back to KDM without showing any error messages.
I'm sure I'm doing this wrong, so I would like to know the proper way of downloading and installing packages satisfying all dependencies.
Thanks in advance!
Last edited by r00tb33r; 03-21-2009 at 03:41 AM.
|
|
|
03-21-2009, 04:48 AM
|
#2
|
LQ Guru
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,233
|
You should use a tool like slapt-get, or swaret to download and install the new kde, as they can take care of dependencies.
|
|
|
03-21-2009, 07:01 AM
|
#3
|
LQ Veteran
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
|
At this point, I would not advise you to do it unless you move entirely to the -current branch. A couple of the initial releases of KDE4.2 in -current were compatible with 12.2 because -current hadn't moved on yet. However, now there are substantial differences between 12.2 and -current that do have an impact on KDE4.2.
If you do want to move to -current, read the UPGRADE.TXT and CHANGES_AND_HINTS.TXT files for detailed instructions on how to do the migration. Also be sure to look at the changelogs as those can have useful information about -current as well.
What I would NOT do is use a tool like slapt-get. Using those sorts of monstrosities to move from stable to current is going to cause serious problems.
Last edited by Hangdog42; 03-21-2009 at 07:03 AM.
|
|
|
03-22-2009, 01:22 AM
|
#4
|
Member
Registered: Feb 2007
Distribution: Vector
Posts: 318
Original Poster
Rep:
|
Quote:
Originally Posted by Hangdog42
At this point, I would not advise you to do it unless you move entirely to the -current branch. A couple of the initial releases of KDE4.2 in -current were compatible with 12.2 because -current hadn't moved on yet. However, now there are substantial differences between 12.2 and -current that do have an impact on KDE4.2.
If you do want to move to -current, read the UPGRADE.TXT and CHANGES_AND_HINTS.TXT files for detailed instructions on how to do the migration. Also be sure to look at the changelogs as those can have useful information about -current as well.
What I would NOT do is use a tool like slapt-get. Using those sorts of monstrosities to move from stable to current is going to cause serious problems.
|
Do you think I can just pick http/ftp source during DVD install and it would just install -current for me?
Or do I have to install 12.2 first and only then update to current?
|
|
|
03-22-2009, 04:09 AM
|
#5
|
Member
Registered: Feb 2007
Distribution: Vector
Posts: 318
Original Poster
Rep:
|
Quote:
Originally Posted by bathory
You should use a tool like slapt-get, or swaret to download and install the new kde, as they can take care of dependencies.
|
slapt-get did not check for dependencies. KDE 4.2.1 needs new qt and strigi, and lots of other stuff I don't know about, yet slapt-get did not install them. Perhaps those packages don't have dependency data or something.
Either way, this is definitely an annoyance. I don't have a working KDE right now.
|
|
|
03-22-2009, 06:14 AM
|
#6
|
Member
Registered: Jan 2009
Location: Palermo, Italy
Distribution: Slackware
Posts: 236
Rep:
|
Do not use any slapt-get or swaret, they aren't good to upgrade the system. I made this mistake,I upgraded my slackware-current with the KDE updates(and others..)and slapt-get forgot qt package to install. So I can give you a little suggestion, download all updates on your system(you can even do it with slapt-get typing --download-only like option), once done, install them with
you've also to make sure to install these packages with the right sequence, or you'll have problems. Read the UPGRADE.TXT file to know which packages must to be installed first.
|
|
|
03-22-2009, 07:52 AM
|
#7
|
LQ Veteran
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
|
Quote:
Do you think I can just pick http/ftp source during DVD install and it would just install -current for me?
Or do I have to install 12.2 first and only then update to current?
|
In theory, installing straight from -current should work just fine. Just be aware that -current is the Slackware development branch and from time to time, things can get ugly.
Quote:
slapt-get did not check for dependencies. KDE 4.2.1 needs new qt and strigi, and lots of other stuff I don't know about, yet slapt-get did not install them. Perhaps those packages don't have dependency data or something.
|
Something you should be aware of is that Slackware does NOT support automated dependency resolution. Abominations like slapt-get and swaret have never worked particularly well because they rely on third-party repositories. If you need automatic dependency resolution, then I would suggest using a distro other than Slackware. However, if you don't mind administering your system as [INSERT FAVORITE DEITY HERE] intended, which means you resolve dependencies on your own, then Slackware is a good choice.
|
|
|
03-22-2009, 08:05 AM
|
#8
|
LQ 5k Club
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,311
Rep: 
|
Or you could try using slackpkg. Comment (put # in front of) your 12.2 mirror in /etc/slackpkg/mirrors, and uncomment the current entry. Then run these commands (as root, of course):
Code:
slackpkg update
slackpkg install-new
slackpkg upgrade-all
Then, I'm not sure whether this is needed or what:
Code:
slackpkg clean-system
IGNORE THIS POST. Could cause serious problems.
Last edited by brianL; 04-11-2009 at 11:49 AM.
Reason: Misleading information.
|
|
|
04-11-2009, 12:37 AM
|
#9
|
Member
Registered: Feb 2009
Distribution: Linux Mint 17.3 "Rosa"
Posts: 83
Rep:
|
Ok, so I was trying upgrade to KDE 4.2 and used the commands in the previous post and now I can't even get login to slack. It gives me the following error messages at startup:
Code:
INIT: cannot execute "/sbin/agetty"
INIT: Id "c1" respawning too fast: disabled for 5 minutes"
whenever I used slackpkg upgrade-all, it gave me a WARNING! stating that it could not find some directory and when I tried to use any program (firefox etc..) it said it could not locate those as well. I then restarted slack and then was given the errors stated above.
What can I do?
|
|
|
04-11-2009, 07:05 AM
|
#10
|
LQ Veteran
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
|
I suspect you're looking at a re-install. With all due respect to brianL, using slackpkg to upgrade from a stable Slackware release to current is like playing with a lit stick of dynamite. Sooner or later you're gonna lose, and lose big. Following the official upgrade instructions are really the only way to go.
One thing you might try to get control is to try booting into single user mode. Get to the LILO prompt, select your kernel and add the number 1 after it. That might give you control of your machine again (but I doubt it).
|
|
|
04-11-2009, 11:46 AM
|
#11
|
LQ 5k Club
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,311
Rep: 
|
Sorry about that, skaldicpoet9. I tried that method, following a post in the Slackware forum that I can't find now, and it worked. So, for the benefit of anybody else coming across this thread, ignore my previous post (#8) and upgrade to current the correct way.
|
|
|
04-12-2009, 01:29 AM
|
#12
|
Member
Registered: Feb 2009
Distribution: Linux Mint 17.3 "Rosa"
Posts: 83
Rep:
|
It's all good man, it's a learning experience, right? I'll have her up and running in no time again 
|
|
|
All times are GMT -5. The time now is 12:34 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|