Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
help requested:1) how to upgrade portage 2)the -u in emerge.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
gordonNgentoo
n00b
n00b


Joined: 10 Feb 2003
Posts: 38

PostPosted: Thu May 29, 2003 9:20 am    Post subject: help requested:1) how to upgrade portage 2)the -u in emerge. Reply with quote

1)
I've gotten a message to upgrade my portage..how do I do this?
I typed emerge -p portage and echoed:

[ebuild U ] sys-apps/portage-2.0.48 [2.0.47-r10]

so do I do emerge -p -u portage
or do I do emerge -p portage?

with the -u switch //upgrade, will it delete the old portage and install
the new or will it keep the old in my directory and install a new portage?

I"ve tried both with the -p and this is what resulted:

ace root # emerge -p portage

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild U ] sys-apps/portage-2.0.48 [2.0.47-r10]

ace root # emerge -p -u portage

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild U ] dev-python/python-fchksum-1.6.1-r1 [1.6.1]
[ebuild UD] sys-devel/gettext-0.11.5 [0.11.5-r1]
[ebuild UD] sys-devel/binutils-2.13.90.0.18 [2.13.90.0.18-r1]
[ebuild U ] sys-apps/sed-4.0.7 [4.0.5]
[ebuild UD] sys-apps/texinfo-4.3-r1 [4.5]
[ebuild U ] sys-devel/gcc-config-1.3.3-r1 [1.3.1]
[ebuild UD] sys-devel/gcc-3.2.2 [3.2.2-r1]
[ebuild U ] sys-apps/gawk-3.1.2-r3 [3.1.1-r1]
[ebuild U ] sys-apps/baselayout-1.8.5.9 [1.8.5.8]
[ebuild UD] sys-libs/glibc-2.3.1-r4 [2.3.2]
[ebuild U ] sys-apps/debianutils-1.16.7-r1 [1.16.3]
[ebuild U ] sys-apps/portage-2.0.48 [2.0.47-r10]


CAN SOMEONE OF ABSOLUTE AUTHORITY TELL ME WHICH I SHOULD DO? I DON'T WANT TO SCREW UP MY GENTOO BECAUSE AFTER SOME RESEARCH, PEOPLE HAVE HAD PROBLEMS WITH THE -u switch..


2) (similarly):
I'm currently using mysql 3.23.54 and when I type
emerge -p mysql it gives me

Calculating dependencies ...done!
[ebuild U ] dev-db/mysql-3.23.56 [3.23.54a]
[ebuild N ] dev-perl/Net-Daemon-0.36-r1
[ebuild N ] dev-perl/Test-Harness-2.24-r1
[ebuild N ] dev-perl/Test-Simple-0.47
[ebuild N ] dev-perl/Storable-2.04-r1
[ebuild N ] dev-perl/PlRPC-0.2016-r1
[ebuild N ] dev-perl/DBI-1.32
[ebuild N ] dev-perl/DBD-mysql-2.1013-r1

ace root # emerge -p -u mysql

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild UD] sys-devel/gettext-0.11.5 [0.11.5-r1]
[ebuild U ] sys-apps/procps-3.1.8 [2.0.10-r1]
[ebuild U ] dev-python/python-fchksum-1.6.1-r1 [1.6.1]
[ebuild U ] sys-apps/debianutils-1.16.7-r1 [1.16.3]
[ebuild U ] sys-apps/sed-4.0.7 [4.0.5]
[ebuild U ] sys-apps/portage-2.0.48 [2.0.47-r10]
*** Portage will stop merging at this point and reload itself,
recalculate dependancies, and complete the merge.

