Salve a tutti, ho riscontrato un problema non appena ho installato questa nuova distro (Elementary OS Luna beta2) in sostanza mi dice che non riesce ad aggiornare e di controllare la mia connessione internet (che però funziona, altrimenti non potrei neanche scrivere qui) cercando varie guide qua sulla community sono riuscito infine a fare gli aggiornamenti principali tramite il gestore aggiornamenti, ma ancora non mi fa scaricare la lingua italiana dandomi l'errore
W: Impossibile recuperare http://it.archive.ubuntu.com/ubuntu/dists/precise-backports/Release.gpg Riga header non corretta [IP: 193.206.140.37 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
zimotoretto@zimotoretto-Aspire-5553G:~$ cat -n /etc/apt/sources.list
1 # deb cdrom:[elementary OS 0.2 _Luna_ - Beta 2 amd64 (20130506)]/ dists/precise/main/binary-i386/
2
3 # deb cdrom:[elementary OS 0.2 _Luna_ - Beta 2 amd64 (20130506)]/ dists/precise/restricted/binary-i386/
4 # deb cdrom:[elementary OS 0.2 _Luna_ - Beta 2 amd64 (20130506)]/ precise main restricted
5
6 # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
7 # newer versions of the distribution.
8 deb http://archive.ubuntu.com/ubuntu precise main restricted
9 deb-src http://archive.ubuntu.com/ubuntu precise main restricted
10
11 ## Major bug fix updates produced after the final release of the
12 ## distribution.
13 deb http://it.archive.ubuntu.com/ubuntu/ precise-updates main restricted
14 deb-src http://it.archive.ubuntu.com/ubuntu/ precise-updates main restricted
15
16 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
17 ## team. Also, please note that software in universe WILL NOT receive any
18 ## review or updates from the Ubuntu security team.
19 deb http://archive.ubuntu.com/ubuntu precise universe
20 deb-src http://archive.ubuntu.com/ubuntu precise universe
21 deb http://it.archive.ubuntu.com/ubuntu/ precise-updates universe
22 deb-src http://it.archive.ubuntu.com/ubuntu/ precise-updates universe
23
24 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
25 ## team, and may not be under a free licence. Please satisfy yourself as to
26 ## your rights to use the software. Also, please note that software in
27 ## multiverse WILL NOT receive any review or updates from the Ubuntu
28 ## security team.
29 deb http://archive.ubuntu.com/ubuntu precise multiverse
30 deb-src http://archive.ubuntu.com/ubuntu precise multiverse
31 deb http://it.archive.ubuntu.com/ubuntu/ precise-updates multiverse
32 deb-src http://it.archive.ubuntu.com/ubuntu/ precise-updates multiverse
33
34 ## N.B. software from this repository may not have been tested as
35 ## extensively as that contained in the main release, although it includes
36 ## newer versions of some applications which may provide useful features.
37 ## Also, please note that software in backports WILL NOT receive any review
38 ## or updates from the Ubuntu security team.
39 deb http://it.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse
40 deb-src http://it.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse
41
42 deb http://security.ubuntu.com/ubuntu precise-security main restricted
43 deb-src http://security.ubuntu.com/ubuntu precise-security main restricted
44 deb http://security.ubuntu.com/ubuntu precise-security universe
45 deb-src http://security.ubuntu.com/ubuntu precise-security universe
46 deb http://security.ubuntu.com/ubuntu precise-security multiverse
47 deb-src http://security.ubuntu.com/ubuntu precise-security multiverse
48
49 ## Uncomment the following two lines to add software from Canonical's
50 ## 'partner' repository.
51 ## This software is not part of Ubuntu, but is offered by Canonical and the
52 ## respective vendors as a service to Ubuntu users.
53 # deb http://archive.canonical.com/ubuntu precise partner
54 # deb-src http://archive.canonical.com/ubuntu precise partner
55
56 ## Uncomment the following two lines to add software from Ubuntu's
57 ## 'extras' repository.
58 ## This software is not part of Ubuntu, but is offered by third-party
59 ## developers who want to ship their latest software.
60 # deb http://extras.ubuntu.com/ubuntu precise main
61 # deb-src http://extras.ubuntu.com/ubuntu precise main
zimotoretto@zimotoretto-Aspire-5553G:~$
raggiungi le righe che ti dicevo (ti muovi con i tasti freccetta) e una volta messi tutti i cancelletti dai ctrl+o seguito da invio per salvare e ctrl+x per uscire
zimotoretto@zimotoretto-Aspire-5553G:~$ tail -n +1 /etc/apt/apt.conf /etc/apt/apt.conf.d/*
tail: cannot open `/etc/apt/apt.conf' for reading: No such file or directory
==> /etc/apt/apt.conf.d/00aptitude <==
Aptitude::Get-Root-Command "sudo:/usr/bin/sudo";
==> /etc/apt/apt.conf.d/00trustcdrom <==
APT::Authentication::TrustCDROM "true";
==> /etc/apt/apt.conf.d/01autoremove <==
APT
{
NeverAutoRemove
{
"^firmware-linux.*";
"^linux-firmware$";
"^kfreebsd-image.*";
"^gnumach$";
"^gnumach-image.*";
};
Never-MarkAuto-Sections
{
"metapackages";
"restricted/metapackages";
"universe/metapackages";
"multiverse/metapackages";
"oldlibs";
"restricted/oldlibs";
"universe/oldlibs";
"multiverse/oldlibs";
};
};
==> /etc/apt/apt.conf.d/01autoremove-kernels <==
// File autogenerated by /etc/kernel/postinst.d/apt-auto-removal, do not edit
APT
{
NeverAutoRemove
{
"^linux-image-3.2.0-41-generic$";
"^linux-image-extra-3.2.0-41-generic$";
"^linux-signed-image-3.2.0-41-generic$";
"^linux-backports-modules-.*-3.2.0-41-generic$";
"^linux-headers-3.2.0-41-generic$";
"^linux-image-3.2.0-43-generic$";
"^linux-image-extra-3.2.0-43-generic$";
"^linux-signed-image-3.2.0-43-generic$";
"^linux-backports-modules-.*-3.2.0-43-generic$";
"^linux-headers-3.2.0-43-generic$";
};
};
==> /etc/apt/apt.conf.d/10periodic <==
APT::Periodic::Update-Package-Lists "1";
APT::Periodic::Download-Upgradeable-Packages "0";
APT::Periodic::AutocleanInterval "0";
==> /etc/apt/apt.conf.d/15update-stamp <==
APT::Update::Post-Invoke-Success {"touch /var/lib/apt/periodic/update-success-stamp 2>/dev/null || true";};
==> /etc/apt/apt.conf.d/20archive <==
APT::Archives::MaxAge "30";
APT::Archives::MinAge "2";
APT::Archives::MaxSize "500";
==> /etc/apt/apt.conf.d/20changelog <==
// Server information for apt-changelog
APT {
Changelogs {
Server "http://changelogs.ubuntu.com/changelogs";
};
};
==> /etc/apt/apt.conf.d/20dbus <==
// Notify all clients to reload the cache
APT::Update::Post-Invoke-Success { "[ ! -f /var/run/dbus/system_bus_socket ] || /usr/bin/dbus-send --system --dest=org.debian.apt --type=signal /org/debian/apt org.debian.apt.CacheChanged || true"; };
==> /etc/apt/apt.conf.d/50unattended-upgrades <==
// Automatically upgrade packages from these (origin:archive) pairs
Unattended-Upgrade::Allowed-Origins {
"${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
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.
//Unattended-Upgrade::Mail "root@localhost";
// 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 a
// the file /var/run/reboot-required is found after the upgrade
//Unattended-Upgrade::Automatic-Reboot "false";
// Use apt bandwidth limit feature, this example limits the download
// speed to 70kb/sec
//Acquire::http::Dl-Limit "70";
==> /etc/apt/apt.conf.d/70debconf <==
// Pre-configure all packages with debconf before they are installed.
// If you don't like it, comment it out.
DPkg::Pre-Install-Pkgs {"/usr/sbin/dpkg-preconfigure --apt || true";};
==> /etc/apt/apt.conf.d/99update-notifier <==
DPkg::Post-Invoke {"if [ -d /var/lib/update-notifier ]; then touch /var/lib/update-notifier/dpkg-run-stamp; fi; if [ -e /var/lib/update-notifier/updates-available ]; then echo > /var/lib/update-notifier/updates-available; fi "; };
prova con:
echo "nameserver 8.8.8.8" | sudo tee /etc/resolv.conf > /dev/null
sudo apt-get update
oppure
sudo aptitude -o Acquire::http::No-Cache=True -o Acquire::BrokenProxy=true update
sudo apt-get update
ps sei per caso dietro un proxy?
Se non risolvi puoi provare ad installare Y PPA Manager : http://www.webupd8.org/2012/10/y-ppa-ma ... h-new.html
Nella sessione advanced ci dovrebbe essere la possibilità di trovarele chiavi mancanti.
W: Impossibile recuperare http://it.archive.ubuntu.com/ubuntu/dists/precise-backports/Release.gpg Riga header non corretta [IP: 193.206.139.34 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
Col secondo mi dice che non trova il comando "aptitude", comunque no, nessun proxy.
Per quanto riguarda Y PPA Manager ho aggiunto il repository, ma visti i problemi che mi da con l'update poi non mi fa installare il programma dicendo che è impossibile trovare il pacchetto, dopo aver aggiunto il repository e fatto l'update mi ha dato questo errore
E: Impossibile aprire il file /var/lib/apt/lists/it.archive.ubuntu.com_ubuntu_dists_precise-backports_main_binary-amd64_Packages.IndexDiff - open (2: No such file or directory)