Pagina 1 di 2
[Risolto] Ubuntu 16.10 - Errore add-apt-repository
Inviato: mercoledì 25 gennaio 2017, 15:33
da SabaJa
Ciao a tutti, sono nuovo nel sito e sono un utente altrettanto nuovo di Ubuntu.
Ho fatto da poco l’aggiornamento da 16.04 LTS a 16.10.
Ieri stavo cercando di installare notepadqq dal sito
http://notepadqq.altervista.org/wp/download/
Dove consigliano di aggiungere la seguente PPA:
Codice: Seleziona tutto
sudo add-apt-repository ppa:notepadqq-team/notepadqq
solamente che dopo l’invio ho ottuneto un errore:
Codice: Seleziona tutto
Traceback (most recent call last):
File "/usr/bin/add-apt-repository", line 95, in <module>
sp = SoftwareProperties(options=options)
File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 109, in __init__
self.reload_sourceslist()
File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 599, in reload_sourceslist
self.distro.get_sources(self.sourceslist)
File "/usr/lib/python3/dist-packages/aptsources/distro.py", line 89, in get_sources
(self.id, self.codename))
aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for Ubuntu/Yakkety
Bene, cioè male..da quel momento ho iniziato ad avere una serie di errori di Sistema e alcuni comportamenti anomali.
1)
- Cerco di aprire Impostazioni -> Aggiornamenti software.. ed ottengo un errore (vedi Aggiornamento_Software.png)
E quindi non mi apre le impostazioni di aggiornamento e la cosa strana è che vedo nell'intestazione
Ubuntu 17.04 ha ottenuto un errore di sitema.
Ma io ho Ubuntu 16.10!!!??!!!
update e upgrade non sembrano dare errore:
Codice: Seleziona tutto
sabaja@saba:~$ sudo apt update
[sudo] password di sabaja:
Trovato:1 http://ftp.tudelft.nl/archive.ubuntu.com yakkety InRelease
Trovato:2 http://ftp.tudelft.nl/archive.ubuntu.com yakkety-updates InRelease
Trovato:3 http://ftp.tudelft.nl/archive.ubuntu.com yakkety-backports InRelease
Scaricamento di:4 http://ftp.tudelft.nl/archive.ubuntu.com yakkety-security InRelease [102 kB]
Trovato:5 http://archive.canonical.com/ubuntu wily InRelease
Trovato:6 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu yakkety InRelease
Recuperati 102 kB in 3s (33,2 kB/s)
Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze
Lettura informazioni sullo stato... Fatto
Tutti i pacchetti sono aggiornati.
sabaja@saba:~$ sudo apt upgrade
Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze
Lettura informazioni sullo stato... Fatto
Calcolo dell'aggiornamento... Fatto
0 aggiornati, 0 installati, 0 da rimuovere e 0 non aggiornati.
Quindi vi chiedo aiuto..non saprei cosa fare ho cercato su internet e mi sembra di aver trovato delle risposte
ma non vorrei fare altri danni e vorrei avere delle conferme da utenti più esperti
Grazie in anticipo
Allego anche le immagini del dettaglio dell'errore.
-
Re: Ubuntu 16.10 - Errore add-apt-repository
Inviato: mercoledì 25 gennaio 2017, 16:06
da SabaJa
aggiungo che ottengo ache l'errore "l'applicazione aptitude-curses si è chiusa inaspettatamente"
Re: Ubuntu 16.10 - Errore add-apt-repository
Inviato: mercoledì 25 gennaio 2017, 16:18
da thece
proviamo a correggere. Mi posti l'output di questi comandi
Re: Ubuntu 16.10 - Errore add-apt-repository
Inviato: mercoledì 25 gennaio 2017, 16:22
da wilecoyote

Salve, intanto benvenuto in Ubuntu.
Dall'output leggo al punto 5 che usi l'archivio di Wily 15.10, che c'entra come i cavoli a merenda, che aggiorni da un sito olandese e il riferimento a Zusty 17.04 non l'ho proprio capito da dove arriva...
Posta l'output dei seguenti comandi:
Codice: Seleziona tutto
lsb_release -drc
uname -a
cat /etc/apt/sources.list
ls /etc/apt/sources.list.d

Ciao
EDIT: preceduto.... ciao @thece, posta anche il 2° comando
Re: Ubuntu 16.10 - Errore add-apt-repository
Inviato: mercoledì 25 gennaio 2017, 16:32
da thece

@wilecoyote, in due facciamo solo confusione. Ti lascio oneri e onori

Re: Ubuntu 16.10 - Errore add-apt-repository
Inviato: mercoledì 25 gennaio 2017, 16:40
da SabaJa
Ciao e grazie per le risposte immediate.
Di seguito l'output dei comandi suggeriti da thece e wilecoyote:
lsb_release -drc
Codice: Seleziona tutto
Description: Ubuntu Yakkety Yak (development branch)
Release: 16.10
Codename: Yakkety
cat /etc/apt/sources.list
Codice: Seleziona tutto
# deb cdrom:[Ubuntu 15.10 _Wily Werewolf_ - Release amd64 (20151021)]/ wily main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://ftp.tudelft.nl/archive.ubuntu.com/ yakkety main restricted
deb-src http://ftp.tudelft.nl/archive.ubuntu.com/ yakkety main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://ftp.tudelft.nl/archive.ubuntu.com/ yakkety-updates main restricted
deb-src http://ftp.tudelft.nl/archive.ubuntu.com/ yakkety-updates main restricted
## 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://ftp.tudelft.nl/archive.ubuntu.com/ yakkety universe
deb-src http://ftp.tudelft.nl/archive.ubuntu.com/ yakkety universe
deb http://ftp.tudelft.nl/archive.ubuntu.com/ yakkety-updates universe
deb-src http://ftp.tudelft.nl/archive.ubuntu.com/ yakkety-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://ftp.tudelft.nl/archive.ubuntu.com/ yakkety multiverse
deb-src http://ftp.tudelft.nl/archive.ubuntu.com/ yakkety multiverse
deb http://ftp.tudelft.nl/archive.ubuntu.com/ yakkety-updates multiverse
deb-src http://ftp.tudelft.nl/archive.ubuntu.com/ yakkety-updates multiverse
## 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://ftp.tudelft.nl/archive.ubuntu.com/ yakkety-backports main restricted universe multiverse
deb-src http://ftp.tudelft.nl/archive.ubuntu.com/ yakkety-backports main restricted universe multiverse
deb http://ftp.tudelft.nl/archive.ubuntu.com/ yakkety-security main restricted
deb-src http://ftp.tudelft.nl/archive.ubuntu.com/ yakkety-security main restricted
deb http://ftp.tudelft.nl/archive.ubuntu.com/ yakkety-security universe
deb-src http://ftp.tudelft.nl/archive.ubuntu.com/ yakkety-security universe
deb http://ftp.tudelft.nl/archive.ubuntu.com/ yakkety-security multiverse
deb-src http://ftp.tudelft.nl/archive.ubuntu.com/ yakkety-security 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 wily partner
deb-src http://archive.canonical.com/ubuntu wily partner
ls /etc/apt/sources.list.d
Codice: Seleziona tutto
arc-theme.list google-chrome.list.save webupd8team-ubuntu-sublime-text-3-xenial.list
arc-theme.list.distUpgrade linrunner-ubuntu-tlp-xenial.list webupd8team-ubuntu-sublime-text-3-xenial.list.distUpgrade
arc-theme.list.save linrunner-ubuntu-tlp-xenial.list.distUpgrade webupd8team-ubuntu-sublime-text-3-xenial.list.save
google-chrome.list linrunner-ubuntu-tlp-xenial.list.save
google-chrome.list.distUpgrade ubuntu-toolchain-r-ubuntu-test-yakkety.list
uname -a
Codice: Seleziona tutto
Linux saba 4.8.0-34-generic #36-Ubuntu SMP Wed Dec 21 17:24:18 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
ls -l /etc/apt/sources.list.d
Codice: Seleziona tutto
totale 52
-rw-r--r-- 1 root root 81 gen 23 12:17 arc-theme.list
-rw-r--r-- 1 root root 81 gen 15 13:01 arc-theme.list.distUpgrade
-rw-r--r-- 1 root root 81 gen 23 12:17 arc-theme.list.save
-rw-r--r-- 1 root root 238 gen 23 12:17 google-chrome.list
-rw-r--r-- 1 root root 189 gen 15 13:01 google-chrome.list.distUpgrade
-rw-r--r-- 1 root root 238 gen 23 12:17 google-chrome.list.save
-rw-r--r-- 1 root root 180 gen 23 12:17 linrunner-ubuntu-tlp-xenial.list
-rw-r--r-- 1 root root 130 gen 15 13:01 linrunner-ubuntu-tlp-xenial.list.distUpgrade
-rw-r--r-- 1 root root 180 gen 23 12:17 linrunner-ubuntu-tlp-xenial.list.save
-rw-r--r-- 1 root root 152 gen 23 12:17 ubuntu-toolchain-r-ubuntu-test-yakkety.list
-rw-r--r-- 1 root root 206 gen 23 12:17 webupd8team-ubuntu-sublime-text-3-xenial.list
-rw-r--r-- 1 root root 156 gen 15 13:01 webupd8team-ubuntu-sublime-text-3-xenial.list.distUpgrade
-rw-r--r-- 1 root root 206 gen 23 12:17 webupd8team-ubuntu-sublime-text-3-xenial.list.save
Re: Ubuntu 16.10 - Errore add-apt-repository
Inviato: mercoledì 25 gennaio 2017, 17:14
da wilecoyote

Salve, la tua release è Yakkety 16.10 col kenel 4.8, corretto, ed il sistema è a 64 bit.
Dall'output di 'cat /etc/apt/sources.list' deduco che ha fatto l'avanzamento Wily -> Xenial -> Yakkety, per cui cominciamo a correggere il contenuto di questo file.
Dai il seguente comando:
Cancella tutto e copiaci il seguente:
Codice: Seleziona tutto
# deb cdrom:[Ubuntu 16.10 _Yakkety Yak_ - Release amd64 (20161019.1)]/ yakkety main multiverse restricted universe
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://it.archive.ubuntu.com/ubuntu/ yakkety main restricted
# deb-src http://it.archive.ubuntu.com/ubuntu/ yakkety restricted main
## Major bug fix updates produced after the final release of the
## distribution.
deb http://it.archive.ubuntu.com/ubuntu/ yakkety-updates main restricted
# deb-src http://it.archive.ubuntu.com/ubuntu/ yakkety-updates restricted main
## 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/ yakkety universe
# deb-src http://it.archive.ubuntu.com/ubuntu/ yakkety universe
deb http://it.archive.ubuntu.com/ubuntu/ yakkety-updates universe
# deb-src http://it.archive.ubuntu.com/ubuntu/ yakkety-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/ yakkety multiverse
# deb-src http://it.archive.ubuntu.com/ubuntu/ yakkety multiverse
deb http://it.archive.ubuntu.com/ubuntu/ yakkety-updates multiverse
# deb-src http://it.archive.ubuntu.com/ubuntu/ yakkety-updates multiverse
## 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-src http://it.archive.ubuntu.com/ubuntu/ yakkety-backports multiverse universe restricted main
deb http://security.ubuntu.com/ubuntu/ yakkety-security main restricted
# deb-src http://security.ubuntu.com/ubuntu/ yakkety-security restricted main
deb http://security.ubuntu.com/ubuntu/ yakkety-security universe
# deb-src http://security.ubuntu.com/ubuntu/ yakkety-security universe
deb http://security.ubuntu.com/ubuntu/ yakkety-security multiverse
# deb-src http://security.ubuntu.com/ubuntu/ yakkety-security 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/ yakkety partner
# deb-src http://archive.canonical.com/ubuntu/ yakkety partner
## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://extras.ubuntu.com/ubuntu/ yakkety main
# deb-src http://extras.ubuntu.com/ubuntu/ yakkety main
Salva Ctrl+S e chiudi Ctrl+Q.
Procedi ad aggiornare:
Ti consiglierei come gestore grafico software Synaptic, funziona decisamente meglio di tutti gli altri, per installarlo:
Infine i ppa, più c'è ne più il sistema rischia d'esser instabile, di quest'ultimo ppa 'notepadqq' leggo nel sito linkato di vari problemi, valuta se realmente ti serve ed eventualmente l'opzione di scaricare «a manina» i singoli pacchetti ed installarli a mano.
Se non erro il ppa non è installato, almeno non appare nella lista.

