[gentoo-user] Update installed packages, but not install new ones
Hi, almost every time when I do a complete packages upgrade using emerge -u world, portage flags for new packages which is going to be installed. Is there an option to get rid of this behavior, so I only get the updated packages with one command? In the meantime, the upgrade flags for install of a package uw-mailutils-2004g, which conflicts with pine. I don't want uw-mailutils-2004g, but I want pine. Ok, it's easy to upgrade manually all the packages except uw-mailutils-2004g, but then I lose the convinience with the world file, even in the future. Anyone who knows how to solve this problem? TIA Nikodemus -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Update installed packages, but not install new ones
Can you paste a emerge -uDpvt world please? On Tue, 2005-10-11 at 19:19 +0200, Nikodemus Karlsson wrote: Hi, almost every time when I do a complete packages upgrade using emerge -u world, portage flags for new packages which is going to be installed. Is there an option to get rid of this behavior, so I only get the updated packages with one command? In the meantime, the upgrade flags for install of a package uw-mailutils-2004g, which conflicts with pine. I don't want uw-mailutils-2004g, but I want pine. Ok, it's easy to upgrade manually all the packages except uw-mailutils-2004g, but then I lose the convinience with the world file, even in the future. Anyone who knows how to solve this problem? TIA Nikodemus -- Douglas James Dunn.-. 468 South 7th street /v\L I N U X Indiana, PA 15701// \\ Phear the Penguin cell: (724) 316-8266/( )\ Indiana University ^^-^^ of Pennsylvania () The ASCII Ribbon Campaign - against HTML Email, /\ vCards, and proprietary formats. . .vir.d$b .d$$b..cd$$b. .d$$b. d$$$b .d$$b. .d$$b. ( )$$$b d$$$()$$$. d$$$b Q$$$P$$$P.$$$b. .$$$b. Q$$BP d$$$PQb. . .$$$P' `$$$ .$$$P' `$$$ $$$P Q$$$b d$$$P Qb b b..d$$$ b..d$$$ d$$P Q$$$ Q $ `Q$$$P `Q$$$P $$$P ` Q$$$P Q$$$P Q$$$P `Q$$P signature.asc Description: This is a digitally signed message part
Re: [gentoo-user] Update installed packages, but not install new ones
tisdag 11 oktober 2005 19.35 skrev Douglas James Dunn: Can you paste a emerge -uDpvt world please? Here we go... jupiter ~ # emerge -uDpvt world These are the packages that I would merge, in reverse order: Calculating world dependencies ...done! [blocks B ] mail-client/pine-4.64-r1 (is blocking net-mail/uw-mailutils-2004g) [ebuild UD] x11-misc/xosview-1.8.2 [1.8.2-r1] 0 kB [nomerge ] sys-apps/mkinitrd-3.5.7-r2 (-selinux) [ebuild U ] dev-libs/dietlibc-0.28 [0.25] -debug 547 kB [nomerge ] media-plugins/gst-plugins-alsa-0.8.10 [nomerge ] media-libs/gst-plugins-0.8.10 +alsa -debug -esd +oss [nomerge ]gnome-base/gconf-2.10.1-r1 -debug -doc -static [ebuild U ] gnome-base/orbit-2.12.3 [2.12.2] -debug -doc +ssl -static 662 kB [ebuild U ] dev-libs/libIDL-0.8.6 [0.8.5] -debug -static 342 kB [nomerge ] kde-base/kdeartwork-3.4.1 +arts -debug -kdeenablefinal +opengl -xinerama -xscreensaver [nomerge ] kde-base/kdebase-3.4.1-r1 +arts +cups -debug -hal -ieee1394 -java -kdeenablefinal -ldap -lm_sensors -logitech-mouse +opengl +pam -samba +ssl -xinerama [ebuild U ]sys-apps/eject-2.0.13-r2 [2.0.13-r1] +nls 0 kB [nomerge ] mail-filter/qmail-scanner-1.25-r1 -spamassassin [ebuild U ] net-mail/tnef-1.3.3 [1.3.2] 1,601 kB [nomerge ] net-print/foomatic-3.0.2 [ebuild U ] net-print/foomatic-db-20050606 [20041220] +cups -ppds 525 kB [ebuild UD] app-crypt/pinentry-0.7.2 [0.7.2-r1] -gtk -gtk2 +ncurses +qt 0 kB [nomerge ] app-office/lyx-1.3.5-r2 -cjk +cups -debug +nls +qt [nomerge ] app-text/sgmltools-lite-3.0.3-r7 +tetex [ebuild U ] app-text/docbook-sgml-dtd-3.1-r3 [3.1-r2] 0 kB [ebuild U ] app-text/docbook-dsssl-stylesheets-1.79 [1.77-r2] 271 kB [nomerge ] dev-tex/chktex-1.6.2 -debug [nomerge ] dev-tex/latex2html-2002.2.1_pre20041025 +gif +png [ebuild U ]media-libs/netpbm-10.28 [10.20] +jpeg +png -svga +tiff +zlib 2,270 kB [nomerge ] kde-base/kde-i18n-3.4.1 +arts -debug -kdeenablefinal -xinerama [nomerge ] kde-base/kdelibs-3.4.1-r1 +alsa +arts +cups -debug -doc -jpeg2k -kdeenablefinal -kerberos -openexr +spell +ssl +tiff -xinerama -zeroconf [nomerge ] kde-base/arts-3.4.1-r2 +alsa +arts -artswrappersuid -debug -esd -hardened -jack -kdeenablefinal +mp3 +vorbis -xinerama [ebuild U ]kde-base/kde-env-3-r4 [3-r3] 0 kB [nomerge ] dev-perl/DBD-mysql-2.9003 [ebuild U ] x11-libs/qt-3.3.4-r8 [3.3.4-r3] +cups -debug -doc -examples -firebird +gif -immqt -immqt-bc -ipv6* +mysql -nas -odbc +opengl -postgres -sqlite -xinerama 0 kB [ebuild U ] mail-client/pine-4.64-r1 [4.63-r3] -debug -kerberos -largeterminal -ldap +pam -passfile +ssl 3,202 kB [ebuild N] net-mail/uw-mailutils-2004g 2,194 kB [nomerge ] sys-apps/man-pages-2.07 +nls [nomerge ] sys-apps/man-1.6-r1 +nls [nomerge ] sys-apps/groff-1.19.1-r2 +X [ebuild U ]sys-apps/texinfo-4.8-r2 [4.8-r1] -build +nls -static 0 kB [nomerge ] x11-terms/xterm-204 -Xaw3d -toolbar +truetype -unicode [nomerge ] sys-apps/utempter-0.5.5.6 [nomerge ] app-arch/rpm2targz-9.0-r3 [nomerge ]sys-apps/file-4.13 -build +python [nomerge ]x11-libs/openmotif-2.2.3-r3 [nomerge ] x11-base/xorg-x11-6.8.2-r4 -3dfx -3dnow +bitmap-fonts -cjk -debug -dlloader -dmx -doc -font-server -insecure-drivers -ipv6 -minimal -mmx +nls -nocxx +opengl +pam -sdk -sse -static +truetype-fonts +type1-fonts (-uclibc) -xprint +xv [nomerge ] sys-apps/util-linux-2.12r +crypt +nls -old-crypt +pam +perl (-selinux) -static [nomerge ] sys-apps/pam-login-3.17 -livecd +nls (-selinux) [nomerge ]sys-apps/shadow-4.0.7-r4 +nls -nousuid +pam (-selinux) -skey [nomerge ] sys-apps/portage-2.0.51.22-r3 -build (-selinux) [nomerge ] dev-python/python-fchksum-1.7.1 [ebuild NS ] dev-lang/python-2.4.1-r1 +X +berkdb -bootstrap -build -doc +gdbm -ipv6 +ncurses -nocxx +readline +ssl -tcltk -ucs2 7,663 kB [nomerge ] app-admin/perl-cleaner-1.01 [nomerge ]sys-devel/autoconf-2.59-r6 +emacs [nomerge ] sys-devel/m4-1.4.3 +nls [nomerge ] sys-devel/gettext-0.14.4 -doc +emacs +nls [nomerge ] sys-libs/glibc-2.3.5-r2 -build -erandom -glibc-compat20 -glibc-omitfp -hardened -linuxthreads-tls (-multilib) +nls -nptl -nptlonly -pic -profile (-selinux) -userlocales [nomerge ]sys-devel/gcc-3.3.6 (-altivec) -bootstrap -boundschecking -build +fortran -gcj -gtk -hardened -ip28 (-multilib) -multislot (-n32) (-n64) +nls -nocxx -nopie -nossp -objc -static -vanilla [nomerge ] sys-devel/binutils-2.15.92.0.2-r10 -multislot -multitarget +nls -test [ebuild U ] sys-devel/binutils-config-1.8-r5 [1.8-r2] 0 kB Total size of downloads: 19,280 kB -- gentoo-user@gentoo.org mailing
Re: [gentoo-user] Update installed packages, but not install new ones
On Tue, 11 Oct 2005 19:52:47 +0200 Nikodemus Karlsson [EMAIL PROTECTED] wrote: tisdag 11 oktober 2005 19.35 skrev Douglas James Dunn: Can you paste a emerge -uDpvt world please? Here we go... Calculating world dependencies ...done! [blocks B ] mail-client/pine-4.64-r1 (is blocking [ebuild U ] mail-client/pine-4.64-r1 [4.63-r3] -debug -kerberos -largeterminal -ldap +pam -passfile +ssl 3,202 kB [ebuild N] net-mail/uw-mailutils-2004g 2,194 kB Nothing wrong with that. The new version of pine depends on uw-mailutils-2004g. The first line tells you that pine versions _prior_ to 4.64-r1 do not work with uw-mailutils-2004g. That means you have to unmerge pine and then emerge it again. It will install the new pine and pull uw-mailutils as a dependency. You would think, portage could have been a bit smarter and do that itself, but it is dangerous. What if you need pine while emerge is still running and it unmerges it while you are using it? almost every time when I do a complete packages upgrade using emerge -u world, portage flags for new packages which is going to be installed. Is there an option to get rid of this behavior, so I only get the updated packages with one command? Why would you want to do that? If the package, that you want to upgrade, depends on something you don't have installed it will obviously have to emerge it first. There is only one situation where it is not the case. The new package may be a dependency based on a (new) USE-flag. If it is so you can disable that USE-flag in package.keywords and not install the new package. Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) pgpWGTf3kgBuM.pgp Description: PGP signature
Re: [gentoo-user] Update installed packages, but not install new ones
Nikodemus Karlsson schreef: Hi, almost every time when I do a complete packages upgrade using emerge -u world, portage flags for new packages which is going to be installed. Is there an option to get rid of this behavior, so I only get the updated packages with one command? I'm not quite sure what you mean by this. Sometimes updating a package requires new dependent packages to be installed (which new packages the previous version of the package in your world file did not require, so they're not installed already). In fact, this is the only reason I can think of that an emerge -u world would install new packages, other than changed USE flags, which is more or less the same thing. The most likely to succeed way to eliminate most of the extra dependent packages is to do an emerge -uav(Dt) world, which will enable you to see what USE flags are enabled for the packages requested to emerge, which often will reveal what's going on without you having to do anything more (for example, if you're updating gnome to 2.12 (as I'm doing today), and in the course of the prospective emerge you notice (as I did) that 1) epiphany is being updated (normal), and 2) mozilla is being emerged (not desired), an emerge -pv epiphany shows that emerge -pv epiphany These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild N] www-client/mozilla-1.7.12-r2 +crypt -debug +gnome -ipv6 +java +ldap -mozcalendar -mozdevelop +moznocompose +moznoirc +moznomail -moznoxft +mozsvg -postgres +ssl +truetype -xinerama +xprint 468 kB [ebuild U ] www-client/epiphany-1.8.2 [1.6.4] +dbus -debug -doc -firefox +python 3,275 kB looking at the USE flags for epiphany, I see that there is a 'firefox' USE flag which is not enabled. As you might imagine, I do use Firefox (since as you see, I don't have Mozilla installed), and being clever, I guess that I can replace Epiphany's dependency on 'some Mozilla browser' by enabling the 'firefox' USE flag, and that is the case: emerge -pv epiphany These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild U ] www-client/epiphany-1.8.2 [1.6.4] +dbus -debug -doc +firefox* +python 3,275 kB The star next to the firefox USE flag indicates that it is a flag whose status has changed since I last emerged this application. And as you see, Mozilla will not be installed. For more troublesome to debug dependencies, an emerge -uavt(D) world will show what packages are requiring the additional packages to be emerged so that you can see their USE flags (which may be requiring the additional packages), or at least which packages may have new hard dependencies that require the additonal packages (which status you can look up using equery or other tools whose names I momentarily forget, or online at www.gentoo-portage.com ). In the meantime, the upgrade flags for install of a package uw-mailutils-2004g, which conflicts with pine. I don't want uw-mailutils-2004g, but I want pine. Ok, it's easy to upgrade manually all the packages except uw-mailutils-2004g, but then I lose the convinience with the world file, even in the future. Anyone who knows how to solve this problem? This looks fairly insoluble without giving something up: Runtime Dependencies uw-mailutils-2004g ! mail-client/pine - 4.64-r1 ! net-mail/uw-imap - 2004g-r1 virtual/libc Pine cannot be installed with uw-mailutils. OK, but why are we installing uw-mailutils in the first place? Programs That Depend On uw-mailutils net-mail/uw-imap Do you need uw-imap? If not, then get rid of it, and unmerge uw-mailutils, and pine will upgrade by itself. Oh, I see, the upgraded pine needs it. And uw-imap needs uw-mailutils, but not of the -r1 revision that conflicts with the upgrade to uw-imap, and pine. So then mask the versions of uw-mailutils above 2004g, and keep an eye on portage, as this looks like a bug which would need to be resolved, and I would imagine that it would be in short order. # echo =net-mail/uw-mailutils-2004g-r1 /etc/portage/package.mask This command assumes that the directory /etc/portage exists already (but the file package.mask need not exist; as long as the folder exists, the file will be created and this line will be added to it; if the file does exist, the mask command will be added to it). Hope this helps, Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Update installed packages, but not install new ones
Thank you! /Nikodemus -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Update installed packages, but not install new ones
On Tue, 11 Oct 2005 20:10:40 +0200 Renat Golubchyk [EMAIL PROTECTED] wrote: On Tue, 11 Oct 2005 19:52:47 +0200 Nikodemus Karlsson [EMAIL PROTECTED] wrote: almost every time when I do a complete packages upgrade using emerge -u world, portage flags for new packages which is going to be installed. Is there an option to get rid of this behavior, so I only get the updated packages with one command? Why would you want to do that? If the package, that you want to upgrade, depends on something you don't have installed it will obviously have to emerge it first. There is only one situation where it is not the case. The new package may be a dependency based on a (new) USE-flag. If it is so you can disable that USE-flag in package.keywords and not install the new package. s/keywords/use Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) pgpPjx3fIy98n.pgp Description: PGP signature