Mailing List Archive

upgradeonly
Ok update to portage deprecates --upgrade only... and removing it
leads to downgrades and blocks. How am I supposed to handle this?
(see sample output below)

lws ~ # emerge -Uunkb --ask -v world

*** Warning: --upgradeonly is a deprecated option in portage-2.0.51-r2
*** and will likely be removed in a future version.


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

Calculating world dependencies ...done!
[ebuild U ] dev-perl/MIME-Base64-3.05 [3.00] 15 kB
[ebuild U ] sys-apps/texinfo-4.7-r1 [4.6] -build -debug +nls
-static 1,385 kB
[ebuild U ] app-arch/gzip-1.3.5-r2 [1.3.5-r1] -build -debug +nls
-pic -static 0 kB
[ebuild U ] sys-apps/groff-1.19.1-r1 [1.18.1-r4] +X -debug 2,567 kB
[ebuild U ] media-libs/t1lib-5.0.2 [5.0.1] +X -debug -doc 1,657 kB
[ebuild U ] app-text/xpdf-3.00-r4 [3.00-r3] +motif -nodrm 0 kB

Total size of downloads: 5,625 kB

Do you want me to merge these packages? [Yes/No] n


Now, if I remove --upgradeonly then I get a block, and a downgrade I
do not want:

lws ~ # emerge -unkb --ask -v world

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

Calculating world dependencies ...done!
[blocks B ] dev-libs/beecrypt (from pkg app-arch/rpm-4.2)
[ebuild U ] app-crypt/gnupg-1.2.6 [1.2.4] +X -debug -idea -ldap
+nls -static 2,490 kB
[ebuild U ] sys-libs/db-3.2.9-r10 [3.2.9-r9] -doc* +java 2,036 kB
[ebuild UD] app-arch/rpm-4.2 [4.2.1] -debug -doc* +nls +python 9,513 kB
[ebuild U ] dev-perl/MIME-Base64-3.05 [3.00] 15 kB
[ebuild U ] sys-apps/texinfo-4.7-r1 [4.6] -build -debug +nls
-static 1,385 kB
[ebuild U ] app-arch/gzip-1.3.5-r2 [1.3.5-r1] -build -debug +nls
-pic -static 0 kB
[ebuild U ] sys-apps/groff-1.19.1-r1 [1.18.1-r4] +X -debug 2,567 kB
[ebuild U ] media-libs/t1lib-5.0.2 [5.0.1] +X -debug -doc 1,657 kB
[ebuild U ] app-text/xpdf-3.00-r4 [3.00-r3] +motif -nodrm 0 kB

Total size of downloads: 19,666 kB

!!! Error: The above package list contains packages which cannot be installed
!!! on the same system.

The down grade appears to be causing the block... how am I supposed to
handle this?

Lincoln

--
gentoo-user@gentoo.org mailing list
Re: upgradeonly [ In reply to ]
Lincoln Baxter wrote:
> Ok update to portage deprecates --upgrade only... and removing it
> leads to downgrades and blocks. How am I supposed to handle this?
> (see sample output below)
>
> lws ~ # emerge -Uunkb --ask -v world
>
> *** Warning: --upgradeonly is a deprecated option in portage-2.0.51-r2
> *** and will likely be removed in a future version.
>
>
> These are the packages that I would merge, in order:
>
> Calculating world dependencies ...done!
> [ebuild U ] dev-perl/MIME-Base64-3.05 [3.00] 15 kB
> [ebuild U ] sys-apps/texinfo-4.7-r1 [4.6] -build -debug +nls
> -static 1,385 kB
> [ebuild U ] app-arch/gzip-1.3.5-r2 [1.3.5-r1] -build -debug +nls
> -pic -static 0 kB
> [ebuild U ] sys-apps/groff-1.19.1-r1 [1.18.1-r4] +X -debug 2,567 kB
> [ebuild U ] media-libs/t1lib-5.0.2 [5.0.1] +X -debug -doc 1,657 kB
> [ebuild U ] app-text/xpdf-3.00-r4 [3.00-r3] +motif -nodrm 0 kB
>
> Total size of downloads: 5,625 kB
>
> Do you want me to merge these packages? [Yes/No] n
>
>
> Now, if I remove --upgradeonly then I get a block, and a downgrade I
> do not want:
>
> lws ~ # emerge -unkb --ask -v world
>
> These are the packages that I would merge, in order:
>
> Calculating world dependencies ...done!
> [blocks B ] dev-libs/beecrypt (from pkg app-arch/rpm-4.2)
> [ebuild U ] app-crypt/gnupg-1.2.6 [1.2.4] +X -debug -idea -ldap
> +nls -static 2,490 kB
> [ebuild U ] sys-libs/db-3.2.9-r10 [3.2.9-r9] -doc* +java 2,036 kB
> [ebuild UD] app-arch/rpm-4.2 [4.2.1] -debug -doc* +nls +python 9,513 kB
> [ebuild U ] dev-perl/MIME-Base64-3.05 [3.00] 15 kB
> [ebuild U ] sys-apps/texinfo-4.7-r1 [4.6] -build -debug +nls
> -static 1,385 kB
> [ebuild U ] app-arch/gzip-1.3.5-r2 [1.3.5-r1] -build -debug +nls
> -pic -static 0 kB
> [ebuild U ] sys-apps/groff-1.19.1-r1 [1.18.1-r4] +X -debug 2,567 kB
> [ebuild U ] media-libs/t1lib-5.0.2 [5.0.1] +X -debug -doc 1,657 kB
> [ebuild U ] app-text/xpdf-3.00-r4 [3.00-r3] +motif -nodrm 0 kB
>
> Total size of downloads: 19,666 kB
>
> !!! Error: The above package list contains packages which cannot be installed
> !!! on the same system.
>
> The down grade appears to be causing the block... how am I supposed to
> handle this?
>
> Lincoln
>

You are supposed to add the packages that you want unmasked to
/etc/portage/package.keywords (or /etc/portage/package.unmask, if you've
been really daring and installed some hardmasked stuff).

And of course, there's always the option to add ~arch to your
/etc/make.conf, but this is officially frowned upon (though many of us
report that it works for us fine).

Hope this helps.

Holly

--
gentoo-user@gentoo.org mailing list