Ciao
Re: Ubuntu 16.10 - Errore add-apt-repository
Inviato: mercoledì 25 gennaio 2017, 17:28
da thece
Mi permetto qualche suggerimento
1) Il file
/etc/apt/sources.list (IMHO) è meglio scriverlo in questa forma più chiara e compatta
Codice: Seleziona tutto
deb http://archive.ubuntu.com/ubuntu/ yakkety main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ yakkety main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ yakkety-updates main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ yakkety-updates main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu yakkety-security main restricted universe multiverse
deb-src http://security.ubuntu.com/ubuntu yakkety-security main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ yakkety-backports main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ yakkety-backports main restricted universe multiverse
deb http://archive.canonical.com/ubuntu yakkety partner
deb-src http://archive.canonical.com/ubuntu yakkety partner
2) Prima di andare ad aggiornare la lista dei pacchetti disponibili
e i pacchetti installati
oppure
sarebbe meglio spostare i PPA di terze parti in un altra directory
Codice: Seleziona tutto
mkdir ~/3PartyPPA
sudo mv /etc/apt/sources.list.d/* ~/3PartyPPA
per poi reintrodurli al loro posto dopo l'aggiornamento del sistema e il raggiungimento di uno stato consistente,
uno per uno, previa scrupolosa verifica degli stessi
Re: Ubuntu 16.10 - Errore add-apt-repository
Inviato: mercoledì 25 gennaio 2017, 17:41
da wilecoyote

Salve, il contenuto di '/etc/apt/sources.list' l'ho copiato da un Yakkety, non l'ho scritto, quanto hai deb-src li mantengo con il # per ignorarli, da esperienze negative precedenti, ma se ritieni meglio usarli allora usiamoli.
Sui ppa invece sono d'accordo, è più efficace come dici.

Ciao
Re: Ubuntu 16.10 - Errore add-apt-repository
Inviato: mercoledì 25 gennaio 2017, 17:45
da thece
Il mio è solo un modo di scrivere quel file in forma più compatta (IMHO: e per me più chiara)
Io in genere li lascio abilitati, ma commentarli male non fa
Re: Ubuntu 16.10 - Errore add-apt-repository
Inviato: mercoledì 25 gennaio 2017, 22:56
da SabaJa
Ciao e grazie ancora per le info.
Purtroppo ho ancora l'errore che non mi apre le impostazioni dell'aggiornamento.
Vi scrivo cosa ho fatto.
Allora ho sistemato il file source.list in questo modo:
Codice: Seleziona tutto
deb http://it.archive.ubuntu.com/ubuntu/ yakkety main restricted
deb http://it.archive.ubuntu.com/ubuntu/ yakkety-updates main restricted
deb http://it.archive.ubuntu.com/ubuntu/ yakkety universe
deb http://it.archive.ubuntu.com/ubuntu/ yakkety-updates universe
deb http://it.archive.ubuntu.com/ubuntu/ yakkety multiverse
deb http://it.archive.ubuntu.com/ubuntu/ yakkety-updates multiverse
deb http://security.ubuntu.com/ubuntu/ yakkety-security main restricted
deb http://security.ubuntu.com/ubuntu/ yakkety-security universe
deb http://security.ubuntu.com/ubuntu/ yakkety-security multiverse
deb http://archive.canonical.com/ubuntu/ yakkety partner
ho fatto update e ha aggiornato i pacchetti senza ottenere errore poi dist-upgrade e upgrade.
OK senza errori
poi vado aggiornamenti software -> impostazioni - ERRORE di ubuntu 17.04 !!
ho provato a cercare l'errore in var/crash
Codice: Seleziona tutto
Package: software-properties-gtk 0.96.24.7
PackageArchitecture: all
ProcVersionSignature: Ubuntu 4.8.0-34.36-generic 4.8.11
SourcePackage: software-properties
Tags: Yakkety third-party-packages
Title: software-properties-gtk crashed with aptsources.distro.NoDistroTemplateException in get_sources(): Error: could not find a distribution template for Ubuntu/Yakkety
Uname: Linux 4.8.0-34-generic x86_64
UpgradeStatus: Upgraded to Yakkety on 2017-01-15 (10 days ago)
_MarkForUpload: True
Re: Ubuntu 16.10 - Errore add-apt-repository
Inviato: giovedì 26 gennaio 2017, 14:19
da wilecoyote

Salve, hai anche spostato i ppa come indicato da @thece ?
Se non l'hai fatto fallo, e poi in ogni caso dai questo comando:
seguito da un aggiornamento, senza provare 1 alla volta i ppa così da verificare se migliora la situazione.

Ciao
Re: Ubuntu 16.10 - Errore add-apt-repository
Inviato: venerdì 27 gennaio 2017, 16:55
da SabaJa
Eccomi ancora a rompere..ma mi serve ancora un po' di aiuto, spero poco....
ho fatto quello che mi diceva @thece e niente!
li ho verificati uno a uno e non mi pare di aver visto niente di anomalo se non che la maggior parte dei PPA all'interno erano commentati..
Lanciato comandi di aggiornamento e download ma ancora le opzioni aggiornamento non si aprono.
ho cercato anche un pò su internet e ho trovato questa discussione
software-properties-gtk crashing
il tipo ottiene il mio stesso errore quando lancio il comando sudo -i software-properties-gtk:
Codice: Seleziona tutto
File "/usr/bin/software-properties-gtk", line 101, in <module>
app = SoftwarePropertiesGtk(datadir=options.data_dir, options=options, file=file)
File "/usr/lib/python3/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py", line 101, in __init__
SoftwareProperties.__init__(self, options=options, datadir=datadir)
File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 109, in __init__
self.reload_sourceslist()
File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 599, in reload_sourceslist
self.distro.get_sources(self.sourceslist)
File "/usr/lib/python3/dist-packages/aptsources/distro.py", line 89, in get_sources
(self.id, self.codename))
aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for Ubuntu/Yakkety
nel topic mi pare di aver capito che dicevano di modificare il file /usr/share/python-apt/templates/Ubuntu.info
ma può essere una strada da provare o è fuorviante????
Chiedo ancora a voi e ancora grazie di essere pazienti verso dummie come me

Re: Ubuntu 16.10 - Errore add-apt-repository
Inviato: venerdì 27 gennaio 2017, 17:17
da wilecoyote

Salve, non credo possa andare bene, nell'output del link trattasi di Precise e Trusty mentre il tuo è Yakkety, mi sa che passeresti dalla padella alla brace.
Prova così:
Codice: Seleziona tutto
sudo dpkg --remove --force-remove-reinstreq python3-dbus
sudo apt-get install --reinstall python3-dbus
sudo apt-get update
sudo apt-get dist-upgrade

Ciao
EDIT: correzione eseguita
Re: Ubuntu 16.10 - Errore add-apt-repository
Inviato: sabato 28 gennaio 2017, 18:01
da SabaJa
Ciao,
il comando sudo dpkg --remove --force-remove-reinstreq python-dbus* da errore:
Codice: Seleziona tutto
dpkg: errore: --remove richiede un nome di pacchetto valido. "python-dbus*" non lo è: nome di pacchetto non valido nello specificatore "python-dbus*": carattere "*" non consentito (solo lettere, numeri e caratteri "-+._")
Usare dpkg --help per un aiuto sull'installazione e la rimozione dei pacchetti [*].
Usare "apt" o "aptitude" per un'interfaccia alla gestione dei pacchetti.
Usare dpkg -Dhelp per l'elenco delle opzioni di debug per dpkg.
Usare dpkg --force-help per l'elenco delle opzioni di forzatura.
Usare dpkg-deb --help per un aiuto sulla manipolazione dei file *.deb.
Le opzioni indicate con [*] producono output prolisso - creare una pipe con "less" o "more".
senza * (sudo dpkg --remove --force-remove-reinstreq python-dbus) altri errori sembra legati alle dipendenze dei pacchetti:
Codice: Seleziona tutto
dpkg: problemi con le dipendenze impediscono la rimozione di python-dbus:
software-center dipende da python-dbus.
variety dipende da python-dbus.
python-ubuntu-sso-client dipende da python-dbus.
python-aptdaemon dipende da python-dbus.
python-oneconf dipende da python-dbus.
dpkg: errore nell'elaborare il pacchetto python-dbus (--remove):
problemi con le dipendenze - rimozione non possibile
Si sono verificati degli errori nell'elaborazione:
python-dbus
allora ho eseguito solo i comandi:
sudo apt-get install --reinstall python3-dbus
sudo apt-get update
sudo apt-get dist-upgrade
Ma ancora non si aprono le opzioni degli Aggiornamenti.
sembra un problema di difficile soluzione..cosa comporta tenere Ubuntu con questo bug?
Ho una mezza intenzione di tornare al 16.04
ma dovrei piallare tutto e reinstallare ma non ne ho voglia per niente..
Re: Ubuntu 16.10 - Errore add-apt-repository
Inviato: sabato 28 gennaio 2017, 21:25
da wilecoyote

Salve, colpa mia, ho omesso un 3 nel nome del pacchetto, ti chiedo scusa ho corretto.
Riprova.

Ciao
Re: Ubuntu 16.10 - Errore add-apt-repository
Inviato: domenica 29 gennaio 2017, 20:04
da SabaJa
Ciao wilecoyote.
anche il comando corretto da problemi con le dipendenze
Codice: Seleziona tutto
dpkg: problemi con le dipendenze impediscono la rimozione di python3-dbus:
software-properties-common dipende da python3-dbus.
python3-secretstorage dipende da python3-dbus.
update-manager dipende da python3-dbus.
update-notifier dipende da python3-dbus.
python3-aptdaemon dipende da python3-dbus.
python3-keyring dipende da python3-dbus.
update-notifier-common dipende da python3-dbus.
ubuntu-release-upgrader-gtk dipende da python3-dbus.
python3-oneconf dipende da python3-dbus.
dpkg: errore nell'elaborare il pacchetto python3-dbus (--remove):
problemi con le dipendenze - rimozione non possibile
Si sono verificati degli errori nell'elaborazione:
python3-dbus
allora ho provato sudo apt-get remove python3-dbus
e poi ad reinstallare il software-center
..e niente problema persiste, non riesco + ad aggiungere PPA e ad aprire i dettagli deigli aggiornamenti.
Bho altre soluzioni??
Re: Ubuntu 16.10 - Errore add-apt-repository
Inviato: lunedì 30 gennaio 2017, 15:40
da wilecoyote

Salve, cambiamo strada.
Codice: Seleziona tutto
sudo rm /var/lib/dpkg/info/python-dbus*
sudo apt-get install --reinstall python3-dbus
sudo apt-get update
sudo apt-get dist-upgrade
Stavolta il * è corretto, in pratica con questi comandi rimuovi le informazioni d'installazione del pacchetto senza rimuoverlo, e lo reinstalli, vediamo se così si sistema.

Ciao
Re: Ubuntu 16.10 - Errore add-apt-repository
Inviato: martedì 31 gennaio 2017, 10:18
da SabaJa
Ciao,
anche la soluzione di eliminare le informazioni di installazione e reinstallare non sta funzionando, il problema si ripresenta.
Comunque sto anche cercando un pò in giro e ho trovato trovato questa procedura:
http://askubuntu.com/questions/49040/apt-could-not-find-a-distribution-template-error]
la prima soluzione dice di modificare il file /etc/lsb-release
e inserire la versione corretta.
Ma questo non è il mio caso che dovrebbe essere guisto.
La seconda è quella di reinstallare il pacchetto base-files, che però non riesco a capire il procedimento.
Secondo te/voi è fattibile.
Ultima spiaggia è piallare il 16.10 e reinstallarlo o magari toranare al + stabile 16.04LTS?
che non mi aveva dato nessun problema?
Grazie del supporto
Re: Ubuntu 16.10 - Errore add-apt-repository
Inviato: martedì 31 gennaio 2017, 11:18
da et4beta
Se è un parere che chiedi, il mio è che è buona l'ultima, e per diversi motivi.
Il primo è che comunque una xx.10 ha un supporto molto breve rispetto ad una LTS e, nonostante sia nata dopo, dovrà essere sostituita molto prima che la LTS rimanga "orfana".
Altro sano principio, che viene spesso suggerito qui sul forum, è quello di non fare avanzamenti di versione, ma di installare la nuova release da zero, provandola bene e poi decidere quale tenere, avendo ovviamente cura di mantenere inizialmente il grub della nuova fuori dai giochi e far condurre l'avvio da quella "vecchia" al momento probabilmente più stabile.