Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge -U world - How often
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9, 10  Next  
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
HydroSan
l33t
l33t


Joined: 04 Mar 2004
Posts: 764
Location: The Kremlin (aka Canada)

PostPosted: Thu Apr 22, 2004 12:38 am    Post subject: Reply with quote

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


Joined: 27 May 2003
Posts: 2634
Location: Jesus College, Oxford

PostPosted: Thu Apr 22, 2004 12:52 am    Post subject: Reply with quote

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
View user's profile Send private message
=DvD=
Veteran
Veteran


Joined: 25 Mar 2004
Posts: 1353

PostPosted: Thu Apr 22, 2004 9:34 pm    Post subject: Reply with quote

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


Joined: 12 Nov 2003
Posts: 381

PostPosted: Thu Apr 22, 2004 9:57 pm    Post subject: Reply with quote

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


Joined: 27 May 2003
Posts: 2634
Location: Jesus College, Oxford

PostPosted: Thu Apr 22, 2004 10:11 pm    Post subject: Reply with quote

Ultraoctane - you'll have a problem with it when it disappears, won't you? :P 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
View user's profile Send private message
=DvD=
Veteran
Veteran


Joined: 25 Mar 2004
Posts: 1353

PostPosted: Fri Apr 23, 2004 11:59 am    Post subject: Reply with quote

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... :roll: :!:
Back to top
View user's profile Send private message
gtaluvit
Tux's lil' helper
Tux's lil' helper


Joined: 09 Aug 2003
Posts: 135
Location: Columbia, MD

PostPosted: Fri Apr 23, 2004 1:20 pm    Post subject: Reply with quote

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


Joined: 27 May 2003
Posts: 2634
Location: Jesus College, Oxford

PostPosted: Fri Apr 23, 2004 1:37 pm    Post subject: Reply with quote

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


Joined: 08 Aug 2003
Posts: 1740

PostPosted: Sun May 02, 2004 8:19 pm    Post subject: Reply with quote

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


Joined: 06 Jun 2002
Posts: 22

PostPosted: Mon May 03, 2004 2:29 am    Post subject: Why is revdep-rebuild wanting to emerge blackdown-jdk? Reply with quote

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


Joined: 20 Oct 2003
Posts: 3595
Location: Edinburgh

PostPosted: Mon May 03, 2004 5:27 am    Post subject: Reply with quote

The blackdown-jdk bug is at https://bugs.gentoo.org/show_bug.cgi?id=43150

If you want it to be fixed (and it looks very easy to fix) you might want to CC yourselves on the bug and bring it up on the next Bug Day.
_________________
No more cruft
dep: Revdeps that work
Using command-line ACCEPT_KEYWORDS?
Back to top
View user's profile Send private message
hepta_sean
Apprentice
Apprentice


Joined: 27 Apr 2004
Posts: 246
Location: Berlin, Germany

PostPosted: Mon May 03, 2004 7:05 am    Post subject: Reply with quote

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" (:oops:) 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
View user's profile Send private message
ecatmur
Advocate
Advocate


Joined: 20 Oct 2003
Posts: 3595
Location: Edinburgh

PostPosted: Mon May 03, 2004 3:34 pm    Post subject: Reply with quote

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


Joined: 11 Apr 2004
Posts: 111

PostPosted: Tue May 04, 2004 12:07 am    Post subject: Reply with quote

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


Joined: 01 Jan 2004
Posts: 167

PostPosted: Tue May 04, 2004 1:52 pm    Post subject: Reply with quote

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


Joined: 27 May 2003
Posts: 2634
Location: Jesus College, Oxford

PostPosted: Tue May 04, 2004 3:11 pm    Post subject: Reply with quote

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


Joined: 01 Mar 2003
Posts: 102
Location: In my own happy place

PostPosted: Tue May 04, 2004 7:46 pm    Post subject: Reply with quote

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?
8O
_________________
I hate my sig
Back to top
View user's profile Send private message
hepta_sean
Apprentice
Apprentice


Joined: 27 Apr 2004
Posts: 246
Location: Berlin, Germany

PostPosted: Tue May 04, 2004 8:25 pm    Post subject: Reply with quote

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


Joined: 27 May 2003
Posts: 2634
Location: Jesus College, Oxford

PostPosted: Tue May 04, 2004 8:28 pm    Post subject: Reply with quote

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 :P
_________________
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
View user's profile Send private message
unstable_geek
Tux's lil' helper
Tux's lil' helper


Joined: 01 Mar 2003
Posts: 102
Location: In my own happy place

PostPosted: Tue May 04, 2004 8:47 pm    Post subject: Reply with quote

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


Joined: 01 Mar 2003
Posts: 102
Location: In my own happy place

PostPosted: Tue May 04, 2004 8:51 pm    Post subject: Reply with quote

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


Joined: 27 May 2003
Posts: 2634
Location: Jesus College, Oxford

PostPosted: Tue May 04, 2004 8:54 pm    Post subject: Reply with quote

Well if that's the case, can you tell us what the output of "emerge -p openldap" is now?
_________________
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
View user's profile Send private message
R!tman
Veteran
Veteran


Joined: 18 Dec 2003
Posts: 1303
Location: Zurich, Switzerland

PostPosted: Tue May 04, 2004 10:59 pm    Post subject: Reply with quote

Really, very nice post robmoss2k. THANKS!
Back to top
View user's profile Send private message
robmoss
Retired Dev
Retired Dev


Joined: 27 May 2003
Posts: 2634
Location: Jesus College, Oxford

PostPosted: Tue May 04, 2004 11:15 pm    Post subject: Reply with quote

R!tman wrote:
Really, very nice post robmoss2k. THANKS!


Cheers :D
_________________
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
View user's profile Send private message
unstable_geek
Tux's lil' helper
Tux's lil' helper


Joined: 01 Mar 2003
Posts: 102
Location: In my own happy place

PostPosted: Tue May 04, 2004 11:30 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9, 10  Next
Page 2 of 10

 
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