Zypper dup recently not upgrading either TW or Vivaldi.

Hello

I couldn’t decide if this belongs in “Forum: Install/Boot/Login”, or here “Forum: Applications”, as my enquiry seems to pertain to both.

Are the frequent TW snapshots being currently held back, or might i have a local problem? For several days i’ve been trying to do my weekly dup [my TW is 20170913], having seen [at time of writing] this status in https://openqa.opensuse.org/factory-package-news/


[20170921](https://openqa.opensuse.org/factory-package-news/diff/20170921)
[20170920](https://openqa.opensuse.org/factory-package-news/diff/20170920)
[20170919](https://openqa.opensuse.org/factory-package-news/diff/20170919)
[20170918](https://openqa.opensuse.org/factory-package-news/diff/20170918)
[20170917](https://openqa.opensuse.org/factory-package-news/diff/20170917)
[20170915](https://openqa.opensuse.org/factory-package-news/diff/20170915)
[20170914](https://openqa.opensuse.org/factory-package-news/diff/20170914)
[20170913](https://openqa.opensuse.org/factory-package-news/diff/20170913) <--
[20170912](https://openqa.opensuse.org/factory-package-news/diff/20170912)
[20170911](https://openqa.opensuse.org/factory-package-news/diff/20170911)
[20170909](https://openqa.opensuse.org/factory-package-news/diff/20170909)

However, each day, only this occurs:


[sudo] password for root: 
Warning: You are about to do a distribution upgrade with all enabled repositories. Make sure these repositories are compatible before you continue. See 'man zypper' for more information about this command.
Retrieving repository 'Packman Repository' metadata .............................................................[done]
Building repository 'Packman Repository' cache ..................................................................[done]
Loading repository data...
Reading installed packages...
Computing distribution upgrade...


The following 2 items are locked and will not be changed by any action:
 Available:
  AdobeICCProfiles Mesa-dri-nouveau


The following package is going to be upgraded:
  vivaldi-stable


1 package to upgrade.
Overall download size: 0 B. Already cached: 48.2 MiB. After the operation, additional 1.9 MiB will be used.
Continue? [y/n/...? shows all options] (y): 
In cache vivaldi-stable-1.12.955.36-1.x86_64.rpm                                  (1/1),  48.2 MiB (181.9 MiB unpacked)
Checking for file conflicts: ...................................................................................[error]
Detected 1 file conflict:


File /usr/share/xfce4/helpers/vivaldi.desktop
  from install of
     vivaldi-stable-1.12.955.36-1.x86_64 (Vivaldi)
  conflicts with file from package
     exo-data-0.11.4-1.1.noarch (@System)


File conflicts happen when two packages attempt to install files with the same name but different contents. If you continue, conflicting files will be replaced losing the previous content.
Continue? [yes/no] (no): n


Problem occurred during or after installation or removal of packages:
Installation aborted by user


Please see the above error message for a hint.

My bash script, for reference:


#!/bin/bash


#sudo zypper dup --no-allow-vendor-change


#............................................................................................
# zypper dup news:   now "sudo zypper dup" is enough for TW.
#https://news.opensuse.org/2017/07/13/tumbleweed-snapshots-update-appstream-mesa-frameworks/ 
#The 20170708 snapshot had a big change to libzypp 16.13.0. The new version update hides the switch of the default for zypper dup; after this update, zypper dup will default to –no-allow-vendor-change, which has been the recommended way for Tumbleweed for a long time now, according to an email post on the openSUSE Factory Mailing List from Dominique Leuenberger. That is if the user did not change /etc/zypp/zypp.conf -.
#............................................................................................


**sudo zypper dup**

Re Vivaldi, i have read https://forums.opensuse.org/showthread.php/527275-quot-vivaldi-quot-is-broken-Whom-do-I-contact?p=2838982#post2838982 , but i don’t understand how i can also “fix” whatever is needed via an editor. BTW also, i do not understand this line:


File /usr/share/**xfce4**/helpers/vivaldi.desktop

, because my TW DE is KDE, not Xfce.

Re my entire TW snapshot, i know that it’s not every day that new snapshots become available, but as i showed above, it seems that there are many newer snapshots available since mine, yet my dup is not fetching them. I have made no changes to my Repos list for a very long time, but fyi it’s:


gooeygirl@linux-Tower:~> **zypper lr -d**


Repository priorities are without effect. All enabled repositories share the same priority.


# | Alias                                | Name                       | Enabled | GPG Check | Refresh | Priority | Type     | URI                                                                         | Service
--+--------------------------------------+----------------------------+---------+-----------+---------+----------+----------+-----------------------------------------------------------------------------+--------
1 | My_openSUSE_Repo                     | My_openSUSE_Repo           | Yes     | ( p) Yes  | Yes     |   99     | plaindir | dir:///Seagate/4.%20Software/My_openSUSE_Repo                               |        
2 | Vivaldi                              | Vivaldi                    | Yes     | ( p) Yes  | Yes     |   99     | rpm-md   | http://repo.vivaldi.com/snapshot/rpm/x86_64/                                |        
3 | download.opensuse.org-non-oss        | Main Repository (NON-OSS)  | Yes     | (r ) Yes  | Yes     |   99     | yast2    | http://download.opensuse.org/tumbleweed/repo/non-oss/                       |        
4 | download.opensuse.org-oss            | Main Repository (OSS)      | Yes     | (r ) Yes  | Yes     |   99     | yast2    | http://download.opensuse.org/tumbleweed/repo/oss/                           |        
5 | download.opensuse.org-tumbleweed     | Main Update Repository     | Yes     | (r ) Yes  | Yes     |   99     | rpm-md   | http://download.opensuse.org/update/tumbleweed/                             |        
6 | openSUSE-20170510-0                  | openSUSE-20170510-0        | No      | ----      | ----    |   99     | yast2    | hd:///?device=/dev/disk/by-id/usb-Generic_Flash_Disk_013739421808-0:0-part2 |        
7 | packman.inode.at-openSUSE_Tumbleweed | Packman Repository         | Yes     | (r ) Yes  | Yes     |   99     | rpm-md   | http://packman.inode.at/suse/openSUSE_Tumbleweed/                           |        
8 | repo-debug                           | openSUSE-Tumbleweed-Debug  | No      | ----      | ----    |   99     | NONE     | http://download.opensuse.org/debug/tumbleweed/repo/oss/                     |        
9 | repo-source                          | openSUSE-Tumbleweed-Source | No      | ----      | ----    |   99     | NONE     | http://download.opensuse.org/source/tumbleweed/repo/oss/                    |        
gooeygirl@linux-Tower:~> 

Should i just keep waiting, or should i do/change something locally, please?

Hi
Keep waiting… plus it’s the weekend and updates on a Friday (or Saturday :wink: ) are never a good idea
https://lists.opensuse.org/opensuse-factory/2017-09/msg00326.html

Vivaldi was broken AFAIK, should be fixed…?
http://lists.links2linux.de/pipermail/packman/2017-September/015392.html

one of your issues might be that you have both packman and the vivaldi repo where is your vivaldi from packman or from vivaldi
packman’s build is basically the same as there is no source for vivaldi and packman only repackages the rpm only the files have been moved from /opt to /usr
while packman’s build was broken vivaldi’s wasn’t you could try and force an install from the vivaldi repo

zypper in -r Vivaldi -f vivaldi

should pull the latest build from Vivaldi snapshot
but keep in mind your Vivaldi repo is the unstable snapshot maybe add the stable repo or keep getting it from packman?

Thanks.

updates on a Friday (or Saturday ) are never a good idea

Really? I did not know that. Rats, i usually like to do my dups each Saturday morning, immediately after i do my routine weekly data backups. Does that mean that also Sundays would be ill-advised?

No, every upgrade attempt i make for Vivaldi-Stable, irrespective of via my Vivaldi repo, the Packman repo, or manually downloading the rpm from the Vivaldi site myself, continues to throw the same error message i initially posted. It’s exasperating given that all Vivaldi-Snapshot upgrades continue to work fine, & all previous Vivaldi-Stable upgrades worked fine. Furthermore i know that the Vivaldi-downloaded rpm is good, coz last night i was able to install it into one of my TW VMs fine… but somehow my Tower’s real TW has decided to have this new problem. Lucky that V-Snapshot is my primary browser, not Stable, but i still do need Stable installed & updated just the same.

Thank you.

Until you told me, i had not realised that the Packman repo had Vivaldi-Stable. Nonetheless your command [modified to add the necessary [i]-stable suffix] still throws the same error i originally posted. Also, trying instead then with YaST2 doesn’t help; selecting from my Vivaldi repo, or then later the Packman repo… same error. As i replied to Malcolm, even my directly-downloaded rpm from the Vivaldi site, fails with the same error in my real TW [but last night installed fine in one of my TW VMs]. It’s weird.


gooeygirl@linux-Tower:~> **sudo zypper in -r Vivaldi -f vivaldi**
[sudo] password for root: 
Loading repository data...
Reading installed packages...
Package 'vivaldi' not found.
Resolving package dependencies...


Nothing to do.


gooeygirl@linux-Tower:~> **sudo zypper in -r Vivaldi -f vivaldi-stable**
Loading repository data...
Reading installed packages...
Forcing installation of 'vivaldi-stable-1.12.955.36-1.x86_64' from repository 'Vivaldi'.
Resolving package dependencies...


The following package is going to be upgraded:
  vivaldi-stable


1 package to upgrade.
Overall download size: 0 B. Already cached: 48.2 MiB. After the operation, additional 1.9 MiB will be used.
Continue? [y/n/...? shows all options] (y): 
In cache vivaldi-stable-1.12.955.36-1.x86_64.rpm                                                                            (1/1),  48.2 MiB (181.9 MiB unpacked)
Checking for file conflicts: .............................................................................................................................[error]
Detected 1 file conflict:


File /usr/share/xfce4/helpers/vivaldi.desktop
  from install of
     vivaldi-stable-1.12.955.36-1.x86_64 (Vivaldi)
  conflicts with file from package
     exo-data-0.11.4-1.1.noarch (@System)


File conflicts happen when two packages attempt to install files with the same name but different contents. If you continue, conflicting files will be replaced losing the previous content.
Continue? [yes/no] (no): 


Problem occurred during or after installation or removal of packages:
Installation aborted by user


Please see the above error message for a hint.
gooeygirl@linux-Tower:~> 

Would it be safe, or stupid, if i let it proceed with that replacement?

[QUOTE=GooeyGirl;2839144]


Detected 1 file conflict:


File /usr/share/xfce4/helpers/vivaldi.desktop
  from install of
     vivaldi-stable-1.12.955.36-1.x86_64 (Vivaldi)
  conflicts with file from package
     exo-data-0.11.4-1.1.noarch (@System)


File conflicts happen when two packages attempt to install files with the same name but different contents. If you continue, conflicting files will be replaced losing the previous content.
Continue? [yes/no] (no): n

I have been saying “yes” on that conflict. It’s only a “.desktop” file, so not much risk in overwriting.

I consider it to be a bug. There’s an open bug report Bug 1056969
I’m not seeing any action on the bug report.

In my opinion, that “.desktop” file should not be in “exo-data”. Since “vivaldi” is not part of the standard distribution, the “.desktop” file to start it also should not be part of the standard distribution. Better to let the “vivaldi” install handle that.

By the way, I am getting “vivaldi” from “packman”. You seem to be getting it from your “vivaldi” repo.

Re Vivaldi, i have read https://forums.opensuse.org/showthread.php/527275-quot-vivaldi-quot-is-broken-Whom-do-I-contact?p=2838982#post2838982 , but i don’t understand how i can also “fix” whatever is needed via an editor.

That was a thread that I started. Sorry about that. I fixed by adding a line “fi” at the end of the script “/usr/lib64/vivaldi/vivaldi”. That is part of “vivaldi” from “packman”. I don’t know whether you would have that problem using the “vivaldi” repo. In any case, a new update fixed the problem that same day.

BTW also, i do not understand this line:

File /usr/share/xfce4/helpers/vivaldi.desktop

, because my TW DE is KDE, not Xfce.

I have both KDE and XFCE installed, though I mainly use KDE.

I’m taking it that “/usr/share/xfce4/helpers” just happens to be a convenient location for putting a desktop file, where it is seen by various menus. The maintainers of “vivaldi” presumably assume that some XFCE people will use “vivaldi”, so they helpfully provide a menu entry.

When you say “n” to that file conflict prompt, you abort the update. Just allow the conflict since it is only for a “.desktop” file.

As for update delays beyond 20170913, see this message: [opensuse-factory] New Tumbleweed snapshots being delayed - openSUSE Factory - openSUSE Mailing Lists

Oh dear me, my lousy memory. I did read this link before my initial reply to you, & i learned from it & then bookmarked the mailing list], but i forgot to thank you for it… so… thanks Malcolm :slight_smile:

Hello nrickert

Thanks so much for your comprehensive reply – most helpful & explanatory!

I’ve now successfully upgraded the V-Stable on both PCs, by allowing the overwrite as you suggested… & it worked fine. Partly i now feel foolish for having inadvertently made a mountain out of a molehill, but my caution was accentuated by a disaster i visited upon myself in my early days with oS TW back in May/June, when i unwittingly caused major repo dependency conflicts & lead eventually to having to reinstall TW to fix my mess.

You’re correct, i do source both the Snapshot & Stable from the Vivaldi repo i added some time ago. As i mentioned previously, til very recently i’d not even realised that Stable is also in the Packman repo.

I won’t pretend that i fully understand the “xfce4” directory business, but thanks for your comment here coz it certainly advances my knowledge on it.

Finally yes thanks for the mailing list link; I actually did read & learn from it previously from Malcolm’s same link to it, but i forget to mention it & thank him [now belatedly rectified].

According to the bug report (I gave the link in my prior post in this thread), the conflict has been fixed upstream (the xfce maintainers), and will probably show up in Tumbleweed soon. Which means that you should stop seeing the conflict message.

Partly i now feel foolish for having inadvertently made a mountain out of a molehill, …

There’s no need to feel foolish. File conflicts can be serious.

In this case it was a “.desktop” file, and I happen to know enough about how those are used to be able to recognize that it isn’t a serious concern.

A year ago I asked for .mp4 support: https://forum.vivaldi.net/post/59640 But nothing happened until Vivaldi got available at packman:


erlangen:~ # zypper if vivaldi                                                                                                                 
Loading repository data...                                                                                                                      
Reading installed packages...                                                                                                                   
                                                                                                                                                
                                                                                                                                                
Information for package vivaldi:
--------------------------------
Repository     : Packman Repository               
Name           : vivaldi                          
Version        : 1.12.955.36-4.1                  
Arch           : x86_64                           
Vendor         : http://packman.links2linux.de    
Installed Size : 170.1 MiB                        
Installed      : Yes                              
Status         : up-to-date                       
Source package : vivaldi-1.12.955.36-4.1.src      
Summary        : Powerful and Personal Web Browser
Description    :                                  
    Vivaldi browser is made with power users in mind by people who love the Web.

erlangen:~ # 

Now Vivaldi plays videos without further tinkering. :slight_smile:

Hi Karl

I’m active in the V forum, so yes i know that a fairly frequent topic raised there, usually by newbies, is getting functional video support. The Widevine support used to be tricky for me, until i began using Ruari’s bash script for it, which works a treat. Since then, all good.

Finally, unless i’m mistaken, Packman only has Vivaldi-Stable, whereas i much prefer to use Vivaldi-Snapshot. I do keep both versions installed, but i mainly only use Stable for occasional testing, whereas i use Snapshot all day every day. If/when Packman also gets Snapshot, then i’d be happy to remove the Vivaldi repo from my list. Actually, given the whole rolling-release ethos of Tumbleweed, i do find it a bit odd that V-Snapshot is not also available, be it in Packman or any other TW repo.