[ebuild UD] sys-devel/binutils-2.13.90.0.18 [2.13.90.0.18-r1]
[ebuild UD] sys-apps/texinfo-4.3-r1 [4.5]
[ebuild U ] sys-devel/gcc-config-1.3.3-r1 [1.3.1]
[ebuild UD] sys-devel/gcc-3.2.2 [3.2.2-r1]
[ebuild U ] sys-apps/gawk-3.1.2-r3 [3.1.1-r1]
[ebuild U ] sys-apps/baselayout-1.8.5.9 [1.8.5.8]
[ebuild UD] sys-libs/glibc-2.3.1-r4 [2.3.2]
[ebuild U ] dev-libs/openssl-0.9.6i-r2 [0.9.6g]
[ebuild U ] dev-db/mysql-3.23.56 [3.23.54a]
[ebuild N ] dev-perl/Test-Harness-2.24-r1
[ebuild N ] dev-perl/Test-Simple-0.47
[ebuild N ] dev-perl/Storable-2.04-r1
[ebuild N ] dev-perl/Net-Daemon-0.36-r1
[ebuild N ] dev-perl/PlRPC-0.2016-r1
[ebuild N ] dev-perl/DBI-1.32
[ebuild N ] dev-perl/DBD-mysql-2.1013-r1

AGAIN, I'M NOT SURE IF I SHOULD BE USING THE -u or no -u when i see the U inside [ebuld ...U]

i've checked the FAQ and don't see answer to this common question and would appreciate it if someone can do a write up (sample included) and explain what's going on before more newbies have their system screwed.

-Gordon :?:
Back to top
View user's profile Send private message
Braempje
l33t
l33t


Joined: 31 Jan 2003
Posts: 748

PostPosted: Thu May 29, 2003 10:04 am    Post subject: Re: help requested:1) how to upgrade portage 2)the -u in eme Reply with quote

gordonNgentoo wrote:
1)
I've gotten a message to upgrade my portage..how do I do this?
I typed emerge -p portage and echoed:

[ebuild U ] sys-apps/portage-2.0.48 [2.0.47-r10]

so do I do emerge -p -u portage
or do I do emerge -p portage?

with the -u switch //upgrade, will it delete the old portage and install
the new or will it keep the old in my directory and install a new portage?

I"ve tried both with the -p and this is what resulted:

ace root # emerge -p portage

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild U ] sys-apps/portage-2.0.48 [2.0.47-r10]

ace root # emerge -p -u portage

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild U ] dev-python/python-fchksum-1.6.1-r1 [1.6.1]
[ebuild UD] sys-devel/gettext-0.11.5 [0.11.5-r1]
[ebuild UD] sys-devel/binutils-2.13.90.0.18 [2.13.90.0.18-r1]
[ebuild U ] sys-apps/sed-4.0.7 [4.0.5]
[ebuild UD] sys-apps/texinfo-4.3-r1 [4.5]
[ebuild U ] sys-devel/gcc-config-1.3.3-r1 [1.3.1]
[ebuild UD] sys-devel/gcc-3.2.2 [3.2.2-r1]
[ebuild U ] sys-apps/gawk-3.1.2-r3 [3.1.1-r1]
[ebuild U ] sys-apps/baselayout-1.8.5.9 [1.8.5.8]
[ebuild UD] sys-libs/glibc-2.3.1-r4 [2.3.2]
[ebuild U ] sys-apps/debianutils-1.16.7-r1 [1.16.3]
[ebuild U ] sys-apps/portage-2.0.48 [2.0.47-r10]


CAN SOMEONE OF ABSOLUTE AUTHORITY TELL ME WHICH I SHOULD DO? I DON'T WANT TO SCREW UP MY GENTOO BECAUSE AFTER SOME RESEARCH, PEOPLE HAVE HAD PROBLEMS WITH THE -u switch..

You'd better use -u, because that will also update the all the other components of your system, so portage can use exactly what it needs in the newer version. The python checksum package for example will be extremely necessary, if you don't install that one I think you risk having serious portage problems... So use -u.
Btw: I often update my system using
Code:
emerge -uD world
after a sync, (I first check what it will update with -p), and that doesn't hurt your system at all, it just gets everything straight and up to date.

gordonNgentoo wrote:
2) (similarly):

Same thing here, use -u.[/code]
Back to top
View user's profile Send private message
gordonNgentoo
n00b
n00b


Joined: 10 Feb 2003
Posts: 38

PostPosted: Thu May 29, 2003 11:32 pm    Post subject: Reply with quote

1)

well i didn't check your reply, but
i did
"emerge portage"
last night.

the above only emerged
[ebuild U ] sys-apps/portage-2.0.48 [2.0.47-r10]


