View previous topic :: View next topic |
Author |
Message |
slackline Veteran
Joined: 01 Apr 2005 Posts: 1471 Location: /uk/sheffield
|
Posted: Tue Sep 16, 2008 10:43 am Post subject: problems with world file? |
|
|
Hi,
I\'ve been informed by portage that there are problems with my world file, but I can\'t seem to fix them....
Code: |
# emerge -uDNa world
These are the packages that would be merged, in order:
Calculating dependencies... done!
Total: 0 packages, Size of downloads: 0 kB
!!! Problems have been detected with your world file
!!! Please run emaint --check world
# emaint --check world
Checking world for problems
100% [========================================================================>]
Finished
# emaint --fix world
Attempting to fix world
100% [========================================================================>]
Finished
# emerge -uDNa world
These are the packages that would be merged, in order:
Calculating dependencies... done!
Total: 0 packages, Size of downloads: 0 kB
!!! Problems have been detected with your world file
!!! Please run emaint --check world
|
emaint isn\'t reporting or fixing any errors, so beyond sitting down and visually checking that everything in my /var/lib/portage/world file is still valid in portage how can I determine what portage is worrying about?
slack _________________ "Science is what we understand well enough to explain to a computer. Art is everything else we do." - Donald Knuth |
|
Back to top |
|
|
imog n00b
Joined: 09 Aug 2008 Posts: 5
|
|
Back to top |
|
|
slackline Veteran
Joined: 01 Apr 2005 Posts: 1471 Location: /uk/sheffield
|
Posted: Tue Sep 16, 2008 12:49 pm Post subject: |
|
|
Thanks for those pointers, I now vaguely remember using regenworld a few years back, obviously didn\'t stick in my mind though.
regenworld currently crashes and qpkg doesn\'t play ball either
Code: |
fisher neil # regenworld
add to world: sys-apps/pciutils
add to world: sys-fs/xfsprogs
add to world: sys-fs/reiserfsprogs
add to world: x11-base/xorg-server
add to world: x11-wm/fluxbox
add to world: gnome-base/gdm
add to world: app-editors/emacs-cvs
add to world: net-p2p/museek+
add to world: app-portage/portage-utils
add to world: net-print/cups
add to world: x11-misc/xscreensaver
add to world: dev-libs/glib
add to world: media-gfx/gimp
add to world: x11-libs/gtk+
add to world: media-sound/alsa-utils
add to world: dev-libs/boost
add to world: media-gfx/splashutils
add to world: dev-libs/apr-util
add to world: media-video/nvidia-settings
add to world: x11-libs/cairo
add to world: app-text/hunspell
add to world: dev-java/java-config
add to world: dev-java/bsh
Traceback (most recent call last):
File \"/usr/sbin/regenworld\", line 83, in <module>
mylist=portage.db[\"/\"][\"vartree\"].dbapi.match(mykey)
File \"/usr/lib/portage/pym/portage/dbapi/vartree.py\", line 774, in match
origdep, mydb=self, use_cache=use_cache, settings=self.settings)
File \"/usr/lib/portage/pym/portage/__init__.py\", line 6350, in dep_expand
return portage.dep.Atom(prefix + expanded + postfix)
File \"/usr/lib/portage/pym/portage/dep.py\", line 470, in __call__
instance = super(_AtomCache, cls).__call__(s)
File \"/usr/lib/portage/pym/portage/dep.py\", line 494, in __init__
raise InvalidAtom(s)
portage.exception.InvalidAtom: =null/postgresql
fisher neil # qpkg -I -nc > /root/backup/world.new
qpkg: invalid option -- \'I\'
|
...but I\'ll play around with equery to get a list of packages and strip out the versions.
Will post deatils of the eventual solution.
Cheers,
slack _________________ "Science is what we understand well enough to explain to a computer. Art is everything else we do." - Donald Knuth |
|
Back to top |
|
|
slackline Veteran
Joined: 01 Apr 2005 Posts: 1471 Location: /uk/sheffield
|
Posted: Wed Oct 01, 2008 10:42 am Post subject: |
|
|
I\'m still having problems with this.
I\'ve tried running emaint (as portage now advises), but portage still reports a problem with my world file...
Code: |
# emaint --check world
Checking world for problems
100% [========================================================================>]
Finished
# emaint --fix world
Attempting to fix world
100% [========================================================================>]
Finished
fisher backup # emerge -uDNa world
These are the packages that would be merged, in order:
Calculating dependencies... done!
Total: 0 packages, Size of downloads: 0 kB
Portage tree and overlays:
[0] /usr/portage
!!! Problems have been detected with your world file
!!! Please run emaint --check world
|
Its rather frustrating, I\'ve used \'equery -C -q list\' to get a list of all packages, but the problem is that a) its too long ; b) I\'ve not sussed out a regexp to remove all the versions. But b) is kind of irrelevant as I dont 1305 packages listed in my world file, which currently has some 230 entries. Besides many of those returned by equery are in system/dependncies pulled in anyway so don\'t belong in world.
Is this a bug in portage (current version is 2.2_rc11) or do I genuinely have a corrupt world file (which I\'ve copied below)?
Code: |
app-admin/localepurge
app-admin/logrotate
app-admin/syslog-ng
app-admin/tmpwatch
app-admin/usbview
app-arch/rar
app-cdr/dvd95
app-cdr/gnomebaker
app-cdr/k3b
app-editors/nano
app-emacs/color-theme
app-emacs/ecb
app-emacs/ess
app-emacs/gentoo-syntax
app-forensics/chkrootkit
app-misc/colordiff
app-misc/hal-info
app-misc/regionset
app-mobilephone/gnocky
app-mobilephone/gnome-phone-manager
app-office/openoffice
app-office/pybliographer
app-portage/eix
app-portage/genlop
app-portage/gentoolkit
app-portage/layman
app-portage/udept
app-text/acroread
app-text/dos2unix
app-text/pdfedit
app-text/pdfjam
app-text/poppler
app-text/poppler-bindings
app-text/texlive
app-text/tree
app-text/unix2dos
dev-embedded/upslug2
dev-java/sun-jre-bin
dev-lang/R
dev-lang/php
dev-perl/Catalyst-Model-CDBI
dev-perl/Catalyst-Model-DBIC
dev-perl/Catalyst-Model-DBIC-Plain
dev-perl/Catalyst-Model-File
dev-perl/Catalyst-Plugin-Authentication-Credential-CHAP
dev-perl/Catalyst-Plugin-Compress-Zlib
dev-perl/Catalyst-Plugin-Dumper
dev-perl/Catalyst-Plugin-Email
dev-perl/Catalyst-Plugin-FillInForm
dev-perl/Catalyst-Plugin-FormValidator-Simple
dev-perl/Catalyst-Plugin-Message
dev-perl/Catalyst-Plugin-MortalForward
dev-perl/Catalyst-Plugin-Scheduler
dev-perl/Catalyst-Plugin-Session-PerUser
dev-perl/Catalyst-Plugin-Session-Store-DBIC
dev-perl/Catalyst-Plugin-Session-Store-FastMmap
dev-perl/Catalyst-Plugin-Unicode
dev-perl/Catalyst-Plugin-UploadProgress
dev-perl/Catalyst-View-GD-Barcode
dev-perl/Catalyst-View-JSON
dev-perl/DBIx-Class-DigestColumns
dev-perl/Template-Plugin-Class
dev-perl/catalystframework
dev-python/eyeD3
dev-python/pysqlite
dev-python/qscintilla-python
dev-tex/bibtex2html
dev-tex/curve
dev-tex/europecv
dev-tex/prosper
dev-tex/tex4ht
dev-tex/texmfind
dev-texlive/texlive-bibtexextra
dev-texlive/texlive-fontsextra
dev-texlive/texlive-genericextra
dev-texlive/texlive-genericrecommended
dev-texlive/texlive-latexextra
dev-texlive/texlive-pstricks
dev-util/diffstat
dev-util/mercurial
dev-util/subversion
games-arcade/frozen-bubble
games-board/cgoban
games-board/gnugo
games-puzzle/gnudoku
games-puzzle/gweled
games-puzzle/neverball
gnome-extra/gconf-editor
gnome-extra/gnome-games
gnome-extra/gnome-utils
mail-client/claws-mail
mail-client/claws-mail-perl
media-gfx/bootsplash-themes
media-gfx/f-spot
media-gfx/gimp-lqr-plugin
media-gfx/gthumb
media-gfx/hugin
media-gfx/llgal
media-gfx/rawstudio
media-gfx/splash-themes-gentoo
media-gfx/splash-themes-livecd
media-gfx/ufraw
media-libs/gd
media-libs/libdvdcss
media-libs/libdvdread
media-plugins/gmpc-coveramazon
media-plugins/gmpc-lastfm
media-plugins/gmpc-magnatune
media-plugins/gmpc-mdcover
media-plugins/gmpc-serverstats
media-plugins/gst-plugins-ffmpeg
media-sound/aqualung
media-sound/audacity
media-sound/cdparanoia
media-sound/easytag
media-sound/gmpc
media-sound/gpodder
media-sound/grip
media-sound/gstreamripper
media-sound/mp32ogg
media-sound/mpc
media-sound/mpd
media-sound/mpdscribble
media-tv/xawtv
media-video/ffmpeg
media-video/gnome-mplayer
media-video/lxdvdrip
media-video/mplayer
media-video/realplayer
media-video/totem
media-video/vlc
media-video/xine-ui
net-dns/dnsmasq
net-fs/nfs-utils
net-ftp/gftp
net-ftp/linksys-tftp
net-ftp/ncftp
net-im/skype
net-irc/rhapsody
net-libs/libwww
net-misc/dhcpcd
net-misc/gtk2-ssh-askpass
net-misc/icecast
net-misc/keychain
net-misc/netkit-telnetd
net-misc/ntp
net-misc/vpnc
net-p2p/createtorrent
net-p2p/murmur
net-p2p/transmission
net-print/foomatic-gui
net-print/hplip
net-www/netscape-flash
sci-astronomy/stellarium
sci-biology/cats
sci-biology/fugue
sci-biology/genome
sci-biology/hapcluster
sci-biology/lamp
sci-biology/merlin
sci-biology/pedstats
sci-biology/plink
sci-biology/qtdt
sci-biology/snphap
sci-biology/unphased
sci-mathematics/scilab
sys-apps/dbus
sys-apps/ethtool
sys-apps/hal
sys-apps/hotplug
sys-apps/lshw
sys-apps/pmount
sys-apps/sandbox
sys-apps/sg3_utils
sys-apps/slocate
sys-apps/v86d
sys-apps/xinetd
sys-block/gparted
sys-boot/grub
sys-boot/lilo
sys-devel/autoconf
sys-devel/autoconf-wrapper
sys-devel/binutils-config
sys-devel/crossdev
sys-devel/distcc-config
sys-devel/gcc-config
sys-devel/prelink
sys-fs/ddrescue
sys-fs/device-mapper
sys-fs/dosfstools
sys-kernel/gentoo-sources
sys-power/powertop
sys-process/anacron
www-apps/clutch
www-apps/wordpress
www-client/galeon
www-client/links
www-client/lynx
www-client/mozilla-firefox
www-servers/lighttpd
x11-apps/mesa-progs
x11-apps/xcalc
x11-apps/xev
x11-base/xgl
x11-drivers/nvidia-drivers
x11-drivers/xf86-input-evdev
x11-libs/gtk+:1
x11-libs/qscintilla
x11-libs/qt
x11-libs/wxGTK
x11-misc/denu
x11-misc/fbdesk
x11-misc/xbindkeys
x11-misc/xcompmgr
x11-plugins/compiz-fusion-plugins-extra
x11-plugins/compiz-fusion-plugins-main
x11-terms/aterm
x11-terms/eterm
x11-themes/commonbox-styles-extra
x11-themes/fluxbox-styles-fluxmod
x11-themes/gdm-themes
x11-themes/gdm-themes-livecd
x11-themes/gentoo-artwork
x11-themes/mplayer-skins
xfce-base/xfce4
xfce-base/xfce4-extras
xfce-base/xfce4-session
xfce-extra/xfce4-mpc
xfce-extra/xfce4-screenshooter
|
_________________ "Science is what we understand well enough to explain to a computer. Art is everything else we do." - Donald Knuth |
|
Back to top |
|
|
Genone Retired Dev
Joined: 14 Mar 2003 Posts: 9532 Location: beyond the rim
|
Posted: Wed Oct 01, 2008 10:48 am Post subject: |
|
|
What does the following command say:
Code: | emerge -p $(< /var/lib/portage/world) |
|
|
Back to top |
|
|
slackline Veteran
Joined: 01 Apr 2005 Posts: 1471 Location: /uk/sheffield
|
Posted: Wed Oct 01, 2008 1:14 pm Post subject: |
|
|
[quote=\"Genone\"]What does the following command say:
Code: | emerge -p $(< /var/lib/portage/world) | [/quote]
Ahh, thats a neat trick I hadn\'t even thought of
Tried it out and got the following, repeated a few times (not shown) and removed other packages for which ebuilds no longer exist, then repeated the emaint --fix world, but no joy. I\'m still being told by portage that there are errors in my world file
Code: |
# emerge -p $(< /var/lib/portage/world)
WARNING: repository at /usr/local/portage/hugin is missing a repo_name entry
These are the packages that would be merged, in order:
Calculating dependencies... done!
emerge: there are no ebuilds to satisfy \"media-gfx/gimp-lqr-plugin\".
...
fisher neil # emerge -uDNa world
WARNING: repository at /usr/local/portage/hugin is missing a repo_name entry
These are the packages that would be merged, in order:
Calculating dependencies... done!
Total: 0 packages, Size of downloads: 0 kB
Portage tree and overlays:
[0] /usr/portage
!!! Problems have been detected with your world file
!!! Please run emaint --check world
|
My world file now looks like...
Code: |
app-admin/localepurge
app-admin/logrotate
app-admin/syslog-ng
app-admin/tmpwatch
app-admin/usbview
app-arch/rar
app-cdr/dvd95
app-cdr/gnomebaker
app-cdr/k3b
app-editors/nano
app-emacs/color-theme
app-emacs/ecb
app-emacs/ess
app-emacs/gentoo-syntax
app-forensics/chkrootkit
app-misc/colordiff
app-misc/hal-info
app-misc/regionset
app-mobilephone/gnocky
app-mobilephone/gnome-phone-manager
app-office/openoffice
app-office/pybliographer
app-portage/eix
app-portage/genlop
app-portage/gentoolkit
app-portage/layman
app-portage/udept
app-text/acroread
app-text/dos2unix
app-text/pdfedit
app-text/pdfjam
app-text/poppler
app-text/poppler-bindings
app-text/texlive
app-text/tree
app-text/unix2dos
dev-embedded/upslug2
dev-java/sun-jre-bin
dev-lang/R
dev-lang/php
dev-perl/Catalyst-Model-CDBI
dev-perl/Catalyst-Model-DBIC
dev-perl/Catalyst-Model-DBIC-Plain
dev-perl/Catalyst-Model-File
dev-perl/Catalyst-Plugin-Authentication-Credential-CHAP
dev-perl/Catalyst-Plugin-Compress-Zlib
dev-perl/Catalyst-Plugin-Dumper
dev-perl/Catalyst-Plugin-Email
dev-perl/Catalyst-Plugin-FillInForm
dev-perl/Catalyst-Plugin-FormValidator-Simple
dev-perl/Catalyst-Plugin-Message
dev-perl/Catalyst-Plugin-MortalForward
dev-perl/Catalyst-Plugin-Scheduler
dev-perl/Catalyst-Plugin-Session-PerUser
dev-perl/Catalyst-Plugin-Session-Store-DBIC
dev-perl/Catalyst-Plugin-Session-Store-FastMmap
dev-perl/Catalyst-Plugin-Unicode
dev-perl/Catalyst-Plugin-UploadProgress
dev-perl/Catalyst-View-GD-Barcode
dev-perl/Catalyst-View-JSON
dev-perl/DBIx-Class-DigestColumns
dev-perl/Template-Plugin-Class
dev-perl/catalystframework
dev-python/eyeD3
dev-python/pysqlite
dev-python/qscintilla-python
dev-tex/bibtex2html
dev-tex/curve
dev-tex/europecv
dev-tex/tex4ht
dev-tex/texmfind
dev-texlive/texlive-bibtexextra
dev-texlive/texlive-fontsextra
dev-texlive/texlive-genericextra
dev-texlive/texlive-genericrecommended
dev-texlive/texlive-latexextra
dev-texlive/texlive-pstricks
dev-util/diffstat
dev-util/mercurial
dev-util/subversion
games-arcade/frozen-bubble
games-board/cgoban
games-board/gnugo
games-puzzle/gnudoku
games-puzzle/gweled
games-puzzle/neverball
gnome-extra/gconf-editor
gnome-extra/gnome-games
gnome-extra/gnome-utils
mail-client/claws-mail
mail-client/claws-mail-perl
media-gfx/bootsplash-themes
media-gfx/f-spot
media-gfx/gthumb
media-gfx/hugin
media-gfx/llgal
media-gfx/rawstudio
media-gfx/splash-themes-gentoo
media-gfx/splash-themes-livecd
media-gfx/ufraw
media-libs/gd
media-libs/libdvdcss
media-libs/libdvdread
media-plugins/gmpc-coveramazon
media-plugins/gmpc-lastfm
media-plugins/gmpc-magnatune
media-plugins/gmpc-mdcover
media-plugins/gmpc-serverstats
media-plugins/gst-plugins-ffmpeg
media-sound/aqualung
media-sound/audacity
media-sound/cdparanoia
media-sound/easytag
media-sound/gmpc
media-sound/gpodder
media-sound/grip
media-sound/gstreamripper
media-sound/mp32ogg
media-sound/mpc
media-sound/mpd
media-sound/mpdscribble
media-tv/xawtv
media-video/ffmpeg
media-video/gnome-mplayer
media-video/lxdvdrip
media-video/mplayer
media-video/realplayer
media-video/totem
media-video/vlc
media-video/xine-ui
net-dns/dnsmasq
net-fs/nfs-utils
net-ftp/gftp
net-ftp/linksys-tftp
net-ftp/ncftp
net-im/skype
net-irc/rhapsody
net-libs/libwww
net-misc/dhcpcd
net-misc/gtk2-ssh-askpass
net-misc/icecast
net-misc/keychain
net-misc/netkit-telnetd
net-misc/ntp
net-misc/vpnc
net-p2p/createtorrent
net-p2p/transmission
net-print/foomatic-gui
net-print/hplip
net-www/netscape-flash
sci-astronomy/stellarium
sci-biology/cats
sci-biology/fugue
sci-biology/genome
sci-biology/hapcluster
sci-biology/lamp
sci-biology/merlin
sci-biology/pedstats
sci-biology/plink
sci-biology/qtdt
sci-biology/snphap
sci-biology/unphased
sci-mathematics/scilab
sys-apps/dbus
sys-apps/ethtool
sys-apps/hal
sys-apps/hotplug
sys-apps/lshw
sys-apps/pmount
sys-apps/sandbox
sys-apps/sg3_utils
sys-apps/slocate
sys-apps/v86d
sys-apps/xinetd
sys-block/gparted
sys-boot/grub
sys-boot/lilo
sys-devel/autoconf
sys-devel/autoconf-wrapper
sys-devel/binutils-config
sys-devel/crossdev
sys-devel/gcc-config
sys-devel/prelink
sys-fs/ddrescue
sys-fs/device-mapper
sys-fs/dosfstools
sys-kernel/gentoo-sources
sys-power/powertop
sys-process/anacron
www-apps/clutch
www-client/galeon
www-client/links
www-client/lynx
www-client/mozilla-firefox
www-servers/lighttpd
x11-apps/mesa-progs
x11-apps/xcalc
x11-apps/xev
x11-drivers/nvidia-drivers
x11-drivers/xf86-input-evdev
x11-libs/gtk+:1
x11-libs/qscintilla
x11-libs/qt
x11-libs/wxGTK
x11-misc/denu
x11-misc/fbdesk
x11-misc/xbindkeys
x11-misc/xcompmgr
x11-plugins/compiz-fusion-plugins-extra
x11-plugins/compiz-fusion-plugins-main
x11-terms/aterm
x11-terms/eterm
x11-themes/commonbox-styles-extra
x11-themes/fluxbox-styles-fluxmod
x11-themes/gdm-themes
x11-themes/gdm-themes-livecd
x11-themes/gentoo-artwork
x11-themes/mplayer-skins
xfce-base/xfce4
xfce-base/xfce4-extras
xfce-base/xfce4-session
xfce-extra/xfce4-mpc
xfce-extra/xfce4-screenshooter
|
slack _________________ "Science is what we understand well enough to explain to a computer. Art is everything else we do." - Donald Knuth |
|
Back to top |
|
|
red-wolf76 l33t
Joined: 13 Apr 2005 Posts: 714 Location: Rhein-Main Area
|
Posted: Fri Aug 21, 2009 8:42 pm Post subject: |
|
|
I've the same problem... And emerge -uDNpv @world @system takes bloody ages to produce any result. Plus, it told me that app-emulation/wine does not have an ebuild - which it does. _________________ 0mFg, G3nt00 r0X0r$ T3h B1g!1111
Use sane CFLAGS! If for no other reason, do it for the lulz! |
|
Back to top |
|
|
slackline Veteran
Joined: 01 Apr 2005 Posts: 1471 Location: /uk/sheffield
|
Posted: Sat Aug 22, 2009 7:19 am Post subject: |
|
|
I did fix this but I'm afraid I can't for the life of me remember how, sorry for being tardy and not posting details at the time. _________________ "Science is what we understand well enough to explain to a computer. Art is everything else we do." - Donald Knuth |
|
Back to top |
|
|
dalek Veteran
Joined: 19 Sep 2003 Posts: 1353 Location: Mississippi USA
|
Posted: Thu Aug 27, 2009 2:58 am Post subject: |
|
|
Same here. I updated python the other day and I think that is when this started. Could python being updated cause this?
_________________ My rig: Gigabyte GA-970A-UD3P mobo, AMD FX-8350 Eight-Core CPU, ZALMAN CNPS10X Performa CPU cooler,
G.SKILL 32GB DDR3 PC3 12800 Memory Nvidia GTX-650 video card LG W2253 Monitor
60TBs of hard drive space using LVM
Cooler Master HAF-932 Case |
|
Back to top |
|
|
dalek Veteran
Joined: 19 Sep 2003 Posts: 1353 Location: Mississippi USA
|
Posted: Thu Aug 27, 2009 3:12 am Post subject: |
|
|
Sorry to re-post so quick but I re-emerged portage and it seems to have fixed it. Could someone test this on their box and see if it helps?
_________________ My rig: Gigabyte GA-970A-UD3P mobo, AMD FX-8350 Eight-Core CPU, ZALMAN CNPS10X Performa CPU cooler,
G.SKILL 32GB DDR3 PC3 12800 Memory Nvidia GTX-650 video card LG W2253 Monitor
60TBs of hard drive space using LVM
Cooler Master HAF-932 Case |
|
Back to top |
|
|
|