[Risolto] Gestore Aggiornamenti

Installazione, configurazione e uso di programmi e strumenti.
Scrivi risposta
nonno1973
Prode Principiante
Messaggi: 65
Iscrizione: domenica 25 maggio 2008, 11:33

[Risolto] Gestore Aggiornamenti

Messaggio da nonno1973 »

Un saluto a tutti  :)

Da due settimane il sistema "Gestore aggiornamenti" riporta sotto la voce "Altri aggiornamenti" i seguenti pacchetti libpq-dev e libpq5, ma non mi permette di selezionarli per l'installazione e non posso nemmeno eliminarli. C'è una soluzione da terminale.
Grazie
Ultima modifica di nonno1973 il lunedì 28 luglio 2008, 23:57, modificato 1 volta in totale.
Shaved
Rampante Reduce
Rampante Reduce
Messaggi: 7738
Iscrizione: lunedì 27 marzo 2006, 18:36

Re: Gestore Aggiornamenti

Messaggio da Shaved »

Prova a dare i comandi

Codice: Seleziona tutto

sudo apt-get update
sudo apt-get -f install
Se ci fossero ancora dei problemi, posta l'output di

Codice: Seleziona tutto

cat /etc/apt/sources.list
nonno1973
Prode Principiante
Messaggi: 65
Iscrizione: domenica 25 maggio 2008, 11:33

Re: Gestore Aggiornamenti

Messaggio da nonno1973 »

# deb cdrom:[Ubuntu 7.10 _Gutsy Gibbon_ - Release i386 (20071016)]/ gutsy main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

# 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 hardy partner
deb-src http://archive.canonical.com/ubuntu hardy 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/ hardy main universe restricted
deb-src http://archive.ubuntu.com/ubuntu/ hardy main universe restricted #Added by software-properties
deb http://security.ubuntu.com/ubuntu/ hardy-security universe main multiverse
deb http://archive.ubuntu.com/ubuntu/ hardy-updates universe main restricted
deb-src http://archive.ubuntu.com/ubuntu/ hardy-updates universe main restricted #Added by software-properties
deb http://archive.ubuntu.com/ubuntu/ hardy-proposed universe main restricted
deb-src http://archive.ubuntu.com/ubuntu/ hardy-proposed universe main restricted #Added by software-properties
deb http://archive.ubuntu.com/ubuntu/ hardy-backports universe main restricted
deb-src http://archive.ubuntu.com/ubuntu/ hardy-backports universe main restricted #Added by software-properties
# deb-src http://security.ubuntu.com/ubuntu gutsy-security multiverse
Ultima modifica di nonno1973 il domenica 27 luglio 2008, 17:03, modificato 1 volta in totale.
Avatar utente
P4blo
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 947
Iscrizione: giovedì 7 febbraio 2008, 20:55
Contatti:

Re: Gestore Aggiornamenti

Messaggio da P4blo »

ma hai sia i repository per hardy che per gutsy?
secondo me commentando i repository di gutsy risolvi
nonno1973
Prode Principiante
Messaggi: 65
Iscrizione: domenica 25 maggio 2008, 11:33

Re: Gestore Aggiornamenti

Messaggio da nonno1973 »