while emerge -p -u portage
would give me this:


Calculating dependencies ...done!
[ebuild U ] dev-python/python-fchksum-1.6.1-r1 [1.6.1]
[ebuild UD] sys-devel/gettext-0.11.5 [0.11.5-r1]
[ebuild UD] sys-devel/binutils-2.13.90.0.18 [2.13.90.0.18-r1]
[ebuild U ] sys-apps/sed-4.0.7 [4.0.5]
[ebuild UD] sys-apps/texinfo-4.3-r1 [4.5]
[ebuild U ] sys-devel/gcc-config-1.3.3-r1 [1.3.1]
[ebuild UD] sys-devel/gcc-3.2.2 [3.2.2-r1]
[ebuild U ] sys-apps/gawk-3.1.2-r3 [3.1.1-r1]
[ebuild U ] sys-apps/baselayout-1.8.5.9 [1.8.5.8]
[ebuild UD] sys-libs/glibc-2.3.1-r4 [2.3.2]
[ebuild U ] sys-apps/debianutils-1.16.7-r1 [1.16.3]
[ebuild U ] sys-apps/portage-2.0.48 [2.0.47-r10]


After emerging with "emerge portage", today
when I do a " emerge -p -u portage"
it gives me nothing!!! so what happeend???
shouldn't it say

[ebuild U ] dev-python/python-fchksum-1.6.1-r1 [1.6.1]
[ebuild UD] sys-devel/gettext-0.11.5 [0.11.5-r1]
[ebuild UD] sys-devel/binutils-2.13.90.0.18 [2.13.90.0.18-r1]
[ebuild U ] sys-apps/sed-4.0.7 [4.0.5]
[ebuild UD] sys-apps/texinfo-4.3-r1 [4.5]
[ebuild U ] sys-devel/gcc-config-1.3.3-r1 [1.3.1]
[ebuild UD] sys-devel/gcc-3.2.2 [3.2.2-r1]
[ebuild U ] sys-apps/gawk-3.1.2-r3 [3.1.1-r1]
[ebuild U ] sys-apps/baselayout-1.8.5.9 [1.8.5.8]
[ebuild UD] sys-libs/glibc-2.3.1-r4 [2.3.2]
[ebuild U ] sys-apps/debianutils-1.16.7-r1 [1.16.3]

needs to be emerged???

2)
Lastly, I choose not to use -u because notice above
where it said:
[ebuild UD] sys-devel/gcc-3.2.2 [3.2.2-r1]

the D stands for potential downgrading. Well, I don't
want to downgrade because some of the stuff I have
is bleeding edge, and if I downgraded it, I anticipate there
be problems!

Can someone with authority answer if my choice
of "emerge portage" was correct (so that I don't end
up having a screwed system, and two, what happens to the bleeding edge stuff if I did emerge -uD world.

I still don't understand the D switch. I wish there's a GOOD MANUAL ON THIS cuz it seems lots of newbies are confused and answers given aren't authoritative enough, and as a result, there's some people with jacked systems that fail to run. :? ARGH
Back to top
View user's profile Send private message
Braempje
l33t
l33t


Joined: 31 Jan 2003
Posts: 748

PostPosted: Fri May 30, 2003 4:39 am    Post subject: Reply with quote

gordonNgentoo wrote:
well i didn't check your reply, but
i did
"emerge portage"
last night.

the above only emerged
[ebuild U ] sys-apps/portage-2.0.48 [2.0.47-r10]


while emerge -p -u portage
would give me this:


Calculating dependencies ...done!
[ebuild U ] dev-python/python-fchksum-1.6.1-r1 [1.6.1]
[ebuild UD] sys-devel/gettext-0.11.5 [0.11.5-r1]
[ebuild UD] sys-devel/binutils-2.13.90.0.18 [2.13.90.0.18-r1]
[ebuild U ] sys-apps/sed-4.0.7 [4.0.5]
[ebuild UD] sys-apps/texinfo-4.3-r1 [4.5]
[ebuild U ] sys-devel/gcc-config-1.3.3-r1 [1.3.1]
[ebuild UD] sys-devel/gcc-3.2.2 [3.2.2-r1]
[ebuild U ] sys-apps/gawk-3.1.2-r3 [3.1.1-r1]
[ebuild U ] sys-apps/baselayout-1.8.5.9 [1.8.5.8]
[ebuild UD] sys-libs/glibc-2.3.1-r4 [2.3.2]
[ebuild U ] sys-apps/debianutils-1.16.7-r1 [1.16.3]
[ebuild U ] sys-apps/portage-2.0.48 [2.0.47-r10]


After emerging with "emerge portage", today
when I do a " emerge -p -u portage"
it gives me nothing!!! so what happeend???
shouldn't it say

[ebuild U ] dev-python/python-fchksum-1.6.1-r1 [1.6.1]
[ebuild UD] sys-devel/gettext-0.11.5 [0.11.5-r1]
[ebuild UD] sys-devel/binutils-2.13.90.0.18 [2.13.90.0.18-r1]
[ebuild U ] sys-apps/sed-4.0.7 [4.0.5]
[ebuild UD] sys-apps/texinfo-4.3-r1 [4.5]
[ebuild U ] sys-devel/gcc-config-1.3.3-r1 [1.3.1]
[ebuild UD] sys-devel/gcc-3.2.2 [3.2.2-r1]
[ebuild U ] sys-apps/gawk-3.1.2-r3 [3.1.1-r1]
[ebuild U ] sys-apps/baselayout-1.8.5.9 [1.8.5.8]
[ebuild UD] sys-libs/glibc-2.3.1-r4 [2.3.2]
[ebuild U ] sys-apps/debianutils-1.16.7-r1 [1.16.3]

needs to be emerged???


No, and that's pretty obvious too: the -u asks portage to update portage, the -p says pretend it. Portage is the newest version, so -p doesn't do anything. IMHO you're crashing your system this way, what does
Code:
emerge -upD world
say?
Back to top
View user's profile Send private message
gordonNgentoo
n00b
n00b


Joined: 10 Feb 2003
Posts: 38

PostPosted: Fri May 30, 2003 6:52 am    Post subject: Reply with quote

No, and that's pretty obvious too: the -u asks portage to update portage, the -p says pretend it. Portage is the newest version, so -p doesn't do anything. IMHO you're crashing your system this way, what does


---------------
1) what do you mean i'm crashing my system this way?? i'm not following you at all.

2) have you ever installed bleeding edge software before you do a emerge -upD world?

3)

ur not making much sense. U didn't read my previous posting careful enough. of course anything with a -p doesn't do anything as it just pretends, I assume u do know what it would do somethign without the -p. I did "emerge portage" and it only updated portage. when I do emerge -p -u portage, i should see other stuff that needs to be updated , but it says nothign needs updated after i did "emerge portage"

Here's something u didn't catch:
In my 1st posting i told you "emerge -p -u portage" listed much more than "emerge -p portage" so if I did "emerge -p -u portage" after "emerge portage", i expect to see more stuff that needs to be emerged, but it didn't. Because of this, I believe something is screwed up.

4)emerge -upD world gives me the following, but notice some
of them has a UD. D stands for the possibility of a Downgrade. But does the U cause it to upgrade by actually downgrading??? (this UD notation is very confusing and some explaination ought to be in the FAQ) I don't
want to downgrade anythign because like I said previously, I've installed some bleeding edge software (newest version)...having done emerge -p -u world would have caused the bleeding edge software to stop functioning..at least this is my theory.. Anyway out there with authority can attest? I really wish this upgrade info can be in the FAQ.


