View previous topic :: View next topic |
Author |
Message |
pianosaurus l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/1479693352425861fdd9968.jpg)
Joined: 19 Apr 2004 Posts: 944 Location: Bash$
|
Posted: Tue May 25, 2004 9:05 pm Post subject: |
|
|
Hehe. You're probably right. I tend to learn the hard way, but I guess I should learn from other peoples mistakes. Note however, when I've used the 'ACCEPT_KEYWORDS="~x86" emerge -av package' approach, I've only emerged one package at a time, never the dependencies. So adding them to a packages.keywords would amount to the same thing. I notice when my apps break, and can manually downgrade them. That hasn't happened yet though.
I'm also easily threatened. Hereby fixed. You know, I just noticed something else: Adding the packages to packages.keywords makes the hole process of updating a lot easier... _________________ PKA Cuber
Please add [SOLVED] to the subject of your original post when you feel that your problem is resolved.
Adopt an unanswered post |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
TvL2386 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 27 May 2004 Posts: 1
|
Posted: Thu May 27, 2004 10:39 pm Post subject: |
|
|
Hi....
I'm still a noob on Linux and I've run your set of commands to update my system instead of the "emerge sync && emerge -DUu world" I've been using so far.
I've read this whole thread but a problem occured which I cannot fix.
My pc now tells me it needs "libgdbm.so.2" in order to run apache.
I thought the breaking of packages should be automatically fixed after a depclean and stuff.....
I'm scared my Gentoo is fried... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
robmoss Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
Joined: 27 May 2003 Posts: 2634 Location: Jesus College, Oxford
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
pianosaurus l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/1479693352425861fdd9968.jpg)
Joined: 19 Apr 2004 Posts: 944 Location: Bash$
|
Posted: Fri May 28, 2004 4:23 am Post subject: |
|
|
TvL2386 wrote: | I thought the breaking of packages should be automatically fixed after a depclean and stuff..... |
"emerge depclean" can do things like that. Try not to run it too often. It's always easy to fix though (see above). _________________ PKA Cuber
Please add [SOLVED] to the subject of your original post when you feel that your problem is resolved.
Adopt an unanswered post |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
robmoss Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
Joined: 27 May 2003 Posts: 2634 Location: Jesus College, Oxford
|
Posted: Fri May 28, 2004 9:07 am Post subject: |
|
|
No no, emerge depclean should be run often. Having extraneous packages on your system increases both the attack surface and the potential for instability. Plus, they won't get updated if there's a security hole in one of them, even if you do an "emerge -uD world". It's perfectly safe as long as you check it's not going to remove anything drastically important (like coreutils or portage) and as long as you run revdep-rebuild afterwards. _________________ Reality is for those who can't face Science Fiction.
emerge -U will kill your Gentoo
ecatmur, Lord of Portage Bash Scripts |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Vagrant n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 26 May 2004 Posts: 1 Location: Australia
|
Posted: Fri May 28, 2004 4:56 pm Post subject: |
|
|
You know what, I wish I had read this thread a few days ago..
Hopefully I won't break my system again any time soon..
Cheers. ![Very Happy :D](images/smiles/icon_biggrin.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Little Nemo l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/211899005440682e152dea1.gif)
Joined: 29 Mar 2004 Posts: 623 Location: Berlin, Germany
|
Posted: Fri May 28, 2004 7:00 pm Post subject: |
|
|
Vagrant wrote: | You know what, I wish I had read this thread a few days ago.. ![Crying or Very sad :cry:](images/smiles/icon_cry.gif) |
Well, if that didn't break the moderator's heart, what would? Please make this thread sticky, please! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
teedog Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 09 Mar 2004 Posts: 211
|
Posted: Sat May 29, 2004 5:47 am Post subject: |
|
|
robmoss2k wrote: | My system is rock stable, and I use this process to update it:
Code: | emerge sync
emerge -uDpv world
emerge -uDv world
emerge -pv depclean
emerge -v depclean
revdep-rebuild -pv
revdep-rebuild -v
dispatch-conf |
|
robmoss2k, maybe you should replace depclean with "pruneworld -d". I bet lots of people read this post since it is linked to below your numerous helpful posts. Wouldn't want people to run the stupid depclean which breaks things most of the time, would we? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
robmoss Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
Joined: 27 May 2003 Posts: 2634 Location: Jesus College, Oxford
|
Posted: Sat May 29, 2004 1:02 pm Post subject: |
|
|
I'm going to update it as soon as I'm satisfied that pruneworld is sufficiently stable. It's much, much better, but Ed is about to split everything off into various different scripts to make everything more modular, so I'm going to let him do that and then let everything settle down again before I start recommending that. _________________ Reality is for those who can't face Science Fiction.
emerge -U will kill your Gentoo
ecatmur, Lord of Portage Bash Scripts |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Hauser l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/1138487462403d30e0c0fca.jpg)
Joined: 27 Dec 2003 Posts: 650 Location: 4-dimensional hyperplane
|
Posted: Sat May 29, 2004 9:37 pm Post subject: |
|
|
teedog wrote: | robmoss2k, maybe you should replace depclean with "pruneworld -d". I bet lots of people read this post since it is linked to below your numerous helpful posts. Wouldn't want people to run the stupid depclean which breaks things most of the time, would we? |
I agree, but for me it's to avoid accidentally unmerging something I use. For example, here's part of the messages produced by typing 'emerge -pv depclean' on my system:
Code: | >>> These are the packages that I would unmerge:
media-sound/mpg123
selected: 0.59s-r2
protected: none
omitted: none
sys-apps/qingy
selected: 0.4.0
protected: none
omitted: none |
_________________ AMD Athlon XP 2600+; 512M RAM;
nVidia FX5700LE; Hitachi 120Gb
2.6.9-nitro4, reiser4, linux26-headers+nptl
Do I like to compile everything?
Positive definite! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
robmoss Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
Joined: 27 May 2003 Posts: 2634 Location: Jesus College, Oxford
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Hauser l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/1138487462403d30e0c0fca.jpg)
Joined: 27 Dec 2003 Posts: 650 Location: 4-dimensional hyperplane
|
Posted: Sat May 29, 2004 10:08 pm Post subject: |
|
|
It turns out those packages are missing in my world file (probably caused by some bad emerging habit I used to have many months ago). Now by putting them in the package.keywords file and reemerging, the problem is gone. ![Smile :)](images/smiles/icon_smile.gif) _________________ AMD Athlon XP 2600+; 512M RAM;
nVidia FX5700LE; Hitachi 120Gb
2.6.9-nitro4, reiser4, linux26-headers+nptl
Do I like to compile everything?
Positive definite! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
robmoss Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
Joined: 27 May 2003 Posts: 2634 Location: Jesus College, Oxford
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Stubzz n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 02 Apr 2004 Posts: 28
|
Posted: Tue Jun 01, 2004 2:57 pm Post subject: |
|
|
I've been trying to use the proper method that robmoss2k has said in this thread but I've got a question. When ever I try to install a masked package such as entrance, I'll put entrance into my packageskeywords file and it installs fine. However some of it's dependancies are still masked (such as edje in this example), should I add them to my keywords file too? I didn't really want to add to many 'unstable' packages in there and not have a clue what breaks if/when my systems does |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ecatmur Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/5622172253f9614e2d706d.jpg)
Joined: 20 Oct 2003 Posts: 3595 Location: Edinburgh
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
barcodez n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 04 May 2004 Posts: 69
|
Posted: Sat Jun 05, 2004 5:31 pm Post subject: |
|
|
any chance of the pruneworld enchanced version of this howto? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
robmoss Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
Joined: 27 May 2003 Posts: 2634 Location: Jesus College, Oxford
|
Posted: Sat Jun 05, 2004 7:56 pm Post subject: |
|
|
Not unless Ed decides to split off his programme into two trees - "dep" and "dep-stable" (pruneworld is now called dep). It's broken here at the moment... _________________ Reality is for those who can't face Science Fiction.
emerge -U will kill your Gentoo
ecatmur, Lord of Portage Bash Scripts |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
shenakan n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/9007654553faa8484da723.jpg)
Joined: 06 Nov 2003 Posts: 37 Location: Toulouse France
|
Posted: Sun Jun 06, 2004 10:13 pm Post subject: |
|
|
I get this meessage for emerge --oneshot ORBit2 libidl
Code: |
merge --oneshot ORBit2 libidl
Calculating dependencies \
emerge: there are no masked or unmasked ebuilds to satisfy "libidl".
!!! Error calculating dependencies. Please correct.
|
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
dhurt Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 14 May 2003 Posts: 278 Location: Davis, CA
|
Posted: Sun Jun 06, 2004 11:41 pm Post subject: |
|
|
Question about rev-deprebuild. I used to run gnome destktop on this system and now have gotten rid of it, but some of the library files seem to still be around. Thank goodness I finally got revdep from trying to rebuild ORBit and whatnot. They do not seem to be associated with any programs. How would I go about removing the files, or should I even care?
1) Is it safe to just delete them?
2) Should I use the file system cruft program?
For instance:
Code: |
# revdep-rebuild
Checking reverse dependencies...
Packages containing binaries and libraries broken by any package update, will be recompiled.
Collecting system binaries and libraries... done.
(/root/.revdep-rebuild.1_files)
Collecting complete LD_LIBRARY_PATH... done.
(/root/.revdep-rebuild.2_ldpath)
Checking dynamic linking consistency...
broken /usr/lib/libgdkcardimage.so.0.0.0 (requires libgnomeui-2.so.0 libbonoboui-2.so.0 libgnomecanvas-2.so.0 libgnome-2.so.0 libbonobo-2.so.0 libgconf-2.so.4 libgnomevfs-2.so.0 libbonobo-activation.so.4 libORBit-2.so.0)
<snip>
broken /usr/lib/libnautilus.so.2.0.0 (requires libgnomeui-2.so.0 libglade-2.0.so.0 libbonoboui-2.so.0 libgnomecanvas-2.so.0 libgnome-2.so.0 libbonobo-2.so.0 libgconf-2.so.4 libgnomevfs-2.so.0 libbonobo-activation.so.4 libORBit-2.so.0 libgnomeui-2.so.0 libbonoboui-2.so.0 libgnomecanvas-2.so.0 libgnome-2.so.0 libbonobo-2.so.0 libgconf-2.so.4 libgnomevfs-2.so.0 libbonobo-activation.so.4 libORBit-2.so.0 libglade-2.0.so.0 libgnomecanvas-2.so.0)
broken /opt/Maple9/bin.IBM_INTEL_LINUX/matlink.so (requires libmx.so libeng.so)
done.
(/root/.revdep-rebuild.3_rebuild)
Assigning files to ebuilds... done.
(/root/.revdep-rebuild.4_ebuilds)
Evaluating package order... done.
(/root/.revdep-rebuild.5_order)
Dynamic linking on your system is consistent... All done.
|
[code] _________________ "And isn't sanity really just a one-trick pony, anyway? I mean, all you get is one trick, rational thinking, but when you're good and crazy, ooh ooh ooh, the sky's the limit!" -- The Tick |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
robmoss Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
Joined: 27 May 2003 Posts: 2634 Location: Jesus College, Oxford
|
Posted: Mon Jun 07, 2004 12:25 am Post subject: |
|
|
shenakan: Sorry, it shoudl have been this:
Code: | emerge --oneshot ORBit2 libIDL |
ender2431 wrote: | Question about revdep-rebuild. I used to run gnome destktop on this system and now have gotten rid of it, but some of the library files seem to still be around. Thank goodness I finally got revdep from trying to rebuild ORBit and whatnot. They do not seem to be associated with any programs. How would I go about removing the files, or should I even care?
1) Is it safe to just delete them?
2) Should I use the file system cruft program? |
You should get both "dep" and "cruft" - two of ecatmur's scripts. Use "dep -d" to clean out any and all unnecessary packages. Once you've done that, run "cruft" to find out what's been left over from any package unmerges. Then, remove /root/.revdep* and re-run revdep-rebuild. It is indeed safe to "just delete them" as long as they don't belong to anything. _________________ Reality is for those who can't face Science Fiction.
emerge -U will kill your Gentoo
ecatmur, Lord of Portage Bash Scripts |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
calhoun Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 14 Nov 2003 Posts: 91 Location: Point Pleasant, NJ
|
Posted: Tue Jun 08, 2004 3:56 am Post subject: |
|
|
![Smile :)](images/smiles/icon_smile.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ecatmur Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/5622172253f9614e2d706d.jpg)
Joined: 20 Oct 2003 Posts: 3595 Location: Edinburgh
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
larand54 l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/gallery/Futurama/cartoon_futurama_fry_2.gif)
Joined: 20 Feb 2004 Posts: 695 Location: Sweden
|
Posted: Tue Jun 08, 2004 6:07 am Post subject: |
|
|
After running Code: | emerge -pv depclean | I'll get this: Code: | Packages installed: 239
Packages in world: 1
Packages in system: 66
Unique package names: 104
Required packages: 105
Number to remove: 135
|
Of course there where a list of packages that would be removed before this.
How would I know if i t safe to run:
Is there a way to check each package in the list or do I have to check each package manually?
A hell of a work!
I don't either know if I shall run even if the system recommend me to. Its around 80 files to update. And there's no help to do the check. I looked at a couple of files but they just looked like some skeletons.
What help do the -p switch give me? Ok it presents you with a list of packages buthow would I know how to deal with it?
If I really find some packet that I'm sure I would not like to have in the list - what can I do with it?
For me it's more like ' Run the command - and pray' |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
nevynxxx Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 12 Nov 2003 Posts: 1123 Location: Manchester - UK
|
Posted: Tue Jun 08, 2004 9:10 am Post subject: |
|
|
larand54 wrote: |
A hell of a work!
I don't either know if I shall run even if the system recommend me to. Its around 80 files to update. And there's no help to do the check. I looked at a couple of files but they just looked like some skeletons.
What help do the -p switch give me? Ok it presents you with a list of packages buthow would I know how to deal with it?
If I really find some packet that I'm sure I would not like to have in the list - what can I do with it?
For me it's more like ' Run the command - and pray' |
P switch is pretend, it tells you what will happen without the -p.
The above are why etc-update and emerge depclean shoudl be run often.
The more you do it, the less there is to do each time.
etc-update, *must* be run, it is vital. _________________ My Public Key
Wanted: Instructor in the art of Bowyery |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
hepta_sean Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/278996053453d655d8b5b7.png)
Joined: 27 Apr 2004 Posts: 246 Location: Berlin, Germany
|
Posted: Tue Jun 08, 2004 12:14 pm Post subject: |
|
|
larand54 wrote: | Code: | Packages in world: 1 |
|
This doesn't look good. Did you emerge all of your packages with --oneshot? Otherwise they should have been included in the world file automatically.
So you should go through the list of packages, emerge -p depclean would unmerge and add the ones you want to the world file. If you're really sure, that you want to clean everything emerge -p depclean outputs, you can issue emerge depclean and they will all be removed. After that you should do revdep-rebuild, this will rebuild all binaries, that were linked against removed packages.
Quote: | Is there a way to check each package in the list or do I have to check each package manually? |
What do you mean by check? No, the computer can't figure out, what you want to have on your system.
Quote: | I don't either know if I shall run even if the system recommend me to. Its around 80 files to update. And there's no help to do the check. I looked at a couple of files but they just looked like some skeletons. |
You should definitely update the configuration files, as nevynxx already said. You could use dispatch-conf instead, which has abilities to automatically update changes in CVS-headers, comments or whitespace and files not touched by the user. (Look into /etc/dispatch-conf.conf for configuring these features.)
HTH, sean |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|