Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Newb portage / gnome question :(
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
adamacious
n00b
n00b


Joined: 15 May 2005
Posts: 39
Location: Earth

PostPosted: Wed Jun 15, 2005 5:53 am    Post subject: Newb portage / gnome question :( Reply with quote

Hi :).
I'm rather new to linux/gentoo, and I am having trouble updating software using portage.
For example, I have an older version of gedit, so I type emerge -u gedit, but it doesn't update it. Further, when I try emerging the newest gnome, I get a strange error
Code:

# emerge -u gnome-2.10-r1
Calculating dependencies

!!! Problem in gnome-base/gnome-2.10-r1 dependencies.
!!! "Specific key requires an operator (gnome-base/gnome-2.10-r1) (try adding an '=')" exceptions


I know its a n00b question, but could anyone offer any help?

Thanks :)
Adam
Back to top
View user's profile Send private message
96140
Retired Dev
Retired Dev


Joined: 23 Jan 2005
Posts: 1324

PostPosted: Wed Jun 15, 2005 6:24 am    Post subject: Reply with quote

You could try waiting until tomorrow (June 15) and re-syncing. Often odd Portage errors are caused by upstream tree problems, like packages being released too slowly. That happened when Gnome 2.10 first began to hit the x86 branch; several dependencies were released later than the rest of the package; I had to wait a couple of days before syncing again and getting a proper Portage tree.

Otherwise, what's your make.conf and/or package.keywords look like? And do you have any current Gnome packages installed? Do be sure that you aren't trying to mix x86 and ~x86 from the various parts of Gnome, otherwise you'll end up with all sorts of problems, not the least of which are circular upgrade and downgrade problems.
Back to top
View user's profile Send private message
apmurray
Apprentice
Apprentice


Joined: 29 May 2004
Posts: 221
Location: Adelaide, Australia

PostPosted: Wed Jun 15, 2005 8:15 am    Post subject: Reply with quote

don't specify the version when emerging. Instead just do an:

emerge gnome
Back to top
View user's profile Send private message
adamacious
n00b
n00b


Joined: 15 May 2005
Posts: 39
Location: Earth

PostPosted: Wed Jun 15, 2005 8:07 pm    Post subject: Reply with quote

I tried just doing a simple emerge gnome, but to no avail (i already have gnome installed, so i just wanna update), and it would probobly be a good idea to mention that I am on an amd64 system. And nightmorph, sorry, but I am really new, and I have absolutelly no idea what re-syncing or upstreaming or ne of that is :(.

My make.conf is:
Quote:
# These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example
CFLAGS="-march=k8 -pipe -O2"
CHOST="x86_64-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo"
USE="java hal howl gtk gnome qt kde dvd alsa cdr gtk2 oss cups foomaticdb ppds usb"
ALSA_CARDS="SI7012"


and my package.keywords doesn't exactly exist (or I don't know where it is, but its not /etc where like everything is.

Thanks alot for all the help so far, and hopefully more to come :D :D :D

Thanks,
Adam
Back to top
View user's profile Send private message
96140
Retired Dev
Retired Dev


Joined: 23 Jan 2005
Posts: 1324

PostPosted: Thu Jun 16, 2005 12:26 am    Post subject: Reply with quote

Ahh, if you're an AMD64 issue, you might also want to stop by the AMD64 forum just to see if users have had similar problems to yours, on the off chance you have a compile problem.

But to clear up your confusion, "re-syncing" just means running another emerge sync, to grab the latest available package list. Also on that note, ebuilds and packages are maintained by what are called the "upstream" developers; that is, the changes they make to software and to ebuilds, and the final release of packages to we users trickles "downstream" to us. They finish the code, and put it out onto all the Gentoo mirrors for us to install.

However, if the package maintainers take their sweet time about getting the packages out to us, or if the Portage tree stored on several mirrors isn't updated (on those servers) has had something odd done to it, then dependecy problems might show up. However, usually not much ever goes wrong with the tree itself; pretty much any problems with it are only reflected by what the package maintainers are doing.

For example, the Gnome ebuild (what you're trying to get when you type emerge gnome is actually just a collection of smaller ebuilds for the scores of packages that make up the Gnome desktop; Gnome itself is only a meta-package, so to speak, with no actual files to install in it. But think for a second. What happens if Gnome 2.10 comes out, and the Portage tree is updated to reflect this, but not all of the required packages are available? What if the Gnome toolbar and applet files aren't released immediately, but the latest libgnomeui 2.10 and gedit 2.10 are available, but they depend on 2.10 versions of gnome-toolbar and gnome-applets?

You get dependency issues. This is exactly what happened when Gnome 2.10 was moved to the stable x86 branch from the unstable ~x86 branch. Many users had package dependency problems; I got weird error messages about packages that were required but couldn't be found, or blocked installation of other packages, and so on. After a couple of days, I ran another emerge sync, and the latest Portage tree was finally correct, and the last of the needed Gnome files were available. Of course, two days later there were some revisions of several packages already available, including gedit. I guess the packages, though they were finally released, weren't quite ready for the primetime if an update was made available so soon.

Finally, take a look at /etc/portage. That's where package.keywords is kept, but I'm guessing that you don't have anything special in it; it's just for unmasking certain packages that you want to be able to use, even if they're ~x86 or hard-masked. There's some other files kept in that directory, including your profile directory.

And, in the future, if you ever have trouble and someone needs to see your make.conf, it's easier to type emerge info and post the output here. That command gives far more detailed information about your system configuration and is more useful for troubleshooting.

HTH!
Back to top
View user's profile Send private message
adamacious
n00b
n00b


Joined: 15 May 2005
Posts: 39
Location: Earth

PostPosted: Fri Jun 17, 2005 4:22 am    Post subject: Reply with quote

Thanks for the great post, nightmorph :). I ran emerge sync, but then ran into more problems :(.

Code:
root@tux adam # emerge -u gnome
Calculating dependencies ...done!

!!! Error: the <=x11-themes/gnome-themes-2.8.2 package conflicts with another package.
!!!        both can't be installed on the same system together.
!!!        Please use 'emerge --pretend' to determine blockers.
root@tux adam # emerge --pretend -u gnome

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[blocks B     ] <=x11-themes/gnome-themes-2.8.2 (is blocking x11-themes/gtk-engines-2.6.3)
[blocks B     ] <app-admin/gnome-system-tools-1.1.91 (is blocking app-admin/system-tools-backends-1.2.0)
[ebuild     U ] sys-devel/gettext-0.14.4 [0.14.1]
[ebuild     U ] sys-libs/gpm-1.20.1-r4 [1.20.1]
[ebuild     U ] sys-libs/ncurses-5.4-r6 [5.4-r5]
[ebuild     U ] app-shells/bash-3.0-r11 [2.05b-r9]
[ebuild  N    ] sys-devel/binutils-config-1.8-r3
[ebuild     U ] sys-devel/gnuconfig-20050324 [20040214]
[ebuild     U ] sys-devel/binutils-2.15.92.0.2-r10 [2.15.92.0.2-r1]
[ebuild     U ] sys-libs/glibc-2.3.4.20041102-r1 [2.3.4.20041102]
[ebuild     U ] dev-java/blackdown-jdk-1.4.2.02 [1.4.2.01-r2]
[ebuild  NS   ] sys-libs/db-4.2.52_p2
[ebuild     U ] dev-lang/perl-5.8.5-r5 [5.8.5-r4]
[ebuild     U ] sys-apps/texinfo-4.8 [4.7-r1]
[ebuild     U ] sys-devel/automake-1.9.5 [1.9.4]
[ebuild     U ] sys-apps/sed-4.1.4 [4.0.9]
[ebuild     U ] dev-libs/atk-1.9.1 [1.8.0]
[ebuild     U ] x11-misc/shared-mime-info-0.16 [0.14-r2]
[ebuild     U ] x11-libs/gtk+-2.6.7 [2.6.4-r1]
[ebuild  N    ] net-misc/howl-0.9.6-r2
[ebuild     U ] sys-libs/readline-5.0-r2 [4.3-r5]
[ebuild     U ] sys-devel/bc-1.06-r6 [1.06-r5]
[ebuild     U ] sys-apps/diffutils-2.8.7-r1 [2.8.7]
[ebuild     U ] dev-libs/openssl-0.9.7e-r1 [0.9.7e]
[ebuild     U ] gnome-base/orbit-2.12.2 [2.12.1]
[ebuild     U ] sys-apps/hal-0.4.7-r2 [0.4.5-r2]
[ebuild     U ] gnome-base/gconf-2.10.0 [2.8.1-r1]
[ebuild     U ] app-arch/bzip2-1.0.3 [1.0.2-r5]
[ebuild     U ] gnome-base/gnome-vfs-2.10.0-r2 [2.8.4-r1]
[ebuild     U ] gnome-base/libgnome-2.10.0 [2.8.1]
[ebuild     U ] gnome-base/librsvg-2.9.5 [2.8.1-r1]
[ebuild     U ] gnome-base/gnome-keyring-0.4.2 [0.4.1]
[ebuild     U ] dev-lang/python-2.3.5 [2.3.4-r1]
[ebuild     U ] gnome-base/libglade-2.5.0 [2.4.2]
[ebuild     U ] gnome-base/libgnomecanvas-2.10.0 [2.8.0]
[ebuild     U ] gnome-base/libgnomeui-2.10.0 [2.8.1-r1]
[ebuild     U ] x11-themes/gnome-icon-theme-2.10.0 [2.8.0]
[ebuild     U ] x11-themes/gtk-engines-2.6.3 [2.2.0]
[ebuild     U ] x11-themes/gnome-themes-2.10.0 [2.8.2]
[ebuild     U ] gnome-extra/gnome-games-2.10.0 [2.8.3]
[ebuild  N    ] gnome-base/gnome-menus-2.10.1
[ebuild     U ] gnome-base/gail-1.8.3 [1.8.2-r1]
[ebuild     U ] gnome-base/gnome-desktop-2.10.0 [2.8.3]
[ebuild     U ] gnome-base/eel-2.10.0 [2.8.2]
[ebuild  N    ] net-print/libgnomecups-0.2.0
[ebuild     U ] gnome-base/libgnomeprint-2.10.0 [2.8.2]
[ebuild     U ] gnome-base/libgnomeprintui-2.10.0.1 [2.8.2]
[ebuild     U ] x11-libs/gtksourceview-1.2.0 [1.1.1]
[ebuild     U ] app-editors/gedit-2.10.3 [2.8.3]
[ebuild     U ] gnome-base/gnome-session-2.10.0 [2.8.1]
[ebuild     U ] www-client/epiphany-1.6.0-r3 [1.4.8]
[ebuild     U ] app-cdr/cdrtools-2.01-r3 [2.01-r2]
[ebuild     U ] media-libs/gst-plugins-0.8.8-r2 [0.8.8]
[ebuild  N    ] media-plugins/gst-plugins-esd-0.8.8
[ebuild     U ] sys-apps/eject-2.0.13-r1 [2.0.13]
[ebuild     U ] gnome-base/nautilus-2.10.0 [2.8.2-r1]
[ebuild     U ] gnome-extra/nautilus-cd-burner-2.10.0 [2.8.7]
[ebuild     U ] sys-apps/grep-2.5.1-r7 [2.5.1-r6]
[ebuild     U ] sys-devel/libtool-1.5.16 [1.5.10-r4]
[ebuild     U ] net-libs/gnutls-1.2.4 [1.2.3]
[ebuild     U ] net-libs/libsoup-2.2.3 [2.2.2]
[ebuild     U ] gnome-extra/evolution-data-server-1.2.1-r1 [1.0.4]
[ebuild     U ] x11-libs/libxklavier-2.0 [1.04-r1]
[ebuild     U ] x11-wm/metacity-2.10.0 [2.8.13]
[ebuild     U ] gnome-base/control-center-2.10.0 [2.8.2]
[ebuild     U ] x11-libs/libwnck-2.10.0 [2.8.1-r1]
[ebuild     U ] gnome-base/gnome-panel-2.10.0-r1 [2.8.3]
[ebuild     U ] net-analyzer/gnome-netstatus-2.10.0 [2.8.0]
[ebuild     U ] app-arch/file-roller-2.10.0-r1 [2.8.4]
[ebuild     U ] gnome-extra/gconf-editor-2.10.0 [2.8.2]
[ebuild     U ] gnome-extra/evolution-webcal-2.2.0 [2.0.1]
[ebuild     U ] x11-libs/vte-0.11.12 [0.11.11-r2]
[ebuild     U ] x11-terms/gnome-terminal-2.10.0 [2.8.2]
[ebuild     U ] gnome-base/libgtop-2.10.0 [2.8.3]
[ebuild     U ] net-misc/openssh-3.9_p1-r2 [3.9_p1-r1]
[ebuild  N    ] app-admin/system-tools-backends-1.2.0
[ebuild     U ] gnome-base/gnome-applets-2.10.0 [2.8.2]
[ebuild  NS   ] gnome-extra/libgtkhtml-3.6.1
[ebuild     U ] gnome-extra/zenity-2.10.0 [2.8.2]
[ebuild     U ] gnome-base/gnome-volume-manager-1.2.0 [1.0.3]
[ebuild  N    ] media-libs/musicbrainz-2.1.1
[ebuild  N    ] media-sound/cdparanoia-3.9.8-r2
[ebuild  N    ] media-plugins/gst-plugins-cdparanoia-0.8.8
[ebuild  N    ] media-plugins/gst-plugins-vorbis-0.8.8
[ebuild  N    ] media-plugins/gst-plugins-ogg-0.8.8
[ebuild     U ] gnome-extra/gnome-media-2.10.0 [2.8.0]
[ebuild  N    ] media-sound/sound-juicer-2.10.0
[ebuild  N    ] perl-core/Storable-2.13
[ebuild     U ] mail-filter/spamassassin-3.0.4 [3.0.2-r1]
[ebuild  NS   ] gnome-extra/gal-2.4.1
[ebuild     U ] mail-client/evolution-2.2.1.1 [2.0.4]
[ebuild     U ] app-admin/gnome-system-tools-1.2.0-r1 [1.0.2-r1]
[ebuild     U ] gnome-base/gdm-2.6.0.9-r2 [2.6.0.7]
[ebuild  N    ] app-text/gnome-doc-utils-0.1.3
[ebuild     U ] gnome-extra/bug-buddy-2.10.0 [2.8.0]
[ebuild  N    ] x11-themes/gnome-backgrounds-2.10.1
[ebuild     U ] net-misc/vino-2.10.0 [2.8.1]
[ebuild     U ] gnome-extra/gnome-system-monitor-2.10.0 [2.8.3]
[ebuild     U ] app-text/gpdf-2.10.0 [2.8.3]
[ebuild     U ] gnome-extra/gnome-utils-2.10.0 [2.8.1]
[ebuild     U ] gnome-extra/gcalctool-5.5.41 [4.4.22]
[ebuild  N    ] media-plugins/gst-plugins-xvideo-0.8.8
[ebuild  N    ] media-libs/a52dec-0.7.4-r4
[ebuild  N    ] media-plugins/gst-plugins-a52dec-0.8.8
[ebuild  N    ] media-libs/libdvdcss-1.2.8
[ebuild  N    ] media-libs/libdvdread-0.9.4
[ebuild  N    ] media-plugins/gst-plugins-dvdread-0.8.8
[ebuild  N    ] media-plugins/gst-plugins-ffmpeg-0.8.4
[ebuild  N    ] media-plugins/gst-plugins-gnomevfs-0.8.8
[ebuild  N    ] media-plugins/gst-plugins-pango-0.8.8-r1
[ebuild  N    ] media-libs/libmpeg2-0.4.0b
[ebuild  N    ] media-plugins/gst-plugins-mpeg2dec-0.8.8
[ebuild  N    ] media-video/totem-1.0.2-r1
[ebuild     U ] gnome-base/gnome-2.10-r1 [2.8.3-r1]


I am again confused by this output :(.

Any help would (again) be appreciated.

Thanks,
Adam
Back to top
View user's profile Send private message
96140
Retired Dev
Retired Dev


Joined: 23 Jan 2005
Posts: 1324

PostPosted: Fri Jun 17, 2005 5:17 am    Post subject: Reply with quote

Again, blocked packages are talked about in man portage, or man emerge. In this case, that's what you'll see if you try to upgrade from Gnome 2.8 to 2.10. All you have to do is unmerge the blocking packages like so:
Code:
# emerge -aC gnome-themes gnome-system-tools

Emerge will then ask if you want to remove the packages, so type "Y" and press enter. Then just do
Code:
# emerge -au gnome
and you'll be able to upgrade to Gnome 2.10.

Basically, two of the existing Gnome 2.8 packages conflict with the upgrades available in Gnome 2.10, so you just have to remove them. They'll be replaced by equivalents in Gnome 2.10; the ones you currently have won't be used at all in the latest Gnome, which is why they need to actually first be removed, rather than emerge doing the uninstalling work for you. My guess is that the packages have similar, but different programs replacing them, rather than an upgraded version. If they just had 2.10 upgrades, then there wouldn't be any blocked packages, but it appears that Gnome's functionality has changed, which is why you get the message about needing to remove the blocked packages, gnome-themes and gnome-system-tools.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
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