Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] not able to update mate packages in layman
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
hadrons123
Tux's lil' helper
Tux's lil' helper


Joined: 08 Mar 2012
Posts: 90
Location: chennai

PostPosted: Wed Nov 20, 2013 10:15 am    Post subject: [SOLVED] not able to update mate packages in layman Reply with quote

I am using Gentoo unstable with mate overlay and I am not able to installl updated packages from mate overlay.

Code:
gentoo ~ # emerge --info
Portage 2.2.7 (default/linux/amd64/13.0/desktop, gcc-4.8.2, glibc-2.17, 3.12.0 x86_64)
=================================================================
System uname: Linux-3.12.0-x86_64-Intel-R-_Core-TM-_i7-3630QM_CPU_@_2.40GHz-with-gentoo-2.2
KiB Mem:     8054816 total,    363404 free
KiB Swap:          0 total,         0 free
Timestamp of tree: Wed, 20 Nov 2013 04:15:02 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:          4.2_p45
dev-lang/python:          2.7.5-r4, 3.2.5-r3, 3.3.2-r2
dev-util/cmake:           2.8.12.1-r1
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.13.4, 1.14
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.8.2
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.11 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo mate-overlay
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -mtune=generic -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -mtune=generic -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://mirror.mcs.anl.gov/pub/gentoo/ rsync://mirror.mcs.anl.gov/gentoo/ ftp://mirror.mcs.anl.gov/pub/gentoo/ http://mirror.datapipe.net/gentoo ftp://mirror.datapipe.net/gentoo http://gentoo.mirrors.easynews.com/linux/gentoo/"
LANG="en_US.iso88591"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude=metadata/cache/*"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/mate"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth bluray branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac fontconfig fortran gdbm gif gnome gpm gtk gtkstyle iconv infinality ipv6 jpeg lcms ldap libass libnotify lock mad matroska mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nsplugin ogg opengl openmp pam pango pcre pdf png policykit ppds qt3support qt4 readline sdl session spell sse sse2 ssl startup-notification svg tcpd thunar tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xcb xml xscreensaver xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_US" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, USE_PYTHON



I am able to update ebuilds from mate overlay by using layman -S. But the updated ebuilds with ~amd64 arch doesn't show up while I emerge world like this.
Code:
gentoo ~ # emerge -avuDN --with-bdeps y --keep-going world

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

Calculating dependencies... done!

Total: 0 packages, Size of downloads: 0 kB

Nothing to merge; quitting.

gentoo ~ #


The package I wanted to install was mate-settings-daemon which is of the version 1.7.0 ebuild , whereas the installed version is mate-base/mate-settings-daemon-1.6.1.

How do I make or force the packages with KEYWORDS ~amd64 get it updated and installed in mate overlay?
_________________
LENOVO Y580 FHD Intel® Core™ i7-3630QM CPU @ 2.40GHz × 8 |660M GTX NVIDIA | 16GB SanDisk SSD


Last edited by hadrons123 on Thu Dec 12, 2013 3:46 pm; edited 1 time in total
Back to top
View user's profile Send private message
dol-sen
Developer
Developer


Joined: 30 Jun 2002
Posts: 2503
Location: Richmond, BC, Canada

PostPosted: Fri Nov 29, 2013 3:34 am    Post subject: Reply with quote

I see a mis-configuration that is not likely causing your problem, but could.

Code:
PORTDIR_OVERLAY="/var/lib/layman/mate"


That is not the normal method of setting it to detect layman installed overlays.
Layman adds those entries in it's own /var/lib/layman/make.conf file.
You should have added a line like this to /etc/portage/make.conf
Code:
source /var/lib/layman/make.conf


Also to find out why emerge doesn't want to install the ebuild from the overlay, then ask it to specifically.
Code:
emerge some-mate-pkg::mate
that tells emerge you want the pkg from the mate overlay. If it is masked by something, it will tell you why.

NOTE: you add "::overlay-name" to the end of the pkg you want to install. If you are also specifying a slot, then ":slot:overlay-name"
_________________
Brian
Porthole, the Portage GUI frontend irc@freenode: #gentoo-guis, #porthole, Blog
layman, gentoolkit, CoreBuilder, esearch...
Back to top
View user's profile Send private message
hadrons123
Tux's lil' helper
Tux's lil' helper


Joined: 08 Mar 2012
Posts: 90
Location: chennai

PostPosted: Fri Nov 29, 2013 11:48 am    Post subject: Reply with quote

Thanks for the Answer.
I did what you said but It didn't change anything.
Still not able to update to newest packages from mate repos.

With all due respect why should I slot the packages when the update is available. How many packages to slot for the whole DE?
It would be tough to maintain all the slots for the whole DE.

Edit:
I guess its masked. But the ebuild has the unstable ~amd64 keyword for it. I am not sure if there is any other alternate way to mask.
Code:
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI="5"
GCONF_DEBUG="yes"
MATE_LA_PUNT="yes"

inherit eutils mate

DESCRIPTION="MATE Settings Daemon"
HOMEPAGE="http://mate-desktop.org"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
IUSE="debug gtk3 libnotify policykit pulseaudio smartcard"

COMMON_DEPEND=">=dev-libs/dbus-glib-0.74
   >=dev-libs/glib-2.18:2
   gtk3? ( x11-libs/gtk+:3 )
   !gtk3? ( x11-libs/gtk+:2 )
   >=mate-base/libmatekbd-1.7.0[gtk3?]
   >=mate-base/mate-desktop-1.7.0[gtk3?]
   >=gnome-base/dconf-0.13.4

   x11-libs/libX11
   x11-libs/libXi
   x11-libs/libXext
   x11-libs/libXxf86misc
   >=x11-libs/libxklavier-5.0
   media-libs/fontconfig

   libnotify? ( >=x11-libs/libnotify-0.7.0 )
   policykit? (
      >=sys-auth/polkit-0.91
      >=dev-libs/dbus-glib-0.71
      >=sys-apps/dbus-1.1.2 )
   pulseaudio? (
      >=media-sound/pulseaudio-0.9.15
      gtk3? ( media-libs/libcanberra[gtk3] )
      !gtk3? ( media-libs/libcanberra[gtk] ) )
   !pulseaudio? (
      >=media-libs/gstreamer-0.10.1.2:0.10
      >=media-libs/gst-plugins-base-0.10.1.2:0.10 )
   smartcard? ( >=dev-libs/nss-3.11.2 )"

# 50-accessibility.xml moved to gnome-control-center in gnome-3
RDEPEND="${COMMON_DEPEND}"

DEPEND="${COMMON_DEPEND}
   sys-devel/gettext
   >=dev-util/intltool-0.40
   virtual/pkgconfig
   x11-proto/inputproto
   x11-proto/xproto"

pkg_setup() {
   # README is empty
   DOCS="AUTHORS NEWS ChangeLog"
   G2CONF="${G2CONF}
      $(use_with libnotify)
      $(use_enable debug)
      $(use_enable policykit polkit)
      $(use_enable pulseaudio pulse)
      $(use_enable !pulseaudio gstreamer)
      $(use_enable smartcard smartcard-support)"

   if use pulseaudio; then
      elog "Building volume media keys using Pulseaudio"
   else
      elog "Building volume media keys using GStreamer"
   fi
}

src_prepare() {
   # More network filesystems not to monitor, upstream bug #606421
   epatch "${FILESDIR}/${PN}-1.4.0-netfs-monitor.patch"

   # mouse: Use event driven mode for syndaemon
   epatch "${FILESDIR}/${PN}-1.2.0-syndaemon-mode.patch"

   mate_src_prepare
}

_________________
LENOVO Y580 FHD Intel® Core™ i7-3630QM CPU @ 2.40GHz × 8 |660M GTX NVIDIA | 16GB SanDisk SSD
Back to top
View user's profile Send private message
OldTango
Guru
Guru


Joined: 21 Feb 2004
Posts: 489

PostPosted: Sun Dec 01, 2013 6:43 pm    Post subject: Reply with quote

hadrons123 wrote:

I guess its masked. But the ebuild has the unstable ~amd64 keyword for it. I am not sure if there is any other alternate way to mask.


If you
Code:

emerge -pv =mate-base/mate-settings-daemon-1.7.0

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

Calculating dependencies... done!
[ebuild     U #] mate-base/mate-desktop-1.7.1::mate-overlay [1.6.1-r1::mate-overlay] USE="-debug -gtk3" 2,941 kB
[ebuild     U #] mate-base/libmatekbd-1.7.1::mate-overlay [1.6.1::mate-overlay] USE="-gtk3 {-test}" 354 kB
[ebuild     U #] mate-base/mate-settings-daemon-1.7.0::mate-overlay [1.6.1::mate-overlay] USE="libnotify policykit -debug -gtk3% -pulseaudio -smartcard" 764 kB

Total: 3 packages (3 upgrades), Size of downloads: 4,058 kB

The following mask changes are necessary to proceed:
 (see "package.unmask" in the portage(5) man page for more details)
# required by mate-base/mate-settings-daemon-1.7.0::mate-overlay
# required by @selected
# required by @world (argument)
# /var/lib/layman/mate/profiles/package.mask:
#Mask caja-dropbox for now. I have no idea how this works.
# Mask mate-system-tools for now, needs testing
#Mask new development release
=mate-base/libmatekbd-1.7.1
# required by mate-base/mate-settings-daemon-1.7.0::mate-overlay
# required by @selected
# required by @world (argument)
# /var/lib/layman/mate/profiles/package.mask:
#Mask caja-dropbox for now. I have no idea how this works.
# Mask mate-system-tools for now, needs testing
#Mask new development release
=mate-base/mate-desktop-1.7.1
# required by =mate-base/mate-settings-daemon-1.7.0 (argument)
# /var/lib/layman/mate/profiles/package.mask:
#Mask caja-dropbox for now. I have no idea how this works.
# Mask mate-system-tools for now, needs testing
#Mask new development release
=mate-base/mate-settings-daemon-1.7.0

NOTE: The --autounmask-keep-masks option will prevent emerge
      from creating package.unmask or ** keyword changes.

You'll get more information and discover their masked in /var/lib/layman/mate/profiles/package.mask
Back to top
View user's profile Send private message
hadrons123
Tux's lil' helper
Tux's lil' helper


Joined: 08 Mar 2012
Posts: 90
Location: chennai

PostPosted: Sun Dec 01, 2013 10:28 pm    Post subject: Reply with quote

Thank you for the answer. I didn't know this existed /var/lib/layman/mate/profiles/package.mask.

Edit:
For posterity purpose.

I am able to install packages from layman repos. The packages were development versions and masked by layman and I didn't know there was more than one place to mask the packages.
_________________
LENOVO Y580 FHD Intel® Core™ i7-3630QM CPU @ 2.40GHz × 8 |660M GTX NVIDIA | 16GB SanDisk SSD
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software 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