Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Discussion & Documentation Documentation, Tips & Tricks
  • Search

autounmask - unmasking packages the easy way

Unofficial documentation for various parts of Gentoo Linux. Note: This is not a support forum.
Post Reply
Advanced search
50 posts
  • 1
  • 2
  • Next
Author
Message
ian!
Bodhisattva
Bodhisattva
User avatar
Posts: 3829
Joined: Tue Feb 25, 2003 9:52 am
Location: Essen, Germany
Contact:
Contact ian!
Website

autounmask - unmasking packages the easy way

  • Quote

Post by ian! » Thu Apr 26, 2007 2:48 pm

Ok.. guess we all know something like that:

Code: Select all

# emerge -pv =gnome-base/gnome-2.18.0

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

Calculating dependencies -
!!! All ebuilds that could satisfy "=gnome-base/gnome-2.18.0" have been masked.
!!! One of the following masked packages is required to complete your request:
- gnome-base/gnome-2.18.0 (masked by: package.mask, ~x86 keyword)
# Rémi Cardona <remi@gentoo.org> (08 Apr 2007)
# Meta packages for Gnome 2.18.0
# See below for actual packages


For more information, see MASKED PACKAGES section in the emerge man page or
refer to the Gentoo Handbook.
Usually you would now manually unmask this package and try again. - Oh my..

I like it better this way:

Code: Select all

