View previous topic :: View next topic |
Author |
Message |
HydroSan l33t
Joined: 04 Mar 2004 Posts: 764 Location: The Kremlin (aka Canada)
|
Posted: Thu Apr 22, 2004 12:38 am Post subject: |
|
|
Forget emerge -U world. ACCEPT_KEYWORDS="~x86" emerge -U world is the only way to go, baby~. _________________ I was a Gangster for Capitalism, by Major General Smedley Butler.
Server status: Currently down, being replaced with fresh install - 20% completed. |
|
Back to top |
|
|
robmoss Retired Dev
Joined: 27 May 2003 Posts: 2634 Location: Jesus College, Oxford
|
Posted: Thu Apr 22, 2004 12:52 am Post subject: |
|
|
HydroSan wrote: | Forget emerge -U world. ACCEPT_KEYWORDS="~x86" emerge -U world is the only way to go, baby~. |
Huh? This doesn't really make any sense. Like I said before, you shouldn't be putting ACCEPT_KEYWORDS="~x86" on the command line, you shouldn't be using "-U"; instead you should put ACCEPT_KEYWORDS="x86" or "~x86" in /etc/make.conf, use "-u", and if you've set "x86" you should use /etc/portage/package.keywords to specify which particular packages you want to use ~x86 for. _________________ 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 |
|
|
=DvD= Veteran
Joined: 25 Mar 2004 Posts: 1353
|
Posted: Thu Apr 22, 2004 9:34 pm Post subject: |
|
|
Instead of using revdep-rebuild AFTER emerge depclean wich at this time may no more be working, i do an
Code: | for i in $( emerge -p depclean | grep "/" ) ; do qpkg -I -q $i ; done |
and i see if any packages that emerge depclean wants to unmerge are needed by others!
Good luck! |
|
Back to top |
|
|
nmcsween Guru
Joined: 12 Nov 2003 Posts: 381
|
Posted: Thu Apr 22, 2004 9:57 pm Post subject: |
|
|
I've heard some evil things happening with emerge -UD world but I've never had a single problem with it and I have ACCEPT_KEYWORDS="~x86" in my make.conf. Never had a problem never. Also I do an emerge sync every 6 hours via cron and emerge -UD world when X is idle for more than 20 minutes. Workes great. |
|
Back to top |
|
|
robmoss Retired Dev
Joined: 27 May 2003 Posts: 2634 Location: Jesus College, Oxford
|
Posted: Thu Apr 22, 2004 10:11 pm Post subject: |
|
|
Ultraoctane - you'll have a problem with it when it disappears, won't you? It's deprecated for a reason, they don't just do these things to be sadistic... _________________ 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 |
|
|
=DvD= Veteran
Joined: 25 Mar 2004 Posts: 1353
|
Posted: Fri Apr 23, 2004 11:59 am Post subject: |
|
|
Ultraoctane.com wrote: | I've heard some evil things happening with emerge -UD world but I've never had a single problem with it and I have ACCEPT_KEYWORDS="~x86" in my make.conf. Never had a problem never. Also I do an emerge sync every 6 hours via cron and emerge -UD world when X is idle for more than 20 minutes. Workes great. |
you should sync once a day... |
|
Back to top |
|
|
gtaluvit Tux's lil' helper
Joined: 09 Aug 2003 Posts: 135 Location: Columbia, MD
|
Posted: Fri Apr 23, 2004 1:20 pm Post subject: |
|
|
You shouldn't even do that. Well, there's nothing wrong with it per se, but you can at least look at packages.gentoo.org and see if there was anything that day worth syncing for. Also, its all well and good to run a ~x86 system always if you want, but something at some point WILL break. I'm surprised nothing has yet for you. _________________ I'm out of bed and dressed, what more do you want? |
|
Back to top |
|
|
robmoss Retired Dev
Joined: 27 May 2003 Posts: 2634 Location: Jesus College, Oxford
|
Posted: Fri Apr 23, 2004 1:37 pm Post subject: |
|
|
gtaluvit wrote: | You shouldn't even do that. Well, there's nothing wrong with it per se, but you can at least look at packages.gentoo.org and see if there was anything that day worth syncing for. Also, its all well and good to run a ~x86 system always if you want, but something at some point WILL break. I'm surprised nothing has yet for you. |
Not necessarily. ~x86 is remarkably stable, there's just no guarantees. And hey, it's more fun when things break _________________ 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 |
|
|
curmudgeon Veteran
Joined: 08 Aug 2003 Posts: 1741
|
Posted: Sun May 02, 2004 8:19 pm Post subject: |
|
|
robmoss2k wrote: |
Code: | emerge sync
emerge -uDpv world
emerge -uDv world
emerge -pv depclean
emerge -v depclean
revdep-rebuild -pv
revdep-rebuild -v
dispatch-conf |
|
OK, I will adopt this from this point forward. But I
have a problem with the revdep-rebuild. It doesn't
seem to correct the problem it finds.
Code: | # revdep-rebuild -pv
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 /opt/blackdown-jdk-1.4.1/jre/plugin/i386/mozilla/javaplugin_oji.so (requires libxpcom.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)
All prepared. Starting rebuild...
emerge --oneshot --nodeps -pv =dev-java/blackdown-jdk-1.4.1
..........
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild R ] dev-java/blackdown-jdk-1.4.1 -doc 79,032 kB
Total size of downloads: 79,032 kB
Build finished correctly. Removing temporary files... ..........
You can re-run revdep-rebuild to verify that all libraries and binaries
are fixed. If some inconsistency remains, it can be orphaned file, deep
dependency, binary package or specially evaluated library.
|
So I ran it without the -p option, so it reemerged
blackdown-jdk, but when I ran revdep-rebuild
again, I got exactlp the same output. Can someone
explain the problem? |
|
Back to top |
|
|
tsawyer n00b
Joined: 06 Jun 2002 Posts: 22
|
Posted: Mon May 03, 2004 2:29 am Post subject: Why is revdep-rebuild wanting to emerge blackdown-jdk? |
|
|
Funny, it does the same thing on my system. blackdown-jdk must break its own dependencies or something like that. _________________ There are 10 types of people in this world, those who understand binary and those who do not. |
|
Back to top |
|
|
ecatmur Advocate
Joined: 20 Oct 2003 Posts: 3595 Location: Edinburgh
|
|
Back to top |
|
|
hepta_sean Apprentice
Joined: 27 Apr 2004 Posts: 246 Location: Berlin, Germany
|
Posted: Mon May 03, 2004 7:05 am Post subject: |
|
|
Hello!
First of all, thanks a lot for this _very_ useful thread!
So, I changed my update strategy from using aliases for "emerge sync", "emerge --update --upgradeonly world" () and "emerge depclean" to using the following script:
Code: | #!/bin/sh
sudo emerge sync
sudo emerge --update --deep --verbose --ask world
sudo emerge --verbose --ask depclean
sudo revdep-rebuild --verbose --ask
sudo /usr/sbin/dispatch-conf |
Now the problem: During "revdep-rebuild --verbose --ask" the following error occurs:
Code: | emerge --oneshot --nodeps --verbose --ask =gnome-base/gnome-vfs-1.0.5-r3 =gnome-base/control-center-1.4.0.5-r1 =gnome-base/gconf-1.0.8-r5 =media-gfx/imagemagick-5.5.7.15
..........
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild R ] gnome-base/gnome-vfs-1.0.5-r3 +doc +nls +ssl 0 kB
[ebuild R ] gnome-base/control-center-1.4.0.5-r1 +nls 0 kB
[ebuild R ] gnome-base/gconf-1.0.8-r5 +nls 0 kB
[ebuild R ] media-gfx/imagemagick-5.5.7.15 +X +cups +jbig +jpeg +lcms +mpeg +png +tiff +truetype +wmf +xml2 0 kB
Total size of downloads: 0 kB
Do you want me to merge these packages? [Yes/No] Traceback (most recent call last):
File "/usr/bin/emerge", line 2566, in ?
if userquery(prompt)=="No":
File "/usr/bin/emerge", line 49, in userquery
response=raw_input("["+string.join([colours[i](responses[i]) for i in range(len(responses))],"/")+"] ")
EOFError: EOF when reading a line |
Seems to me, the "--ask" option interferes with some other option, but I don't speak Python.
Any suggestions?
Regards,
sean
EDIT: Thinking it over again, it could also be, that revdep-rebuild is not able to handle a call to emerge, which requires user interaction, and, hence, there is this EOFError. But, nevertheless, emerge should somehow catch empty inputs, shouldn't it?
EDIT: O.K., I found this bug in revdep-rebuild and this bug (the second issue there) in emerge, which pretty much explain the behaviour. Too bad, they don't consider the issue in emerge worth fixing. |
|
Back to top |
|
|
ecatmur Advocate
Joined: 20 Oct 2003 Posts: 3595 Location: Edinburgh
|
Posted: Mon May 03, 2004 3:34 pm Post subject: |
|
|
Yup, the problem is this code in revdep-rebuild:
Code: | # Run in background to correctly handle Ctrl-C
(
emerge --oneshot --nodeps $@ $REBUILD_LIST
echo $? >$LLIST.6_status
) &
wait | This prevents emerge --ask from getting any input.
I guess the solution would be for revdep-rebuild to catch --ask and ask the question itself (using emerge -pv to list packages). You could file a bug if you want.
A workaround would be to use --pretend and then rerun revdep-rebuild - it doesn't have to recalculate deps so it won't be too slow. _________________ No more cruft
dep: Revdeps that work
Using command-line ACCEPT_KEYWORDS? |
|
Back to top |
|
|
VeSCeRa Tux's lil' helper
Joined: 11 Apr 2004 Posts: 111
|
Posted: Tue May 04, 2004 12:07 am Post subject: |
|
|
i have installed gnome 2.6.0 via accept keywords ~86 and nothing went wrong but what should i do then ?
i also installed amsn and sim via accept keywords ~86 and amsn works sim not |
|
Back to top |
|
|
rmalolepszy Apprentice
Joined: 01 Jan 2004 Posts: 167
|
Posted: Tue May 04, 2004 1:52 pm Post subject: |
|
|
Many of the masked packages will function properly, or nearly properly. They are not, however, recommended for production environments or the most stable of systems.
Quote: | i have installed gnome 2.6.0 via accept keywords ~86 and nothing went wrong but what should i do then ? |
If nothing went wrong, great, that's what we're all looking for to happen, and almost always does. _________________ Cheers,
Ryan |
|
Back to top |
|
|
robmoss Retired Dev
Joined: 27 May 2003 Posts: 2634 Location: Jesus College, Oxford
|
Posted: Tue May 04, 2004 3:11 pm Post subject: |
|
|
I *think* what he means is that he needs to put "gnome-base/gnome ~x86" in /etc/portage/package.keywords. If you get errors relating to masked packages, the package that appears masked will have to go in package.keywords as well. _________________ 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 |
|
|
unstable_geek Tux's lil' helper
Joined: 01 Mar 2003 Posts: 102 Location: In my own happy place
|
Posted: Tue May 04, 2004 7:46 pm Post subject: |
|
|
I've read this thread, and I dont understand how to fix my problem.
anytime I use emerge, I get this error:
Code: |
Calculating depclean dependencies -
!!! all ebuilds that could satisfy "net-nds/openldap" have been masked.
!!! possible candidates are:
- net-nds/openldap-2.1.30 (masked by: profile, ~keyword)
- net-nds/openldap-2.1.26 (masked by: profile)
- net-nds/openldap-2.1.27 (masked by: profile, ~keyword)
- net-nds/openldap-2.1.27-r1 (masked by: profile, ~keyword)
!!! (dependency required by "net-nds/migrationtools-44-r1" [ebuild])
!!! Problem with ebuild net-nds/migrationtools-44-r1
!!! Possibly a DEPEND/*DEPEND problem.
|
I have no /etc/portage/package.keywords
I dont remember using ACCEPT_KEYOWRDS ~x86 when I intalled ldap.
I looked at the migrationtolls ebuild, and the interesting lines from that are:
Code: |
KEYWORDS="x86 sparc ~amd64"
DEPEND=""
RDEPEND="net-nds/openldap"
|
From my make.conf:
Code: |
USE="apache2 cjk cscope dga dv dvb dvd ethereal evo fam ffmpeg flac \
foomaticdb foreign-package freetds freetype gd gnomedb gstreamer gtk2 \
hbci imagemagick imap javascript jikes libgda ltsp mad mdb mono \
moznocompose moznoirc mpeg4 mpi msn odbc offensive ofx pda plotutils \
radeon rage128 samba transcode usb v4l wmf xinerama xvid zlib -oss \
-java -alsa"
|
help?
_________________ I hate my sig |
|
Back to top |
|
|
hepta_sean Apprentice
Joined: 27 Apr 2004 Posts: 246 Location: Berlin, Germany
|
Posted: Tue May 04, 2004 8:25 pm Post subject: |
|
|
Hello!
On my system emerge gives the following:
Code: | sean@lois sean $ emerge -p migrationtools
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild N ] net-nds/openldap-2.1.26
[ebuild N ] net-nds/migrationtools-44-r1 |
Your system tells you that all openldaps are masked by /usr/portage/profiles/package.mask (that's the "masked by: profile" thing), but as I can see it here, they shouldn't be (there's only a line concerning openldap-2.0.25-r3 in my package.mask and it's commented).
Perhaps an "emerge sync" fixes it?
Regards, sean[/code] |
|
Back to top |
|
|
robmoss Retired Dev
Joined: 27 May 2003 Posts: 2634 Location: Jesus College, Oxford
|
Posted: Tue May 04, 2004 8:28 pm Post subject: |
|
|
unstable_geek,
There are two options here. Either you've masked openldap-2.1.26 yourself, or you need to emerge sync. If it's the former, remove the relevant line from /etc/portage/package.mask. If not, well, I'll let you guess _________________ 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 |
|
|
unstable_geek Tux's lil' helper
Joined: 01 Mar 2003 Posts: 102 Location: In my own happy place
|
Posted: Tue May 04, 2004 8:47 pm Post subject: |
|
|
Code: | jake@coal links $ file /etc/portage/package.mask
/etc/portage/package.mask: cannot open (/etc/portage/package.mask)
|
and I emerge sync every night ..... _________________ I hate my sig |
|
Back to top |
|
|
unstable_geek Tux's lil' helper
Joined: 01 Mar 2003 Posts: 102 Location: In my own happy place
|
Posted: Tue May 04, 2004 8:51 pm Post subject: |
|
|
ahh, no //etc/portage/package.mask, but:
Code: |
coal profiles # grep ldap package.mask
=net-mail/qmail-ldap-1.03-r3
# nss_ldap 209 is borked!
=net-libs/nss_ldap-209
#=net-nds/openldap-2.0.25-r3
app-misc/ldapbrowser
|
but I dont know how to decode this.... _________________ I hate my sig |
|
Back to top |
|
|
robmoss Retired Dev
Joined: 27 May 2003 Posts: 2634 Location: Jesus College, Oxford
|
|
Back to top |
|
|
R!tman Veteran
Joined: 18 Dec 2003 Posts: 1303 Location: Zurich, Switzerland
|
Posted: Tue May 04, 2004 10:59 pm Post subject: |
|
|
Really, very nice post robmoss2k. THANKS! |
|
Back to top |
|
|
robmoss Retired Dev
Joined: 27 May 2003 Posts: 2634 Location: Jesus College, Oxford
|
|
Back to top |
|
|
unstable_geek Tux's lil' helper
Joined: 01 Mar 2003 Posts: 102 Location: In my own happy place
|
Posted: Tue May 04, 2004 11:30 pm Post subject: |
|
|
Code: |
coal profiles # emerge -p openldap
These are the packages that I would merge, in order:
Calculating dependencies
!!! all ebuilds that could satisfy "openldap" have been masked.
!!! possible candidates are:
- net-nds/openldap-2.1.30 (masked by: profile, ~keyword)
- net-nds/openldap-2.1.26 (masked by: profile)
- net-nds/openldap-2.1.27 (masked by: profile, ~keyword)
- net-nds/openldap-2.1.27-r1 (masked by: profile, ~keyword)
!!! Error calculating dependencies. Please correct.
|
thanks a bunch for looking at this mate. _________________ I hate my sig |
|
Back to top |
|
|
|