Re: [gentoo-user] portage problems

2008-02-02 Thread Dale
Carter, Dwayne wrote:
  SNIP 
 [blocks B ] dev-lang/python-2.3.6-r2 (is blocking 
 app-admin/python-updater-0.2)

 [blocks B ] sys-apps/pam-login (is blocking sys-apps/shadow-4.0.18.1-r1)
 [blocks B ] net-misc/dhcpcd-2.0.0 (is blocking 
 sys-apps/baselayout-1.12.10-r5)
 [blocks B ] sys-apps/modutils (is blocking sys-apps/module-init-tools-3.4)
  SNIP 

Normally I would say unmerge the blocks and emerge the blockers and
update them first.  However, I'm not sure about that pam-login one.  If
you do unmerge that one, do NOT logout until you have it updated.  I
would recommend switching to another console and logging in to make sure
it works too. 

 [ebuild U ] dev-libs/expat-2.0.1 [1.95.6-r1] 

Oh no, is that the one I think it is.  You may want to search the forums
for the expat update.  Let me know if you can't find it.  Has it been a
while since you updated?

Maybe someone else will see something else and chime in.

Dale

:-)  :-) 
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] portage problems

2008-02-02 Thread Alan McKinnon
On Saturday 02 February 2008, Dale wrote:
 Carter, Dwayne wrote:
   SNIP 
  [blocks B ] dev-lang/python-2.3.6-r2 (is blocking
  app-admin/python-updater-0.2)
 
  [blocks B ] sys-apps/pam-login (is blocking
  sys-apps/shadow-4.0.18.1-r1) [blocks B ] net-misc/dhcpcd-2.0.0
  (is blocking sys-apps/baselayout-1.12.10-r5) [blocks B ]
  sys-apps/modutils (is blocking sys-apps/module-init-tools-3.4) 
  SNIP 

 Normally I would say unmerge the blocks and emerge the blockers and
 update them first.  However, I'm not sure about that pam-login one. 
 If you do unmerge that one, do NOT logout until you have it updated. 
 I would recommend switching to another console and logging in to make
 sure it works too.

  [ebuild U ] dev-libs/expat-2.0.1 [1.95.6-r1]

 Oh no, is that the one I think it is.  You may want to search the
 forums for the expat update.  Let me know if you can't find it.  Has
 it been a while since you updated?

Yes, Dale is correct.

Dwayne, you have all the major updates from the past year hitting your 
box in one go, and they all have to be approached in specific sequence. 
The general idea is of course to unmerge the blockers and merge the 
things that replace them.

I would handle pam first. Keep a root console or two open, find the 
howto or wiki page that tells you how to do this step and do just that 
one (i.e. don't try and do it along with everything else in world). Get 
this one working, then handle the python-updater in the same way (btw, 
your version of python - 2.3 - is now unmaintained and will be leaving 
the tree soon).

Finally do the expat upgrade. Now this is the big one and there is a 
complete howto/wiki page that tells you how to do it. This one will 
take a long time, as half your system will use the old version of expat 
and you will only have a new one (!) Use revdep-rebuild to fix that, 
preferably overnight.

Finally, you have two packages that are not in portage anymore:

gs-sources
vi

I don't know what gs-sources were for, you should switch to a supported 
set of kernel sources.

The vi ebuild has been replace with app-editors/vim, so do:

emerge -C vi ; emerge vim

To fix this.

When was this box last updated? 2005 sometime?


-- 
Alan McKinnon
alan dot mckinnon at gmail dot com
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] portage problems

2008-02-02 Thread Daniel Pielmeier
Carter, Dwayne schrieb:
 [blocks B ] dev-lang/python-2.3.6-r2 (is blocking 
 app-admin/python-updater-0.2)

You also have to be careful with this blocker, never unmerge python or
you are lost as portage does not work without python. You have to do
something like this to get around it.

 quickpkg =dev-lang/python-2.3.5
this makes a backup of your old python version in case something gets
wrong (adapt the version to match your currently installed one)

 emerge --nodeps -avt =dev-lang/python-2.4.4-r6