# autounmask gnome-base/gnome-2.18.0

 autounmask version 0.13 (using PortageXS-0.02.06)
 Bugs and requests go to ian <ian@gentoo.org>.

 * Using repository: /usr/portage

 * Using package.keywords file: /etc/portage/package.keywords
 * Using package.unmask file: /etc/portage/package.unmask

 * Unmasking gnome-base/gnome-2.18.0 and its dependencies.. this might take a while..

 * Added '=gnome-base/gnome-2.18.0 ~x86' to package.keywords
 * Added '=gnome-base/gnome-2.18.0' to package.unmask
 * Added '=gnome-extra/evolution-data-server-1.10.1 ~x86' to package.keywords
 * Added '=gnome-extra/evolution-data-server-1.10.1' to package.unmask
 * Added '=gnome-extra/evolution-data-server-1.10.0 ~x86' to package.keywords
 * Added '=gnome-extra/evolution-data-server-1.10.0' to package.unmask
 * Added '=dev-util/intltool-0.35.5 ~x86' to package.keywords
 * Added '=gnome-base/gnome-volume-manager-2.17.0 ~x86' to package.keywords
 * Added '=gnome-base/gnome-volume-manager-2.17.0' to package.unmask
 * Added '=www-client/epiphany-2.18.0 ~x86' to package.keywords
 * Added '=www-client/epiphany-2.18.0' to package.unmask
 * Added '=www-client/epiphany-2.18.1 ~x86' to package.keywords
 * Added '=www-client/epiphany-2.18.1' to package.unmask
 * Added '=net-analyzer/gnome-nettool-2.18.0 ~x86' to package.keywords
 * Added '=net-analyzer/gnome-nettool-2.18.0' to package.unmask
 * Added '=x11-libs/libwnck-2.18.0' to package.unmask
 * Added '=gnome-base/eel-2.18.0.1 ~x86' to package.keywords
 * Added '=gnome-base/eel-2.18.0.1' to package.unmask
 * Added '=gnome-extra/deskbar-applet-2.18.0 ~x86' to package.keywords
 * Added '=gnome-extra/deskbar-applet-2.18.0' to package.unmask
 * Added '=gnome-extra/deskbar-applet-2.18.1 ~x86' to package.keywords
 * Added '=gnome-extra/deskbar-applet-2.18.1' to package.unmask
 * Added '=dev-libs/atk-1.18.0 ~x86' to package.keywords
 * Added '=dev-libs/atk-1.18.0' to package.unmask
 * Added '=gnome-base/libbonoboui-2.18.0 ~x86' to package.keywords
 * Added '=gnome-base/libbonoboui-2.18.0' to package.unmask
 * Added '=media-libs/libart_lgpl-2.3.19-r1 ~x86' to package.keywords
 * Added '=gnome-extra/gnome-games-2.18.0 ~x86' to package.keywords
 * Added '=gnome-extra/gnome-games-2.18.0' to package.unmask
 * Added '=gnome-extra/gnome-games-2.18.1 ~x86' to package.keywords
 * Added '=gnome-extra/gnome-games-2.18.1' to package.unmask
 * Added '=dev-python/gnome-python-desktop-2.18.0 ~x86' to package.keywords
 * Added '=dev-python/gnome-python-desktop-2.18.0' to package.unmask
 * Added '=x11-wm/metacity-2.18.2 ~x86' to package.keywords
 * Added '=x11-wm/metacity-2.18.2' to package.unmask
 * Added '=x11-wm/metacity-2.18.0 ~x86' to package.keywords
 * Added '=x11-wm/metacity-2.18.0' to package.unmask
 * Added '=x11-wm/metacity-2.18.1 ~x86' to package.keywords
 * Added '=x11-wm/metacity-2.18.1' to package.unmask
 * Added '=gnome-base/gnome-panel-2.18.1 ~x86' to package.keywords
 * Added '=gnome-base/gnome-panel-2.18.1' to package.unmask
 * Added '=gnome-base/gnome-panel-2.18.0 ~x86' to package.keywords
 * Added '=gnome-base/gnome-panel-2.18.0' to package.unmask
 * Added '=x11-libs/pango-1.16.1 ~x86' to package.keywords
 * Added '=x11-libs/pango-1.16.1' to package.unmask
 * Added '=x11-libs/pango-1.16.3 ~x86' to package.keywords
 * Added '=x11-libs/pango-1.16.3' to package.unmask
 * Added '=x11-libs/pango-1.16.2 ~x86' to package.keywords
 * Added '=x11-libs/pango-1.16.2' to package.unmask
 * Added '=gnome-extra/yelp-2.18.0 ~x86' to package.keywords
 * Added '=gnome-extra/yelp-2.18.0' to package.unmask
 * Added '=app-arch/file-roller-2.18.2 ~x86' to package.keywords
 * Added '=app-arch/file-roller-2.18.2' to package.unmask
 * Added '=app-arch/file-roller-2.18.0 ~x86' to package.keywords
 * Added '=app-arch/file-roller-2.18.0' to package.unmask
 * Added '=gnome-base/orbit-2.14.7 ~x86' to package.keywords
 * Added '=gnome-extra/gcalctool-5.9.14 ~x86' to package.keywords
 * Added '=gnome-extra/gcalctool-5.9.14' to package.unmask
 * Added '=gnome-base/libgnome-2.18.0 ~x86' to package.keywords
 * Added '=gnome-base/libgnome-2.18.0' to package.unmask
 * Added '=app-text/evince-0.8.0 ~x86' to package.keywords
 * Added '=app-text/evince-0.8.0' to package.unmask
 * Added '=app-text/evince-0.8.1 ~x86' to package.keywords
 * Added '=app-text/evince-0.8.1' to package.unmask
 * Added '=x11-themes/gnome-icon-theme-2.18.0 ~x86' to package.keywords
 * Added '=x11-themes/gnome-icon-theme-2.18.0' to package.unmask
 * Added '=media-sound/sound-juicer-2.16.3 ~x86' to package.keywords
 * Added '=gnome-base/gconf-2.18.0.1' to package.unmask
 * Added '=gnome-extra/gucharmap-1.10.0 ~x86' to package.keywords
 * Added '=gnome-extra/gucharmap-1.10.0' to package.unmask
 * Added '=gnome-extra/fast-user-switch-applet-2.17.4 ~x86' to package.keywords
 * Added '=gnome-extra/fast-user-switch-applet-2.17.4' to package.unmask
 * Added '=gnome-extra/fast-user-switch-applet-2.18.0 ~x86' to package.keywords
 * Added '=gnome-extra/fast-user-switch-applet-2.18.0' to package.unmask
 * Added '=gnome-extra/zenity-2.18.0 ~x86' to package.keywords
 * Added '=gnome-extra/zenity-2.18.0' to package.unmask
 * Added '=app-text/gnome-doc-utils-0.10.3 ~x86' to package.keywords
 * Added '=app-text/gnome-doc-utils-0.10.3' to package.unmask
 * Added '=app-text/gnome-doc-utils-0.10.1 ~x86' to package.keywords
 * Added '=app-text/gnome-doc-utils-0.10.1' to package.unmask
 * Added '=gnome-extra/gnome-screensaver-2.18.0 ~x86' to package.keywords
 * Added '=gnome-extra/gnome-screensaver-2.18.0' to package.unmask
 * Added '=gnome-extra/gnome-screensaver-2.18.1 ~x86' to package.keywords
 * Added '=gnome-extra/gnome-screensaver-2.18.1' to package.unmask
 * Added '=gnome-base/libgnomekbd-2.18.0 ~x86' to package.keywords
 * Added '=gnome-base/libgnomekbd-2.18.0' to package.unmask
 * Added '=gnome-base/libgnomekbd-2.18.1 ~x86' to package.keywords
 * Added '=gnome-base/libgnomekbd-2.18.1' to package.unmask
 * Added '=gnome-base/libgnomeui-2.18.1' to package.unmask
 * Added '=gnome-base/libgtop-2.14.8 ~x86' to package.keywords
 * Added '=gnome-extra/evolution-webcal-2.9.92 ~x86' to package.keywords
 * Added '=gnome-extra/evolution-webcal-2.9.92' to package.unmask
 * Added '=gnome-extra/gnome-keyring-manager-2.18.0 ~x86' to package.keywords
 * Added '=gnome-extra/gnome-keyring-manager-2.18.0' to package.unmask
 * Added '=gnome-base/libgnomeprint-2.18.0 ~x86' to package.keywords
 * Added '=gnome-base/libgnomeprint-2.18.0' to package.unmask
 * Added '=gnome-extra/gconf-editor-2.18.0 ~x86' to package.keywords
 * Added '=gnome-extra/gconf-editor-2.18.0' to package.unmask
 * Added '=gnome-base/gnome-menus-2.18.0 ~x86' to package.keywords
 * Added '=gnome-base/gnome-menus-2.18.0' to package.unmask
 * Added '=gnome-extra/gtkhtml-3.14.0' to package.unmask
 * Added '=gnome-extra/gtkhtml-3.14.1' to package.unmask
 * Added '=x11-libs/gtksourceview-1.8.5 ~x86' to package.keywords
 * Added '=gnome-base/gnome-vfs-2.18.1 ~x86' to package.keywords
 * Added '=gnome-base/gnome-vfs-2.18.1' to package.unmask
 * Added '=gnome-base/gnome-vfs-2.18.0.1 ~x86' to package.keywords
 * Added '=gnome-base/gnome-vfs-2.18.0.1' to package.unmask
 * Added '=gnome-base/libgnomeprintui-2.18.0 ~x86' to package.keywords
 * Added '=gnome-base/libgnomeprintui-2.18.0' to package.unmask
 * Added '=gnome-base/gnome-desktop-2.18.1 ~x86' to package.keywords
 * Added '=gnome-base/gnome-desktop-2.18.1' to package.unmask
 * Added '=gnome-base/gnome-desktop-2.18.0 ~x86' to package.keywords
 * Added '=gnome-base/gnome-desktop-2.18.0' to package.unmask
 * Added '=gnome-extra/bug-buddy-2.18.1 ~x86' to package.keywords
 * Added '=gnome-extra/bug-buddy-2.18.1' to package.unmask
 * Added '=gnome-extra/bug-buddy-2.18.0 ~x86' to package.keywords
 * Added '=gnome-extra/bug-buddy-2.18.0' to package.unmask
 * Added '=gnome-base/nautilus-2.18.1 ~x86' to package.keywords
 * Added '=gnome-base/nautilus-2.18.1' to package.unmask
 * Added '=gnome-base/nautilus-2.18.0.1 ~x86' to package.keywords
 * Added '=gnome-base/nautilus-2.18.0.1' to package.unmask
 * Added '=app-admin/pessulus-2.16.2 ~x86' to package.keywords
 * Added '=net-libs/libsoup-2.2.100 ~x86' to package.keywords
 * Added '=gnome-base/gdm-2.18.0 ~x86' to package.keywords
 * Added '=gnome-base/gdm-2.18.0' to package.unmask
 * Added '=gnome-base/gdm-2.18.1 ~x86' to package.keywords
 * Added '=gnome-base/gdm-2.18.1' to package.unmask
 * Added '=sys-auth/consolekit-0.2.0-r1 ~x86' to package.keywords
 * Added '=sys-auth/consolekit-0.2.1 ~x86' to package.keywords
 * Added '=media-sound/esound-0.2.37 ~x86' to package.keywords
 * Added '=media-sound/esound-0.2.37-r1 ~x86' to package.keywords
 * Added '=x11-themes/gtk-engines-2.10.1 ~x86' to package.keywords
 * Added '=x11-themes/gtk-engines-2.10.1' to package.unmask
 * Added '=x11-themes/gtk-engines-2.10.0 ~x86' to package.keywords
 * Added '=x11-themes/gtk-engines-2.10.0' to package.unmask
 * Added '=x11-terms/gnome-terminal-2.18.0 ~x86' to package.keywords
 * Added '=x11-terms/gnome-terminal-2.18.0' to package.unmask
 * Added '=x11-libs/vte-0.16.1 ~x86' to package.keywords
 * Added '=x11-libs/vte-0.16.1' to package.unmask
 * Added '=x11-libs/vte-0.16.0-r1 ~x86' to package.keywords
 * Added '=x11-libs/vte-0.16.0-r1' to package.unmask
 * Added '=gnome-base/gnome-applets-2.18.0 ~x86' to package.keywords
 * Added '=gnome-base/gnome-applets-2.18.0' to package.unmask
 * Added '=app-editors/gedit-2.18.0 ~x86' to package.keywords
 * Added '=app-editors/gedit-2.18.0' to package.unmask
 * Added '=app-editors/gedit-2.18.1 ~x86' to package.keywords
 * Added '=app-editors/gedit-2.18.1' to package.unmask
 * Added '=app-editors/gedit-2.18.0-r1 ~x86' to package.keywords
 * Added '=app-editors/gedit-2.18.0-r1' to package.unmask
 * Added '=gnome-base/control-center-2.18.0 ~x86' to package.keywords
 * Added '=gnome-base/control-center-2.18.0' to package.unmask
 * Added '=gnome-base/control-center-2.18.1 ~x86' to package.keywords
 * Added '=gnome-base/control-center-2.18.1' to package.unmask
 * Added '=gnome-extra/gnome-power-manager-2.18.1 ~x86' to package.keywords
 * Added '=gnome-extra/gnome-power-manager-2.18.1' to package.unmask
 * Added '=gnome-extra/gnome-power-manager-2.18.2 ~x86' to package.keywords
 * Added '=gnome-extra/gnome-power-manager-2.18.2' to package.unmask
 * Added '=sys-apps/hal-0.5.9' to package.unmask
 * Added '=app-misc/hal-info-20070402 ~x86' to package.keywords
 * Added '=app-misc/hal-info-20070402' to package.unmask
 * Added '=gnome-base/libbonobo-2.18.0 ~x86' to package.keywords
 * Added '=gnome-base/libbonobo-2.18.0' to package.unmask
 * Added '=gnome-extra/gnome-media-2.18.0 ~x86' to package.keywords
 * Added '=gnome-extra/gnome-media-2.18.0' to package.unmask
 * Added '=x11-misc/alacarte-0.11.3 ~x86' to package.keywords
 * Added '=x11-misc/alacarte-0.11.3' to package.unmask
 * Added '=net-misc/vino-2.18.0 ~x86' to package.keywords
 * Added '=net-misc/vino-2.18.0' to package.unmask
 * Added '=mail-client/evolution-2.10.1 ~x86' to package.keywords
 * Added '=mail-client/evolution-2.10.1' to package.unmask
 * Added '=mail-client/evolution-2.10.0 ~x86' to package.keywords
 * Added '=mail-client/evolution-2.10.0' to package.unmask
 * Added '=gnome-extra/nautilus-cd-burner-2.18.1 ~x86' to package.keywords
 * Added '=gnome-extra/nautilus-cd-burner-2.18.1' to package.unmask
 * Added '=gnome-extra/nautilus-cd-burner-2.18.0 ~x86' to package.keywords
 * Added '=gnome-extra/nautilus-cd-burner-2.18.0' to package.unmask
 * Added '=media-gfx/eog-2.18.1 ~x86' to package.keywords
 * Added '=media-gfx/eog-2.18.1' to package.unmask
 * Added '=media-gfx/eog-2.18.0.1 ~x86' to package.keywords
 * Added '=media-gfx/eog-2.18.0.1' to package.unmask
 * Added '=media-video/totem-2.18.0 ~x86' to package.keywords
 * Added '=media-video/totem-2.18.0' to package.unmask
 * Added '=media-video/totem-2.18.1 ~x86' to package.keywords
 * Added '=media-video/totem-2.18.1' to package.unmask
 * Added '=gnome-base/gnome-keyring-0.8 ~x86' to package.keywords
 * Added '=gnome-base/gnome-keyring-0.8' to package.unmask
 * Added '=gnome-base/gnome-keyring-0.8.1 ~x86' to package.keywords
 * Added '=gnome-base/gnome-keyring-0.8.1' to package.unmask
 * Added '=gnome-base/gnome-session-2.18.0 ~x86' to package.keywords
 * Added '=gnome-base/gnome-session-2.18.0' to package.unmask
 * Added '=dev-libs/libIDL-0.8.8 ~x86' to package.keywords
 * Added '=x11-themes/gnome-themes-2.18.1 ~x86' to package.keywords
 * Added '=x11-themes/gnome-themes-2.18.1' to package.unmask
 * Added '=x11-themes/gnome-themes-2.18.0 ~x86' to package.keywords
 * Added '=x11-themes/gnome-themes-2.18.0' to package.unmask
 * Added '=gnome-extra/gnome-utils-2.18.0 ~x86' to package.keywords
 * Added '=gnome-extra/gnome-utils-2.18.0' to package.unmask
 * Added '=gnome-extra/gnome-utils-2.18.1 ~x86' to package.keywords
 * Added '=gnome-extra/gnome-utils-2.18.1' to package.unmask
 * done!
