

sudo apt-get updatesudo apt-get upgrade



Hit http://it.archive.ubuntu.com jaunty Release.gpg
Hit http://archive.canonical.com jaunty Release.gpg
Ign http://archive.canonical.com jaunty/partner Translation-it
Hit http://security.ubuntu.com jaunty-security Release.gpg
Ign http://security.ubuntu.com jaunty-security/main Translation-it
Ign http://security.ubuntu.com jaunty-security/restricted Translation-it
Hit http://it.archive.ubuntu.com jaunty/main Translation-it
Hit http://archive.canonical.com jaunty Release
Ign http://security.ubuntu.com jaunty-security/universe Translation-it
Ign http://security.ubuntu.com jaunty-security/multiverse Translation-it
Hit http://security.ubuntu.com jaunty-security Release
Ign http://archive.canonical.com jaunty/partner Packages
Hit http://security.ubuntu.com jaunty-security/main Packages
Hit http://it.archive.ubuntu.com jaunty/restricted Translation-it
Ign http://archive.canonical.com jaunty/partner Sources
Hit http://security.ubuntu.com jaunty-security/restricted Packages
Hit http://security.ubuntu.com jaunty-security/main Sources
Hit http://security.ubuntu.com jaunty-security/restricted Sources
Hit http://archive.canonical.com jaunty/partner Packages
Hit http://security.ubuntu.com jaunty-security/universe Packages
Hit http://security.ubuntu.com jaunty-security/universe Sources
Hit http://security.ubuntu.com jaunty-security/multiverse Packages
Hit http://security.ubuntu.com jaunty-security/multiverse Sources
Hit http://it.archive.ubuntu.com jaunty/universe Translation-it
Hit http://archive.canonical.com jaunty/partner Sources
Hit http://it.archive.ubuntu.com jaunty/multiverse Translation-it
Hit http://it.archive.ubuntu.com jaunty-updates Release.gpg
Ign http://it.archive.ubuntu.com jaunty-updates/main Translation-it
Ign http://it.archive.ubuntu.com jaunty-updates/restricted Translation-it
Ign http://it.archive.ubuntu.com jaunty-updates/universe Translation-it
Ign http://it.archive.ubuntu.com jaunty-updates/multiverse Translation-it
Hit http://it.archive.ubuntu.com jaunty Release
Hit http://it.archive.ubuntu.com jaunty-updates Release
Hit http://it.archive.ubuntu.com jaunty/main Packages
Hit http://it.archive.ubuntu.com jaunty/restricted Packages
Hit http://it.archive.ubuntu.com jaunty/main Sources
Hit http://it.archive.ubuntu.com jaunty/restricted Sources
Hit http://it.archive.ubuntu.com jaunty/universe Packages
Hit http://it.archive.ubuntu.com jaunty/universe Sources
Hit http://it.archive.ubuntu.com jaunty/multiverse Packages
Hit http://it.archive.ubuntu.com jaunty/multiverse Sources
Hit http://it.archive.ubuntu.com jaunty-updates/main Packages
Hit http://it.archive.ubuntu.com jaunty-updates/restricted Packages
Hit http://it.archive.ubuntu.com jaunty-updates/main Sources
Hit http://it.archive.ubuntu.com jaunty-updates/restricted Sources
Hit http://it.archive.ubuntu.com jaunty-updates/universe Packages
Hit http://it.archive.ubuntu.com jaunty-updates/universe Sources
Hit http://it.archive.ubuntu.com jaunty-updates/multiverse Packages
Hit http://it.archive.ubuntu.com jaunty-updates/multiverse Sources
E: Impossibile ottenere il lock /var/lib/dpkg/lock - open (11 Risorsa temporaneamente non disponibile)
E: Impossibile bloccare la directory di amministrazione (/var/lib/dpkg/), potrebbe essere usata da un altro processo.
sudo: unable to resolve host danilo-laptop
E: Impossibile ottenere il lock /var/lib/dpkg/lock - open (11 Risorsa temporaneamente non disponibile)
E: Impossibile bloccare la directory di amministrazione (/var/lib/dpkg/), potrebbe essere usata da un altro processo.
cat /etc/hostscat /etc/hostname
127.0.0.1 localhost
127.0.1.1 danilo-laptop.mshome.net
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
danilo@danilo-laptop:~$ cat /etc/hostname
danilo-laptopgksu /etc/hosts127.0.1.1 danilo-laptop.mshome.net
127.0.1.1 danilo-laptopE: Impossibile ottenere il lock /var/lib/dpkg/lock - open (11 Risorsa temporaneamente non disponibile)
E: Impossibile bloccare la directory di amministrazione (/var/lib/dpkg/), potrebbe essere usata da un altro processo.

gksu /etc/hosts
danilo@danilo-laptop:~$
madamada ha scritto:perdonami ma il comando gksu /etc/hosts non mi consente di far nulla: guarda un po'
- Codice: Seleziona tutto
gksu /etc/hosts
danilo@danilo-laptop:~$

gksu gedit /etc/hosts


root@elettra-desktop:~# apt-get -f install
Lettura della lista dei pacchetti in corso... Fatto
Generazione dell'albero delle dipendenze in corso
Lettura informazioni sullo stato... Fatto
0 aggiornati, 0 installati, 0 da rimuovere e 0 non aggiornati.
1 non completamente installati o rimossi.
Dopo quest'operazione, verranno occupati 0B di spazio su disco.
Configuro snort-mysql (2.7.0-22ubuntu1) ...
* Stopping Network Intrusion Detection System snort * No running snort instance found
* Starting Network Intrusion Detection System snort * /etc/snort/db-pending-config file found
* Snort will not start as its database is not yet configured.
* Please configure the database as described in
* /usr/share/doc/snort-{pgsql,mysql}/README-database.Debian
* and remove /etc/snort/db-pending-config
invoke-rc.d: initscript snort, action "start" failed.
dpkg: errore processando snort-mysql (--configure):
il sottoprocesso post-installation script ha restituito un codice di errore 6
Sono occorsi degli errori processando:
snort-mysql
E: Sub-process /usr/bin/dpkg returned an error code (1)

* Please configure the database as described in
* /usr/share/doc/snort-{pgsql,mysql}/README-database.Debian
* and remove /etc/snort/db-pending-config
pieddu ha scritto:quale pacchetto genera l'errore?
Va bene la fine, ma la causa?

Visualizzano questa sezione: 0 utenti registrati e 2 ospiti