Gentoo Forums
Gentoo Forums
Quick Search: in
problem updating - "gentoo-sources not installed" [Solved]
View unanswered posts
View posts from last 24 hours

rackathon
 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
bianchi_az
n00b
n00b


Joined: 27 Oct 2007
Posts: 24

PostPosted: Sun Jan 20, 2008 10:34 am    Post subject: problem updating - "gentoo-sources not installed" Reply with quote

I protected my gentoo kernel sources by placing them in my world file.
I have done a few updates since then. this morning I did a emerge --sync.

Than I did
Code:
linuxbox rick # emerge --fetchonly --update --deep world
Calculating world dependencies |
!!! Problems have been detected with your world file
!!! Please run emaint --check world


Code:
linuxbox rick # emaint --check world
Checking world for problems
'sys-kernel/gentoo-sources:2.6.22-r3' is not installed
Finished


I am not understanding this.
I protected my sources just from reading other posts. It must have something to do with this I imagine. Any help?

Regards,
Rick


Last edited by bianchi_az on Sun Jan 20, 2008 8:43 pm; edited 1 time in total
Back to top
View user's profile Send private message
tarpman
Veteran
Veteran


Joined: 03 Nov 2004
Posts: 1080
Location: Victoria, BC, Canada

PostPosted: Sun Jan 20, 2008 11:22 am    Post subject: Reply with quote

Is that kernel version actually installed?
Code:
emerge -vp =sys-kernel/gentoo-sources-2.6.22-r3

_________________
Saving the world, one kilobyte at a time.
Back to top
View user's profile Send private message
bianchi_az
n00b
n00b


Joined: 27 Oct 2007
Posts: 24

PostPosted: Sun Jan 20, 2008 11:34 am    Post subject: Reply with quote

Code:

linuxbox rick # emerge -vp =sys-kernel/gentoo-sources-2.6.22-r3

These are the packages that would be merged, in order:

Calculating dependencies -
!!! All ebuilds that could satisfy "=sys-kernel/gentoo-sources-2.6.22-r3" have been masked.
!!! One of the following masked packages is required to complete your request:
- sys-kernel/gentoo-sources-2.6.22-r3 (masked by: ~x86 keyword)


I read a post just recently and people were griping about portage automatically deleting the old kernel sources.
I am not worried about the space so I found what sources I had on my system and protected them from being auto deleted by portage.
I am not a computer genius by any means. 8)
This system I have running is very stable and it is not networked. I just use it as my desktop system for music and email and web browsing.
I also have a question about my IP tables script.

How do I list the contents of my world file so I can enter it here as in "code"

Regards,
Rick


Last edited by bianchi_az on Sun Jan 20, 2008 11:50 am; edited 1 time in total
Back to top
View user's profile Send private message
bianchi_az
n00b
n00b


Joined: 27 Oct 2007
Posts: 24

PostPosted: Sun Jan 20, 2008 11:48 am    Post subject: Reply with quote

Were the "gentoo-sources:2.6.22-r3" deleted already and it is blocking portage from downloading a new source?

As in... portage is checking my world file and sees that I have gentoo-sources:2.6.22-r3 protected but it is actually not on my system so it halts?

I dont know how to verify this. Or if this is the issue at hand.

Rick
Back to top
View user's profile Send private message
Hu
Veteran
Veteran


Joined: 06 Mar 2007
Posts: 2595

PostPosted: Sun Jan 20, 2008 12:27 pm    Post subject: Reply with quote

Use cat to display a file to the terminal. Most X11-aware text editors can copy the contents of a file to the X11 clipboard. From there, your browser can paste it into the forum.