Go, grab your copy of app-portage/autounmask today! - Enjoy! :wink:
"To have a successful open source project, you need to be at least somewhat successful at getting along with people." -- Daniel Robbins
Top
shaumux
Veteran
Veteran
Posts: 1015
Joined: Fri May 13, 2005 1:18 pm
Location: Hamburg

  • Quote

Post by shaumux » Thu Apr 26, 2007 3:08 pm

Thnx Comes very handy
Top
steveL
Watchman
Watchman
Posts: 5153
Joined: Wed Sep 13, 2006 1:18 pm
Location: The Peanut Gallery

  • Quote

Post by steveL » Thu Apr 26, 2007 4:44 pm

This looks really cool; is it possible for it to unmask not all the individual versions, but rather just the <category/package> atoms?
Top
fls
Tux's lil' helper
Tux's lil' helper
Posts: 111
Joined: Fri Apr 18, 2003 6:08 am
Location: Germany

  • Quote

Post by fls » Thu Apr 26, 2007 4:47 pm

Thanks a bunch ian! This indeed is very handy when testing keyworded packages, especially if the have many also keyworded dependancies.
First they ignore you, then they laugh at you, then they fight you, then you win. Mahatma Ghandi
Top
ndansmith
n00b
n00b
Posts: 60
Joined: Mon Aug 01, 2005 11:12 pm

  • Quote

