View previous topic :: View next topic |
Author |
Message |
dalek Veteran
Joined: 19 Sep 2003 Posts: 1353 Location: Mississippi USA
|
Posted: Wed Feb 11, 2004 12:52 pm Post subject: KDE upgrade questions. Can add yours if you want. |
|
|
I plan to upgrade to KDE 3.2 from 3.1.5. I want to save the old one just in case. How do I tell it not to remove the old one? How do I tell it to remove the old one later? Something I need to do with some others to. I think it comes up and ask you just before it removes but I plan to start and go to sleep while it works on it.
I read the man file but it didn't jump out at me. I also did a search here, didn't see it there either.
I had trouble with the last upgrade, anything special on this one that I should know about? My last problem was answered in the HUGE KDE thread.
Thanks for the help and answers.
Later
_________________ My rig: Gigabyte GA-970A-UD3P mobo, AMD FX-8350 Eight-Core CPU, ZALMAN CNPS10X Performa CPU cooler,
G.SKILL 32GB DDR3 PC3 12800 Memory Nvidia GTX-650 video card LG W2253 Monitor
60TBs of hard drive space using LVM
Cooler Master HAF-932 Case |
|
Back to top |
|
|
!db! Apprentice
Joined: 25 Nov 2003 Posts: 172 Location: A frozen, barren wasteland
|
Posted: Wed Feb 11, 2004 2:52 pm Post subject: |
|
|
A few days ago, I upgraded to kde 3.2 and I have 3.1.5 still available. I actually did an 'emerge world' to get 3.2 - I let the automated process takes it course. Several days later (...) I have 3.2 up and running. So I think there is a minimal risk involved when emerging 3.2.
My question - still sort of a newbie question - how do I get rid of 3.1.5 safely? |
|
Back to top |
|
|
Tii l33t
Joined: 02 Jan 2004 Posts: 733
|
Posted: Wed Feb 11, 2004 2:54 pm Post subject: |
|
|
I just did ACCEPT_KEYWORDS="~x86" emerge kde after it came out and I still have 3.1.4 left. I would also like to get rid of it. |
|
Back to top |
|
|
ecatmur Advocate
Joined: 20 Oct 2003 Posts: 3595 Location: Edinburgh
|
Posted: Wed Feb 11, 2004 2:57 pm Post subject: |
|
|
Quote: | # AUTOCLEAN enables portage to automatically clean out older or overlapping
# packages from the system after every successful merge. This is the
# same as running 'emerge -c' after every merge. Set with: "yes" or "no".
# This does not affect the unpacked source. See 'noclean' below.
AUTOCLEAN="yes" |
However, removing the new KDE will not necessarily leave you with your original system as some files are common to the two versions.
Your best bet would be to make binary packages of your current KDE and keep those in reserve to restore from. You don't need to re-emerge KDE - see quickpkg(1).
If you have plenty of disk space it's an idea worth considering to always make binary packages (put 'buildpkg' in FEATURES) as then they will always be there to restore from. |
|
Back to top |
|
|
!db! Apprentice
Joined: 25 Nov 2003 Posts: 172 Location: A frozen, barren wasteland
|
Posted: Wed Feb 11, 2004 3:03 pm Post subject: |
|
|
ecatmur,
Quote: | removing the new KDE will not necessarily leave you with your original system as some files are common to the two versions. |
But removing the old version would be safe? right? If so, how? Removing the '3.1' subdirectory under /usr/kde/ and leave the '3.2' alone? |
|
Back to top |
|
|
dalek Veteran
Joined: 19 Sep 2003 Posts: 1353 Location: Mississippi USA
|
Posted: Wed Feb 11, 2004 5:53 pm Post subject: |
|
|
Well I don't know why I want to save 3.1.5 really. My Konqueror don't work right anymore and nobody knows why. But I can boot into it and I can't connect to the net without Kppp which requires X to be running. I guess that will be better than nothing.
I did notice that I still have the option for the other 3.1.X stuff to. I had to redo my drives earlier to get more space. I have a / and /boot at the moment and / was at 99.9% full. I had a few KBs left.
Thanks for the ACCEPT_KEYWORDS="~x86" tip though. That may come in handy. Will try without it first just to see the smoke fly.
Keep those questions going. May as well have a BIG thread while we are at it. Beats getting thrown to the desert in duplicates. No offence mods.
Now back to downloading with a 26K dial-up connection.
Yea, it sucks. Roto-ruter comes to mind.
Later, much later. . . . . . . . . . .
_________________ My rig: Gigabyte GA-970A-UD3P mobo, AMD FX-8350 Eight-Core CPU, ZALMAN CNPS10X Performa CPU cooler,
G.SKILL 32GB DDR3 PC3 12800 Memory Nvidia GTX-650 video card LG W2253 Monitor
60TBs of hard drive space using LVM
Cooler Master HAF-932 Case |
|
Back to top |
|
|
Tii l33t
Joined: 02 Jan 2004 Posts: 733
|
Posted: Wed Feb 11, 2004 8:17 pm Post subject: |
|
|
Some one in the posting list said that emerge -P kde should get rid of all but the newest version off kde. But I get:
Code: | emerge -pP kde
*** You are not in the portage group. You may experience cache problems
*** due to permissions preventing the creation of the on-disk cache.
*** Please add this user to the portage group if you wish to use portage.
>>> These are the packages that I would unmerge:
kde-base/kde
selected: 3.2.0
protected: 3.1.4
omitted: none
>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.
|
What am I doing wrong? |
|
Back to top |
|
|
ecatmur Advocate
Joined: 20 Oct 2003 Posts: 3595 Location: Edinburgh
|
Posted: Wed Feb 11, 2004 9:10 pm Post subject: |
|
|
emerge unmerge =kde-base/kde-3.1.4 |
|
Back to top |
|
|
Tii l33t
Joined: 02 Jan 2004 Posts: 733
|
Posted: Wed Feb 11, 2004 9:25 pm Post subject: |
|
|
That will just remove the kde package but not stuff like kdeartwork, correct? Is it safe to remove all the stuff that's here or will something break:
Code: | emerge -pv "=kde-3.1.5"
*** You are not in the portage group. You may experience cache problems
*** due to permissions preventing the creation of the on-disk cache.
*** Please add this user to the portage group if you wish to use portage.
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild U ] kde-base/arts-1.1.5 [1.1.4] +alsa -artswrappersuid +mad +oggvorbis 966 kB
[ebuild U ] kde-base/kdelibs-3.1.5 [3.1.4] +alsa +cups -ipv6 +ssl 10,302 kB
[ebuild U ] kde-base/kdeedu-3.1.5 [3.1.4] 19,563 kB
[ebuild U ] kde-base/kdetoys-3.1.5 [3.1.4] 1,801 kB
[ebuild U ] kde-base/kdemultimedia-3.1.5 [3.1.4-r1] +cdr +esd +motif -nas +oggvorbis +slang +tcltk 5,786 kB
[ebuild U ] kde-base/kdebase-3.1.5 [3.1.4] +cups +encode -java -ldap +motif +oggvorbis +opengl +pam -samba +ssl 14,807 kB
[ebuild U ] kde-base/kdenetwork-3.1.5 [3.1.4] 4,877 kB
[ebuild U ] kde-base/kdeaddons-3.1.5 [3.1.4] +esd +sdl +svga +xmms 1,051 kB
[ebuild U ] kde-base/kdepim-3.1.5 [3.1.4] -pda 3,231 kB
[ebuild U ] kde-base/kdeadmin-3.1.5 [3.1.4] -foreign-package -foreign-sysvinit +pam 1,518 kB
[ebuild U ] kde-base/kdegames-3.1.5 [3.1.4] 8,321 kB
[ebuild U ] kde-base/kdegraphics-3.1.5 [3.1.4] -gphoto2 -scanner -tetex 4,481 kB
[ebuild U ] kde-base/kdeutils-3.1.5 [3.1.4] 1,347 kB
[ebuild U ] kde-base/kdeartwork-3.1.5 [3.1.4] +opengl 13,533 kB
[ebuild U ] kde-base/kde-3.1.5 [3.1.4] [empty/missing/bad digest]
|
|
|
Back to top |
|
|
tommy_fila Guru
Joined: 19 Nov 2003 Posts: 450 Location: Phoenix, AZ
|
Posted: Wed Feb 11, 2004 9:45 pm Post subject: |
|
|
You can savely unmerge all of those if you don't want KDE-3.1.5 on your system anymore. _________________ "What goes on in life, that goes for eternity." |
|
Back to top |
|
|
ecatmur Advocate
Joined: 20 Oct 2003 Posts: 3595 Location: Edinburgh
|
Posted: Wed Feb 11, 2004 10:46 pm Post subject: |
|
|
I think after unmerging kde 3.1.5, an emerge depclean will remove those packages. |
|
Back to top |
|
|
Tii l33t
Joined: 02 Jan 2004 Posts: 733
|
Posted: Thu Feb 12, 2004 9:46 am Post subject: |
|
|
ecatmur wrote: | I think after unmerging kde 3.1.5, an emerge depclean will remove those packages. |
Yeah, but it will also remove some other stuff and I have no idea if I need them:
Code: | dev-perl/File-Spec
selected: 0.84-r1
protected: none
omitted: none
dev-util/pccts
selected: 1.33.33
protected: none
omitted: none
dev-perl/Test-Simple
selected: 0.47-r1
protected: none
omitted: none
dev-perl/Audio-Tools
selected: 0.01
protected: none
omitted: none
dev-perl/libvorbis-perl
selected: 0.04
protected: none
omitted: none
dev-perl/MP3-Info
selected: 1.02-r1
protected: none
omitted: none
dev-perl/Audio-Wav
selected: 0.02
protected: none
omitted: none
dev-perl/Test-Harness
selected: 2.28-r1
protected: none
omitted: none
app-admin/addpatches
selected: 0.2
protected: none
omitted: none
dev-libs/libIDL
selected: 0.8.2
protected: none
omitted: none
sys-apps/modutils
selected: 2.4.25
protected: none
omitted: none
app-cdr/cdrdao
selected: 1.1.7-r1
protected: none
omitted: none
|
|
|
Back to top |
|
|
Stu_28 Tux's lil' helper
Joined: 12 Jun 2003 Posts: 129
|
|
Back to top |
|
|
dalek Veteran
Joined: 19 Sep 2003 Posts: 1353 Location: Mississippi USA
|
Posted: Thu Feb 12, 2004 12:42 pm Post subject: |
|
|
If you get a error like this.
Code: | rm -fr .libs/libfam.la .libs/libfam.* .libs/libfam.*
g++ "{ global:" > .libs/libfam.ver
g++: { global:: No such file or directory
g++: no input files
make[2]: *** [libfam.la] Error 1
make[2]: Leaving directory `/var/tmp/portage/fam-2.7.0/work/fam-2.7.0/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/fam-2.7.0/work/fam-2.7.0'
make: *** [all] Error 2
!!! ERROR: app-admin/fam-2.7.0 failed.
!!! Function src_compile, Line 418, Exitcode 2
!!! emake failed
root@smoker /home/dale # |
Then do this:
Code: | emerge app-admin/fam-2.7.0
<error occurs>
cd /var/tmp/portage/fam-2.7.0/work/fam-2.7.0/lib
../libtool g++ -g -O2 -o libfam.la -rpath /usr/local/lib -export-symbols fam.sym Client.lo fam.lo -lstdc++ -lrpcsvc
ebuild /usr/portage/app-admin/fam/fam-2.7.0.ebuild compile
ebuild /usr/portage/app-admin/fam/fam-2.7.0.ebuild merge |
I ran into that error and it worked for me. Cut n Paste is the way to go though. Darn thing is long.
Hope that helps someone. Got this off this thread. https://forums.gentoo.org/viewtopic.php?p=852950#852950 . I think he/she found it somewhere else too. Noobie like me.
Later
_________________ My rig: Gigabyte GA-970A-UD3P mobo, AMD FX-8350 Eight-Core CPU, ZALMAN CNPS10X Performa CPU cooler,
G.SKILL 32GB DDR3 PC3 12800 Memory Nvidia GTX-650 video card LG W2253 Monitor
60TBs of hard drive space using LVM
Cooler Master HAF-932 Case |
|
Back to top |
|
|
dalek Veteran
Joined: 19 Sep 2003 Posts: 1353 Location: Mississippi USA
|
Posted: Fri Feb 13, 2004 12:44 am Post subject: |
|
|
I am making this post from KDE 3.2.0. I had a few kinks here and there. It was lokking for some libfam thing in /usr/local/lib when it was actually in /usr/lib. I made a quick link for where it thought it should be to where it actually was, off it went again. It took me about a day and a half to download and then about 14 hours to compile. That includes the boo boo corrections and a few head scratches.
I see a few things I want to change already but it fixed my Konqueror problem. Looks pretty cool too.
Now to get rid of the older versions. Scroll back up for that I guess.
Later
_________________ My rig: Gigabyte GA-970A-UD3P mobo, AMD FX-8350 Eight-Core CPU, ZALMAN CNPS10X Performa CPU cooler,
G.SKILL 32GB DDR3 PC3 12800 Memory Nvidia GTX-650 video card LG W2253 Monitor
60TBs of hard drive space using LVM
Cooler Master HAF-932 Case |
|
Back to top |
|
|
dalek Veteran
Joined: 19 Sep 2003 Posts: 1353 Location: Mississippi USA
|
Posted: Fri Feb 13, 2004 1:45 am Post subject: |
|
|
Anybody know how to make Konqueror open with filemanagement profile instead of as web browser? I went into the settings and profile management screens but it still opens up as web browser.
In KDE 3.1 I did it is the properties of the link. It had "konqueror open profile filemanagement" as the execution command. That worked but not in the new KDE.
Any ideas?
Later
_________________ My rig: Gigabyte GA-970A-UD3P mobo, AMD FX-8350 Eight-Core CPU, ZALMAN CNPS10X Performa CPU cooler,
G.SKILL 32GB DDR3 PC3 12800 Memory Nvidia GTX-650 video card LG W2253 Monitor
60TBs of hard drive space using LVM
Cooler Master HAF-932 Case |
|
Back to top |
|
|
kevmille Guru
Joined: 26 Jul 2003 Posts: 311 Location: Ho Chi Minh City (Saigon), Vietnam
|
Posted: Fri Feb 13, 2004 2:44 am Post subject: |
|
|
Upgrading to KDE 3.2 has been a big headache it seems but it is worth it. Yeah I lost Kopete and Quanta. KMail is "weird" but I love the new spell check that comes with it. There is a quick fix to Kopete so I can access it. KWallet is awesome but I do not like the idea of having my passwords available to anyone if I happen to leave my computer while compiling.
I should have done my homework before compiling KDE 3.2 to save many of these headaches.
Oh well, I did not choose Gentoo Linux because I wanted the easy way out. _________________ My Company: Hakata Consulting |
|
Back to top |
|
|
!db! Apprentice
Joined: 25 Nov 2003 Posts: 172 Location: A frozen, barren wasteland
|
Posted: Fri Feb 13, 2004 7:42 pm Post subject: |
|
|
I'm having some difficult in unmerging <3.2. I do have 'autoclean', but have two kde slots in /usr/kde: /usr/kde/3.1 and /usr/kde/3.2. I've tried suggested commands, but get the following replies ...
Code: | emerge -C kde-3.1.5
---Couldn't find kde-3.1.5 to unmerge
emerge -pP kde
--- Couldn't find kde to prune.
>>> prune: No packages selected for removal |
Running
gives me an error:
Code: | [ Results for search key : kde ]
[ Applications found 28 ]
* app-doc/kdelibs-apidocs :
traceback (most recent call last):
File "/usr/bin/etcat", line 1105, in ?
main()
File "/usr/bin/etcat", line 1101, in main
function(query)
File "/usr/bin/etcat", line 547, in versions
if portage.dblink(cat,pkg,"/").exists():
TypeError: __init__() takes exactly 5 arguments (4 given) |
How do I get rid of anything <3.2 (and I don't running portage again in case something breaks in kde ... weekend coming up, so long compile time is an option ...). Thanks! |
|
Back to top |
|
|
GHost_123 n00b
Joined: 15 Feb 2004 Posts: 1
|
Posted: Sun Feb 15, 2004 5:03 pm Post subject: |
|
|
#!/bin/bash
cd /var/db/pkg/
for i in `find ./ -iname *3.1.5|grep kde|sed 's/\.\/kde-base\///'|grep -v api`
do
D=`echo $i|tr -d "\-3.1.5"`
cd /usr/portage/kde-base/$D
ebuild $i.ebuild unmerge
done
################################################
this will unmerge the 3.1.5 kde packages
it's not the best but it works |
|
Back to top |
|
|
|