zyyper dup is not installing updates

After i learn in this forum the proper way to keep Tumbleweed up to date, i run zypper dup on a regular basis,i was reading in another thread that snapshot 20180720 change file was empty so i decided to check if my packages are synchronized with http://download.opensuse.org, they are not…
Example: in 20180722 snapshat these packages are being updated:

Packages changed:
bubblewrap (0.2.1 -> 0.3.0)
libva (2.1.0 -> 2.2.0)
libva-gl (2.1.0 -> 2.2.0)
qqc2-desktop-style (5.47.0 -> 5.48.0)
xf86-input-mouse (1.9.2 -> 1.9.3)
xf86-video-r128 (6.10.2 -> 6.11.0)

i check what version do i have:

Información para paquete xf86-input-mouse:

Repositorio : openSUSE-Tumbleweed-Oss
Nombre : xf86-input-mouse
**Versión : 1.9.2-2.2 **
Arquitectura : x86_64
Proveedor : openSUSE
Tamaño de instalación : 99.8 KiB
Instalado : Si (automáticamente)
Estado : actualizado
Paquete de fuentes : xf86-input-mouse-1.9.2-2.2.src
Resumen : Mouse input driver for the Xorg X server

I have 1.9.2-2.2,if i run zypper dup:

→ sudo zypper dup

Cargando datos del repositorio…
Leyendo los paquetes instalados…
Calculando actualización de distribución…

**No hay nada que hacer.

**it says there is nothing to do and no error messages either.

Seems you are using an out of date repo? Please show between CODE tags (the # button above the editing line):

sudo zypper lr -d

Run


sudo zypper clean && sudo zypper dup

→ sudo zypper lr -d[sudo] password for root: 
Prioridades del repositorio en vigor:
                            (Consulte zypper lr -P para obtener más información)
      90 (prioridad aumentada)   :  1 repositorio 
      99 (prioridad por defecto) :  4 repositorios


# | Alias         | Nombre                      | Habilitado | Comprobación GPG | Actualizar | Prioridad | Tipo   | URI                                                                 | Servicio
--+---------------+-----------------------------+------------+------------------+------------+-----------+--------+---------------------------------------------------------------------+---------
1 | google-chrome | google-chrome               | Si         | (r ) Si          | Si         |   99      | rpm-md | http://dl.google.com/linux/chrome/rpm/stable/x86_64                 |         
2 | packman       | packman                     | Si         | (r ) Si          | Si         |   90      | rpm-md | http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Tumbleweed/ |         
3 | repo-debug    | openSUSE-Tumbleweed-Debug   | No         | ----             | ----       |   99      | NONE   | http://download.opensuse.org/debug/tumbleweed/repo/oss/             |         
4 | repo-non-oss  | openSUSE-Tumbleweed-Non-Oss | Si         | (r ) Si          | No         |   99      | rpm-md | http://download.opensuse.org/tumbleweed/repo/non-oss/               |         
5 | repo-oss      | openSUSE-Tumbleweed-Oss     | Si         | (r ) Si          | No         |   99      | rpm-md | http://download.opensuse.org/tumbleweed/repo/oss/                   |         
6 | repo-source   | openSUSE-Tumbleweed-Source  | No         | ----             | ----       |   99      | NONE   | http://download.opensuse.org/source/tumbleweed/repo/oss/            |         
7 | repo-update   | openSUSE-Tumbleweed-Update  | Si         | (r ) Si          | No         |   99      | rpm-md | http://download.opensuse.org/update/tumbleweed/                     |         
→ 


this is a fresh install, i just added packman and google repos.

Fresh install? When?

same message, nothing to do.

Just checked the oss repo and some (all?) packages “changed” in 20180722 are still provided in two versions, the “old” and the 20180722 one. What does a “dup” do in such cases? This is normal in the update repo for Leap but seems odd in TW?

sudo zypper ref && sudo zypper dup

I do not understand why you have non-updated repositories, zypper dup should update them by default, try the above

How did you check.

As far as I know, the old package stays around for 24 hours or so (because people might be in the middle of downloading it when the new snapshot is published). But the metadata from the repo should only have the latest.

Checking in Yast software manager, I looked for “xf86-input-mouse”. The “Versions” tab showed only the latest.

By pointing my browser to http://download.opensuse.org/tumbleweed/repo/oss/x86_64/ (don’t know which mirror I’m actually viewing).

Hi
Your repos are set to no refresh… packman is set to 90?

Set all priorities to 99 and enable refresh, zypper dup from packman first so your packages will switch

Else force the refresh of metadata with the -f option;


zypper -vvv ref -f
zypper -vvv dup

Confirming that, sorry for the added clutter. Malcolm found the real culprit apparently…

indeed, disable repo refresh what the culprit, after i reenable it i got the updates:

El siguiente producto va a ser actualizado:
** openSUSE Tumbleweed 20180721-0 -> 20180722-0 x86_64 ** openSUSE-Tumbleweed-Oss openSUSE

**39 paquetes a actualizar.

**i misunderstood the advise about not to run zypper ref because zypper dup will take care of that. i disable it just after the fresh install, i feel easier to search a package and review its dependencies using yast than the console but with auto refresh enabled yast refreshes the repos everytime i entered that option, it is clear dup refresh the repo metadata only if repo refresh is enabled.

zypper does not browse anything, it reads metadata and is using whatever version is listed there.