Post by ndansmith » Thu Apr 26, 2007 9:50 pm

Sweet! Thanks.
Top
ian!
Bodhisattva
Bodhisattva
User avatar
Posts: 3829
Joined: Tue Feb 25, 2003 9:52 am
Location: Essen, Germany
Contact:
Contact ian!
Website

  • Quote

Post by ian! » Fri Apr 27, 2007 7:45 pm

steveL wrote:This looks really cool; is it possible for it to unmask not all the individual versions, but rather just the <category/package> atoms?
0.14 does. (--noversions option)

Enjoy!
"To have a successful open source project, you need to be at least somewhat successful at getting along with people." -- Daniel Robbins
Top
pteppic
l33t
l33t
Posts: 781
Joined: Mon Nov 28, 2005 5:24 pm

  • Quote

Post by pteppic » Fri Apr 27, 2007 9:43 pm

Does it have a --pretend flag, so you can decide if you want your system to use that many masked/unstable packages?
Top
ian!
Bodhisattva
Bodhisattva
User avatar
Posts: 3829
Joined: Tue Feb 25, 2003 9:52 am
Location: Essen, Germany
Contact:
Contact ian!
Website

  • Quote

Post by ian! » Sat Apr 28, 2007 2:50 pm

pteppic wrote:Does it have a --pretend flag, so you can decide if you want your system to use that many masked/unstable packages?
Not yet. I'll make that available in the next version.
"To have a successful open source project, you need to be at least somewhat successful at getting along with people." -- Daniel Robbins
Top
ian!
Bodhisattva
Bodhisattva
User avatar
Posts: 3829
Joined: Tue Feb 25, 2003 9:52 am
Location: Essen, Germany
Contact:
Contact ian!
Website

  • Quote

