Project

General

Profile

Segnalazione #783

Versione dei pacchetti errata

Added by Marco Marinello almost 5 years ago. Updated over 4 years ago.

Status:
Risolto
Priority:
Alta
Start date:
04/01/2019
Due date:
% Done:

100%

Estimated time:

Description

In OctoMon sembrerebbe arrivare il dato dell'ultima versione disponibile e non installata. Servono indagini

Associated revisions

Revision 2b61eaf4 (diff)
Added by Elena ``of Valhalla'' Grandi almost 5 years ago

Show installed version of packages rather than the latest available. refs: #783

History

#1

Updated by Marco Marinello almost 5 years ago

root@cmfuss:~# dpkg -l octofuss-client
Voluto=U (non noto)/I (installato)/R (rimosso)/P (rimosso totale)/H (in attesa)
| Stato=Non/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(nessuno)/R (reinstallazione richiesta) (Stato,Err: maiuscolo=grave)
||/ Nome                       Versione           Architettura       Descrizione
+++-==========================-==================-==================-=========================================================
ii  octofuss-client            9.0.4-1            all                OctoFuss client
root@cmfuss:~# apt-cache madison octofuss-client
octofuss-client |    9.0.8-1 | http://archive.fuss.bz.it/ jessie/main amd64 Packages
root@cmfuss:~# python3
Python 3.4.2 (default, Oct  8 2014, 10:45:20) 
[GCC 4.9.1] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import apt
>>> pkg_cache.has_key("octofuss-client")
True
>>> pkg_cache["octofuss-client"].is_installed
True
>>> pkg_cache["octofuss-client"].versions[0].version
'9.0.8-1'
#2

Updated by Marco Marinello almost 5 years ago

  • Assignee changed from Marco Marinello to Paolo Dongilli
#3

Updated by Paolo Dongilli almost 5 years ago

  • Assignee changed from Paolo Dongilli to Simone Piccardi
  • Priority changed from Normale to Alta

Marco rileva che nel sorgente https://work.fuss.bz.it/projects/octofuss-client/repository/revisions/master/entry/octofussclient/clientdata.py va sostituito

found_package.versions[0].version

con
installed.version

Prego verificare ed aggiornare. Ci penso poi io a ricreare il nuovo pacchetto.

#4

Updated by Simone Piccardi almost 5 years ago

  • Assignee changed from Simone Piccardi to Elena Grandi
#5

Updated by Elena Grandi almost 5 years ago

  • Status changed from Nuovo to In elaborazione
  • Assignee changed from Elena Grandi to Paolo Dongilli

Confermo: ho verificato che found_package.installed.version fornisce la stringa giusta sia in jessie che in buster (e ne deduco anche in stretch).

Versione aggiornata in master, con il numero di versione aggiornato in setup.py e la nuova entry in debian/changelog, da finalizzare (dch --release) prima di fare il pacchetto.

Prima dell'upload ci sarà da testare il funzionamento del pacchetto buildato, come di consueto.

#6

Updated by Elena Grandi over 4 years ago

  • Status changed from In elaborazione to Commenti

Vedo che sul repository già c'è una versione del pacchetto che comprende questa modifica: il ticket si può chiudere?

#7

Updated by Marco Marinello over 4 years ago

  • Status changed from Commenti to Risolto
  • % Done changed from 0 to 100

Sì, grazie.

Also available in: Atom PDF