View previous topic :: View next topic |
Author |
Message |
simvin76 Tux's lil' helper
Joined: 05 Oct 2005 Posts: 96
|
Posted: Thu Oct 06, 2005 11:51 pm Post subject: emerge --usepkg kde fail-what happens to the files? [solved] |
|
|
Hello
Finished 2005.1 install och tried to install kde from the package CD. I followed the instructions, set the PKGDIR and didn't do emerge --sync before starting, still emerge downloaded the packages (some at least) from the net instead from the CD.
I have red on the forum that there appears to be some kind of error with the package-cd.
After compiling for 24h emerge exited with the following message:
Code: | libtool: link: cannot find the library `/usr/lib/libvorbisfile.la'
make[3]: *** [juk] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdemultimedia-3.4.1-r1/work/kdemultimedia-3.4.1/juk'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdemultimedia-3.4.1-r1/work/kdemultimedia-3.4.1/juk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdemultimedia-3.4.1-r1/work/kdemultimedia-3.4.1'
make: *** [all] Error 2
!!! ERROR: kde-base/kdemultimedia-3.4.1-r1 failed.
!!! Function kde_src_compile, Line 164, Exitcode 2
!!! died running emake, kde_src_compile:make
!!! If you need support, post the topmost build error, NOT this status message.
| I think about 60 of 80 packages had been emerged.
I have two questions:- What has happened to the emerged programs? Are they automatically deleted since kde didn't install? Is it ok to run "emerge --depclean" since I haven't emerged anything after completing the installation? Or shall I just leave it?
- Can I emerge several things at the same time? While emerging kde, is it safe to emerge smaller packages on a different terminal?
Take care
/Simon
Last edited by simvin76 on Fri Oct 07, 2005 2:09 pm; edited 1 time in total |
|
Back to top |
|
|
davascript l33t
Joined: 07 Apr 2004 Posts: 618 Location: Pennsylvania
|
Posted: Fri Oct 07, 2005 12:15 am Post subject: |
|
|
You can run thsi to uninstal the emerged packages
I dont think i would emerge anything at the same time as kde |
|
Back to top |
|
|
simvin76 Tux's lil' helper
Joined: 05 Oct 2005 Posts: 96
|
Posted: Fri Oct 07, 2005 12:34 am Post subject: |
|
|
I tried to uninstall it with "emerge --unmerge" but got the following message: Code: | darius kde # emerge --unmerge kde
--- Couldn't find kde to unmerge.
>>> unmerge: No packages selected for removal. |
|
|
Back to top |
|
|
davascript l33t
Joined: 07 Apr 2004 Posts: 618 Location: Pennsylvania
|
Posted: Fri Oct 07, 2005 12:40 am Post subject: |
|
|
sorry for the wrong command. thats telling you ther isnt anything installed so you dont have to worry about it |
|
Back to top |
|
|
simvin76 Tux's lil' helper
Joined: 05 Oct 2005 Posts: 96
|
Posted: Fri Oct 07, 2005 1:31 am Post subject: |
|
|
It tells me kde isn't installed but I wonder about all the dependencies that was installed before emerge exited. Did those packages get installed, or are they just lying in tmp? |
|
Back to top |
|
|
Sven Vermeulen Retired Dev
Joined: 29 Aug 2002 Posts: 1345 Location: Mechelen, Belgium
|
Posted: Fri Oct 07, 2005 10:39 am Post subject: |
|
|
There is currently an issue with the documentation but we're still investigating for which architectures and what the best solution is.
Some architectures don't support kde (the package) but kde-meta. In those cases you're better off with emerge kde-meta as that won't bring in source-code compilations.
Running emerge -C kde (or emerge unmerge kde) won't remove the dependencies the package has triggered. For this, you need to run emerge --depclean, but beware that you don't do this before having a completely up-to-date system.
See also Working with Portage, a very important chapter in the Gentoo Handbook. _________________ Please add "[solved]" to the initial topic title when it is solved. |
|
Back to top |
|
|
simvin76 Tux's lil' helper
Joined: 05 Oct 2005 Posts: 96
|
Posted: Fri Oct 07, 2005 10:57 am Post subject: |
|
|
So if I run
Code: | emerge --sync
emerge --update world
emerge --depclean |
my system will be returned to the state before I started to install kde? |
|
Back to top |
|
|
Sven Vermeulen Retired Dev
Joined: 29 Aug 2002 Posts: 1345 Location: Mechelen, Belgium
|
Posted: Fri Oct 07, 2005 11:45 am Post subject: |
|
|
Almost...
Code: |
# emerge --sync
# emerge --update --deep --newuse world
# emerge -p --depclean
(Verify that it doesn't want to remove important tools/packages)
# emerge --depclean
|
But after this you won't be ablet to use --usepkg anymore, so it is best to first run
Code: |
# emerge --usepkg kde-meta
|
Of course, with PKGDIR set to the mounted Packages CD location. _________________ Please add "[solved]" to the initial topic title when it is solved. |
|
Back to top |
|
|
simvin76 Tux's lil' helper
Joined: 05 Oct 2005 Posts: 96
|
Posted: Fri Oct 07, 2005 1:00 pm Post subject: |
|
|
Ok, will do that. Thank you.
I still wonder about the original question. What happens to the dependencies that were downloaded, all that were completed before emerge exited are they installed? |
|
Back to top |
|
|
Sven Vermeulen Retired Dev
Joined: 29 Aug 2002 Posts: 1345 Location: Mechelen, Belgium
|
Posted: Fri Oct 07, 2005 1:20 pm Post subject: |
|
|
Yes, they are installed. That's why the depclean is needed. It'll search for installed packages that have no parent. It checks the content of the /var/lib/portage/world file and traverses the dependencies. This builds an entire tree of all the packages that are (and should be) installed on your system.
The packages that aren't mentioned in that tree are orphaned packages which should probably be removed. _________________ Please add "[solved]" to the initial topic title when it is solved. |
|
Back to top |
|
|
simvin76 Tux's lil' helper
Joined: 05 Oct 2005 Posts: 96
|
Posted: Fri Oct 07, 2005 1:44 pm Post subject: emerge --usepkg kde fail-what happens to the files? [solved] |
|
|
Thinks are becoming a little bit clearer.
Thank you very much
/Simon |
|
Back to top |
|
|
etequess n00b
Joined: 12 Feb 2006 Posts: 5
|
Posted: Sun Feb 12, 2006 5:32 pm Post subject: |
|
|
Hi there,
I was pointed to this thread by moderator. The answers here are informative, but doesn't help resolving my problem. No matter how I set my PKGDIR, my gentoo is always downloading the packages from the web instead of using ones from the CD rom.
Can somebody please offer me some help?
Thanks a lot.
Sven Vermeulen wrote: | Almost...
Code: |
# emerge --sync
# emerge --update --deep --newuse world
# emerge -p --depclean
(Verify that it doesn't want to remove important tools/packages)
# emerge --depclean
|
But after this you won't be ablet to use --usepkg anymore, so it is best to first run
Code: |
# emerge --usepkg kde-meta
|
Of course, with PKGDIR set to the mounted Packages CD location. |
|
|
Back to top |
|
|
rizzurant Tux's lil' helper
Joined: 20 Feb 2006 Posts: 83 Location: Indonesia
|
Posted: Wed Mar 15, 2006 6:26 am Post subject: |
|
|
when i try to emerge --rsync its failed becausethe rules blocked rsync
but when i use
Code: |
emerge-webrsync
Attempting ......
--No Md5sum present on the mirror (not yet available)
|
how i uninstall the kdepackage ...?
because when i run emerge -k kde-meta ..it say that conflict with the another kde-packages
thanks before ... |
|
Back to top |
|
|
jballou Tux's lil' helper
Joined: 10 Mar 2005 Posts: 128 Location: Baghdad, Iraq
|
Posted: Wed Mar 15, 2006 12:57 pm Post subject: |
|
|
etequess wrote: | Hi there,
I was pointed to this thread by moderator. The answers here are informative, but doesn't help resolving my problem. No matter how I set my PKGDIR, my gentoo is always downloading the packages from the web instead of using ones from the CD rom.
|
Are the packages on the CD the same version you are attempting to emerge? What happens when you try --usepkgonly ? May we see your make.conf?
rizzurant wrote: | when i try to emerge --rsync its failed becausethe rules blocked rsync
but when i use
Code: |
emerge-webrsync
Attempting ......
--No Md5sum present on the mirror (not yet available)
|
how i uninstall the kdepackage ...?
because when i run emerge -k kde-meta ..it say that conflict with the another kde-packages
thanks before ... |
You want to uninstall an existing KDE install? Or what exactly are you trying to accomplish? If you want to remove it
Code: | emerge --update --newuse --deep world
emerge --unmerge kde-meta
emerge --depclean --ask
|
Make sure that if there are any packages installed you do not wish to remove that you run 'emerge --noreplace (package)' to add it to the world file. If I misunderstood the question, please clarify a little more so we may help. _________________ -Shuttle SN25P, Opteron 185, 74Gb WD Raptor, 2x 300Gb Barracuda 7200.9, 2x 1Gb Corsair dual channel, BFG GeForce 7800GT
-Asus Z7100 laptop, P-M 2.13, 2Gb DDR, 100Gb 7200RPM HDD, 128Mb GeForce 6600 Go. |
|
Back to top |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Wed Mar 15, 2006 6:30 pm Post subject: |
|
|
Moved from Installing Gentoo to Desktop Environments. _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
talk is cheap. supply exceeds demand |
|
Back to top |
|
|
|