Post by ian! » Sun Apr 29, 2007 10:14 am

ian! wrote:
pteppic wrote:Does it have a --pretend flag, so you can decide if you want your system to use that many masked/unstable packages?
Available in 0.15.
"To have a successful open source project, you need to be at least somewhat successful at getting along with people." -- Daniel Robbins
Top
pteppic
l33t
l33t
Posts: 781
Joined: Mon Nov 28, 2005 5:24 pm

  • Quote

Post by pteppic » Mon Apr 30, 2007 10:07 pm

How's that for customer service?
Nice work....
Top
steveL
Watchman
Watchman
Posts: 5153
Joined: Wed Sep 13, 2006 1:18 pm
Location: The Peanut Gallery

  • Quote

Post by steveL » Tue May 01, 2007 1:32 am

++
Top
zietbukuel
l33t
l33t
User avatar
Posts: 607
Joined: Fri Dec 30, 2005 9:45 pm

  • Quote

Post by zietbukuel » Tue May 01, 2007 4:59 am

I have to say that this tool is just EXCELLENT! Thank you very much :)
Top
xerxesmc
n00b
n00b
User avatar
Posts: 54
Joined: Sun Nov 19, 2006 6:25 pm
Location: Fulda/Hessen

  • Quote

Post by xerxesmc » Mon May 07, 2007 10:09 am

