Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 21

Thread: a Zypper Dup survey

  1. #11

    Default Re: a Zypper Dup survey

    Thanks for the suggestions, Karl. zypper packages --unneeded and zypper packages --orphaned were new to me. Time for me to study zypper, now that I'm in the Tumbleweed camp. https://en.opensuse.org/SDBZypper_manual_(plain)

  2. #12
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    16,689
    Blog Entries
    13

    Default Re: a Zypper Dup survey

    ° Appreciate my reply? Click the star and let me kow why.

    ° Perfection is not gonna happen. No way.

    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  3. #13
    Join Date
    Sep 2013
    Location
    Norfolk, UK
    Posts
    742

    Default Re: a Zypper Dup survey

    Quote Originally Posted by Tuner View Post
    Thanks for the suggestions, Karl. zypper packages --unneeded and zypper packages --orphaned were new to me.
    Use those two with care, it's quite easy to accidentally remove a wanted package


    For example:

    The repository "http://opensuse-guide.org/repo/openSUSE_Tumbleweed/" is added to enable the installation of "libdvdcss". As there is no subsequent need to update that package the repository is then disabled. Zypper will then regard "libdvdcss" as an orphaned package...
    Regards, Paul

    Tumbleweed (Snapshot: 20171210) KDE Plasma 5
    Leap 42.3 KDE Plasma 5


  4. #14
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    9,154
    Blog Entries
    3

    Default Re: a Zypper Dup survey

    Quote Originally Posted by Tuner View Post
    Thanks for the suggestions, Karl. zypper packages --unneeded and zypper packages --orphaned were new to me. Time for me to study zypper, now that I'm in the Tumbleweed camp. https://en.opensuse.org/SDBZypper_manual_(plain)
    I normally use Yast for that. The "Package groups" view has entries for those.

    Note that "unneeded" is not the same as "unwanted". I have seen wanted packages listed there.

    Removing an orphaned package sometimes brings up a conflict dialog (some other package has a dependency that would be broken). So I usually check those out carefully before removing.
    opensuse Leap 42.3; KDE Plasma 5;
    opensuse tumbleweed; KDE Plasma 5 (test system);

  5. #15
    Join Date
    Jan 2014
    Location
    Erlangen
    Posts
    290

    Default Re: a Zypper Dup survey

    Quote Originally Posted by tannington View Post
    Use those two with care, it's quite easy to accidentally remove a wanted package For example: The repository "http://opensuse-guide.org/repo/openSUSE_Tumbleweed/" is added to enable the installation of "libdvdcss". As there is no subsequent need to update that package the repository is then disabled. Zypper will then regard "libdvdcss" as an orphaned package...
    Sure, that's why I added "remove if appropriate". On the other hand:

    Code:
    erlangen:~ # zypper packages --unneeded 
    Loading repository data...
    Reading installed packages...
    No packages found.
    erlangen:~ # zypper packages --orphaned 
    Loading repository data...
    Reading installed packages...
    S  | Repository | Name                 | Version                | Arch  
    ---+------------+----------------------+------------------------+-------
    i+ | @System    | hd-idle              | 1.04-3.30              | x86_64
    i+ | @System    | iscan                | 2.30.2-2               | x86_64
    i+ | @System    | iscan-data           | 1.36.0-1               | noarch
    i+ | @System    | iscan-plugin-gt-s650 | 1.1.0-2                | x86_64
    i+ | @System    | spotify-client       | 0.9.17.8.gd06432d.31-1 | x86_64
    erlangen:~ # zypper if libdvdcss2
    Loading repository data...
    Reading installed packages...
    
    
    Information for package libdvdcss2:
    -----------------------------------
    Repository     : libdvdcss repository                           
    Name           : libdvdcss2                                     
    Version        : 1.4.0-1.15                                     
    Arch           : x86_64                                         
    Vendor         : VideoLAN Project (http://www.videolan.org)     
    Installed Size : 172.2 KiB                                      
    Installed      : Yes                                            
    Status         : up-to-date                                     
    Source package : libdvdcss-1.4.0-1.15.src                       
    Summary        : A library designed for accessing encrypted DVDs
    Description    :                                                
        libdvdcss is a simple library designed for accessing DVDs like a block device without having to bother about the decryption.
    
    erlangen:~ #
    Intel i3-4130, ASRock Z87 Pro 3, 16GB DDR3-1600, Samsung 840 EVO 250GB, Seagate ST2000DM001 2 TB (ass. in 2014) Tumbleweed
    Intel i7-6700K, ASRock Z170 Pro 4S, 32GB DDR4-2166, Samsung 950 PRO 512GB, Western Digital WD40EZRX 4 TB (ass. in 2016) Tumbleweed

  6. #16
    Join Date
    Jun 2008
    Location
    Yorkshire
    Posts
    262

    Default Re: a Zypper Dup survey

    Quote Originally Posted by dth2 View Post
    I have been using tumblewwed for several years now and just use yast to update. Never had any issues so far.
    Yast for me too.
    There's been quite a few comments about using dup so I tried it about a month ago. I had to reinstall tumbleweed.
    Pete

  7. #17
    Join Date
    Sep 2013
    Location
    Norfolk, UK
    Posts
    742

    Default Re: a Zypper Dup survey

    Quote Originally Posted by karlmistelberger View Post
    Sure, that's why I added "remove if appropriate".
    Yes, I merely reiterated the need to take care.

    On the other hand:
    ... snip ...
    Sorry, I fail to see what you were attempting to illustrate there.
    Regards, Paul

    Tumbleweed (Snapshot: 20171210) KDE Plasma 5
    Leap 42.3 KDE Plasma 5


  8. #18
    Join Date
    Jan 2014
    Location
    Erlangen
    Posts
    290

    Default Re: a Zypper Dup survey

    Quote Originally Posted by tannington View Post
    Sorry, I fail to see what you were attempting to illustrate there.
    libdvdcss2 is neither unneeded nor orphaned. Which package asks for libdvdcss2?
    Intel i3-4130, ASRock Z87 Pro 3, 16GB DDR3-1600, Samsung 840 EVO 250GB, Seagate ST2000DM001 2 TB (ass. in 2014) Tumbleweed
    Intel i7-6700K, ASRock Z170 Pro 4S, 32GB DDR4-2166, Samsung 950 PRO 512GB, Western Digital WD40EZRX 4 TB (ass. in 2016) Tumbleweed

  9. #19
    Join Date
    Sep 2013
    Location
    Norfolk, UK
    Posts
    742

    Default Re: a Zypper Dup survey

    Quote Originally Posted by karlmistelberger View Post
    libdvdcss2 is neither unneeded nor orphaned. Which package asks for libdvdcss2?

    The point I was making was not whether the package, in the example libdvdcss, was needed; but that if a package is installed and the repository from which it came is either disabled or removed, that package then becomes an orphan.

    Code:
    paul@Orion-15:~$ sudo zypper packages --orphaned
    [sudo] password for root:
    Loading repository data...
    Reading installed packages...
    S  | Repository | Name       | Version    | Arch  
    ---+------------+------------+------------+-------
    il | @System    | libdvdcss2 | 1.4.0-1.15 | x86_64
    
    paul@Orion-15:~$
    On your own system (as shown in post #10) the repository for that package (#7) is enabled, so it's not orphaned.

    I've no idea what package (on your system) requires it. Which raises another point; define "unneeded", but VLC, k3b, and likely other media players, loose some "functionality" without it.

    The bottom line is each user decides what's "needed"...
    Regards, Paul

    Tumbleweed (Snapshot: 20171210) KDE Plasma 5
    Leap 42.3 KDE Plasma 5


  10. #20

    Default Re: a Zypper Dup survey

    It was a problem for me that after a long time before running the update, the amount of download size would reach some GBs and that would take me a lot of my time to download the updates...

    So, for this case, I made a simple script for root that runs
    Code:
    zypper --gpg-auto-import-keys dup --download-only
    . I've put this script to run once every two days using anacron, so it would download the updates when my father uses the computer (he is just surfing the web), saving me a lot of time if I cannot update the computer for a whole week.

    (1) Do you boot to console to run zypper dup....
    I've been using the terminal with desktop loaded or the "Update Manager" that pops near the desktop. I'm still not sure if the "update manager" does only a regular update or a dup. I was pretty sure that it was only regular updates, but I've seen some kernel updates that I think regular zypper update don't do.

    (2) How long have you waited between invocations of zypper dup?
    When possible, I try to update it every day I use my computer/notebook. I'd say at least once a week for my desktop, but my notebook is not used so often, or is used away from home or is running on batteries/slow connection, so it is dist-updated once a month or longer.

    (3) Dealing with problem messages.
    I try to read and understand the message before choosing one. Usually the first solution is the best for me (like when it asks to change repo or something like that). When it generates more conflict, like uninstallation of more packages, I use YaST to check for more hints and do the least changes on other packages... I avoid "breaking" the packages.



Page 2 of 3 FirstFirst 123 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
  •