Cosa significa "commentando"  >:(
grazie
Avatar utente
P4blo
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 947
Iscrizione: giovedì 7 febbraio 2008, 20:55
Contatti:

Re: Gestore Aggiornamenti

Messaggio da P4blo »

nonno1973 ha scritto: Cosa significa "commentando"  >:(
grazie
mettendo questo #
esempio:

Codice: Seleziona tutto

# deb http://it.archive.ubuntu.com/ubuntu/ gutsy main restricted
(repository commentato, in pratica apt non legge da questo repository)

Codice: Seleziona tutto

deb http://it.archive.ubuntu.com/ubuntu/ gutsy-updates main restricted
(repository commentato, apt legge e scarica da tutti i repository non commentati)
tu hai sia dei repo per hardy che per gutsy e forse questo crea dei conflitti
nonno1973
Prode Principiante
Messaggi: 65
Iscrizione: domenica 25 maggio 2008, 11:33

Re: Gestore Aggiornamenti

Messaggio da nonno1973 »

Ho capito, ma io preferisco passare per Sistema>Amministrazione>Sorgenti Software
comunque il problema rimane  :'(
Avatar utente
P4blo
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 947
Iscrizione: giovedì 7 febbraio 2008, 20:55
Contatti:

Re: Gestore Aggiornamenti

Messaggio da P4blo »

nonno1973 ha scritto: Ho capito, ma io preferisco passare per Sistema>Amministrazione>Sorgenti Software
comunque il problema rimane  :'(
allora aspetta qualcuno più preparato di me, perchè non so proprio cosa possa essere...
nonno1973
Prode Principiante
Messaggi: 65
Iscrizione: domenica 25 maggio 2008, 11:33

Re: Gestore Aggiornamenti

Messaggio da nonno1973 »

Grazie lo stesso  ;)
L'importante è che uno ci provi poi il risultato verrà da se (b2b)
Shaved
Rampante Reduce
Rampante Reduce
Messaggi: 7738
Iscrizione: lunedì 27 marzo 2006, 18:36

Re: Gestore Aggiornamenti

Messaggio da Shaved »

Scrivi sul terminale

Codice: Seleziona tutto

lsb_release -dc
per verificare se hai Gusty o Hardy.

A seconda della versione, devi aprire il file /etc/apt/sources.list con privilegi da admin. Sempre da terminale

Codice: Seleziona tutto

sudo gedit /etc/apt/sources.list
A quel punto cancella tutto il contenuto e fai copia incolla con questo qua sotto

1. se hai Gusty

Codice: Seleziona tutto

deb http://it.archive.ubuntu.com/ubuntu/ gutsy main universe restricted multiverse
deb-src http://it.archive.ubuntu.com/ubuntu/ gutsy main universe restricted multiverse

deb http://security.ubuntu.com/ubuntu gutsy-security main universe restricted multiverse
deb-src http://security.ubuntu.com/ubuntu gutsy-security main universe restricted multiverse

deb http://it.archive.ubuntu.com/ubuntu/ gutsy-updates main universe restricted multiverse
deb-src http://it.archive.ubuntu.com/ubuntu/ gutsy-updates main universe restricted multiverse
2. se hai Hardy

Codice: Seleziona tutto

deb http://it.archive.ubuntu.com/ubuntu/ hardy main universe restricted multiverse
deb-src http://it.archive.ubuntu.com/ubuntu/ hardy main universe restricted multiverse

deb http://security.ubuntu.com/ubuntu hardy-security main universe restricted multiverse
deb-src http://security.ubuntu.com/ubuntu hardy-security main universe restricted multiverse

deb http://it.archive.ubuntu.com/ubuntu/ hardy-updates main universe restricted multiverse
deb-src http://it.archive.ubuntu.com/ubuntu/ hardy-updates main universe restricted multiverse
Attenzione: lo ripeto, non devi copiare e incollare tutto quello che ti ho postato più sopra, ma solamente il gruppo corrispondente alla tua versione di Ubuntu.

Una volta fatta questa operazione, salva ed esci dall'editor; poi da terminale lancia il comando

Codice: Seleziona tutto

sudo apt-get update
nonno1973
Prode Principiante
Messaggi: 65
Iscrizione: domenica 25 maggio 2008, 11:33

Re: Gestore Aggiornamenti

Messaggio da nonno1973 »

Ho Ubuntu 8.04.1 dunque Hardy e cosi ho copiato i repository da interrogare
i pacchetti che non mi faceva installare sono spariti
se non altro ho sistemato i sorgenti per gli aggiornamenti
Grazie mille  ;)
Ultima modifica di nonno1973 il lunedì 28 luglio 2008, 23:56, modificato 1 volta in totale.
Scrivi risposta

Ritorna a “Applicazioni”

Chi c’è in linea

Visualizzano questa sezione: 0 utenti iscritti e 7 ospiti