very nice job

+++++
Top
frenkel
Veteran
Veteran
User avatar
Posts: 1034
Joined: Tue May 13, 2003 5:08 pm
Location: .nl
Contact:
Contact frenkel
Website

  • Quote

Post by frenkel » Mon May 14, 2007 12:18 pm

Thanks a lot man!
Top
odegard
Guru
Guru
Posts: 324
Joined: Sat Mar 08, 2003 12:28 am
Location: Trondheim, NO

  • Quote

Post by odegard » Mon May 14, 2007 2:53 pm

Looks great. How about a script that removes old masks as well? My files are filled with packages from prior installations, lots og which I don't need anymore.
Top
Delian
n00b
n00b
User avatar
Posts: 12
Joined: Mon Jul 24, 2006 10:24 am

  • Quote

Post by Delian » Mon May 14, 2007 5:34 pm

Great script!!

A question... can I specify a different keyword?
I need to unmask kde4-3.90.1 which is masked by the ! keyword.
Thanks ^_^
Top
ian!
Bodhisattva
Bodhisattva
User avatar
Posts: 3829
Joined: Tue Feb 25, 2003 9:52 am
Location: Essen, Germany
Contact:
Contact ian!
Website

  • Quote

Post by ian! » Sun May 20, 2007 1:42 pm

