LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 07-30-2005, 11:10 AM   #16
Latem
Member
 
Registered: Sep 2004
Location: Canada
Distribution: Mandriva 2005 LE
Posts: 44

Original Poster
Rep: Reputation: 15

Yea I think urpmi works for local folders.

I did this: put all the KDE packages into ~/kde-3.4.2.
Then as root I cd'ed to that directory, and did urpmi --test -v *
It asked me to choose to install 1 of 2 packages for some MIDI thing (tidmidi or something). Then it listed a whole bunch of packages that will be installed, mostly the KDE ones, and several others to satisfy dependancies. At the end of the list it said is this ok (Y/n), I said Y. Then it proceeded to downlaod dependancies (about 10 in total) and "install" (--test) them, and then proceeded to start installing KDE packages, printing lines like this:

Quote:
adding package kdebase-kmenuedit-3.4.2-1mdk.i586 (id=12075, eid=12075, update=1, file=kdebase-kmenuedit-3.4.2-1mdk.i586.rpm)
After a lot of such lines it comes to kdegraphics-ksvg-devel package and just seems to stop there.
If I remove that package from the directory, it stops on some kmenuedit pacakge. Is this how it stoped for you? So I am not sure what to do, cuz I don't want to try this without the --test flag, if it's just going to hang there. I guess the only option is to get all the dependancies manually, and then do it by adding kde media, and doing urpmi --media kde *. that doesnt seem to resolve dependancies, bucause when I did urpmi -v --test --media kde * it would fail because of my lack of dependancies. =[

Latem
 
Old 07-30-2005, 11:28 AM   #17
abattoir
Member
 
Registered: Feb 2005
Distribution: Kubuntu 6.10
Posts: 313

Rep: Reputation: 30
After i did urpmi *, it asked me to choose b/w 2 timidity packages(like it did for you). Then i was asked to choose b/w 2 mdns packages(i installed libmdnsresponder). Then there was not any other output. 'top' showed urpmi @ the top .

But i soon ran out of patience and added the kde folder as a urpmi medium. then i ran 'urpmi --media kde *'. This threw up a bunch of dependency requirements. I found that most of the dependencies were in the folder and hence found their dependencies. I finally traced everything to 2 packages(i used urpmf too).One was something like kde-config-file(i have posted the correct name in a previous post), i dont remember the name of the other(i can find it if you want).
I installed the latter first and then kde-config-file, when i urpmi'd kde-config-file, it listed all the packages in the kde folder and some others and asked if i wanted to install them, i said yes, left it overnight and woke up to kde 3.4.2.

If you need more info, please ask
Hope all goes well!
 
Old 07-30-2005, 07:43 PM   #18
Latem
Member
 
Registered: Sep 2004
Location: Canada
Distribution: Mandriva 2005 LE
Posts: 44

Original Poster
Rep: Reputation: 15
Ok, so I wasn't patient enough. The line urpmi --test -v * eventually finishes (I just didn't wait long enough, and it prints at the end "Installation is possible" or something similar. So I did urpmi -v *. This however does not do what I thought it does. This installs all the packages in the directory that you do not already have. So it didn;t really install KDE 3.4.2. It installed some 3.4.2 packages, but not most of them.

So I ended up doing basically what you did, which I think is the best way to go:

1. Put all the KDE packages into a local folder (ie. ~/kde-3.4.2).
2. Add it to media with urpmi.addmedia kde /home/name/kde-3.4.2
3. Do urpmi --auto-select

This will update all of your packages that have a newer version, including KDE 3.4.2 that's in your local directory, and resolve all dependancies.

That worked. Had 1 problem with Kontact, where it couldn't log in to one of my email accoutns for some reason. It was giving some authentication error. Changing authentication method from LOGIN, to Clear Text fixed it. Everything seems to be working fine expcept for one thing. Before, when I put a usb key into usb, it created a desktop icon for it, and mounted it to /mnt/removable. Now it doesnt create a desktop icon. It creates /mnt/removable, and /mnt/removable1. The usb key is mounted to /mnt/removable1. So when I remove the key, /mnt/removable still stays there. Even if I delete that folder, the behaviour is still the same. Both folders are created, key mounted to /mnt/removable1. Any ideas on how to get it to mount to /mnt/removable and to show desktop icon?

Thanks,

Latem
 
Old 07-30-2005, 09:55 PM   #19
abattoir
Member
 
Registered: Feb 2005
Distribution: Kubuntu 6.10
Posts: 313

Rep: Reputation: 30
Yeah, i face the same usb issue too, i didnt think it was kde related, so didnt bother, i anyway dont used desktop icons, so not much of a bother for me .
Bye
 
Old 07-31-2005, 04:07 PM   #20
Latem
Member
 
Registered: Sep 2004
Location: Canada
Distribution: Mandriva 2005 LE
Posts: 44

Original Poster
Rep: Reputation: 15
Someone on IRC mentioned that these packages were intended for Cooker. I don't know if that's true though. If it is, and if I knew that I would have thought twice about installing them. But overall, they worked pretty well so far. These are pretty much all the problems I've noticed, in order of severity (according to my opinion and my needs):

1. USB stick not working correcty, as described above.
2. My trash is behaving weird. When I send something to it, sometimes it doesn't "register", and the icon is still the empty trash. Using trash, ie. deleting a file, or emptying the trash, sometimes makes my floppy disk activated, and makes the "checking for floppy" sound. I'm still investigating this, and playing around. openning the trash always causes the floppy activation.
3. konsole doesn't have sound. Like it doesn't beep , even though the notification is properly set up for it to play beep on "bell event", and I can test the sound there.
4. Using the big tooltips on taskbar cuse the kicker to behave weird a little, and causes Kopete to crash (with QPixmap::convertToImage at the end of backtrace). When this happens the icons in kicked on the left are empty when u hover over them (when they are suppose to highlight); and big tooltips don't have the icons in them any more. Disabling the big tooltips seems to make kicker behave nice.

Latem
 
Old 08-02-2005, 02:13 AM   #21
abattoir
Member
 
Registered: Feb 2005
Distribution: Kubuntu 6.10
Posts: 313

Rep: Reputation: 30
@ sekelsenmat

Quote:
Originally posted by sekelsenmat
I couldn't find a package with portuguese translations of this KDE version
check ftp://ftp.kde.org/pub/kde/stable/3.4.2/Mandriva/noarch/
(br would be portuguese translations right)?
I found this while searching for kdebindings.
 
Old 08-19-2005, 02:59 AM   #22
StangRyder89
LQ Newbie
 
Registered: Aug 2005
Posts: 2

Rep: Reputation: 0
Madriva Kde 3.4.2 How To

I'm new to linux and I just installed Mandriva LE 2005. I read in here about upgrading to kde 3.4.2 but i don't understand most of it. Can someone please give me a step by step instruction on what to do. Thank You.
 
Old 08-19-2005, 03:53 AM   #23
abattoir
Member
 
Registered: Feb 2005
Distribution: Kubuntu 6.10
Posts: 313

Rep: Reputation: 30
Okay.....

Please note that it is recommended that you have URPMI set up before you proceed.(The wiki should be self explanatory).

1.Go Here and choose a mirror.

2. Now you need to choose whether you want to download all the rpms(in that case, skip the next step(3)and go to step4) or just the ones you need to upgrade the existing kde.

3. If you choose to download only the ones you
need for upgradation, you need to find what packages you already have installed. For that, in a terminal(konsole), enter the following.
Code:
rpm -qa | grep kde
Now a list of packages would be printed on screen. These are the packages you need to download

NOTE: There may be some packages which are printed on the screen but not available in the mirror, you can choose to ignore those.

4. You now have to download the packages. You can use your favourite download tool(Kbear/Kget), I used wget, which is a simple command line tool.
If you decide on using wget, create a folder(wherever you want), now move to that directory(eg. cd /home/user/newdirectory).

If you want to download all the packages, all you now have to do is
Note: I have used the official kde mirror, you can replace that with the mirror you chose.

Wget would now start downloading all the packages one by one.

5. After all the packages have been downloaded, you need to use urpmi to install them(I hope you have at least browsed through the wiki).

I initially had suggested a method of just doing 'urpmi *' you can try that(if successful, you can ignore the stuff that comes up next), in case it does not work, you need to add the local folder as a urpmi medium.
Execute the following as root:
Code:
 urpmi.addmedia kde /home/user/kde342/
Where kde is the name of the medium and /home/user/kde342 is the path to the folder where the rpms are. You should obviously substitute the path to the folder.

then do a

Code:
urpmi --media kde *
Now comes the hard part, you would be told that "some packages cannot be installed due to missing.....", Most of the "missing...." stuff are within the folder, if they are not you have to install them via urpmi


After all this, kde should be upgraded to 3.4.2!!

I dont know your experience level, so if you need more info on something i have touched upon briefly, let me know.

Last edited by abattoir; 08-19-2005 at 03:57 AM.
 
Old 08-20-2005, 01:13 PM   #24
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45
Quote:
Originally posted by abattoir
Okay.....

Please note that it is recommended that you have URPMI set up before you proceed.(The wiki should be self explanatory).

1.Go Here and choose a mirror.

2. Now you need to choose whether you want to download all the rpms(in that case, skip the next step(3)and go to step4) or just the ones you need to upgrade the existing kde.

3. If you choose to download only the ones you
need for upgradation, you need to find what packages you already have installed. For that, in a terminal(konsole), enter the following.
Code:
rpm -qa | grep kde
Now a list of packages would be printed on screen. These are the packages you need to download

NOTE: There may be some packages which are printed on the screen but not available in the mirror, you can choose to ignore those.

4. You now have to download the packages. You can use your favourite download tool(Kbear/Kget), I used wget, which is a simple command line tool.
If you decide on using wget, create a folder(wherever you want), now move to that directory(eg. cd /home/user/newdirectory).

If you want to download all the packages, all you now have to do is
Note: I have used the official kde mirror, you can replace that with the mirror you chose.

Wget would now start downloading all the packages one by one.

5. After all the packages have been downloaded, you need to use urpmi to install them(I hope you have at least browsed through the wiki).

I initially had suggested a method of just doing 'urpmi *' you can try that(if successful, you can ignore the stuff that comes up next), in case it does not work, you need to add the local folder as a urpmi medium.
Execute the following as root:
Code:
 urpmi.addmedia kde /home/user/kde342/
Where kde is the name of the medium and /home/user/kde342 is the path to the folder where the rpms are. You should obviously substitute the path to the folder.

then do a

Code:
urpmi --media kde *
Now comes the hard part, you would be told that "some packages cannot be installed due to missing.....", Most of the "missing...." stuff are within the folder, if they are not you have to install them via urpmi


After all this, kde should be upgraded to 3.4.2!!

I dont know your experience level, so if you need more info on something i have touched upon briefly, let me know.
You should stick this in the "How to..." section of Linuxquestions.org. It would be awesomely helpful!
 
Old 08-20-2005, 01:20 PM   #25
abattoir
Member
 
Registered: Feb 2005
Distribution: Kubuntu 6.10
Posts: 313

Rep: Reputation: 30
You really think so? Thank you. I will. But should i make it general or mandriva specific?
 
Old 08-20-2005, 01:33 PM   #26
crAckZ
Member
 
Registered: Sep 2004
Location: LOUISVILLE KENTUCKY
Distribution: mandriva 2006
Posts: 155

Rep: Reputation: 30
nice how to. after i walked through it kde would not load. my fix was load in ice then urpmi kde to reinstall the core and it saw the updates and now i am in 3.4.2. i have to admit it is pretty nice. I'll have to make another donation.
again, great how too.
 
Old 08-20-2005, 01:41 PM   #27
abattoir
Member
 
Registered: Feb 2005
Distribution: Kubuntu 6.10
Posts: 313

Rep: Reputation: 30
There is one thing that irks me though! urpmi * didnt (seem to) work for me, however a few days ago, while browsing the mandriva club fora, i found that people there had used urpmi * and that it had worked for them.
 
Old 08-20-2005, 05:48 PM   #28
liquidtenmilion
Member
 
Registered: May 2004
Location: South Carolina
Distribution: Slackware 11.0
Posts: 606

Rep: Reputation: 32
Quote:
Originally posted by abattoir
You really think so? Thank you. I will. But should i make it general or mandriva specific?
Mandriva specific since it references URPMI.(mandrake only tool)
 
Old 08-20-2005, 09:49 PM   #29
abattoir
Member
 
Registered: Feb 2005
Distribution: Kubuntu 6.10
Posts: 313

Rep: Reputation: 30
Yeah,obviously i was not going to ask a suse/slack user to use urpmi. If i were to make it general, i'd have made the package manager bit general too(w/ references to various package manager though).
 
Old 08-21-2005, 08:27 AM   #30
crAckZ
Member
 
Registered: Sep 2004
Location: LOUISVILLE KENTUCKY
Distribution: mandriva 2006
Posts: 155

Rep: Reputation: 30
oh by the way. now that i have upgraded i dont have the shutdown option when i go to turn of the p.c. all i have is end session then i have to go through and do use the terminal commands. any help or ideas on fixing this?
 
  


Reply



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
HELP!!! Installed kde 3392 rpms keyboard dead inside kde, working in shell hansschmucker SUSE / openSUSE 1 02-13-2005 08:01 PM
Why wont my KDE 3.2 FC2 setup run make commands w/KDE 1.x packages? rusty_slacker Linux - Newbie 1 09-19-2004 05:40 PM
KDE startup lookup using SuSE 9.1 (KDE 3.2.3 - /home over NFS) dbertolo Linux - Software 1 08-24-2004 10:26 AM
couple of qs, gnome ftp, removing kde or improving speed of kde, startup modprobe darkleaf Linux - Software 2 07-20-2004 09:54 AM
[REDHAT KDE] Disable KDE boot? Apache down after 10min losing monitor signal bjwesselink Linux - Software 2 08-11-2003 01:52 PM

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

All times are GMT -5. The time now is 12:01 AM.

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