installs the new python version without dependencies so the
python-updater can not block the old python version

 emerge -avC =dev-lang/python-2.3.5
removes the old version of python

 emerge -avt python-updater
installs python-updater

 emerge -avt portage
reinstalls portage so it uses the new python version

It is also good thing to run python-updater after this.

Please could someone confirm this, as i have never done this myself,
just googling! :)

 !!! Problems have been detected with your world file
 !!! Please run emaint --check world

You should also consider this! There are some invalid entries in your
world file. Normally this are packages which are in world but are not
installed on the system.

Regards,

Daniel
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] portage problems

2008-02-02 Thread Alan McKinnon
On Saturday 02 February 2008, Daniel Pielmeier wrote:
  !!! Problems have been detected with your world file
  !!! Please run emaint --check world

 You should also consider this! There are some invalid entries in your
 world file. Normally this are packages which are in world but are not
 installed on the system.

You mean packages which are installed on the system but are not in 
portage surely?

-- 
Alan McKinnon
alan dot mckinnon at gmail dot com
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] portage problems

2008-02-02 Thread Daniel Pielmeier
Alan McKinnon schrieb:
 On Saturday 02 February 2008, Daniel Pielmeier wrote:
 !!! Problems have been detected with your world file
 !!! Please run emaint --check world
 You should also consider this! There are some invalid entries in your
 world file. Normally this are packages which are in world but are not
 installed on the system.
 
 You mean packages which are installed on the system but are not in 
 portage surely?
 

No! This error occurs for instance when you have a package listed in the
world file but it is not installed.

Just test it and manually put some cat/some-pkg you have not installed
in the world file and run emerge -pv world then portage starts
complaining, although it would install the newly added entry with its
dependencies.

Emaint checks the world file for a few problems. For entries with
invalid atoms, entries with a package that is not installed (see above
example) and entries that have a category that is not listed in
/etc/portage/categories.
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] portage problems

2008-02-02 Thread Alan McKinnon
On Saturday 02 February 2008, Daniel Pielmeier wrote:
 Alan McKinnon schrieb:
  On Saturday 02 February 2008, Daniel Pielmeier wrote:
  You should also consider this! There are some invalid entries in
  your world file. Normally this are packages which are in world but
  are not installed on the system.
 
  You mean packages which are installed on the system but are not in
  portage surely?

 No! This error occurs for instance when you have a package listed in
 the world file but it is not installed.

OK, I see what you mean.

-- 
Alan McKinnon
alan dot mckinnon at gmail dot com
-- 
gentoo-user@lists.gentoo.org mailing list



RE: [gentoo-user] portage problems

2008-02-02 Thread Carter, Dwayne
Dale:

Thanks for the input, I have successfully resolved the pam-login issue,
I have to adjusted all the /etc/pam.d entry to remove the pam_stack
entry and update them with type include system-auth.

I just removed the dhcpcd-2.0.0 since it is not part of the system tree
anymore.

I am still working on the python and modutils.  As far as updates I just
inherited this server at work so, I don't really know when it was last
updated.

Thanks for the great information and input.

Dwayne Carter


-Original Message-
From: Dale [mailto:[EMAIL PROTECTED] 
Sent: Saturday, February 02, 2008 3:06 AM
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] portage problems

Carter, Dwayne wrote:
  SNIP 
 [blocks B ] dev-lang/python-2.3.6-r2 (is blocking
app-admin/python-updater-0.2)

 [blocks B ] sys-apps/pam-login (is blocking
sys-apps/shadow-4.0.18.1-r1)
 [blocks B ] net-misc/dhcpcd-2.0.0 (is blocking
sys-apps/baselayout-1.12.10-r5)
 [blocks B ] sys-apps/modutils (is blocking
sys-apps/module-init-tools-3.4)
  SNIP 

Normally I would say unmerge the blocks and emerge the blockers and
update them first.  However, I'm not sure about that pam-login one.  If
you do unmerge that one, do NOT logout until you have it updated.  I
would recommend switching to another console and logging in to make sure
it works too. 

 [ebuild U ] dev-libs/expat-2.0.1 [1.95.6-r1] 

Oh no, is that the one I think it is.  You may want to search the forums
for the expat update.  Let me know if you can't find it.  Has it been a
while since you updated?

Maybe someone else will see something else and chime in.

Dale

:-)  :-) 
-- 
gentoo-user@lists.gentoo.org mailing list

--
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] portage problems

2008-02-01 Thread Carter, Dwayne
I am trying to update a server that is running an old version of gentoo,
but I am running into some issue.  Could someone assist me.

I try a portage-recovery with no luck.

Portage 2.1.1 (default-linux/x86/2006.1, gcc-3.3.2, glibc-2.3.2-r9,
2.4.25_pre7-gss-r3 i686)
=
System uname: 2.4.25_pre7-gss-r3 i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.3.13
Last Sync: Fri, 01 Feb 2008 15:30:01 +
ccache version 2.4 [enabled]
app-admin/eselect-compiler: [Not Present]
app-shells/bash: 2.05b-r9
dev-java/java-config: [Not Present]
dev-lang/python: 2.3.3
dev-python/pycrypto: [Not Present]
dev-util/ccache: 2.4-r7
dev-util/confcache:  [Not Present]
sys-apps/baselayout: 1.8.6.13
sys-apps/sandbox:1.2.18.1-r2
sys-devel/autoconf:  2.61-r1
sys-devel/automake:  1.7.7, 1.10
sys-devel/binutils:  2.14.90.0.7-r4
sys-devel/gcc-config: 1.3.4
sys-devel/libtool:   1.4.3-r3
virtual/os-headers:  2.4.21
ACCEPT_KEYWORDS=x86
CBUILD=i686-pc-linux-gnu
CFLAGS=-march=pentium3 -O2 -pipe -fomit-frame-pointer
CHOST=i686-pc-linux-gnu
CONFIG_PROTECT=/etc
CONFIG_PROTECT_MASK=/etc/env.d /etc/gconf
CXXFLAGS=-march=pentium3 -O2 -pipe -fomit-frame-pointer
DISTDIR=/usr/portage/distfiles
FEATURES=autoaddcvs ccache distlocks metadata-transfer sandbox sfperms
strict
GENTOO_MIRRORS=http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo;
LINGUAS=
MAKEOPTS=-j3
PKGDIR=/packages
PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --times
--compress --force --whole-file --delete --delete-after --stats
--timeout=180 --exclude='/distfiles' --exclude='/local'
--exclude='/packages'
PORTAGE_TMPDIR=/var/tmp
PORTDIR=/usr/portage
SYNC=rsync://rsync.gentoo.org/gentoo-portage
USE=x86 alsa_cards_ali5451 alsa_cards_als4000 alsa_cards_atiixp
alsa_cards_atiixp-modem alsa_cards_bt87x alsa_cards_ca0106
alsa_cards_cmipci alsa_cards_emu10k1 alsa_cards_emu10k1x
alsa_cards_ens1370 alsa_cards_ens1371 alsa_cards_es1938
alsa_cards_es1968 alsa_cards_fm801 alsa_cards_hda-intel
alsa_cards_intel8x0 alsa_cards_intel8x0m alsa_cards_maestro3
alsa_cards_trident alsa_cards_usb-audio alsa_cards_via82xx
alsa_cards_via82xx-modem alsa_cards_ymfpci alsa_pcm_plugins_adpcm
alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy
alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop
alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file
alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug
alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear
alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi
alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate
alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm
alsa_pcm_plugins_softvol apache2_modules_actions apache2_modules_alias
apache2_modules_auth_basic apache2_modules_authn_alias
apache2_modules_authn_anon apache2_modules_authn_dbm
apache2_modules_authn_default apache2_modules_authn_file
apache2_modules_authz_dbm apache2_modules_authz_default
apache2_modules_authz_groupfile apache2_modules_authz_host
apache2_modules_authz_owner apache2_modules_authz_user
apache2_modules_autoindex apache2_modules_cache apache2_modules_dav
apache2_modules_dav_fs apache2_modules_dav_lock apache2_modules_deflate
apache2_modules_dir apache2_modules_disk_cache apache2_modules_env
apache2_modules_expires apache2_modules_ext_filter
apache2_modules_file_cache apache2_modules_filter
apache2_modules_headers apache2_modules_include apache2_modules_info
apache2_modules_log_config apache2_modules_logio
apache2_modules_mem_cache apache2_modules_mime
apache2_modules_mime_magic apache2_modules_negotiation
apache2_modules_rewrite apache2_modules_setenvif apache2_modules_speling
apache2_modules_status apache2_modules_unique_id apache2_modules_userdir
apache2_modules_usertrack apache2_modules_vhost_alias berkdb
bitmap-fonts cli cracklib crypt cups dri elibc_glibc fortran gdbm gpm
iconv input_devices_evdev input_devices_keyboard input_devices_mouse
ipv6 isdnlog kernel_linux lcd_devices_bayrad lcd_devices_cfontz
lcd_devices_cfontz633 lcd_devices_glk lcd_devices_hd44780
lcd_devices_lb216 lcd_devices_lcdm001 lcd_devices_mtxorb
lcd_devices_ncurses lcd_devices_text midi mmx mudflap ncurses nls nptl
nptlonly openmp pam pcre perl ppds pppd python readline reflection
session spl sse ssl tcpd truetype-fonts type1-fonts unicode userland_GNU
video_cards_apm video_cards_ark video_cards_chips video_cards_cirrus
video_cards_cyrix video_cards_dummy video_cards_fbdev video_cards_glint
video_cards_i128 video_cards_i740 video_cards_i810 video_cards_imstt
video_cards_mach64 video_cards_mga video_cards_neomagic video_cards_nsc
video_cards_nv video_cards_r128 video_cards_radeon video_cards_rendition
video_cards_s3 video_cards_s3virge video_cards_savage
video_cards_siliconmotion video_cards_sis video_cards_sisusb
video_cards_tdfx video_cards_tga video_cards_trident 

