Pagina 1 di 1

[RISOLTO] Synaptic icona sempre attiva

Inviato: sabato 15 marzo 2008, 9:01
da aliseonew
Da un paio di giorni l'icona synaptic degli aggiornamenti rimane sempre attiva e spostandosi sopra con il mouse appare il messaggio:
"Questo significa che in genere i pacchetti installati presentano dipendenze irrisolte"
Ho eseguito quindi i seguenti passi:
- Verificato le sources.list e sostituite con quelle "funzionanti"
- con il comando dpkg -l da terminale ottengo:
dpkg-query: errore di formato, nel file `/var/lib/dpkg/status' vicino alla riga 1:
il nome del campo `0' deve essere seguito da ':' (due punti)

- ho provato apt-get clean ma niente
- ho provato apt-get update ma alla fine esce il seguente messaggio:

Lettura della lista dei pacchetti in corso... Errore!
E: Impossibile analizzare il file dei pacchetti /var/lib/dpkg/status (1)
E: La lista dei pacchetti o il file di status non possono essere letti o aperti.


che credo derivi dal fatto che c'è una istanza synaptic in corso che non termina mai.

Qualcuno sa come risolvere?

Grazie

Re: Synaptic icona sempre attiva

Inviato: sabato 15 marzo 2008, 9:54
da Stealth
Proviamo un po' a fare come dice lui, però prima incollaci qui il risultato del comando

Codice: Seleziona tutto

cat /etc/apt/sources.list
così gli diamo un'occhiata
ciao

Re: Synaptic icona sempre attiva

Inviato: sabato 15 marzo 2008, 19:21
da aliseonew
Ecco il source.list

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://it.archive.ubuntu.com/ubuntu/ gutsy main restricted multiverse
deb-src http://it.archive.ubuntu.com/ubuntu/ gutsy 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/ gutsy-updates main restricted multiverse
deb-src http://it.archive.ubuntu.com/ubuntu/ gutsy-updates main restricted multiverse #Added by software-properties

## 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
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://it.archive.ubuntu.com/ubuntu/ gutsy 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.

## 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/ gutsy-backports main restricted universe multiverse
deb-src http://it.archive.ubuntu.com/ubuntu/ gutsy-backports main restricted universe multiverse #Added by software-properties

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


# Line commented out by installer because it failed to verify:
# deb http://it.archive.ubuntu.com/ubuntu/ gutsy main restricted
# Line commented out by installer because it failed to verify:
# deb-src http://it.archive.ubuntu.com/ubuntu/ gutsy main restricted

## Major bug fix updates produced after the final release of the
## distribution.
# Line commented out by installer because it failed to verify:
# deb http://it.archive.ubuntu.com/ubuntu/ gutsy-updates main restricted
# Line commented out by installer because it failed to verify:
# deb-src http://it.archive.ubuntu.com/ubuntu/ gutsy-updates main restricted

## 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
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
# Line commented out by installer because it failed to verify:
# deb http://it.archive.ubuntu.com/ubuntu/ gutsy universe
# Line commented out by installer because it failed to verify:
# deb-src http://it.archive.ubuntu.com/ubuntu/ gutsy universe
# Line commented out by installer because it failed to verify:
# deb http://it.archive.ubuntu.com/ubuntu/ gutsy-updates universe
# Line commented out by installer because it failed to verify:
# deb-src http://it.archive.ubuntu.com/ubuntu/ gutsy-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.
# Line commented out by installer because it failed to verify:
# deb http://it.archive.ubuntu.com/ubuntu/ gutsy multiverse
# Line commented out by installer because it failed to verify:
# deb-src http://it.archive.ubuntu.com/ubuntu/ gutsy multiverse
# Line commented out by installer because it failed to verify:
# deb http://it.archive.ubuntu.com/ubuntu/ gutsy-updates multiverse
# Line commented out by installer because it failed to verify:
# deb-src http://it.archive.ubuntu.com/ubuntu/ gutsy-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/ gutsy-backports main restricted universe multiverse
# deb-src http://it.archive.ubuntu.com/ubuntu/ gutsy-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 gutsy partner
# deb-src http://archive.canonical.com/ubuntu gutsy partner

# Line commented out by installer because it failed to verify:
# deb http://security.ubuntu.com/ubuntu gutsy-security main restricted
# Line commented out by installer because it failed to verify:
# deb-src http://security.ubuntu.com/ubuntu gutsy-security main restricted
# Line commented out by installer because it failed to verify:
# deb http://security.ubuntu.com/ubuntu gutsy-security universe
# Line commented out by installer because it failed to verify:
# deb-src http://security.ubuntu.com/ubuntu gutsy-security universe
# Line commented out by installer because it failed to verify:
# deb http://security.ubuntu.com/ubuntu gutsy-security multiverse
# Line commented out by installer because it failed to verify:
deb http://archive.ubuntu.com/ubuntu/ gutsy main universe restricted
deb http://security.ubuntu.com/ubuntu/ gutsy-security universe main restricted
deb http://archive.ubuntu.com/ubuntu/ gutsy-updates universe main restricted
# deb-src http://security.ubuntu.com/ubuntu gutsy-security multiverse
#VirtualBox
deb http://www.virtualbox.org/debian gutsy non-free
#WebCam
deb http://blognux.free.fr/debian unstable main
#Google
deb http://dl.google.com/linux/deb/ stable non-free
#wicd network manager
deb http://apt.wicd.net gutsy all #deb http://apt.wicd.net gutsy all

deb http://packages.medibuntu.org/ gutsy free non-free
deb http://ubuntu.org.ua/ getdeb/
deb http://amuleaducvs.altervista.org/latest/ binary/
deb http://www.sciallo.net/UbuntuRepo/myrepo binary/
#avant
deb http://download.tuxfamily.org/syzygy42 gutsy avant-window-navigator
deb-src http://download.tuxfamily.org/syzygy42 gutsy avant-window-navigator

Re: Synaptic icona sempre attiva

Inviato: domenica 16 marzo 2008, 18:53
da aliseonew
Visto che nessuno si fa vivo riposto..
Ho provato anche a rimuovere un pacchetto  e ottengo sempre lo stesso risultato:

renzo@renzo-laptop:~$ sudo apt-get uninstall wicd
[sudo] password for renzo:
E: Operazione non valida uninstall
renzo@renzo-laptop:~$ man apt-get
renzo@renzo-laptop:~$ sudo apt-get remove wicd
Lettura della lista dei pacchetti in corso... Errore!
E: Impossibile analizzare il file dei pacchetti /var/lib/dpkg/status (1)
E: La lista dei pacchetti o il file di status non possono essere letti o aperti.
renzo@renzo-laptop:~$


Ma come si può ricreare la lista dei pacchetti???


Renzo

[RISOLTO] Synaptic icona sempre attiva

Inviato: domenica 16 marzo 2008, 22:20
da aliseonew
Risolto.
Il file  /var/lib/dpkg/status era corrotto.
Le copie di bachkup si trovano in  /var/backups/dpkg.status.xxx

Così è bastato il comando:
sudo cp /var/backups/dpkg.status.0 /var/lib/dpkg/status
a risolvere il tutto.