Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge --usepkg kde fail-what happens to the files? [solved]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
simvin76
Tux's lil' helper
Tux's lil' helper


Joined: 05 Oct 2005
Posts: 96

PostPosted: Thu Oct 06, 2005 11:51 pm    Post subject: emerge --usepkg kde fail-what happens to the files? [solved] Reply with quote

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
View user's profile Send private message
davascript
l33t
l33t


Joined: 07 Apr 2004
Posts: 618
Location: Pennsylvania

PostPosted: Fri Oct 07, 2005 12:15 am    Post subject: Reply with quote

You can run thsi to uninstal the emerged packages
Code:
unmerge kde

I dont think i would emerge anything at the same time as kde
Back to top
View user's profile Send private message
simvin76
Tux's lil' helper
Tux's lil' helper


Joined: 05 Oct 2005
Posts: 96

PostPosted: Fri Oct 07, 2005 12:34 am    Post subject: Reply with quote

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
View user's profile Send private message
davascript
l33t
l33t


Joined: 07 Apr 2004
Posts: 618
Location: Pennsylvania

PostPosted: Fri Oct 07, 2005 12:40 am    Post subject: Reply with quote

sorry for the wrong command. thats telling you ther isnt anything installed so you dont have to worry about it
Back to top
View user's profile Send private message
simvin76
Tux's lil' helper
Tux's lil' helper


Joined: 05 Oct 2005
Posts: 96

PostPosted: Fri Oct 07, 2005 1:31 am    Post subject: Reply with quote

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
View user's profile Send private message
Sven Vermeulen
Retired Dev
Retired Dev


Joined: 29 Aug 2002
Posts: 1345
Location: Mechelen, Belgium

PostPosted: Fri Oct 07, 2005 10:39 am    Post subject: Reply with quote

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
View user's profile Send private message
simvin76
Tux's lil' helper
Tux's lil' helper


Joined: 05 Oct 2005
Posts: 96

PostPosted: Fri Oct 07, 2005 10:57 am    Post subject: Reply with quote

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
View user's profile Send private message
Sven Vermeulen
Retired Dev
Retired Dev


Joined: 29 Aug 2002
Posts: 1345
Location: Mechelen, Belgium

PostPosted: Fri Oct 07, 2005 11:45 am    Post subject: Reply with quote

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
View user's profile Send private message
simvin76
Tux's lil' helper
Tux's lil' helper


Joined: 05 Oct 2005
Posts: 96

PostPosted: Fri Oct 07, 2005 1:00 pm    Post subject: Reply with quote

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
View user's profile Send private message
Sven Vermeulen
Retired Dev
Retired Dev


Joined: 29 Aug 2002
Posts: 1345
Location: Mechelen, Belgium

PostPosted: Fri Oct 07, 2005 1:20 pm    Post subject: Reply with quote

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
View user's profile Send private message
simvin76
Tux's lil' helper
Tux's lil' helper


Joined: 05 Oct 2005
Posts: 96

PostPosted: Fri Oct 07, 2005 1:44 pm    Post subject: emerge --usepkg kde fail-what happens to the files? [solved] Reply with quote

Thinks are becoming a little bit clearer.

Thank you very much


/Simon
Back to top
View user's profile Send private message
etequess
n00b
n00b


Joined: 12 Feb 2006
Posts: 5

PostPosted: Sun Feb 12, 2006 5:32 pm    Post subject: Reply with quote

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
View user's profile Send private message
rizzurant
Tux's lil' helper
Tux's lil' helper


Joined: 20 Feb 2006
Posts: 83
Location: Indonesia

PostPosted: Wed Mar 15, 2006 6:26 am    Post subject: Reply with quote

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
View user's profile Send private message
jballou
Tux's lil' helper
Tux's lil' helper


Joined: 10 Mar 2005
Posts: 128
Location: Baghdad, Iraq

PostPosted: Wed Mar 15, 2006 12:57 pm    Post subject: Reply with quote

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
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Wed Mar 15, 2006 6:30 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum