Results 1 to 5 of 5

Thread: Install recommended packages but NOT lang packages

Hybrid View

  1. #1
    Join Date
    Nov 2014
    Location
    Argentina
    Posts
    111

    Default Install recommended packages but NOT lang packages

    Hi there, I want t know how to disable the automatic "-lang" packages installation but without disabling recommended packages, is there any way to do this?

    I have an English openSUSE installation but it seems to be the default behavior to always install language packages.

    Thanks.

  2. #2

    Default Re: Install recommended packages but NOT lang packages

    Quote Originally Posted by itaranto7 View Post
    Hi there, I want t know how to disable the automatic "-lang" packages installation but without disabling recommended packages, is there any way to do this?
    Well, -lang packages are not handled differently in any way than other recommended packages, actually they are explicitly recommended by the main package normally.

    Locking all -lang packages should do the trick though, i.e. something like this:
    Code:
    zypper al *-lang
    zypper locks do understand wild cards...

  3. #3
    Join Date
    Nov 2014
    Location
    Argentina
    Posts
    111

    Default Re: Install recommended packages but NOT lang packages

    Quote Originally Posted by wolfi323 View Post
    Well, -lang packages are not handled differently in any way than other recommended packages, actually they are explicitly recommended by the main package normally.

    Locking all -lang packages should do the trick though, i.e. something like this:
    Code:
    zypper al *-lang
    zypper locks do understand wild cards...
    OK, thanks for the tip. It just seems a waste to recommend -lang packages when the system language is english.

  4. #4
    Join Date
    Oct 2008
    Location
    Glasgow, Scotland
    Posts
    1,134

    Default Re: Install recommended packages but NOT lang packages

    Quote Originally Posted by itaranto7 View Post
    OK, thanks for the tip. It just seems a waste to recommend -lang packages when the system language is english.
    Without an English language pack, you could not be sure that an interactive program provided an English interface. Besides there are many versions of English -- I would get fairly frustrated if I was forced to use e.g. US, Belize or South African locales.
    ~Thank you for sharing an interesting problem.
    --
    slàinte mhath,
    rayH

  5. #5
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,170

    Default Re: Install recommended packages but NOT lang packages

    Quote Originally Posted by wolfi323 View Post
    Code:
    zypper al *-lang
    Better protect that wild card for zypper from shell interpretation:
    Code:
    zypper al '*-lang'
    While it might not be very likely that there is one or more files that fit this path expansion, the chance is not 0%. And when this way of using wild cards for zypper becomes a habit of people reading this, sooner or later they will experience "strange things happening".
    Henk van Velden

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •