public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Mick <michaelkintzios@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Reinstall Gentoo?  [Was: Building pygtk-2.22.0-r1 fails.  Help, please!]
Date: Mon, 25 Apr 2011 15:12:15 +0100	[thread overview]
Message-ID: <201104251512.25621.michaelkintzios@gmail.com> (raw)
In-Reply-To: <20110425121153.GB4594@acm.acm>

[-- Attachment #1: Type: Text/Plain, Size: 2991 bytes --]

On Monday 25 April 2011 13:11:53 Alan Mackenzie wrote:
> Hi, Mick.
> 
> On Sun, Apr 24, 2011 at 04:44:05PM +0100, Mick wrote:
> > On Sunday 24 April 2011 14:25:58 Alan Mackenzie wrote:
> > > Hi, Mick.
> > > 
> > > On Sun, Apr 24, 2011 at 09:17:45AM +0100, Mick wrote:
> > > > On Saturday 23 April 2011 21:06:25 Alan Mackenzie wrote:
> > > > > On Sat, Apr 23, 2011 at 08:46:30PM +0100, Mick wrote:
> > > > python-updater -v -p
> > > > 
> > > > to get a list of these.
> > > 
> > > That gives me a list of 24 packages.  Am I meant to actually run
> > > python-updater without the -p, here?
> > 
> > That's correct.  As the man emerge say -p stands for --pretend.  Just
> > to give a chance to see what it wants to do and think about it before
> > you run it again without it for execution.
> > 
> > You need to do this next.
> 
> DONE.
> 
> > > > When you finish all this you can run:
> > > > 
> > > > emerge --depclean -v -p
> > > > 
> > > > It should now ask you to remove the old python, but check carefully
> > > > the remaining packages in case something important is in the list
> > > > and breaks your system.
> > > 
> > > I do emerge --depclean -v -p.  It says I should run emerge -uDN
> > > @world first.  I'm a bit apprehensive about this, since the world
> > > update says it would reemerge 138 packages (I'm not sure whether this
> > > is top-level (whatever that means) packages or the real total).  In
> > > that list are 3 blockages I don't know wha do do with.  My experience
> > > suggests this will not work smoothly, and I'll likely be left with a
> > > non-working (or even a non-bootable) system.
> > 
> > At this stage you should only run:
> > 
> > python-updater -v
> > 
> > Nothing else.
> > 
> > Once it completes you can run --depclean which will ask you to remove
> > the older 2.6 python package.
> 
> I had to (or, at least, did) run emerge -uND @world.  Funnily enough, it
> ran to completion without manual intervention.  :-)  I'd like to run
> --depclean, but it's threatening to remove my 2.6.31-r6 kernel sources,
> which correspond to my working kernel.  What's the easiest way to protect
> these from --depclean?

Aha! That's why I said first look at what it wants to remove - you don't want 
to cripple your system.  In this case of course it won't cripple anything, 
because it won't remove the kernel image from /boot/

If you look in /usr/src/linux/ you will see a number of kernel sources listed 
in there.  If you've run update world there should be a more up-to-date kernel 
awaiting for you to configure and compile it.  Do that first; copy the 
necessary files into /boot; configure grub.conf to boot with you latest 
kernel; and after you boot into it and check that all is good you can allow --
depclean to remove older kernel source files.

PS.  You may need to manually remove older source files left in 
/usr/src/linux/ when depclean completes its job.
-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

  reply	other threads:[~2011-04-25 14:13 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-22 18:05 [gentoo-user] Building pygtk-2.22.0-r1 fails. Help, please! Alan Mackenzie
2011-04-22 22:34 ` Dale
2011-04-22 22:43 ` Alan McKinnon
2011-04-23 16:35   ` Alan Mackenzie
2011-04-23 19:46     ` Mick
2011-04-23 20:06       ` Alan Mackenzie
2011-04-24  8:17         ` Mick
2011-04-24 13:25           ` [gentoo-user] Reinstall Gentoo? [Was: Building pygtk-2.22.0-r1 fails. Help, please!] Alan Mackenzie
2011-04-24 15:44             ` Mick
2011-04-24 15:48               ` Mick
2011-04-24 17:17               ` Stroller
2011-04-25 12:11               ` Alan Mackenzie
2011-04-25 14:12                 ` Mick [this message]
2011-04-25 15:03                   ` Alan Mackenzie
2011-04-25 15:29                     ` Mark Knecht
2011-04-26 19:43                       ` Alan Mackenzie
2011-04-25 16:00                     ` Mick
2011-04-26 20:05                       ` Alan Mackenzie
2011-04-23 20:21     ` [gentoo-user] Building pygtk-2.22.0-r1 fails. Help, please! Alan McKinnon
2011-04-23 23:58       ` Volker Armin Hemmann
     [not found] <gKx1n-6tR-7@gated-at.bofh.it>
     [not found] ` <gL2RA-GN-11@gated-at.bofh.it>
     [not found]   ` <gL7Rg-uS-7@gated-at.bofh.it>
     [not found]     ` <gL9Jo-3CO-19@gated-at.bofh.it>
     [not found]       ` <gLdjY-1dS-15@gated-at.bofh.it>
2011-04-24 20:17         ` [gentoo-user] Reinstall Gentoo? [Was: Building pygtk-2.22.0-r1 fails. Help, please!] David W Noon
2011-04-24 20:30           ` Neil Bothwick
2011-04-24 22:16             ` Mick
2011-04-25  7:30               ` Neil Bothwick
2011-04-25  7:49                 ` Mick
2011-04-25 10:07                   ` Neil Bothwick
2011-04-25 12:02                     ` Alan Mackenzie
2011-04-25 12:18                     ` Stroller
2011-04-25 14:09                       ` Neil Bothwick

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201104251512.25621.michaelkintzios@gmail.com \
    --to=michaelkintzios@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox