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) rotfl!

VLC repo is usually not a good idea

Perhaps we should start be seeing your repo list

zypper lr -d

Ok, i did as you instructed and this is what it shows:


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?

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.

Do this

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

Now do

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?

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.

If using zypper you can add for example

 --auto-agree-with-licenses

eg

zypper dup  --auto-agree-with-licenses

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.]

Or in your ~/.alias file instead of ~/.bashrc