Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 394839 - problems to update system with emerge --update
Summary: problems to update system with emerge --update
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-15 18:14 UTC by dieter ferdinand
Modified: 2011-12-15 18:38 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dieter ferdinand 2011-12-15 18:14:11 UTC
hello,
everytime, i want to update an older gentoo linux system, i have problems with blocked packages and programs, which can't be compiled.

if i make some changes, if possible, so emerge -u world works, i find on the last updated system some packages, which are not updated.

i try to update gentoo on my notebook, i don't get emerge -u world to work.
so i use a little script to update all packages registered in the world-file to get the most packages up to date, so i can analyse the rest to update the packages or not.

to get save, that all packages are up to date, i write a new script to update all packages, which are not up to date.
i insert the script in this request.
if the script is started without parameter, it lists the packages, which can be updated, with any parameter, it will try to emerge every of this packages to update it.

i think, it was helpfull, if emerge update all packages which are updatable without the need of an external script to make that.

i have searched for some parameter, to make that, but i can't find one.

on my last update, i have on one system the problem, that gcc can't be updated, if gcj is included. gcc dies where it was compiling the program.
an other package (gd) can't compiled while libX11.la is missing.
i must generate this file with an editor and it works.
why is it not possible, to install the new kernel-includes without deinstalling the old ? after deinstalling the old includes, i can't install the new while kernel includes are missing!

goodby


Reproducible: Always




#!/usr/bin/ksh
VER=""
NEU=""
PAKET1=""
emerge --search %|grep -B2 "installed: .*\\."|while read ZEILE
do
#  echo "$ZEILE"
  case "$ZEILE" in
    Latest\ version\ available:*) NEU="${ZEILE##* }";;
    Latest\ version\ installed:*) VER="${ZEILE##* }";;
    */*) PAKET="${ZEILE##* }";VER="";NEU="";;
  esac
  if [ -n "$PAKET" -a -n "$VER" -a -n "$NEU" -a "$VER" != "$NEU" ]
  then
#    echo "$PAKET  $VER  $NEU"
    case "$PAKET" in
      *kde*) ;;
      *) if [ "$PAKET" != "$PAKET1" ]
         then
           echo "update $PAKET $VER $NEU"
           test -n "$1" && emerge -u "$PAKET"
           PAKET1="$PAKET"
         fi
         ;;
    esac
  fi
done
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2011-12-15 18:38:57 UTC
Try `emerge -vuaDN world'.

Furthermore, this is a bug tracker and not a support forum. Try our fine IRC channels, forums website or e-mail support instead.