Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
autounmask - unmasking packages the easy way
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
ian!
Bodhisattva
Bodhisattva


Joined: 25 Feb 2003
Posts: 3827
Location: Essen, Germany

PostPosted: Thu Apr 26, 2007 2:48 pm    Post subject: autounmask - unmasking packages the easy way Reply with quote

Ok.. guess we all know something like that:

Code:
# 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:
# 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
Back to top
View user's profile Send private message
shaumux
l33t
l33t


Joined: 13 May 2005
Posts: 990
Location: Bangalore, India

PostPosted: Thu Apr 26, 2007 3:08 pm    Post subject: Reply with quote

Thnx Comes very handy
Back to top
View user's profile Send private message
steveL
Advocate
Advocate


Joined: 13 Sep 2006
Posts: 3039
Location: The Peanut Gallery

PostPosted: Thu Apr 26, 2007 4:44 pm    Post subject: Reply with quote

This looks really cool; is it possible for it to unmask not all the individual versions, but rather just the <category/package> atoms?
Back to top
View user's profile Send private message
fls
Tux's lil' helper
Tux's lil' helper


Joined: 18 Apr 2003
Posts: 111
Location: Germany

PostPosted: Thu Apr 26, 2007 4:47 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
ndansmith
n00b
n00b


Joined: 01 Aug 2005
Posts: 60

PostPosted: Thu Apr 26, 2007 9:50 pm    Post subject: Reply with quote

Sweet! Thanks.
Back to top
View user's profile Send private message
ian!
Bodhisattva
Bodhisattva


Joined: 25 Feb 2003
Posts: 3827
Location: Essen, Germany

PostPosted: Fri Apr 27, 2007 7:45 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
pteppic
l33t
l33t


Joined: 28 Nov 2005
Posts: 781

PostPosted: Fri Apr 27, 2007 9:43 pm    Post subject: Reply with quote

Does it have a --pretend flag, so you can decide if you want your system to use that many masked/unstable packages?
Back to top
View user's profile Send private message
ian!
Bodhisattva
Bodhisattva


Joined: 25 Feb 2003
Posts: 3827
Location: Essen, Germany

PostPosted: Sat Apr 28, 2007 2:50 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
ian!
Bodhisattva
Bodhisattva


Joined: 25 Feb 2003
Posts: 3827
Location: Essen, Germany

PostPosted: Sun Apr 29, 2007 10:14 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
pteppic
l33t
l33t


Joined: 28 Nov 2005
Posts: 781

PostPosted: Mon Apr 30, 2007 10:07 pm    Post subject: Reply with quote

How's that for customer service?
Nice work....
Back to top
View user's profile Send private message
steveL
Advocate
Advocate


Joined: 13 Sep 2006
Posts: 3039
Location: The Peanut Gallery

PostPosted: Tue May 01, 2007 1:32 am    Post subject: Reply with quote

++
Back to top
View user's profile Send private message
zietbukuel
l33t
l33t


Joined: 30 Dec 2005
Posts: 606
Location: /dev/peru/lima

PostPosted: Tue May 01, 2007 4:59 am    Post subject: Reply with quote

I have to say that this tool is just EXCELLENT! Thank you very much :)
_________________
AMD FX 8350 8-core CPU
16GB Corsair Vengeance DDR3 RAM
ASUS M5A97 Motherboard
1TB (Gentoo) + 500GB (Windows 7 for games) HDDs
Nvidia 550 GTX Ti 1Gb Ram DDR5
Cooler Master CM690 Case
Back to top
View user's profile Send private message
xerxesmc
n00b
n00b


Joined: 19 Nov 2006
Posts: 54
Location: Fulda/Hessen

PostPosted: Mon May 07, 2007 10:09 am    Post subject: Reply with quote

very nice job

+++++
Back to top
View user's profile Send private message
frenkel
Veteran
Veteran


Joined: 13 May 2003
Posts: 1034
Location: .nl

PostPosted: Mon May 14, 2007 12:18 pm    Post subject: Reply with quote

Thanks a lot man!
Back to top
View user's profile Send private message
odegard
Guru
Guru


Joined: 08 Mar 2003
Posts: 324
Location: Trondheim, NO

PostPosted: Mon May 14, 2007 2:53 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Delian
n00b
n00b


Joined: 24 Jul 2006
Posts: 12

PostPosted: Mon May 14, 2007 5:34 pm    Post subject: Reply with quote

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 ^_^
Back to top
View user's profile Send private message
ian!
Bodhisattva
Bodhisattva


Joined: 25 Feb 2003
Posts: 3827
Location: Essen, Germany

PostPosted: Sun May 20, 2007 1:42 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
ermo
n00b
n00b


Joined: 01 May 2007
Posts: 4

PostPosted: Wed May 23, 2007 4:49 pm    Post subject: [SOLVED] Autounmask-0.16 issue? Reply with quote

Using autounmask-0.16:

Code:

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?
Back to top
View user's profile Send private message
ian!
Bodhisattva
Bodhisattva


Joined: 25 Feb 2003
Posts: 3827
Location: Essen, Germany

PostPosted: Wed May 23, 2007 7:49 pm    Post subject: Reply with quote

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

Code:
# ./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
Back to top
View user's profile Send private message
shaumux
l33t
l33t


Joined: 13 May 2005
Posts: 990
Location: Bangalore, India

PostPosted: Wed May 23, 2007 7:55 pm    Post subject: Reply with quote

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?
Back to top
View user's profile Send private message
ian!
Bodhisattva
Bodhisattva


Joined: 25 Feb 2003
Posts: 3827
Location: Essen, Germany

PostPosted: Wed May 23, 2007 8:16 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
ermo
n00b
n00b


Joined: 01 May 2007
Posts: 4

PostPosted: Wed May 23, 2007 9:34 pm    Post subject: --noversion --pretend suggestion Reply with quote

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:
# ./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:

 * 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:

# autounmask --pretend --noversion foo/bar


would be quite the handy tool with which to examine a dependency tree of ~* versions

Just my $0.02
Back to top
View user's profile Send private message
shaumux
l33t
l33t


Joined: 13 May 2005
Posts: 990
Location: Bangalore, India

PostPosted: Thu May 24, 2007 3:00 am    Post subject: Reply with quote

I tried unmasking the git version of compiz from xeffects but i got the same error
Aren't package-9999 type names supported?
Back to top
View user's profile Send private message
ian!
Bodhisattva
Bodhisattva


Joined: 25 Feb 2003
Posts: 3827
Location: Essen, Germany

PostPosted: Thu May 24, 2007 7:49 am    Post subject: Reply with quote

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:
# 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
Back to top
View user's profile Send private message
Delian
n00b
n00b


Joined: 24 Jul 2006
Posts: 12

PostPosted: Thu May 24, 2007 7:09 pm    Post subject: Reply with quote

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?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
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