Calculating world dependencies ...done!
[ebuild U ] dev-python/python-fchksum-1.6.1-r1 [1.6.1]
[ebuild U ] sys-apps/debianutils-1.16.7-r1 [1.16.3]
[ebuild UD] sys-devel/gettext-0.11.5 [0.11.5-r1]
[ebuild U ] sys-apps/gawk-3.1.2-r3 [3.1.1-r1]
[ebuild U ] sys-apps/baselayout-1.8.5.9 [1.8.5.8]
[ebuild U ] media-libs/freetype-2.1.4 [2.1.3-r2]
[ebuild U ] x11-misc/ttmkfdir-3.0.9 [3.0.4]
[ebuild U ] dev-libs/expat-1.95.6-r1 [1.95.6]
[ebuild U ] sys-devel/autoconf-2.57-r1 [2.54-r1]
[ebuild U ] sys-devel/automake-1.7.2 [1.6.3]
[ebuild U ] media-libs/fontconfig-2.2.0-r2 [2.1-r1]
[ebuild U ] x11-base/xfree-4.3.0-r2 [4.3.0-r1]
[ebuild U ] dev-lang/tk-8.3.4-r1 [8.3.4]
[ebuild UD] sys-devel/binutils-2.13.90.0.18 [2.13.90.0.18-r1]
[ebuild U ] sys-devel/gcc-config-1.3.3-r1 [1.3.1]
[ebuild UD] sys-devel/gcc-3.2.2 [3.2.2-r1]
[ebuild UD] sys-libs/glibc-2.3.1-r4 [2.3.2]
[ebuild U ] sys-apps/sed-4.0.7 [4.0.5]
[ebuild UD] sys-apps/texinfo-4.3-r1 [4.5]
[ebuild U ] sys-apps/man-1.5l-r3 [1.5k-r1]
[ebuild U ] sys-apps/man-pages-1.56 [1.54]
[ebuild U ] sys-apps/modutils-2.4.25 [2.4.22]
[ebuild U ] sys-kernel/ck-sources-2.4.20-r6 [2.4.20-r4]
[ebuild U ] net-mail/ssmtp-2.48 [2.38.14-r1]
[ebuild U ] sys-apps/shadow-4.0.3-r6 [4.0.3-r3]
[ebuild N ] sys-apps/slocate-2.7-r2
[ebuild U ] sys-apps/findutils-4.1.7-r4 [4.1.7-r1]
[ebuild U ] sys-apps/file-4.02 [3.41]
[ebuild U ] dev-java/java-config-0.2.8 [0.2.7]
[ebuild U ] dev-java/blackdown-jdk-1.4.1 [1.3.1-r7]
[ebuild U ] app-editors/vim-core-6.1-r5 [6.1-r4]
[ebuild U ] app-editors/vim-6.1-r21 [6.1-r19]
[ebuild U ] media-libs/libungif-4.1.0.1b [4.1.0-r1]
[ebuild U ] media-libs/alsa-lib-0.9.2 [0.9.0_rc6]
[ebuild U ] dev-libs/openssl-0.9.6i-r2 [0.9.6g]
[ebuild U ] dev-java/ant-1.5.3-r4 [1.5.1-r2]
[ebuild U ] dev-python/egenix-mx-base-2.0.4 [2.0.3]
[ebuild U ] dev-db/postgresql-7.3.2 [7.3]
[ebuild U ] x11-libs/xft-2.0.1-r2 [2.0.1-r1]
[ebuild U ] sys-apps/procps-3.1.8 [2.0.10-r1]
[ebuild UD] dev-db/mysql-3.23.56 [4.0.12]
[ebuild U ] x11-libs/qt-3.1.2-r3 [3.1.0-r3]
[ebuild U ] dev-util/pkgconfig-0.15.0 [0.14.0]
[ebuild U ] dev-libs/glib-2.2.1-r1 [2.2.1]
[ebuild N ] media-sound/mad-0.14.2b-r2
[ebuild U ] media-libs/libvorbis-1.0-r2 [1.0-r1]
[ebuild U ] kde-base/arts-1.1.2 [1.1.0]
[ebuild U ] dev-libs/popt-1.7-r1 [1.6.3]
[ebuild U ] x11-libs/gtk+-1.2.10-r10 [1.2.10-r9]
[ebuild U ] media-libs/libdvdcss-1.2.6 [1.2.3]
[ebuild U ] media-libs/libdvdread-0.9.4 [0.9.3]
[ebuild U ] dev-libs/libxml2-2.5.6 [2.4.24]
[ebuild U ] dev-libs/libxslt-1.0.29 [1.0.20]
[ebuild U ] dev-util/indent-2.2.9 [2.2.6]
[ebuild U ] gnome-base/gnome-panel-1.4.2-r2 [1.4.2-r1]
[ebuild N ] media-libs/xvid-0.9.1
[ebuild U ] media-video/mplayer-0.90_rc5 [0.90_rc2]
[ebuild U ] net-www/apache-1.3.27-r3 [1.3.27-r1]
[ebuild U ] net-misc/openssh-3.6.1_p2 [3.5_p1]
[ebuild U ] sys-kernel/gentoo-sources-2.4.20-r5 [2.4.20-r1]
[ebuild U ] dev-util/dialog-0.9_beta20020814 [0.9_beta20020519]
[ebuild N ] net-analyzer/netselect-0.3
[ebuild U ] app-admin/mirrorselect-0.5 [0.1-r1]
[ebuild U ] media-sound/alsa-driver-0.9.2 [0.9.0_rc6]
[ebuild U ] sys-apps/hotplug-20020826-r2 [20020401-r1]
[ebuild U ] net-print/cups-1.1.18-r4 [1.1.18-r2]
[ebuild N ] media-libs/libart_lgpl-2.3.11
[ebuild U ] kde-base/kdelibs-3.1.2 [3.1-r2]
[ebuild U ] sys-apps/eject-2.0.12-r1 [2.0.10]
[ebuild U ] net-fs/samba-2.2.8a [2.2.7a]
[ebuild U ] kde-base/kdebase-3.1.2 [3.1-r1]
[ebuild U ] kde-base/kdenetwork-3.1.2 [3.1]
[ebuild U ] kde-base/kdepim-3.1.2 [3.1]
[ebuild U ] kde-base/kdegames-3.1.2 [3.1]
[ebuild U ] media-sound/mpg123-0.59r-r2 [0.59r-r1]
[ebuild U ] kde-base/kdemultimedia-3.1.2 [3.1]
[ebuild U ] kde-base/kdeaddons-3.1.2 [3.1]
[ebuild U ] kde-base/kdeedu-3.1.2 [3.1-r1]
[ebuild U ] app-text/xpdf-2.02 [2.01-r1]
[ebuild U ] kde-base/kdegraphics-3.1.2 [3.1]
[ebuild U ] kde-base/kdeadmin-3.1.2 [3.1]
[ebuild U ] kde-base/kdeartwork-3.1.2 [3.1]
[ebuild U ] kde-base/kdeutils-3.1.2 [3.1]
[ebuild U ] kde-base/kdetoys-3.1.2 [3.1]
[ebuild U ] kde-base/kde-3.1.2 [3.1]
[ebuild U ] sys-apps/gzip-1.3.3-r1 [1.3.3]
[ebuild U ] app-crypt/mhash-0.8.18-r1 [0.8.16]
[ebuild U ] app-text/sablotron-0.97 [0.96]
[ebuild N ] app-text/aspell-0.50.3
[ebuild U ] net-mail/uw-imap-2002c [2001a-r2]
[ebuild U ] dev-php/php-4.3.1 [4.3.0-r3]
[ebuild U ] sys-apps/pam-login-3.10 [3.7]
[ebuild N ] sys-apps/help2man-1.29
[ebuild U ] sys-apps/diffutils-2.8.4-r3 [2.8.4-r1]
[ebuild U ] sys-devel/bin86-0.16.0 [0.15.5]
[ebuild U ] sys-apps/net-tools-1.60-r6 [1.60-r5]
[ebuild U ] app-emulation/wine-20030508 [20021125]
[ebuild U ] sys-apps/psmisc-21.2-r1 [21.2]
[ebuild U ] net-misc/dhcpcd-1.3.22_p4 [1.3.22_p3-r3]
[ebuild U ] sys-apps/hdparm-5.3-r2 [5.2-r3]
[ebuild U ] dev-libs/libIDL-0.8.1 [0.8.0]
[ebuild U ] x11-misc/xloadimage-4.1-r1 [4.1]
[ebuild U ] app-crypt/gnupg-1.2.2 [1.2.1-r1]
[ebuild U ] net-www/mozilla-1.3-r1 [1.2.1-r5]
[ebuild U ] sys-apps/pcmcia-cs-3.2.4 [3.2.1-r3]
[ebuild N ] media-libs/id3lib-3.8.3-r1
[ebuild N ] media-libs/flac-1.1.0
[ebuild N ] media-libs/libfame-0.9.0
[ebuild U ] media-libs/xine-lib-1_beta10 [0.9.13-r2]
[ebuild U ] media-video/xine-ui-0.9.20 [0.9.13]
[ebuild U ] sys-apps/devfsd-1.3.25-r3 [1.3.25]
[ebuild U ] sys-apps/less-381 [378-r2]
[ebuild U ] net-www/tomcat-4.1.24-r1 [4.0.6]

:(
Back to top
View user's profile Send private message
gordonNgentoo
n00b
n00b


Joined: 10 Feb 2003
Posts: 38

PostPosted: Fri May 30, 2003 7:10 am    Post subject: -upD vs -pD Reply with quote

SCREEN CAPTURE:

ace mysql # emerge -upD portage

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild UD] sys-devel/gettext-0.11.5 [0.11.5-r1]
[ebuild U ] sys-apps/sed-4.0.7 [4.0.5]
[ebuild UD] sys-apps/texinfo-4.3-r1 [4.5]
[ebuild U ] sys-apps/man-1.5l-r3 [1.5k-r1]
[ebuild UD] sys-devel/binutils-2.13.90.0.18 [2.13.90.0.18-r1]
[ebuild U ] sys-devel/gcc-config-1.3.3-r1 [1.3.1]
[ebuild UD] sys-devel/gcc-3.2.2 [3.2.2-r1]
[ebuild U ] sys-apps/gawk-3.1.2-r3 [3.1.1-r1]
[ebuild U ] sys-apps/baselayout-1.8.5.9 [1.8.5.8]
[ebuild UD] sys-libs/glibc-2.3.1-r4 [2.3.2]
[ebuild U ] dev-python/python-fchksum-1.6.1-r1 [1.6.1]
[ebuild U ] sys-apps/debianutils-1.16.7-r1 [1.16.3]
[ebuild U ] media-libs/freetype-2.1.4 [2.1.3-r2]
[ebuild U ] x11-misc/ttmkfdir-3.0.9 [3.0.4]
[ebuild U ] dev-libs/expat-1.95.6-r1 [1.95.6]
[ebuild U ] sys-devel/autoconf-2.57-r1 [2.54-r1]
[ebuild U ] sys-devel/automake-1.7.2 [1.6.3]
[ebuild U ] media-libs/fontconfig-2.2.0-r2 [2.1-r1]
[ebuild U ] x11-base/xfree-4.3.0-r2 [4.3.0-r1]
[ebuild U ] dev-lang/tk-8.3.4-r1 [8.3.4]

ace mysql # emerge -up portage

These are the packages that I would merge, in order:

Calculating dependencies ...done!


Questions:
1) what does [ebuild UD] mean?
It seems like it's updating by DOWNGRADING? If I installed some bleeding edge stuff, then won't downgrading compilers or crucial libraries break compatibility?? the emerge --help says D is for "may downgrade.." what does it mean "may"??

2)
from the example above, what's the difference between having the
-upD vs -u switch? bottom line is that I'm afraid that emerging with a -upD will break compatibility for bleeding edge softwares.

I really want to get these questions answered by someone authorative because I dont' plan on breaking my system that I've spent days compiling!

-Gordon
:?: :?:
Back to top
View user's profile Send private message
gordonNgentoo
n00b
n00b


Joined: 10 Feb 2003
Posts: 38

PostPosted: Fri May 30, 2003 8:06 am    Post subject: important->before you do an emerge -upD world, read this Reply with quote

important->before you do an emerge -upD world, read this.

read this url before you use the damned -u switch!


http://forums.gentoo.org/viewtopic.php?t=55076&highlight=

above is link to people having their system busted because -u CAN cause bleeding edge stuff to downgrade!!! use -U instead, but even so, check it with -p because there may still be some packages marked [ebuild UD], only fewer.
I still don't know why i'm getting [ebuild UD] even with the "emerge -UDp world" .. any ideas anyone? Is emerge broke??

-Gordon
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
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