FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 04-05-2008, 07:28 AM
Zac Medico
 
Default emerge --depclean -p output looks weird

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dale wrote:
> Calculating dependencies... done!
>
>
>>>> These are the packages that would be unmerged:
>
> sys-kernel/gentoo-sources
> selected: 2.6.23-r8
> protected: none
> omitted: 2.6.23-r3 2.6.24-r4
>
> sys-kernel/gentoo-sources
> selected: 2.6.23-r9
> protected: none
> omitted: 2.6.23-r3 2.6.24-r4
>
> sys-kernel/gentoo-sources
> selected: 2.6.24-r3
> protected: none
> omitted: 2.6.23-r3 2.6.24-r4
>
[snip]
> What looks weird you ask, why is it listing them that way? They are
> separately listed and I don't recall ever seeing it listed that way
> before. They are usually in one section.

That's a side effect from the fix for this bug:

http://bugs.gentoo.org/show_bug.cgi?id=201045

The code was never written to preserve unmerge order, but now that
it's been tweaked to do so, it displays a bit differently in cases
like this. It would be possible to make it look like it used to in
cases when the order doesn't matter, but since it's only
superficial, it's not a really a high priority.

> Another odd thing is this:
>
> root@smoker / # uname -r
> 2.6.23-gentoo-r8
> root@smoker / # ls -al /usr/src/
> total 3
> drwxr-xr-x 4 root root 176 2008-04-04 16:58 .
> drwxr-xr-x 17 root root 496 2008-01-23 09:31 ..
> -rw-r--r-- 1 root root 0 2006-08-03 09:23 .keep
> lrwxrwxrwx 1 root root 32 2008-04-04 16:58 linux ->
> /usr/src/linux-2.6.23-gentoo-r8/
> drwxr-xr-x 20 root root 1424 2008-04-04 17:21 linux-2.6.23-gentoo-r8
> drwxr-xr-x 21 root root 1472 2008-04-03 22:32 linux-2.6.24-gentoo-r4
> root@smoker / #
>
> It wants to remove the currently running kernel as well. Seems it used
> to leave that one in the past. I may be wrong tho.

That's this bug:

http://bugs.gentoo.org/show_bug.cgi?id=198200

With <portage-2.2_pre the only solution is to add the versions that
you want to keep to the world file, like this:

emerge --noreplace =gentoo-sources-2.6.23-r8

After you do that, depclean shouldn't want to remove that one.

Zac
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAkf3KhMACgkQ/ejvha5XGaNLHwCeKY/EGULFLrcTknYIs59ZzXBH
EfcAn2GeHj7uhyMW/70YUIKOyn64xr7s
=yDS1
-----END PGP SIGNATURE-----
--
gentoo-user@lists.gentoo.org mailing list
 
Old 04-05-2008, 08:28 AM
Dale
 
Default emerge --depclean -p output looks weird

Zac Medico wrote:

Dale wrote:
> Calculating dependencies... done!


>>>> These are the packages that would be unmerged:
> sys-kernel/gentoo-sources
> selected: 2.6.23-r8
> protected: none
> omitted: 2.6.23-r3 2.6.24-r4

> sys-kernel/gentoo-sources
> selected: 2.6.23-r9
> protected: none
> omitted: 2.6.23-r3 2.6.24-r4

> sys-kernel/gentoo-sources
> selected: 2.6.24-r3
> protected: none
> omitted: 2.6.23-r3 2.6.24-r4

[snip]
> What looks weird you ask, why is it listing them that way? They are
> separately listed and I don't recall ever seeing it listed that way
> before. They are usually in one section.

That's a side effect from the fix for this bug:

http://bugs.gentoo.org/show_bug.cgi?id=201045

The code was never written to preserve unmerge order, but now that
it's been tweaked to do so, it displays a bit differently in cases
like this. It would be possible to make it look like it used to in
cases when the order doesn't matter, but since it's only
superficial, it's not a really a high priority.

> Another odd thing is this:

> root@smoker / # uname -r
> 2.6.23-gentoo-r8
> root@smoker / # ls -al /usr/src/
> total 3
> drwxr-xr-x 4 root root 176 2008-04-04 16:58 .
> drwxr-xr-x 17 root root 496 2008-01-23 09:31 ..
> -rw-r--r-- 1 root root 0 2006-08-03 09:23 .keep
> lrwxrwxrwx 1 root root 32 2008-04-04 16:58 linux ->
> /usr/src/linux-2.6.23-gentoo-r8/
> drwxr-xr-x 20 root root 1424 2008-04-04 17:21 linux-2.6.23-gentoo-r8
> drwxr-xr-x 21 root root 1472 2008-04-03 22:32 linux-2.6.24-gentoo-r4
> root@smoker / #

> It wants to remove the currently running kernel as well. Seems it used
> to leave that one in the past. I may be wrong tho.

That's this bug:

http://bugs.gentoo.org/show_bug.cgi?id=198200

With <portage-2.2_pre the only solution is to add the versions that
you want to keep to the world file, like this:

emerge --noreplace =gentoo-sources-2.6.23-r8

After you do that, depclean shouldn't want to remove that one.

Zac


Aaaaaaa, I see now. I didn't know you could put a specific version in
the world file. That's cool. It worked too.


Now I can get rid of the other kernels too. The newer kernel didn't get
along with my Nvidia card for some reason. It worked just slow as leap
year. Went back to my old kernel.


Thanks for the info.

Dale

:-) :-)
--

gentoo-user@lists.gentoo.org mailing list
 

Thread Tools




All times are GMT. The time now is 08:20 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org