Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Removing older packages

  1. #1

    Default Removing older packages

    Whenever I see that I have an older version along with a newer version, should I always remove the older version? If so why doesn't zypper remove obsolete packages upon installing a newer version?

    Examples:

    Code:
    S | Name                   | Summary                                        | Type   
    --+------------------------+------------------------------------------------+--------
    i | libopencv2_3           | Development files for using the OpenCV library | package
      | libopencv2_3-debuginfo | Debug information for package libopencv2_3     | package
    i | libopencv2_4           | Development files for using the OpenCV library | package
      | libopencv2_4-debuginfo | Debug information for package libopencv2_4     | package
    and

    Code:
    S | Name                        | Summary                                   | Type   
    --+-----------------------------+-------------------------------------------+--------
    i | libavutil50                 | FFmpeg libavutil                          | package
      | libavutil50-32bit           | FFmpeg libavutil                          | package
      | libavutil50-debuginfo       | Debug information for package libavutil50 | package
      | libavutil50-debuginfo-32bit | Debug information for package libavutil50 | package
    i | libavutil51                 | FFmpeg libavutil                          | package
      | libavutil51-32bit           | FFmpeg libavutil                          | package
      | libavutil51-debuginfo       | Debug information for package libavutil51 | package
      | libavutil51-debuginfo-32bit | Debug information for package libavutil51 | package

  2. #2
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,723
    Blog Entries
    20

    Default Re: Removing older packages

    You don't need to remove them.
    It's not that important that you do. Let sleeping dogs alone.
    Leap 15.1_KDE
    My Articles Was I any help? If yes: Click the star below

  3. #3

    Default Re: Removing older packages

    Quote Originally Posted by caf4926 View Post
    You don't need to remove them.
    It's not that important that you do. Let sleeping dogs alone.
    Same applies for codecs?

  4. #4
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    24,851

    Default Re: Removing older packages

    As you do not tell what version of openSUSE you use (why, oh why do many people want to keep that as a secret?) I can not compare with what I have.

    But it may be that one package requires the one and another packake (still) requires the other. It is not for nothing they have different names (and not only versions) thus being different things with may be different interfaces, thus programs using them can coexist and gradualy convert to a newer version of that library.

    The ultimate test is of course to try to deinstall and see what dependency issue is thrown upon you.
    Henk van Velden

  5. #5

    Default Re: Removing older packages

    12.1.

    I was just using those two as examples. I meant in general should I remove any older packages. I asked about codecs specifically because in another thread I was told to remove obsolete/old codecs.

    Quote Originally Posted by hcvv View Post
    As you do not tell what version of openSUSE you use (why, oh why do many people want to keep that as a secret?) I can not compare with what I have.

    But it may be that one package requires the one and another packake (still) requires the other. It is not for nothing they have different names (and not only versions) thus being different things with may be different interfaces, thus programs using them can coexist and gradualy convert to a newer version of that library.

    The ultimate test is of course to try to deinstall and see what dependency issue is thrown upon you.

  6. #6
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    24,851

    Default Re: Removing older packages

    I guess that when you look in YaST > Software > Software management and you have a library package (codecs or not) where the version field is shown red (and you have the repo belonging to it enabled!), you can remove it because the repo does not provide it any more, which would mean that you wouldn't get it when you installed your system anew.

    E.g. in my 11.4 system I have:
    . libavcodec52 version 0.7.12-2.1 (0.7.12-3.1)
    . libavcodec53 version 0.10.3-1.1

    which, when combining with reading the Version tab contents below, means for the first line that I could update to the newer version of libavcode52 from Packman and for the second line that libavcode53 is not available anymore in whatever version fom Packman.

    IMHO it does no harm to let it stay on your system, but as you do not provide a link to that other thread I have no comment on the reasoning that was used there.

    But I would never remove a package solely because the name is almost the same as another package save for a number at the end of that string.
    Last edited by hcvv; 20-Jun-2012 at 12:21.
    Henk van Velden

  7. #7

    Default Re: Removing older packages

    Quote Originally Posted by hcvv View Post
    I guess that when you look in YaST > Software > Software management and you have a library package (codecs or not) where the version field is shown red (and you have the repo belonging to it enabled!), you can remove it because the repo does not provide it any more, which would mean that you wouldn't get it when you installed your system anew.

    E.g. in my 11.4 system I have:
    . libavcodec52 version 0.7.12-2.1 (0.7.12-3.1)
    . libavcodec53 version 0.10.3-1.1

    which, when combining with reading the Version tab contents below, means for the first line that I could update to the newer version of libavcode52 from Packman and for the second line that libavcode53 is not available anymore in whatever version fom Packman.

    IMHO it does no harm to let it stay on your system, but as you do not provide a link to that other thread I have no comment on the reasoning that was used there.

    But I would never remove a package solely because the name is almost the same as another package save for a number at the end of that string.
    Sorry, thread = http://forums.opensuse.org/english/g...low-downs.html

  8. #8
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    24,851

    Default Re: Removing older packages

    That is a long history. I went through at at speed. The only thing I see related to what I aay above is that the libavcodec53 is not anymore where it came from (Packman) and IMHO (and @caf4926 saiad the same) can be deleted.

    But that is NOT the same as deleting all packages which end in a numbber lower then packages that have almost the same name, but end with a higher number. And that is what you asked for in this thread in post #! if I interpreted correctly..
    Henk van Velden

  9. #9
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,723
    Blog Entries
    20

    Default Re: Removing older packages

    If you'd updated correctly
    libavcodec53 would have been removed
    It was for me
    Leap 15.1_KDE
    My Articles Was I any help? If yes: Click the star below

  10. #10

    Default Re: Removing older packages

    Quote Originally Posted by hcvv View Post
    That is a long history. I went through at at speed. The only thing I see related to what I aay above is that the libavcodec53 is not anymore where it came from (Packman) and IMHO (and @caf4926 saiad the same) can be deleted.

    But that is NOT the same as deleting all packages which end in a numbber lower then packages that have almost the same name, but end with a higher number. And that is what you asked for in this thread in post #! if I interpreted correctly..
    Correct. The response I got just prompted me to ask about codecs. Also my libavcodec53 is long gone.

    Thanks

Page 1 of 2 12 LastLast

Posting Permissions

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