Bug 15499

Summary: Possible package missing in mirror...
Product: Mageia Reporter: Renato Dali <mkare>
Component: Release (media or process)Assignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED WONTFIX QA Contact:
Severity: major    
Priority: Normal CC: pterjan, sysadmin-bugs, thierry.vignaud
Version: Cauldron   
Target Milestone: ---   
Hardware: i586   
OS: Linux   
Whiteboard:
Source RPM: CVE:
Status comment:

Description Renato Dali 2015-03-16 00:48:00 CET
Hi, guys,

I'm trying to do a step-by-step update, because if done at once text disappears ( bug 15465 ).

After installing RC3, I installed the first batch of updates (about glibc and urpmi etc.), rebooted the computer and got the list of 610 packages to update.

I then logged as root and this is my initial attempt (which already has gone wrong). Interestingly, when done automatically with drakrpm, everything goes smooth (minus the disappearing text, that is).

An excerpt of my session:

/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
[root@localhost ~]# urpmi kernel-desktop-latest
Para satisfazer as dependências, os seguintes programas serão instalados:
  Pacote                         Versão       Release       Arch    
(mídia "Core Release (distrib1)")
  dracut                         038          12.mga5       i586    
  kernel-desktop-3.19.1-2.mga5   1            1.mga5        i586    
  kernel-desktop-latest          3.19.1       2.mga5        i586    
  kernel-firmware                20150309     1.mga5        noarch  
(mídia "Nonfree Release (distrib11)")
  kernel-firmware-nonfree        20150309     1.mga5.nonfr> noarch  
51MB de espaço adicional em disco será usado.
66MB de pacotes serão baixados.
Proceder a instalação de 5 pacotes? (S/n) s

[other files previously downloaded]
    $MIRRORLIST: media/nonfree/release/kernel-firmware-nonfree-20150309-1.mga5.nonfree.noarch.rpm
aria2 falhou: código de erro 3

Falhou ao baixar kernel-firmware-nonfree-20150309-1.mga5.nonfree.noarch.rpm
Tentar Novamente ? (s/N) n
...a busca falhou: aria2 falhou: código de erro 3

A instalação falhou, alguns arquivos faltam: [Installation, some files are missing:]
    http://ftp.las.ic.unicamp.br/pub/mageia/distrib/cauldron/i586/media/nonfree/release/kernel-firmware-nonfree-20150309-1.mga5.nonfree.noarch.rpm
Você deve atualizar a sua base de dados urpmi.

Continuar mesmo assim? (s/N) n
[root@localhost ~]# 
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/

I did update my medias in Mageia Control Center; it seems ftp.las.ic.unicamp.br is missing a package.

If I'm doing wrong, please advise me.
Comment 1 Pascal Terjan 2015-03-16 01:37:38 CET
I think you need to update the metadata (for example, urpmi.update -a) as there is now a new version of this package (kernel-firmware-nonfree-20150309-2.mga5.nonfree.noarch.rpm) and the old one is no longer on the mirror.

CC: (none) => pterjan

Comment 2 Renato Dali 2015-03-16 03:14:02 CET
Thanks, Pascal!

I (wrongly) supposed the GUI tool would do that; I'm really not that good with all the urpmi* options, though I can more or less handle the command line...

Alas, there must be still something I'm forgetting or don't know, because I got that:

O seguinte programa contém assinaturas erradas: [The following program has bad signatures:]
/var/cache/urpmi/rpms/kernel-firmware-nonfree-20150309-2.mga5.nonfree.noarch.rpm: Assinatura não encontrada (OK ((none))) [Signature not found]
Você deseja continuar a instalação? (s/N) n

I blindly tried urpmi.update -ff repo for the core and nonfree ones. To no avail...

Any other hint?
Comment 3 Renato Dali 2015-03-16 03:51:30 CET
Ah, tried to do it by brute force and it kinda worked (though I'm sure if wanted to ignore security there must be a way in urpmi.update man page...). I did that:

urpmi http://ftp.las.ic.unicamp.br/pub/mageia/distrib/cauldron/i586/media/nonfree/release/kernel-firmware-nonfree-20150309-2.mga5.nonfree.noarch.rpm
Marcando kernel-firmware-nonfree como instalado manualmente, não será orfanizado
[Toggling kernel... as manually installed, won't be orphaned]
writing /var/lib/rpm/installed-through-deps.list

[SECURITY: the following package is not signed... ]
SEGURANÃA: O pacote seguinte NÃO_ESTÃ_ assinado (OK ((none))): /var/cache/urpmi/partial/kernel-firmware-nonfree-20150309-2.mga5.nonfree.noarch.rpm
instalando kernel-firmware-nonfree-20150309-2.mga5.nonfree.noarch.rpm a partir de /var/cache/urpmi/partial
Preparando...                    ##########################################################################################################################
      1/1: kernel-firmware-nonfree
                                 ##########################################################################################################################
      1/1: removendo kernel-firmware-nonfree-20150204-1.mga5.nonfree.noarch
                                 ##########################################################################################################################

Let's test the letters now...
Comment 4 Thierry Vignaud 2015-03-16 12:17:09 CET
Using:
  urpmi --auto-update
Instead of :
  urpmi --auto-select

does exactly that.

Status: NEW => RESOLVED
CC: (none) => thierry.vignaud
Resolution: (none) => WONTFIX

Comment 5 Thierry Vignaud 2015-03-16 12:17:39 CET
The missing signature was another bug which was fixed.
Comment 6 Renato Dali 2015-03-16 22:39:41 CET
I normally use urpmi --auto-update, but it updates everything all that is upgradeable, while I needed to do things piecemeal (one by one... I'm trying to locate a package which ruins RC3 installation on my hardware).

Regarding the present bug... Mercy.

Please keep up the good work.
Comment 7 Renato Dali 2015-03-28 21:07:44 CET
Sorry for the misspelling.

Here now, hopefully correct:

 -- Merci beaucoup!