You are talking about the kde overlay I guess? The ebuilds were missing keywords at all last time I checked.
"To have a successful open source project, you need to be at least somewhat successful at getting along with people." -- Daniel Robbins
Top
ermo
n00b
n00b
Posts: 4
Joined: Tue May 01, 2007 7:10 pm

[SOLVED] Autounmask-0.16 issue?

  • Quote

Post by ermo » Wed May 23, 2007 4:49 pm

Using autounmask-0.16:

Code: Select all

ermo@gizmo ~ $ ls /usr/portage/net-p2p/deluge/
ChangeLog  deluge-0.5.0.ebuild  files  Manifest  metadata.xml
ermo@gizmo ~ $ sudo autounmask net-p2p/deluge

 autounmask version 0.16 (using PortageXS-0.02.07)
 Bugs and requests go to ian <ian@gentoo.org>.

 * Using repository: /usr/portage

 * The given category/package-version does not seem to exist. Please check and try again.

ermo@gizmo ~ $ 
Am I doing anything obviously wrong?

EDIT: Ah. Yes. Was missing the package version. Silly me. Would defaulting to the latest version available be a good idea?
Top
ian!
Bodhisattva
Bodhisattva
User avatar
Posts: 3829
Joined: Tue Feb 25, 2003 9:52 am
Location: Essen, Germany
Contact:
Contact ian!
Website

  • Quote

Post by ian! » Wed May 23, 2007 7:49 pm

Not sure if auto-picking the latest version is a good idea. How about a better error message like this?

Code: Select all

# ./autounmask net-p2p/deluge

 autounmask version 0.17_dev (using PortageXS-0.02.07)
 Bugs and requests go to ian <ian@gentoo.org>.

 * Using repositories:
     /usr/portage
     /home/ian/my_development/gentoo/gentoo-x86
     /usr/portage/local/layman/xeffects
     /usr/portage/local/layman/kde-experimental

 * The given category/package-version does not seem to exist. Listing existing versions:

 * gentoo (/usr/portage):
    net-p2p/deluge-0.5.0

 * gentoo (/home/ian/my_development/gentoo/gentoo-x86):
    net-p2p/deluge-0.5.0

 * xeffects (/usr/portage/local/layman/xeffects):
    none

 * genkdesvn-kde3 (/usr/portage/local/layman/kde-experimental):
    none

 * Please pick one of the versions given above and try again.

#
"To have a successful open source project, you need to be at least somewhat successful at getting along with people." -- Daniel Robbins
Top
shaumux
Veteran
Veteran
Posts: 1015
Joined: Fri May 13, 2005 1:18 pm
Location: Hamburg

  • Quote

Post by shaumux » Wed May 23, 2007 7:55 pm