What is the output of emerge --info ; find /var/db/pkg/sys-kernel/ -type d -ls ; grep KEYWORDS= /usr/portage/sys-kernel/gentoo-sources/*.ebuild?

If your system is not networked, how are you able to use e-mail and browse the web? ;) For your iptables script question, go ahead and post it as a new topic in the Networking & Security forum.
Back to top
View user's profile Send private message
bianchi_az
n00b
n00b


Joined: 27 Oct 2007
Posts: 24

PostPosted: Sun Jan 20, 2008 12:52 pm    Post subject: Reply with quote

My bad about saying my system is not networked. I meant to say it is a lonely system all on its own with no other machine hooked up to it in my house here.

Ok as for this... I know my use flags are a bit overdone but everything has been working great. I dont know how to manage them well and I did an emerge newuse to get everything on the same page so to speak.

Code:
linuxbox rick # emerge --info ; find /var/db/pkg/sys-kernel/ -type d -ls ; grep KEYWORDS= /usr/portage/sys-kernel/gentoo-sources/*.ebuild
Portage 2.1.3.19 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22-gentoo-r5 i686)
=================================================================
System uname: 2.6.22-gentoo-r5 i686 Intel(R) Pentium(R) 4 CPU 1.60GHz
Timestamp of tree: Sun, 20 Jan 2008 14:46:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=pentium4 -O2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distcc distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://mirror.espri.arizona.edu/gentoo/ http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="C"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X a52 aac acl alsa avi berkdb bitmap-fonts cdaudio cdb cdda cdparanoia cdr cdrom cli corba cracklib crypt css cups divx4linux dri dts dv dvd dvdnav dvdr dvdread encode exif fame fortran gdbm gif gpm hal iconv isdnlog java jpeg kde midi mmx mmxext mozilla mp3 mpeg mudflap ncurses nls nptl nptlonly ogg oggvorbis opengl openmp oss pam pcre perl png pppd python qt3 qt4 quicktime rar readline reflection sdl session spl sse sse2 ssl subtitles tcpd tiff truetype-fonts type1-fonts unicode vcd vcdx vorbis win32codecs x86 xorg xv xvid zlib zsh-completion" ALSA_CARDS="au8830" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hoo iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

770809    4 drwxr-xr-x   7 root     root         4096 Jan  4 03:24 /var/db/pkg/sys-kernel/
786064    4 drwxr-xr-x   2 root     root         4096 Dec 31 05:38 /var/db/pkg/sys-kernel/gentoo-sources-2.6.23-r3
786812    4 drwxr-xr-x   2 root     root         4096 Nov  2 03:43 /var/db/pkg/sys-kernel/gentoo-sources-2.6.22-r9
806231    4 drwxr-xr-x   2 root     root         4096 Sep 15 07:12 /var/db/pkg/sys-kernel/gentoo-sources-2.6.22-r5
787399    4 drwxr-xr-x   2 root     root         4096 Jan  4 03:24 /var/db/pkg/sys-kernel/linux-headers-2.6.23-r3
788282    4 drwxr-xr-x   2 root     root         4096 Sep 28 04:34 /var/db/pkg/sys-kernel/gentoo-sources-2.6.22-r8
/usr/portage/sys-kernel/gentoo-sources/gentoo-sources-2.6.16-r13.ebuild:KEYWORDS="~alpha amd64 arm ~ia64 ~ppc ~ppc64 s390 sparc x86"
/usr/portage/sys-kernel/gentoo-sources/gentoo-sources-2.6.19-r5.ebuild:KEYWORDS="alpha amd64 arm ppc ppc64 ~s390 ~sparc x86"
/usr/portage/sys-kernel/gentoo-sources/gentoo-sources-2.6.19-r7.ebuild:KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86"
/usr/portage/sys-kernel/gentoo-sources/gentoo-sources-2.6.20-r10.ebuild:KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~s390 ~sparc ~x86"
/usr/portage/sys-kernel/gentoo-sources/gentoo-sources-2.6.21-r4.ebuild:KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86"
/usr/portage/sys-kernel/gentoo-sources/gentoo-sources-2.6.22-r1.ebuild:KEYWORDS="~amd64 ~ppc64 ~x86"
/usr/portage/sys-kernel/gentoo-sources/gentoo-sources-2.6.22-r10.ebuild:KEYWORDS="alpha ~amd64 ia64 ~ppc ~ppc64 sparc x86"
/usr/portage/sys-kernel/gentoo-sources/gentoo-sources-2.6.22-r2.ebuild:KEYWORDS="~alpha amd64 ~ia64 ~ppc ~ppc64 ~sparc x86"
/usr/portage/sys-kernel/gentoo-sources/gentoo-sources-2.6.22-r3.ebuild:KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
/usr/portage/sys-kernel/gentoo-sources/gentoo-sources-2.6.22-r4.ebuild:KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
/usr/portage/sys-kernel/gentoo-sources/gentoo-sources-2.6.22-r5.ebuild:KEYWORDS="~alpha amd64 ia64 ppc ppc64 sparc x86"
/usr/portage/sys-kernel/gentoo-sources/gentoo-sources-2.6.22-r6.ebuild:KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
/usr/portage/sys-kernel/gentoo-sources/gentoo-sources-2.6.22-r7.ebuild:KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
/usr/portage/sys-kernel/gentoo-sources/gentoo-sources-2.6.22-r8.ebuild:KEYWORDS="alpha amd64 ia64 ~ppc ~ppc64 ~sparc x86"
/usr/portage/sys-kernel/gentoo-sources/gentoo-sources-2.6.22-r9.ebuild:KEYWORDS="alpha amd64 ia64 ~ppc ppc64 sparc x86"
/usr/portage/sys-kernel/gentoo-sources/gentoo-sources-2.6.22.ebuild:KEYWORDS="~amd64 ~ppc64 ~x86"
/usr/portage/sys-kernel/gentoo-sources/gentoo-sources-2.6.23-r1.ebuild:KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
/usr/portage/sys-kernel/gentoo-sources/gentoo-sources-2.6.23-r2.ebuild:KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
/usr/portage/sys-kernel/gentoo-sources/gentoo-sources-2.6.23-r3.ebuild:KEYWORDS="amd64 hppa ~ia64 ppc ppc64 sparc x86"
/usr/portage/sys-kernel/gentoo-sources/gentoo-sources-2.6.23-r4.ebuild:KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
/usr/portage/sys-kernel/gentoo-sources/gentoo-sources-2.6.23-r5.ebuild:KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
/usr/portage/sys-kernel/gentoo-sources/gentoo-sources-2.6.23-r6.ebuild:KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
/usr/portage/sys-kernel/gentoo-sources/gentoo-sources-2.6.23.ebuild:KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"


Here is the output for....

Code:
linuxbox / # cat /var/lib/portage/world
app-admin/syslog-ng
app-arch/unrar
app-cdr/cdrdao
app-cdr/dvd+rw-tools
app-cdr/k3b
app-crypt/gnupg
app-portage/elogviewer
app-portage/gentoolkit
app-portage/ufed
app-shells/zsh
app-shells/zsh-completion
dev-util/ccache
games-rpg/gwiz
gnome-base/gdm
kde-base/kate
kde-base/kdebase-startkde
kde-base/kget
kde-base/kicker
kde-base/kmail
kde-base/kmenuedit
kde-base/kmix
kde-base/konqueror
kde-base/konsole
kde-base/kpdf
kde-base/kstars
kde-base/ktouch
media-fonts/artwiz-fonts
media-fonts/corefonts
media-fonts/dejavu
media-fonts/freefonts
media-fonts/sharefonts
media-fonts/terminus-font
media-fonts/ttf-bitstream-vera
media-fonts/unifont
media-gfx/digikam
media-gfx/gimp
media-gfx/imagemagick
media-libs/a52dec
media-libs/alsa-oss
media-libs/freetype
media-libs/libdca
media-libs/sdl-mixer
media-libs/win32codecs
media-sound/alsa-utils
media-sound/amarok
media-sound/mpg321
media-sound/rip
media-video/kplayer
media-video/vlc
media-video/xine-ui
net-analyzer/netcat
net-firewall/iptables
net-irc/konversation
net-misc/dhcpcd
net-nds/portmap
net-p2p/ktorrent
sci-astronomy/celestia
sci-astronomy/xephem
sys-apps/dbus
sys-apps/eject
sys-apps/slocate
sys-apps/usbutils
sys-boot/grub
sys-fs/reiserfsprogs
sys-kernel/gentoo-sources
sys-kernel/gentoo-sources:2.6.22-r3
sys-kernel/gentoo-sources:2.6.22-r5
sys-kernel/gentoo-sources:2.6.22-r8
sys-kernel/gentoo-sources:2.6.22-r9
sys-libs/glibc
sys-process/vixie-cron
www-client/links
www-client/mozilla-firefox
x11-apps/xload
x11-base/xorg-x11
x11-drivers/nvidia-drivers
x11-libs/cairo
x11-libs/openmotif
x11-misc/xosview
x11-themes/gentoo-xcursors


If you see useless files or any errors in this please let me know to clean it up a bit.
Thanks for your help.
Back to top
View user's profile Send private message
Hu
Veteran
Veteran


Joined: 06 Mar 2007
Posts: 2595

PostPosted: Sun Jan 20, 2008 5:05 pm    Post subject: Reply with quote

Did you add the gentoo-sources entries to world by hand or via some tool? It looks like you entered 2.6.22-r3 when you meant to enter 2.6.23-r3. This led to the original error message, since you do not have 2.6.22-r3 installed. Running emaint then led to another error since 2.6.22-r3 is not marked as stable. Fix world to refer to 2.6.23-r3 and you should be fine.
Back to top
View user's profile Send private message
bianchi_az
n00b
n00b


Joined: 27 Oct 2007
Posts: 24

PostPosted: Sun Jan 20, 2008 8:30 pm    Post subject: Reply with quote

oh hell ya.... thank you...

that worked...

I did edit by hand.

Thanks a million...


Solution: Problem in the world File located in
/var/lib/portage/world <- this is where you put packages you dont want portage to mess with
file had an inconsistent name with portage checking it----
in other words i had a typo ....... i mis-labeled the source

... this is solved

portage checks the exact name in the world file..... DONT misspell anything in here


Last edited by bianchi_az on Mon Jan 21, 2008 3:56 am; edited 2 times in total
Back to top
View user's profile Send private message
jcat
Veteran
Veteran


Joined: 26 May 2006
Posts: 1304

PostPosted: Sun Jan 20, 2008 8:46 pm    Post subject: Reply with quote

Seems like that's you've found your issue, why not mark this thread as solved :)



Cheers,
jcat
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum