First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 252985
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Portage team <dev-portage@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Francisco Lloret <fcolloret@terra.es>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 252985 depends on: Show dependency tree
Bug 252985 blocks: 254662
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-12-29 12:24 0000
After a emerge --sync, a message that says a new version of portage is
available is shown. I do a emerge portage and then the package is updated to
portage-2.1.6.4.

Then, a emerge -p world shows that the system need a 3 package update (busybox,
whois and automake) and a 161 package Reinstall.

I downgrade portage to 2.1.4.5 and then the need of reinstall dissapears:

# emerge -pv world

These are the packages that would be merged, in order:

Calculating world dependencies... done!

[ebuild     U ] sys-apps/portage-2.1.6.4 [2.1.4.5] USE="-build -doc -epydoc
(-selinux)" LINGUAS="-pl" 0 kB 
*** Portage will stop merging at this point and reload itself,
    then resume the merge.
[ebuild     U ] sys-apps/busybox-1.12.2-r1 [1.11.1] USE="pam -debug
-make-symlinks -savedconfig (-selinux) -static" 1,974 kB 
[ebuild     U ] net-misc/whois-4.7.27 [4.7.26] USE="nls" 67 kB 
[ebuild     U ] sys-devel/automake-1.10.2 [1.10.1-r1] 915 kB 

Total: 4 packages (4 upgrades), Size of downloads: 2,955 kB

------- Comment #1 From Allen Brooker (AllenJB) 2008-12-29 12:46:55 0000 -------
The default action for the world and system sets has changed. Use the --update
(-u) option to perform an update check.

(I believe this is a side-effect of the upcoming sets functionality)

------- Comment #2 From Francisco Lloret 2008-12-29 15:05:43 0000 -------
Thanks

------- Comment #3 From martin holzer 2008-12-30 10:34:51 0000 -------
there's no info about this changes in any way

in this kind gentoo messes up completly

------- Comment #4 From Luca Santarelli 2008-12-30 14:28:16 0000 -------
(In reply to comment #3)
> there's no info about this changes in any way
> 
> in this kind gentoo messes up completly

Sadly, I second that. I was lucky that somebody in the forums pointed me to
this bug report, I couldn't understand the reason for this. However, using
"emerge world -D", if I use --update I get a lesser number of updates than the
ones reported without the --update option (namely rpm2targz). This makes things
even more strange and broken - if not really broken, at least from a
user-point-of-view.

What's the proper way to have the old behaviour?

------- Comment #5 From Oleg Popov 2008-12-30 17:41:12 0000 -------
(In reply to comment #1)
> The default action for the world and system sets has changed. Use the --update
> (-u) option to perform an update check.
> 
> (I believe this is a side-effect of the upcoming sets functionality)
> 

I thing -n will be a better way to have old behaviour than -u

------- Comment #6 From Oleg Popov 2008-12-30 17:41:54 0000 -------
(In reply to comment #5)
*think

------- Comment #7 From Allen Brooker (AllenJB) 2008-12-30 17:44:42 0000 -------
You probably want to use -uD (update, deep dependency checking)

The problem with -n is that (I believe) it will add packages to your world set,
which is not what you want to do (all the dependencies will now be in the world
set, which will basically leave you in a big mess in terms of package
management).

------- Comment #8 From Zac Medico 2008-12-30 18:49:08 0000 -------
Either -u or -n is fine. When used with world or system sets, those options
won't cause anything to be added to the world file.

------- Comment #9 From Zac Medico 2008-12-30 21:19:30 0000 -------
I've added a note about this in the ChangeLog and in an ewarn message. The
ewarn message that looks like this:

 *
 * In portage-2.1.6, the default behavior has changed for `emerge world`
 * and `emerge system` commands. These commands will reinstall all
 * packages from the given set unless an option such as --noreplace,
 * --update, or --newuse is specified.
 *

------- Comment #10 From Luca Santarelli 2008-12-31 11:45:01 0000 -------
(In reply to comment #9)
> I've added a note about this in the ChangeLog and in an ewarn message. The
> ewarn message that looks like this:

Thank you very much. The message sounds clear on what the user has to do, maybe
this bug can be closed now.

------- Comment #11 From Lars Wendler (Polynomial-C) 2009-01-08 12:58:47 0000 -------
*** Bug 254221 has been marked as a duplicate of this bug. ***

------- Comment #12 From Lars Wendler (Polynomial-C) 2009-01-08 13:35:55 0000 -------
*** Bug 254221 has been marked as a duplicate of this bug. ***

------- Comment #13 From Zac Medico 2009-01-12 20:11:50 0000 -------
In 2.1.6.5, there's a note about this in the RELEASE-NOTES file (and the ewarn
message is still shown after upgrade from 2.1.x).

First Last Prev Next    No search results available      Search page      Enter new bug