Re: [gentoo-user] portage problems

2008-02-01 Thread Alan McKinnon
On Saturday 02 February 2008, Carter, Dwayne wrote:
 Calculating dependencies... done!

 !!! Error: the dev-lang/python-2.3.6-r2 package conflicts with
 another package;
 !!!        the two packages cannot be installed on the same system
 together.
 !!!        Please use 'emerge --pretend' to determine blockers.

^
See this? Do it. Post output.

-- 
Alan McKinnon
alan dot mckinnon at gmail dot com
--
gentoo-user@lists.gentoo.org mailing list



RE: [gentoo-user] portage problems

2008-02-01 Thread Carter, Dwayne
 
[ebuild U ] sys-libs/glibc-2.6.1 [2.3.2-r9] USE=-debug% -gd% 
-glibc-omitfp% (-hardened) (-multilib) -profile% (-selinux) -vanilla% 
[ebuild U ] net-mail/mailbase-1 [0.00-r5] USE=pam%* 
[ebuild U ] mail-mta/ssmtp-2.61-r2 [2.60.7] USE=ipv6* -mailwrapper% 
[ebuild U ] sys-process/cronbase-0.3.2-r1 [0.2.1-r3] 
[ebuild U ] sys-process/vixie-cron-4.1-r10 [3.0.1-r4] USE=pam%* -debug% 
[ebuild U ] sys-apps/net-tools-1.60-r13 [1.60-r7] 
[ebuild U ] sys-apps/kbd-1.13-r1 [1.08-r5] 
[ebuild U ] net-misc/iputils-20070202 [020927] USE=ipv6%* -doc% 
[ebuild  N] sys-apps/busybox-1.8.2  USE=pam -debug -make-symlinks 
-savedconfig (-selinux) -static 
[ebuild U ] sys-process/procps-3.2.7 [3.1.15] USE=(-n32) 
[ebuild U ] dev-util/strace-4.5.16 [4.5.7] USE=-aio% 
[ebuild U ] sys-apps/gawk-3.1.5-r5 [3.1.3-r1] 
[ebuild U ] app-arch/tar-1.19-r1 [1.13.25-r3] 
[ebuild U ] sys-apps/shadow-4.0.18.1-r1 [4.0.3-r9] USE=cracklib%* nls%* 
-nousuid% -skey% 
[ebuild U ] sys-process/psmisc-22.5-r2 [21.2-r4] USE=ipv6%* -X% 
[ebuild U ] net-misc/clockspeed-0.62-r4 [0.62-r3] 
[ebuild U ] sys-apps/modutils-2.4.27-r1 [2.4.25] 
[ebuild U ] sys-apps/file-4.21-r1 [4.06] USE=python%* 
[ebuild U ] app-arch/bzip2-1.0.4-r1 [1.0.2-r3] 
[ebuild U ] sys-boot/grub-0.97-r3 [0.94-r1] USE=-custom-cflags% -netboot% 
[ebuild U ] app-admin/sysstat-8.0.3 [5.0.5-r1] 
[ebuild U ] app-editors/nano-2.0.7 [1.2.2] USE=ncurses%* unicode%* 
-minimal% 
[ebuild U ] net-misc/netkit-telnetd-0.17-r8 [0.17-r3] 
[ebuild U ] app-arch/cpio-2.9-r1 [2.5] USE=nls%* 
[ebuild U ] sys-devel/make-3.81 [3.80] 
[ebuild U ] sys-apps/hdparm-7.7 [5.4] 
[ebuild  N] sys-apps/sysvinit-2.86-r10  USE=(-ibm) (-selinux) -static 
[ebuild  N] virtual/init-0  
[ebuild U ] sys-apps/baselayout-1.12.10-r5 [1.8.6.13] USE=unicode%* 
-bootstrap* 
[ebuild  N] sys-apps/module-init-tools-3.4  USE=-old-linux 
[ebuild U ] net-misc/openssh-4.7_p1-r3 [3.7.1_p2-r1] USE=-X% -chroot% 
-hpn% -ldap% -libedit% -smartcard% 
[ebuild  N] sys-fs/udev-115-r1  USE=(-selinux) 
[ebuild  N] dev-libs/eventlog-0.2.5  
[ebuild  NS   ] dev-libs/glib-2.14.5  USE=-debug -doc -hardened 
[ebuild U ] app-admin/syslog-ng-2.0.6 [1.6.0_rc3-r1] USE=ipv6%* -hardened% 
(-selinux) -spoof-source% -static% 
[ebuild U ] net-misc/wget-1.10.2 [1.9-r2] USE=-build% 
[ebuild U ] sys-process/daemontools-0.76-r5 [0.76-r3] USE=-doc% -static% 
[ebuild U ] sys-apps/less-416 [381] USE=unicode%* 
[ebuild U ] app-portage/gentoolkit-0.2.3-r1 [0.2.0] 
[ebuild U ] sys-apps/ucspi-tcp-0.88-r16 [0.88-r5] USE=-doc% 
[ebuild U ] app-antivirus/clamav-0.92 [0.70] USE=nls%* -bzip2% 
-mailwrapper% (-selinux)

Dwayne Carter

-Original Message-
From: Alan McKinnon [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 01, 2008 6:04 PM
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] portage problems

On Saturday 02 February 2008, Carter, Dwayne wrote:
 Calculating dependencies... done!

 !!! Error: the dev-lang/python-2.3.6-r2 package conflicts with
 another package;
 !!!        the two packages cannot be installed on the same system
 together.
 !!!        Please use 'emerge --pretend' to determine blockers.

^
See this? Do it. Post output.

-- 
Alan McKinnon
alan dot mckinnon at gmail dot com
-- 
gentoo-user@lists.gentoo.org mailing list


--
gentoo-user@lists.gentoo.org mailing list