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

Thread: Unable to install updates

  1. #1

    Default Unable to install updates

    I installed tumbleweed a few weeks ago. I have been able to install updates. i get a icon in the notification area that shows there are updates available. when i click install, it fails with this message:


    "The task was forcibly canceled. The task was cancelled successfully and no packages were changed. The backend did not exit cleanly."

    The only thing i can think of is that i installed VLC from the VLC website using whatever the hell this os calls a package file. I noticed that the installation failed on this, because the website gave me x86, so i had to go to the terminal and manually choose the x64 version of the packages. I can still install software. i just can't install the updates. Additionally, i do not familiar with the commands for this os on the terminal. I came from ubuntu and i plan on staying, i like opensuse much better. Help a noob out lulz (please internet godz)

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

    Default Re: Unable to install updates

    VLC repo is usually not a good idea

    Perhaps we should start be seeing your repo list

    Code:
    zypper lr -d
    Leap 15.1_KDE
    My Articles Was I any help? If yes: Click the star below

  3. #3

    Default Re: Unable to install updates

    Quote Originally Posted by caf4926 View Post
    VLC repo is usually not a good idea

    Perhaps we should start be seeing your repo list

    Code:
    zypper lr -d
    Ok, i did as you instructed and this is what it shows:

    Code:
    Repository priorities are without effect. All enabled repositories share the same priority.
    
    # | Alias                               | Name                       | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                         | Service
    --+-------------------------------------+----------------------------+---------+-----------+---------+----------+--------+-----------------------------------------------------------------------------+--------
    1 | download.opensuse.org-non-oss       | Main Repository (NON-OSS)  | Yes     | (r ) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/tumbleweed/repo/non-oss/                       |        
    2 | download.opensuse.org-oss           | Main Repository (OSS)      | Yes     | (r ) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/tumbleweed/repo/oss/                           |        
    3 | download.opensuse.org-tumbleweed    | Main Update Repository     | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/tumbleweed/                             |        
    4 | http-download.videolan.org-c16f5003 | SuSE                       | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.videolan.org/SuSE/Tumbleweed/                               |        
    5 | openSUSE-20161125-0                 | openSUSE-20161125-0        | Yes     | (r ) Yes  | No      |   99     | yast2  | cd:///?devices=/dev/disk/by-id/ata-PLDS_DVD-RW_DS8A9SH_O10A11857L1CG3918LZ2 |        
    6 | repo-debug                          | openSUSE-Tumbleweed-Debug  | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/tumbleweed/repo/oss/                     |        
    7 | repo-source                         | openSUSE-Tumbleweed-Source | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/source/tumbleweed/repo/oss/
    As you can see there is the pakcage installed from videolan.org. how can i remove that, then i will be able to remove the installed packages, and can try again?

  4. #4
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,853
    Blog Entries
    14

    Default Re: Unable to install updates

    First: DO NOT use the updater. TW is a different beast, which needs 'zypper dup' to update ( or actually upgrade ).
    Second: remove the videolan repo, and add the Packman repo. After doing so, switch the system packages to those in Packman.
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

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

    Default Re: Unable to install updates

    Do this

    Code:
    su -
    zypper rr 5
    Code:
    zypper rr 4
    Code:
    zypper ar -f http://packman.inode.at/suse/openSUSE_Tumbleweed/ packman
    Now do

    Code:
    zypper dup --from packman
    Leap 15.1_KDE
    My Articles Was I any help? If yes: Click the star below

  6. #6

    Default Re: Unable to install updates

    Quote Originally Posted by caf4926 View Post
    Do this

    Code:
    su -
    zypper rr 5
    Code:
    zypper rr 4
    Code:
    zypper ar -f http://packman.inode.at/suse/openSUSE_Tumbleweed/ packman
    Now do

    Code:
    zypper dup --from packman
    Well... That certainly solves the problem of not being able to install updates. One question, is it possible to get rid of the icon in the notification area?

  7. #7
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,383
    Blog Entries
    1

    Default Re: Unable to install updates

    Quote Originally Posted by gman24 View Post
    Well... That certainly solves the problem of not being able to install updates. One question, is it possible to get rid of the icon in the notification area?
    Assuming KDE desktop....

    Right click on the small triangle in the system tray > System Tray Settings , uncheck 'Software Updates' in the 'Extra Items' selection, click 'Apply', then 'OK'.
    Last edited by deano_ferrari; 20-Dec-2016 at 02:19.

  8. #8

    Default Re: Unable to install updates

    Quote Originally Posted by deano_ferrari View Post
    Assuming KDE desktop....

    Right click on the small triangle in the system tray > System Tray Settings , uncheck 'Software Updates' in the 'Extra Items' selection, click 'Apply', then 'OK'.
    Thank you sir. And also thank you to everyone in the thread that helped. I learned something in the process.

    If i might burden you all with one small question:

    Is there a flag i can give to automatically agree to the licenses for the proprietary packages? i don't know how to use vim or whatever the editor is called that opens for me to read the text document, and it's super confusing how to actually just "agree" to the license. I ended up just paging up and down and pushing keys until it exited and i could agree to the license.

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

    Default Re: Unable to install updates

    If using zypper you can add for example

    Code:
     --auto-agree-with-licenses
    eg
    Code:
    zypper dup  --auto-agree-with-licenses
    Leap 15.1_KDE
    My Articles Was I any help? If yes: Click the star below

  10. #10
    Join Date
    Feb 2016
    Location
    Berlin
    Posts
    357

    Default Re: Unable to install updates

    if you have extra repos the best way to update on TW is to use 'sudo zypper dup --no-allow-vendor-change'
    TIP: (place in ~/.bashrc)
    alias dup='sudo zypper dup --no-allow-vendor-change'
    then in future just type dup
    [you will no longer have to disable repos, nor have packages change vendor.]

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
  •