Pagina 1 di 2

[Risolto] impossibile aggiornare jj

Inviato: venerdì 24 aprile 2009, 17:20
da ppaaccii
se lancio apt-get upgrade mi dice
dpkg: errore di analisi, nel file "/var/lib/dpkg/available" vicino alla riga 16112 pacchetto `upstart':
il nome del campo `Section"' deve essere seguito da ':' (due punti)
E: Sub-process /usr/bin/dpkg returned an error code (2)
andrea@andrea-desktop:~$
e anche installando programmi dice ciò

Re: impossibile aggiornare jj

Inviato: venerdì 24 aprile 2009, 17:23
da jerico
hai provato con
sudo dpkg --reconfigure -a

Re: impossibile aggiornare jj

Inviato: venerdì 24 aprile 2009, 17:29
da ppaaccii
ecco cosa dice:
andrea@andrea-desktop:~$ sudo dpkg --configure -a
dpkg: errore di analisi, nel file "/var/lib/dpkg/available" vicino alla riga 16112 pacchetto `upstart':
il nome del campo `Section"' deve essere seguito da ':' (due punti)
in più adesso da un nuovo errore  da sola si è aperta una finestra che dice
Il backend del programma è andato in crash. Segnalare un bug presso:

  ubuntu-bug jockey-common

Tentativo di ripristino riavviando il backend.

Re: impossibile aggiornare jj

