Pagina 1 di 1

Kubuntu 16.10 sparito gestore aggiornamenti

Inviato: martedì 13 dicembre 2016, 16:30
da Masterplan
salve
stavo installando un aggiornamento di sistema quando per sbaglio ho tolto l'alimentazione al pc.
L'ho riavviato e tramite il menu di ripristino sono riuscito a farlo ripartire correttamente.
Problema, volendo aggiornare il sistema mi sono accorto che
è sparito il gestore aggiornamenti, provando ad aggiornare da terminale, mi restituisce la seguente schermata

xxxxx@xxxxx-K50IN:~$ sudo apt update
Trovato:1 http://archive.canonical.com/ubuntu yakkety InRelease
Scaricamento di:2 http://security.ubuntu.com/ubuntu yakkety-security InRelease [102 kB]
Trovato:3 http://it.archive.ubuntu.com/ubuntu yakkety InRelease
Trovato:4 http://it.archive.ubuntu.com/ubuntu yakkety-updates InRelease
Trovato:5 http://it.archive.ubuntu.com/ubuntu yakkety-backports InRelease
Recuperati 102 kB in 1s (76,3 kB/s)
Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze
Lettura informazioni sullo stato... Fatto
Tutti i pacchetti sono aggiornati.
N: Viene ignorato il file "50unattended-upgrades.ucf-dist" nella directory "/etc/apt/apt.conf.d/" poiché ha un'estensione non valida

e di seguito

xxxxx@xxxxx-K50IN:~$ 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.
N: Viene ignorato il file "50unattended-upgrades.ucf-dist" nella directory "/etc/apt/apt.conf.d/" poiché ha un'estensione non valida



come procedere per eliminare il problema?
grazie

Re: Kubuntu 16.10 sparito gestore aggiornamenti

Inviato: martedì 13 dicembre 2016, 17:40
da wilecoyote
:) Salve, cosa contiene quel file ignorato ?

Postalo con:

Codice: Seleziona tutto

kate /etc/apt/apt.conf.d/50unattended-upgrades.ucf-dist
Quanto al gestore software meglio, molto meglio, Synaptic prova ad installarlo:

Codice: Seleziona tutto

sudo apt install synaptic
Infine togli i repository backport e proposed, sono delle mine vaganti instabili:

Codice: Seleziona tutto

kdesu software-properties-kde
Nella scheda 'Aggiornamenti' togli la spunta a quei 2... :devilmad: :minacc:

Infine prova a riaggiornare.

:ciao: Ciao

Re: Kubuntu 16.10 sparito gestore aggiornamenti

Inviato: martedì 13 dicembre 2016, 18:10
da Masterplan
non riesco ad aggiornare il sistema. inoltre non ho più il gestore aggiornamenti non quello relativo alle applicazioni ma quello relativo al s.o.

questo è il contenuto del file

// Automatically upgrade packages from these (origin:archive) pairs
Unattended-Upgrade::Allowed-Origins {
"${distro_id}:${distro_codename}";
"${distro_id}:${distro_codename}-security";
// "${distro_id}:${distro_codename}-updates";
// "${distro_id}:${distro_codename}-proposed";
// "${distro_id}:${distro_codename}-backports";
};

// List of packages to not update (regexp are supported)
Unattended-Upgrade::Package-Blacklist {
// "vim";
// "libc6";
// "libc6-dev";
// "libc6-i686";
};

// This option allows you to control if on a unclean dpkg exit
// unattended-upgrades will automatically run
// dpkg --force-confold --configure -a
// The default is true, to ensure updates keep getting installed
//Unattended-Upgrade::AutoFixInterruptedDpkg "false";

// Split the upgrade into the smallest possible chunks so that
// they can be interrupted with SIGUSR1. This makes the upgrade
// a bit slower but it has the benefit that shutdown while a upgrade
// is running is possible (with a small delay)
//Unattended-Upgrade::MinimalSteps "true";

// Install all unattended-upgrades when the machine is shuting down
// instead of doing it in the background while the machine is running
// This will (obviously) make shutdown slower
//Unattended-Upgrade::InstallOnShutdown "true";

// Send email to this address for problems or packages upgrades
// If empty or unset then no email is sent, make sure that you
// have a working mail setup on your system. A package that provides
// 'mailx' must be installed. E.g. "user@example.com"
//Unattended-Upgrade::Mail "root";

// Set this value to "true" to get emails only on errors. Default
// is to always send a mail if Unattended-Upgrade::Mail is set
//Unattended-Upgrade::MailOnlyOnError "true";

// Do automatic removal of new unused dependencies after the upgrade
// (equivalent to apt-get autoremove)
//Unattended-Upgrade::Remove-Unused-Dependencies "false";

// Automatically reboot *WITHOUT CONFIRMATION*
// if the file /var/run/reboot-required is found after the upgrade
//Unattended-Upgrade::Automatic-Reboot "false";

// If automatic reboot is enabled and needed, reboot at the specific
// time instead of immediately
// Default: "now"
//Unattended-Upgrade::Automatic-Reboot-Time "02:00";

// Use apt bandwidth limit feature, this example limits the download
// speed to 70kb/sec
//Acquire::http::Dl-Limit "70";

// Enable logging to syslog. Default is False
// Unattended-Upgrade::SyslogEnable "false";

// Specify syslog facility. Default is daemon
// Unattended-Upgrade::SyslogFacility "daemon";

Re: Kubuntu 16.10 sparito gestore aggiornamenti

Inviato: martedì 13 dicembre 2016, 18:14
da Masterplan
ho installato il software che mi hai consigliato ma quando do il comando successivo ho questa schermata

xxxxx@xxxxx-K50IN:~$ kdesu software-properties-kde
kdesu: comando non trovato

Re: Kubuntu 16.10 sparito gestore aggiornamenti

Inviato: mercoledì 14 dicembre 2016, 15:04
da wilecoyote
:) Salve, colpa mia, in Yakkety il comando è:

Codice: Seleziona tutto

kdesudo software-properties-kde
oppure:

Codice: Seleziona tutto

sudo -H software-properties-kde
Il primo è quello raccomandato in KDE, il secondo un workaroud se il programma 'kdesudo' non è eventualmente installato.

:ciao: Ciao

Re: Kubuntu 16.10 sparito gestore aggiornamenti

Inviato: lunedì 2 gennaio 2017, 16:17
da jackynet92
Per postare correttamente i risultati del terminale e/o listati sul forum basta:
  • 1. selezionare il testo del terminale
    2. tasto destro copia (in alternativa premere Ctrl + maiusc + C)
    3. incollare sul forum negli appropriati code, ovvero selezionare il testo e cliccare su Codice

Codice: Seleziona tutto

[color=#FF0000] qui inserisci il testo [/color][ /code]

[code]in modo da ottenere qualcosa di simile
Provvedi a correggere il post, basta cliccare su modifica e seguire la procedura che ti ho spiegato.