Yes that looks a better message.

Also can there be an option like having an option if we want to unmask from package.mask or not

For example

I give package A which is ~x86 which depends on package B but it is hard masked but I tell it not to hard unmask anything so only Package A and other direct or indirect dependencies that are ~x86 would be unmasked.

Is something like that possible?
Top
ian!
Bodhisattva
Bodhisattva
User avatar
Posts: 3829
Joined: Tue Feb 25, 2003 9:52 am
Location: Essen, Germany
Contact:
Contact ian!
Website

  • Quote

Post by ian! » Wed May 23, 2007 8:16 pm

shaumux wrote:I give package A which is ~x86 which depends on package B but it is hard masked but I tell it not to hard unmask anything [..]
You would not be able to install package A then because its dependency B is still masked.

Mhh. I fail to see the benefit of such an option.
"To have a successful open source project, you need to be at least somewhat successful at getting along with people." -- Daniel Robbins
Top
ermo
n00b
n00b
Posts: 4
Joined: Tue May 01, 2007 7:10 pm

--noversion --pretend suggestion

  • Quote

Post by ermo » Wed May 23, 2007 9:34 pm

Thanks for the quick reply :D
ian! wrote:Not sure if auto-picking the latest version is a good idea. How about a better error message like this?

Code: Select all

# ./autounmask net-p2p/deluge

[snip]

 * The given category/package-version does not seem to exist. Listing existing versions:

 * gentoo (/usr/portage):
    net-p2p/deluge-0.5.0

[snip]

 * Please pick one of the versions given above and try again.

#
Yes, that error message is a little more helpful. Regarding defaulting to the latest version: Perhaps the --noversion flag could be updated to accept a <category>/<package> argument without requiring a version? That way, the error message could read:

Code: Select all

 * Please pick one of the versions given above and try again,
    or use the --noversion option to just autounmask the latest version
    of a package and its dependencies.

 * Example:
    autounmask --noversion app-portage/autounmask
      or
    autounmask app-portage/autounmask-$VERSION
In that case,

Code: Select all

# autounmask --pretend --noversion foo/bar
would be quite the handy tool with which to examine a dependency tree of ~* versions

Just my $0.02
Top
shaumux
Veteran
Veteran
Posts: 1015
Joined: Fri May 13, 2005 1:18 pm
Location: Hamburg

  • Quote

Post by shaumux » Thu May 24, 2007 3:00 am

I tried unmasking the git version of compiz from xeffects but i got the same error
Aren't package-9999 type names supported?
Top
ian!
Bodhisattva
Bodhisattva
User avatar
Posts: 3829
Joined: Tue Feb 25, 2003 9:52 am
Location: Essen, Germany
Contact:
Contact ian!
Website

  • Quote

Post by ian! » Thu May 24, 2007 7:49 am

ermo wrote:Regarding defaulting to the latest version: Perhaps the --noversion flag could be updated to accept a <category>/<package> argument without requiring a version?
Let me think about it for a while.
shaumux wrote:I tried unmasking the git version of compiz from xeffects but i got the same error
Aren't package-9999 type names supported?

Code: Select all

# autounmask x11-wm/compiz-9999
Works for me.
"To have a successful open source project, you need to be at least somewhat successful at getting along with people." -- Daniel Robbins
Top
Delian
n00b
n00b
User avatar
Posts: 12
Joined: Mon Jul 24, 2006 10:24 am

  • Quote

Post by Delian » Thu May 24, 2007 7:09 pm

ian! wrote:You are talking about the kde overlay I guess? The ebuilds were missing keywords at all last time I checked.
Yes..the kde overlay sorry.. and, yes, the ! keyword.. missing keywords ;)..
Is it possible to decide appending ** instead of the arch keyword?
Top
Post Reply

50 posts
  • 1
  • 2
  • Next

Return to “Documentation, Tips & Tricks”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic