rpmdrake - installing without suggested packages[SOLVED]

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

rpmdrake - installing without suggested packages[SOLVED]

Postby mt12345 » Jul 22nd, '11, 13:13

Hi! I've been Debian/Ubuntu user for couple of years. As I was using Mandrake/Mandriva in past, I was curious how Mandriva is progressing. And I discovered Mageia. I installed it using dual-arch install CD because I'm fan of LXDE. I must say installer is very impressive, I was able to tweak many things. After installation wireless card works out of box and there is a nice network manager.
Generally I like to keep my system neat and minimal.
I'm trying to install wine-gecko:

Code: Select all
[martin@localhost ~]$ sudo urpmi wine-gecko
To satisfy dependencies, the following packages are going to be installed:
   Package                        Version      Release       Arch   
(medium "Core Release (distrib1)")
  gimp                           2.6.11       6.mga1        i586    (suggested)
  gimp-help-2-en                 2.6.0        3.mga1        noarch  (suggested)
  jackit                         1.9.6        1.mga1        i586    (suggested)
  libOpenEXR6                    1.7.0        1.mga1        i586    (suggested)
  libSDL1.2_0                    1.2.14       4.mga1        i586    (suggested)
  libaa1                         1.4.0        0.rc5.22.mga1 i586    (suggested)
  libavc1394_0                   0.5.3        8.mga1        i586    (suggested)
  libbabl0.1_0                   0.1.2        3.mga1        i586    (suggested)
  libcroco0.6_3                  0.6.2        7.mga1        i586    (suggested)
  libdc1394_22                   2.1.2        7.mga1        i586    (suggested)
  libdirectfb1.4_5               1.4.11       2.mga1        i586    (suggested)
  libdri-drivers                 7.10.2       4.mga1        i586   
  libffado2                      2.0.1        4.mga1        i586    (suggested)
  libfreebob0                    1.0.11       6.mga1        i586    (suggested)
  libgegl0.1_0                   0.1.2        3.mga1        i586    (suggested)
  libggi                         2.2.2        16.mga1       i586    (suggested)
  libggi2                        2.2.2        16.mga1       i586    (suggested)
  libgii1                        1.0.2        15.mga1       i586    (suggested)
  libgimp2.0_0                   2.6.11       6.mga1        i586    (suggested)
  libglibmm2.4_1                 2.25.5       2.mga1        i586    (suggested)
  libiec61883_0                  1.2.0        4.mga1        i586    (suggested)
  libilmbase6                    1.0.2        2.mga1        i586    (suggested)
  libjack0                       1.9.6        1.mga1        i586    (suggested)
  liblcms1                       1.19         5.mga1        i586   
  libmesagl1                     7.10.2       4.mga1        i586   
  libmesaglu1                    7.10.2       4.mga1        i586   
  libmng1                        1.0.10       13.mga1       i586    (suggested)
  libmpg123_0                    1.13.1       2.mga1        i586   
  libopenal1                     1.12.854     3.mga1        i586   
  libopenjpeg2                   1.3          7.mga1        i586    (suggested)
  libopenraw1                    0.0.8        5.mga1        i586    (suggested)
  liborc0.4_0                    0.4.11       1.mga1        i586    (suggested)
  libpoppler-glib6               0.16.5       1.mga1        i586    (suggested)
  libpoppler13                   0.16.5       1.mga1        i586    (suggested)
  libraw1394_11                  2.0.6        2.mga1        i586    (suggested)
  librsvg2_2                     2.32.1       1.mga1        i586    (suggested)
  librtmp0                       2.3          3.mga1        i586    (suggested)
  libschroedinger1.0_0           1.0.10       1.mga1        i586    (suggested)
  libsigc++2.0_0                 2.2.8        2.mga1        i586    (suggested)
  libtheoradec1                  1.1.1        3.mga1        i586    (suggested)
  libtheoraenc1                  1.1.1        3.mga1        i586    (suggested)
  libva1                         1.0.12       1.mga1        i586    (suggested)
  libvncserver0                  0.9.7        4.mga1        i586    (suggested)
  libwmf0.2_7                    0.2.8.4      22.mga1       i586    (suggested)
  libxaw7                        1.0.9        1.mga1        i586   
  libxml++2.6_2                  2.34.1       1.mga1        i586    (suggested)
  openal                         1.12.854     3.mga1        i586   
  poppler-data                   0.4.4        2.mga1        noarch  (suggested)
  poppler-gir0.16                0.16.5       1.mga1        i586    (suggested)
  sane-frontends                 1.0.14       11.mga1       i586    (suggested)
  urw-fonts                      2.0          28.mga1       noarch  (suggested)
  wine                           1.3.20       2.mga1        i586   
  wine-gecko                     1.2.0        1.mga1        i586   
  wine32                         1.3.20       2.mga1        i586   
  x11-data-bitmaps               1.1.1        1.mga1        i586   
  xmessage                       1.0.3        2.mga1        i586   
(medium "Tainted Release (distrib21)")
  libavformats52                 0.6.3        2.mga1.taint> i586    (suggested)
  libavutil50                    0.6.3        2.mga1.taint> i586    (suggested)
  libfaad2_2                     2.7          2.mga1        i586    (suggested)
  libffmpeg52                    0.6.3        2.mga1.taint> i586    (suggested)
  liblame0                       3.98.4       2.mga1        i586    (suggested)
  libopencore-amr0               0.1.2        3.mga1        i586    (suggested)
  libswscaler0                   0.6.3        2.mga1.taint> i586    (suggested)
  libvo-aacenc0                  0.1.1        2.mga1.taint> i586    (suggested)
  libvo-amrwbenc0                0.1.1        2.mga1.taint> i586    (suggested)
  libx264_110                    0.110        0.20101203.2> i586    (suggested)
285MB of additional disk space will be used.
77MB of packages will be retrieved.
Proceed with the installation of the 66 packages? (Y/n)


I don't need gimp, so:
Code: Select all
[martin@localhost ~]$ sudo urpmi wine-gecko --no suggest


Much better.
Now: How to configure rpmdrake so it doesn't install 'suggested' packages?
mt12345
 
Posts: 13
Joined: Jul 21st, '11, 10:33

Re: rpmdrake - installing without suggested packages

Postby wobo » Jul 22nd, '11, 13:35

mt12345 wrote:Now: How to configure rpmdrake so it doesn't install 'suggested' packages?

To the best of my knowledge this is not possible. rpmdrake (like most GUIs) does not provide all functionalities which are possible with the CLI tool.
wobo
---
And a new day will dawn for those who stand long
And the forests will echo with laughter
(Stairway to Heaven, Led Zeppelin)
User avatar
wobo
 
Posts: 1649
Joined: Mar 22nd, '11, 17:13

Re: rpmdrake - installing without suggested packages

Postby ahmad » Jul 22nd, '11, 13:47

rpmdrake uses urpmi to install packages, you can edit /etc/urpmi/urpmi.cfg, change the top part like this:
Code: Select all
{
  no-suggests
}

(the curly brackets { } are already there at the top of the file, just add no-suggests between them on a separate line).

For more info check the man page:
Code: Select all
man urpmi.cfg

(or if you have KDE4, and prefer reading man pages in html format, in konqueror "man#urpmi.cfg" or "man:urpmi.cfg").
ahmad
 
Posts: 336
Joined: Mar 22nd, '11, 20:18
Location: Egypt

Re: rpmdrake - installing without suggested packages

Postby mt12345 » Jul 22nd, '11, 14:04

Thanks!
('man' was not installed by default, why?)
I don't like KDE. Prefer GNOME but my favourite is LXDE.

How to clean urpmi cache? How to search for packages in command line?
mt12345
 
Posts: 13
Joined: Jul 21st, '11, 10:33

Re: rpmdrake - installing without suggested packages

Postby ahmad » Jul 22nd, '11, 14:19

How did you install Mageia? man is installed by default, AFAIK (unless you used the DVD and did a custom install..).

The urpmi cache is cleaned by default after each urpmi full transaction (check /var/lib/urpmi/rpms).

To search for packages use urpmq:
urpmq -fy partial-package-name

e.g.:
Code: Select all
$ urpmq -fy wine
lib64kwineffects1-4.6.95-1.mga2.x86_64
wine64-1.3.24-1.mga2.x86_64
wine64-devel-1.3.24-1.mga2.x86_64
wine64-gecko-1.2.0-1.mga1.x86_64

see the urpmq man page for more details on usage.
ahmad
 
Posts: 336
Joined: Mar 22nd, '11, 20:18
Location: Egypt

Re: rpmdrake - installing without suggested packages

Postby wobo » Jul 22nd, '11, 14:32

ahmad wrote:rpmdrake uses urpmi to install packages, you can edit /etc/urpmi/urpmi.cfg, change the top part like this:
Code: Select all
{
  no-suggests
}

Ah, I looked for a man page for rpmdrake - wrong thinking.
As said before, I'm learning new things every day, even after using Mandrake/Mandriva/Mageia for 12 years (did not care for that option before). Thx!
wobo
---
And a new day will dawn for those who stand long
And the forests will echo with laughter
(Stairway to Heaven, Led Zeppelin)
User avatar
wobo
 
Posts: 1649
Joined: Mar 22nd, '11, 17:13

Re: rpmdrake - installing without suggested packages

Postby mt12345 » Jul 22nd, '11, 14:37

Yep, I did custom install. I must have unchecked 'docs' section or something. Anyway,man just installed.
urpmq -fy works fine, but I would like to search in package description too.
In debian I can do:
apt-cache search rpg
and I get list of all rpg games I can install.
mt12345
 
Posts: 13
Joined: Jul 21st, '11, 10:33

Re: rpmdrake - installing without suggested packages

Postby doktor5000 » Jul 22nd, '11, 14:48

Have a look at man urpmq and man urpmf ;)
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18052
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: rpmdrake - installing without suggested packages

Postby ahmad » Jul 22nd, '11, 15:04

mt12345 wrote:Yep, I did custom install. I must have unchecked 'docs' section or something. Anyway,man just installed.
urpmq -fy works fine, but I would like to search in package description too.
In debian I can do:
apt-cache search rpg
and I get list of all rpg games I can install.

I don't know of a way to search in package descriptions using urpmq; however rpmdrake can do it, click the small magnifying glass icon on the left in the search box and select "in descriptions".
ahmad
 
Posts: 336
Joined: Mar 22nd, '11, 20:18
Location: Egypt

Re: rpmdrake - installing without suggested packages

Postby mt12345 » Jul 22nd, '11, 15:17

I know, but I want to do it in terminal. Since rpmdrake uses urpm* there must be some way? I didn't find it in man pages.
mt12345
 
Posts: 13
Joined: Jul 21st, '11, 10:33

Re: rpmdrake - installing without suggested packages

Postby ahmad » Jul 22nd, '11, 15:40

mt12345 wrote:I know, but I want to do it in terminal. Since rpmdrake uses urpm* there must be some way? I didn't find it in man pages.

I think for that function rpmdrake isn't just using the urpm* tools, but also some other perl code to accomplish this feat.
ahmad
 
Posts: 336
Joined: Mar 22nd, '11, 20:18
Location: Egypt

Re: rpmdrake - installing without suggested packages

Postby doktor5000 » Jul 22nd, '11, 15:47

What about urpmf --description?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18052
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: rpmdrake - installing without suggested packages

Postby mt12345 » Jul 22nd, '11, 16:17

doktor5000 wrote:What about urpmf --description?


Oh,dear. It works! I just used wrong example:

urpmf --description rpg

It gives no results, because there is no games (or any packages) with 'rpg' in description!
But when I tried again:

urpmf --description strategy

'Battle of Wesnoth' and other games were found.

Thanks!
mt12345
 
Posts: 13
Joined: Jul 21st, '11, 10:33

Re: rpmdrake - installing without suggested packages

Postby ahmad » Jul 22nd, '11, 16:33

I've never used urpmf --description, noting it down for future reference.
ahmad
 
Posts: 336
Joined: Mar 22nd, '11, 20:18
Location: Egypt

Re: rpmdrake - installing without suggested packages

Postby doktor5000 » Jul 22nd, '11, 16:47

FWIW, because the OP also asked that, i'm searching packages with a custom alias which is easy and fast to type if you need it often:
Code: Select all
[doktor5000@mageia1 ~]$ alias ufn
alias ufn='urpmf -f -m --name'

Shows the name of a package, version information and the repository where the package comes from.

With urpmf, you can also search for groups, in package summary, fuzzy search (shows more packages which may not have the exact name)
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18052
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: rpmdrake - installing without suggested packages

Postby isadora » Jul 24th, '11, 12:49

Thanks doktor5000 for this information, i have archived it.

So, that brings this topic into [SOLVED]-status?
..........bird from paradise..........

Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
—Antoine de Saint-Exupéry
User avatar
isadora
 
Posts: 2765
Joined: Mar 25th, '11, 16:03
Location: Netherlands

Re: rpmdrake - installing without suggested packages[SOLVED]

Postby Germ » Jul 25th, '11, 13:00

I think so. I'm going to mark it 'solved'.
Starting in 1999: Mandrake > Mandriva > Mageia
Linux User #274693
User avatar
Germ
 
Posts: 723
Joined: Mar 30th, '11, 13:16
Location: Chelsea, Oklahoma USA


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest

cron