View previous topic :: View next topic |
Author |
Message |
jeffk l33t
Joined: 13 Sep 2003 Posts: 671
|
Posted: Sun Aug 02, 2009 5:10 am Post subject: Injecting packages of a world file from previous machine |
|
|
I rebuild my laptop's Gentoo ~x86 to ~x86-64. To make the initial emerge more hands-off, I reused the old world file. Several weeks later, I still get some packages which do not emerge with my daily update regime of emerge world -Du --newuse -pv.
For example, today:
Code: | # emerge -e world -p | grep ' U '
[ebuild U ] perl-core/IO-Zlib-1.10 [1.09]
[ebuild U ] virtual/perl-IO-Zlib-1.10 [1.09]
[ebuild U ] perl-core/ExtUtils-CBuilder-0.26.03 [0.26.02]
[ebuild U ] virtual/perl-ExtUtils-CBuilder-0.26.03 [0.26.02]
[ebuild U ] perl-core/ExtUtils-ParseXS-2.20-r1 [2.20]
[ebuild U ] app-text/docbook-xsl-stylesheets-1.75.2 [1.75.1]
[ebuild U ] dev-python/setuptools-0.6_rc9-r1 [0.6_rc9]
[ebuild U ] net-nds/openldap-2.4.17-r1 [2.3.43-r1] USE="berkdb* gnutls%* -cxx% -experimental% -icu% -iodbc% -syslog%"
[ebuild U ] x11-drivers/nvidia-drivers-185.18.31 [185.18.14]
[ebuild U ] media-video/nvidia-settings-185.18.31 [180.60]
[ebuild U ] dev-util/cmake-2.6.4-r2 [2.6.4] USE="-python3%" |
Likewise, a few days ago, "emerge gnome" emerged updates to several gnome component files that didn't select with emerge world -Du --newuse -pv.
Any suggested course of action to inject the necessary packages, etc which would correct this?
Thanks. |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Sun Aug 02, 2009 8:39 pm Post subject: Re: Injecting packages of a world file from previous machine |
|
|
jeffk wrote: | Several weeks later, I still get some packages which do not emerge with my daily update regime of emerge world -Du --newuse -pv. |
Try adding "--with-bdeps=y" to your other emerge world options. |
|
Back to top |
|
|
jeffk l33t
Joined: 13 Sep 2003 Posts: 671
|
Posted: Mon Aug 03, 2009 6:33 pm Post subject: |
|
|
Thanks, that does bring in some interesting build-time dependencies, I hadn't noticed with-bdeps before:
Code: | # emerge world -Du --newuse -pv --with-bdeps=y
These are the packages that would be merged, in order:
Calculating dependencies ... done!
[ebuild U ] x11-base/xorg-server-1.6.3 [1.6.2.901] USE="dmx hal ipv6 kdrive nptl sdl xorg -debug -minimal -tslib" INPUT_DEVICES="evdev -acecad -aiptek -citron -elographics -fpit -hyperpen -joystick -keyboard -mouse -mutouch -penmount -synaptics -tslib -virtualbox -vmmouse -void -wacom" VIDEO_CARDS="fbdev nvidia vesa -apm -ark -ast -chips -cirrus -dummy -epson -fglrx (-geode) -glint -i128 (-i740) (-impact) (-imstt) -intel -mach64 -mga -neomagic (-newport) -nv -r128 -radeon -radeonhd -rendition -s3 -s3virge -savage -siliconmotion -sis -sisusb (-sunbw2) (-suncg14) (-suncg3) (-suncg6) (-sunffb) (-sunleo) (-suntcx) -tdfx -tga -trident -tseng -v4l (-vermilion) -via -virtualbox -vmware -voodoo (-xgi)" 4,543 kB
[ebuild U ] x11-drivers/xf86-input-evdev-2.2.3 [2.2.2] USE="-debug" 290 kB
[ebuild U ] x11-drivers/xf86-video-vesa-2.2.1 [2.2.0] USE="-debug" 244 kB
[ebuild U ] x11-drivers/nvidia-drivers-185.18.31 [185.18.14] USE="acpi gtk (multilib) -custom-cflags" 0 kB |
I'm not sure it's selecting the same set I'm missing from the found world file, however, as emerge -e gnome still brings in new dependencies (or tries to, as some are presently blockers). |
|
Back to top |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10587 Location: Somewhere over Atlanta, Georgia
|
Posted: Mon Aug 03, 2009 7:25 pm Post subject: |
|
|
jeffk wrote: | Any suggested course of action to inject the necessary packages, etc which would correct this? | Why, yes! This one-liner will build everything in world that isn't actually installed: Code: | cat /var/lib/portage/world | xargs emerge -v --noreplace | It'll also install any missing dependencies.
- John _________________ I can confirm that I have received between 0 and 499 National Security Letters. |
|
Back to top |
|
|
tobibobi n00b
Joined: 20 Jan 2011 Posts: 29 Location: Odense, Denmark
|
Posted: Sun Feb 02, 2014 9:33 am Post subject: --inject not supported anymore? |
|
|
I was trying to build my own package and then have portage assume the package was already provided.
But following the documentation for emerge didnt help me a lot because packages.provided seems to be ignored and emerge --inject is not a recognized option..
Is threre a new procedure for this?
Br Tobias. |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21431
|
Posted: Sun Feb 02, 2014 5:19 pm Post subject: Re: --inject not supported anymore? |
|
|
tobibobi wrote: | I was trying to build my own package and then have portage assume the package was already provided.
But following the documentation for emerge didnt help me a lot because packages.provided seems to be ignored and emerge --inject is not a recognized option..
Is threre a new procedure for this?
Br Tobias. | You are in the wrong thread. This thread is old and solved. This thread does not deal with /etc/portage/profile/package.provided, which is still supported. However, unless you are simply unable to build the named package on your architecture and wish to use an equivalent package, you would be better off using a local overlay to build the package and let Portage manage it. |
|
Back to top |
|
|
|