Bug 960358

Summary: Unable to update after fresh install
Product: [openSUSE] openSUSE Distribution Reporter: Forgotten User ZG9rMoestc <forgotten_ZG9rMoestc>
Component: BasesystemAssignee: E-mail List <bnc-team-screening>
Status: RESOLVED NORESPONSE QA Contact: E-mail List <qa-bugs>
Severity: Critical    
Priority: P5 - None CC: astieger, forgotten_ZG9rMoestc, fvogt
Version: Leap 42.1Flags: fvogt: needinfo? (forgotten_ZG9rMoestc)
Target Milestone: ---   
Hardware: 64bit   
OS: openSUSE 42.1   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Forgotten User ZG9rMoestc 2015-12-29 19:39:26 UTC
Cannot update or add / remove packages. Sudo zypper refresh gives me an error saying that oss has been tempered with and cannot check signature. A while after it fails to build cache. Every package i try to install gives digest or checksum error. I couldn't update anything nor (as the example bellow. install nvidia driver)

Pasting some outputs as example:

sudo zypper install nvidia-glG03
root's password:
A obter dados do repositório...
A ler pacotes instalados...
A resolver dependências dos pacotes...

The following 15 NEW packages are going to be installed:
gcc gcc48 kernel-default-devel kernel-devel kernel-macros libasan0 libatomic1 libitm1
libtsan0 libvdpau1 nvidia-computeG03 nvidia-gfxG03-kmp-default nvidia-glG03
nvidia-uvm-gfxG03-kmp-default x11-video-nvidiaG03

The following 3 recommended packages were automatically selected:
nvidia-glG03 nvidia-uvm-gfxG03-kmp-default x11-video-nvidiaG03

15 novos pacotes para instalado.
Overall download size: 42,1 MiB. Already cached: 50,7 MiB. Depois da operação, 433,7 MiB
adicionais serão utilizados.
Continuar? [y/n/? shows all options] (y): y
In cache libatomic1-5.2.1+r226025-4.2.x86_64.rpm
(1/15), 17,7 KiB ( 26,1 KiB descompactado)
In cache libitm1-5.2.1+r226025-4.2.x86_64.rpm
(2/15), 35,1 KiB (110,4 KiB descompactado)
In cache libtsan0-5.2.1+r226025-4.2.x86_64.rpm
(3/15), 245,2 KiB (794,6 KiB descompactado)
In cache libvdpau1-1.1.1-8.6.x86_64.rpm (4/15), 21,8 KiB ( 37,9 KiB descompactado)
In cache kernel-macros-4.1.13-5.1.noarch.rpm (5/15), 589,6 KiB ( 6,2 KiB descompactado)
In cache libasan0-4.8.5-18.1.x86_64.rpm (6/15), 76,3 KiB (166,9 KiB descompactado)
In cache kernel-devel-4.1.13-5.1.noarch.rpm (7/15), 10,5 MiB ( 50,4 MiB descompactado)
In cache gcc48-4.8.5-18.1.x86_64.rpm (8/15), 8,6 MiB ( 33,1 MiB descompactado)
In cache kernel-default-devel-4.1.13-5.1.x86_64.rpm
(9/15), 2,7 MiB ( 3,4 MiB descompactado)
In cache gcc-4.8-8.4.x86_64.rpm (10/15), 5,4 KiB ( 0 B descompactado)
In cache nvidia-gfxG03-kmp-default-340.93_k4.1.12_1-36.7.x86_64.rpm
(11/15), 3,6 MiB ( 32,6 MiB descompactado)
In cache nvidia-uvm-gfxG03-kmp-default-340.93_k4.1.12_1-36.7.x86_64.rpm
(12/15), 3,6 MiB ( 16,2 MiB descompactado)
In cache nvidia-glG03-340.93-36.1.x86_64.rpm
(13/15), 20,9 MiB (129,3 MiB descompactado)
A obter pacote nvidia-computeG03-340.93-36.1.x86_64
(14/15), 12,9 MiB ( 41,4 MiB descompactado)
A obter: nvidia-computeG03-340.93-36.1.x86_64.rpm ................................[concluído (212,5 KiB/s)]

Aviso: Digest verification failed for file 'nvidia-computeG03-340.93-36.1.x86_64.rpm'
[/var/cache/zypp/packages/download.nvidia.com-leap/x86_64/nvidia-computeG03-340.93-36.1.x86_64.rpm]

expected 6811c8c4798f80629c2b30ea67d10cdfba79e15c9c196e78db49d7d8715d24a8
but got f400e480eea03a2692a894c49160fdf47a041fc5b86a0246bfbc0d3abcab917e

Accepting packages with wrong checksums can lead to a corrupted system and in extreme cases even to a system compromise.

However if you made certain that the file with checksum 'f400..' is secure, correct
and should be used within this operation, enter the first 4 characters of the checksum
to unblock using this file on your own risk. Empty input will discard the file.

Unblock or discard? [f400/? shows all options] (discard): discard
Failed to provide Package nvidia-computeG03-340.93-36.1. Do you want to retry retrieval?

[download.nvidia.com-leap|http://download.nvidia.com/opensuse/leap/42.1] Não é possível fornecer o ficheiro './x86_64/nvidia-computeG03-340.93-36.1.x86_64.rpm' a partir do repositório 'download.nvidia.com-leap'
Histórico:
- nvidia-computeG03-340.93-36.1.x86_64.rpm has wrong checksum 

_______________________________


pedro@linux-qu2x:~> sudo zypper clean -a
Todos os repositórios foram limpos.
pedro@linux-qu2x:~> sudo zypper ref
A obter metadados do repositório 'Nvidia' ......................................................[concluído]
A construir a cache do repositório 'Nvidia' ....................................................[concluído]
A obter metadados do repositório 'Repositório Principal (NON-OSS)' .............................[concluído]
A construir a cache do repositório 'Repositório Principal (NON-OSS)' ...........................[concluído]
A obter metadados do repositório 'Update Repository (Non-Oss)' .................................[concluído]
A construir a cache do repositório 'Update Repository (Non-Oss)' ...............................[concluído]
A obter metadados do repositório 'Repositório Principal (OSS)' -----------------------------------------[/]

Aviso: Digest verification failed for file 'appdata-icons.tar.gz'
[/var/cache/zypp/raw/download.opensuse.org-ossZvAijm/suse/setup/descr/appdata-icons.tar.gz]

expected 713ce9ec43f175866c31771698bb21a2db5c440f44061b1f1c23ad84daa16b48
but got a591216a6d9f0e71e92cfc26620adaf63a8958f76d237c17c7830f50a5067ecd

Accepting packages with wrong checksums can lead to a corrupted system and in extreme cases even to a system compromise.

However if you made certain that the file with checksum 'a591..' is secure, correct
and should be used within this operation, enter the first 4 characters of the checksum
to unblock using this file on your own risk. Empty input will discard the file.

Unblock or discard? [a591/? shows all options] (discard): discard
A obter metadados do repositório 'Repositório Principal (OSS)' ......................................[erro]
Repositório 'Repositório Principal (OSS)' inválido.
[download.opensuse.org-oss|http://download.opensuse.org/distrib...2.1/repo/oss/] Valid metadata not found at specified URL
Por favor, verifique se o os URIs definidos para este repositório estão a apontar para um repositório válido.
A saltar o repositório 'Repositório Principal (OSS)' devido ao erro acima.
A obter metadados do repositório 'Repositório Principal de Actualizações' ------------------------------[\]A obter metadados do repositório 'Repositório Principal de Actualizações' ------------------------------[|]A obter metadados do repositório 'Repositório Principal de Actualizações' ------------------------------[\]A obter metadados do repositório 'Repositório Principal de Actualizações' ......................[concluído]
A construir a cache do repositório 'Repositório Principal de Actualizações' ....................[concluído]
A obter metadados do repositório 'Packman Repository' ..........................................[concluído]
A construir a cache do repositório 'Packman Repository' ........................................[concluído]
Alguns dos repositórios não foram refrescados devido a um erro.
pedro@linux-qu2x:~> sudo zypper up
root's password:
A obter metadados do repositório 'Repositório Principal (OSS)' .................................[concluído]
A construir a cache do repositório 'Repositório Principal (OSS)' ...............................[concluído]
A obter dados do repositório...
A ler pacotes instalados...

The following 46 package updates will NOT be installed:
amarok amarok-lang fdupes gstreamer gstreamer-0_10 gstreamer-0_10-lang gstreamer-0_10-plugin-esd
gstreamer-0_10-plugins-base gstreamer-0_10-plugins-base-lang gstreamer-0_10-plugins-good
gstreamer-0_10-plugins-good-lang gstreamer-lang gstreamer-plugins-base gstreamer-plugins-base-lang
gstreamer-plugins-good gstreamer-plugins-good-lang k3b k3b-lang libavcodec56 libavformat56 libavutil54
libgstallocators-1_0-0 libgstapp-0_10-0 libgstapp-1_0-0 libgstaudio-1_0-0 libgstfft-1_0-0
libgstinterfaces-0_10-0 libgstpbutils-1_0-0 libgstphotography-1_0-0 libgstreamer-0_10-0
libgstreamer-1_0-0 libgstriff-1_0-0 libgstrtp-1_0-0 libgstrtsp-1_0-0 libgstsdp-1_0-0 libgsttag-1_0-0
libgstvideo-1_0-0 libmjpegutils-2_0-0 libopencv2_4 libquicktime0 libsox3 libsoxr0 libstreamanalyzer0
libswresample1 mjpegtools sox 

_______________________


Error

adding main repo (oss) failed.
download.opensuse.org-oss_2. failed to cache repo (4)

repo_content incomplete, no product solvable created!

gzip stdout broken pipe
/usr/bin/repo2solv.sh: line 269: echo: write error: broken pipe
Comment 1 Arvin Schnell 2016-01-04 16:11:53 UTC
Does not look like a YaST bug.
Comment 2 Fabian Vogt 2016-01-05 17:04:54 UTC
What do you get if you download the file manually?
http://download.opensuse.org/distribution/leap/42.1/repo/oss/suse/setup/descr/appdata-icons.tar.gz

I assume that there is a firewall or something else between you and the download server or a corrupt mirror is chosen for you (based on your location).

What's the output of

> curl http://download.opensuse.org/distribution/leap/42.1/repo/oss/suse/setup/descr/appdata-icons.tar.gz | sha256sum

? It should be 713ce9ec43f175866c31771698bb21a2db5c440f44061b1f1c23ad84daa16b48, as zypper says.

You can pick some mirrors from http://download.opensuse.org/distribution/leap/42.1/repo/oss/suse/setup/descr/appdata-icons.tar.gz.mirrorlist to test whether others work for you.
Comment 3 Andreas Stieger 2016-02-08 17:38:37 UTC
Looks like a temporary mirror / network problem.