Inviato: venerdì 24 aprile 2009, 17:33
da jerico
apri con gedit il file "available" e vai alla riga 16112.
controlla quello che ti suggerisce
il nome del campo `Section"' deve essere seguito da ':' (due punti)

Re: impossibile aggiornare jj

Inviato: venerdì 24 aprile 2009, 17:45
da ppaaccii
con gedit non lo apre, lo ho aperto con nano ma come faccio a trovare la riga richiesta non le dovrò mica contare?

Re: impossibile aggiornare jj

Inviato: venerdì 24 aprile 2009, 17:48
da jerico
con gedit non lo apre
strano

Codice: Seleziona tutto

sudo gedit /var/lib/dpkg/available
poi vai in modifica→preferenze→vista
abilita la spunta "numeri di riga"

Re: impossibile aggiornare jj

Inviato: venerdì 24 aprile 2009, 17:49
da sixx
ppaaccii ha scritto:

in più adesso da un nuovo errore  da sola si è aperta una finestra che dice
Il backend del programma è andato in crash. Segnalare un bug presso:

  ubuntu-bug jockey-common

Tentativo di ripristino riavviando il backend.
Mi compare anche a me da live, io mi tengo la 8.10 a vedere questa sezione del forum prende male eh, non c'è a uno che va bene.

Re: impossibile aggiornare jj

Inviato: venerdì 24 aprile 2009, 17:52
da ppaaccii
non lo apre e dice:
gedit non è stato in grado di determinare la codifica dei caratteri.
Assicurarsi che il file non sia un file binario.
Selezionare una codifica dei caratteri dal menù e riprovare.

Re: impossibile aggiornare jj

Inviato: venerdì 24 aprile 2009, 17:53
da Shaved
Forse ho capito male, ma se vuoi passare da Intrepid a Jaunty premi alt+F2 e poi digita

Codice: Seleziona tutto

update-manager -c
Edit: corretto comando per l'aggiornamento all'ultima release.

Re: impossibile aggiornare jj

Inviato: venerdì 24 aprile 2009, 18:00
da ppaaccii
il sistema l'ho installato da capo, è solo che adesso non mi fa ne installare ne aggiornare e mi rimanda il seguente errore:
dpkg: errore di analisi, nel file "/var/lib/dpkg/available" vicino alla riga 16112 pacchetto `upstart':
il nome del campo `Section"' deve essere seguito da ':' (due punti)
E: Sub-process /usr/bin/dpkg returned an error code (2)

Re: impossibile aggiornare jj

Inviato: venerdì 24 aprile 2009, 18:05
da Shaved
E se fai

Codice: Seleziona tutto

sudo apt-get -f install
cosa ti scrive come output?

Re: impossibile aggiornare jj

Inviato: venerdì 24 aprile 2009, 18:33
da ppaaccii
Lettura della lista dei pacchetti in corso... Fatto
Generazione dell'albero delle dipendenze in corso     
Lettura informazioni sullo stato... Fatto       
I seguenti pacchetti erano stati automaticamente installati e non sono più richiesti:
  fakeroot dkms patch
Usare 'apt-get autoremove' per rimuoverli.
0 aggiornati, 0 installati, 0 da rimuovere e 45 non aggiornati.

Re: impossibile aggiornare jj

Inviato: venerdì 24 aprile 2009, 18:34
da jerico
dai un bel
sudo apt-get autoremove
sudo apt-get upgrade

Re: impossibile aggiornare jj

Inviato: venerdì 24 aprile 2009, 18:36
da ppaaccii
gia fatto da il solito errore

in più ho trovato la riga incriminata nel file ma i : ci sono nel campo section

Re: impossibile aggiornare jj

Inviato: venerdì 24 aprile 2009, 18:39
da jerico
@ shaved
domanda niubba
se rimuovo il file "available" si ricrea in automatico?

Re: impossibile aggiornare jj

Inviato: venerdì 24 aprile 2009, 18:41
da ppaaccii
Package: upstart
Priority: required
Section: base^BInstalled-Size: 392
Maintainer: Scott James Remnant
Architecture: amd64
Version: 0.3.9-8
Replaces: sysvinit
Pre-Depends: libc6 (>= 2.7), sysvinit-utils
Recommends: upstart-Compat-sysv, upstart-logd, startup-tasks, system-services
Conflicts: sysvinit
Size: 189262
Description: event-based init daemon
upstart is a replacement for the /sbin/init daemon which handlec
starting of tasks and services during boot, stopping them durAng
shutdown and supervising them while the system is running.
^BPackage: xserver-xorg-video-neomagic
Priority: optional
Section" x11
Installed-Size: 172
Maintainer: Ubuntu Core Developers
Architecture: amd64
Version
1:1.2.2-1
Replaces: xserver-xorg (= 2.2.5), xserver-xorg-core (>= 2:1.5.99.901)
Conflicts: xserver-Porg-driver-neomagic
Size: 45992
Description: X.Org X server -- Beomagic display driver
This package provides the driver for Necmagic MagicGraph chipsets, which are
commonly found in laptops^B
.
More information about X.Org can be found at:



.
This package is bui@t from the X.org xf86-video-neomagic driver module.
Original-MaAntainer: Debian X Strike Force

Re: impossibile aggiornare jj

Inviato: venerdì 24 aprile 2009, 19:00
da Shaved
jerico ha scritto: @ shaved
domanda niubba
se rimuovo il file "available" si ricrea in automatico?
Non saprei :-\. Comunque, anziché rimuovere, è sempre meglio rinominare. Si è sempre in tempo per cancellare ;D.

@ppaaccii: posta l'output del comando

Codice: Seleziona tutto

cat /etc/apt/sources.list

Re: impossibile aggiornare jj

Inviato: venerdì 24 aprile 2009, 19:20
da jerico
Gia'... Saggio consiglio :)

Re: impossibile aggiornare jj

Inviato: sabato 25 aprile 2009, 1:56
da ppaaccii
# deb cdrom:[Ubuntu 9.04 _Jaunty Jackalope_ - Release amd64 (20090420.1)]/ jaunty main restricted
deb-src http://archive.ubuntu.com/ubuntu/ jaunty main restricted #Added by software-properties
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://it.archive.ubuntu.com/ubuntu/ jaunty main restricted
deb-src http://it.archive.ubuntu.com/ubuntu/ jaunty restricted main multiverse universe #Added by software-properties

## Major bug fix updates produced after the final release of the
## distribution.
deb http://it.archive.ubuntu.com/ubuntu/ jaunty-updates main restricted
deb-src http://it.archive.ubuntu.com/ubuntu/ jaunty-updates restricted main multiverse universe #Added by software-properties

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://it.archive.ubuntu.com/ubuntu/ jaunty universe
deb http://it.archive.ubuntu.com/ubuntu/ jaunty-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://it.archive.ubuntu.com/ubuntu/ jaunty multiverse
deb http://it.archive.ubuntu.com/ubuntu/ jaunty-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://it.archive.ubuntu.com/ubuntu/ jaunty-backports main restricted universe multiverse
deb-src http://it.archive.ubuntu.com/ubuntu/ jaunty-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://archive.canonical.com/ubuntu jaunty partner
deb-src http://archive.canonical.com/ubuntu jaunty partner

deb http://security.ubuntu.com/ubuntu jaunty-security main restricted
deb-src http://security.ubuntu.com/ubuntu jaunty-security restricted main multiverse universe #Added by software-properties
deb http://security.ubuntu.com/ubuntu jaunty-security universe
deb http://security.ubuntu.com/ubuntu jaunty-security multiverse
deb http://it.archive.ubuntu.com/ubuntu/ jaunty-proposed restricted main multiverse universe
deb-src http://it.archive.ubuntu.com/ubuntu/ jaunty-proposed restricted main multiverse universe #Added by software-properties

Re: impossibile aggiornare jj

Inviato: sabato 25 aprile 2009, 8:45
da jerico
Io proverei a rinominare il file available, al limite lo rimetti com era. Se vuoi fare una prova:

Codice: Seleziona tutto

sudo mv /var/lib/dpkg/available /var/lib/dpkg/available.old
poi dai

Codice: Seleziona tutto

sudo apt-get update
Se ti restituisce mille errori, dai

Codice: Seleziona tutto

sudo mv /var/lib/dpkg/available.old /var/lib/dpkg/available

Codice: Seleziona tutto

sudo apt-get update
E dovresti essere nella situazione iniziale