user1@user1-pc:~$ ubuntu-support-status
Traceback (most recent call last):
File "/usr/bin/ubuntu-support-status", line 120, in <module>
with apt.Cache() as cache:
File "/usr/lib/python3/dist-packages/apt/cache.py", line 105, in __init__
self.open(progress)
File "/usr/lib/python3/dist-packages/apt/cache.py", line 151, in open
self._depcache = apt_pkg.DepCache(self._cache)
SystemError: E:Il pacchetto linux-image-3.11.0-20-generic deve essere reinstallato, ma non è possibile trovarne un archivio.
user1@user1-pc:~$ cat /etc/dpkg/dpkg.cfg.d/multiarch
cat: /etc/dpkg/dpkg.cfg.d/multiarch: File o directory non esistente
user1@user1-pc:~$ dpkg --print-foreign-architectures
user1@user1-pc:~$ sudo grep -R proxy /etc/apt/*
[sudo] password for user1:
user1@user1-pc:~$ grep proxy /etc/environment
user1@user1-pc:~$ echo $http_proxy
user1@user1-pc:~$ echo $ftp_proxy
user1@user1-pc:~$ grep proxy /etc/bash.bashrc
user1@user1-pc:~$ grep proxy ~/.bashrc
user1@user1-pc:~$ cat /etc/apt/apt.conf
cat: /etc/apt/apt.conf: File o directory non esistente
user1@user1-pc:~$ sudo fuser -vvv /var/lib/dpkg/lock
user1@user1-pc:~$ sudo fuser -vvv /var/cache/apt/archives/lock
user1@user1-pc:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=13.10
DISTRIB_CODENAME=saucy
DISTRIB_DESCRIPTION="Ubuntu 13.10"
user1@user1-pc:~$ uname -a
Linux user1-pc 3.11.0-19-generic #33-Ubuntu SMP Tue Mar 11 18:48:32 UTC 2014 i686 i686 i686 GNU/Linux
user1@user1-pc:~$ sudo rm /var/lib/apt/lists/lock
user1@user1-pc:~$ sudo rm /var/cache/apt/archives/lock
user1@user1-pc:~$ sudo rm /var/lib/dpkg/lock
user1@user1-pc:~$ sudo touch /var/lib/dpkg/lock
user1@user1-pc:~$ sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
user1@user1-pc:~$ sudo mv /var/lib/dpkg/status /var/lib/dpkg/status-bad
user1@user1-pc:~$ sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status || sudo cp /var/backups/apt.extended_states.0 /var/lib/dpkg/status
user1@user1-pc:~$ sudo mv /var/lib/dpkg/available /var/lib/dpkg/available-bad
user1@user1-pc:~$ sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
user1@user1-pc:~$ sudo rm -rf /var/lib/dpkg/updates/*
user1@user1-pc:~$ sudo rm -rf /var/lib/apt/lists
user1@user1-pc:~$ sudo rm /var/cache/apt/*.bin
user1@user1-pc:~$ sudo mkdir /var/lib/apt/lists
user1@user1-pc:~$ sudo mkdir /var/lib/apt/lists/partial
user1@user1-pc:~$ LANG=C;sudo apt-get clean
user1@user1-pc:~$ LANG=C;sudo apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
user1@user1-pc:~$ LANG=C;sudo apt-get --purge autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: The package linux-image-3.11.0-20-generic needs to be reinstalled, but I can't find an archive for it.
user1@user1-pc:~$ LANG=C;sudo apt-get --fix-missing update -o APT::Cache-Limit=100000000
Ign http://it.archive.ubuntu.com trusty InRelease
Ign http://extras.ubuntu.com trusty InRelease
Ign http://it.archive.ubuntu.com trusty-updates InRelease
Get:1 http://extras.ubuntu.com trusty Release.gpg [72 B]
Ign http://it.archive.ubuntu.com trusty-backports InRelease
Get:2 http://it.archive.ubuntu.com trusty Release.gpg [933 B]
Get:3 http://extras.ubuntu.com trusty Release [11,9 kB]
Get:4 http://it.archive.ubuntu.com trusty-updates Release.gpg [933 B]
Ign http://security.ubuntu.com trusty-security InRelease
Get:5 http://it.archive.ubuntu.com trusty-backports Release.gpg [933 B]
Get:6 http://it.archive.ubuntu.com trusty Release [58,5 kB]
Get:7 http://extras.ubuntu.com trusty/main Sources [14 B]
Get:8 http://security.ubuntu.com trusty-security Release.gpg [933 B]
Get:9 http://extras.ubuntu.com trusty/main i386 Packages [14 B]
Get:10 http://it.archive.ubuntu.com trusty-updates Release [58,5 kB]
Get:11 http://security.ubuntu.com trusty-security Release [58,5 kB]
Get:12 http://it.archive.ubuntu.com trusty-backports Release [58,6 kB]
Ign http://extras.ubuntu.com trusty/main Translation-en
Get:13 http://it.archive.ubuntu.com trusty/main Sources [1064 kB]
Get:14 http://security.ubuntu.com trusty-security/main Sources [2642 B]
Get:15 http://security.ubuntu.com trusty-security/restricted Sources [14 B]
Get:16 http://security.ubuntu.com trusty-security/universe Sources [14 B]
Get:17 http://security.ubuntu.com trusty-security/multiverse Sources [14 B]
Get:18 http://security.ubuntu.com trusty-security/main i386 Packages [3902 B]
Get:19 http://security.ubuntu.com trusty-security/restricted i386 Packages [14 B]
Get:20 http://security.ubuntu.com trusty-security/universe i386 Packages [1206 B]
Get:21 http://security.ubuntu.com trusty-security/multiverse i386 Packages [14 B]
Get:22 http://security.ubuntu.com trusty-security/main Translation-en [2355 B]
Get:23 http://security.ubuntu.com trusty-security/multiverse Translation-en [14 B]
Get:24 http://it.archive.ubuntu.com trusty/restricted Sources [5433 B]
Get:25 http://it.archive.ubuntu.com trusty/universe Sources [6399 kB]
Get:26 http://security.ubuntu.com trusty-security/restricted Translation-en [14 B]
Get:27 http://security.ubuntu.com trusty-security/universe Translation-en [717 B]
Get:28 http://it.archive.ubuntu.com trusty/multiverse Sources [174 kB]
Get:29 http://it.archive.ubuntu.com trusty/main i386 Packages [1348 kB]
Get:30 http://it.archive.ubuntu.com trusty/restricted i386 Packages [13,4 kB]
Get:31 http://it.archive.ubuntu.com trusty/universe i386 Packages [5866 kB]
Get:32 http://it.archive.ubuntu.com trusty/multiverse i386 Packages [134 kB]
Get:33 http://it.archive.ubuntu.com trusty/main Translation-en [762 kB]
Get:34 http://it.archive.ubuntu.com trusty/multiverse Translation-en [102 kB]
Get:35 http://it.archive.ubuntu.com trusty/restricted Translation-en [3457 B]
Get:36 http://it.archive.ubuntu.com trusty/universe Translation-en [4088 kB]
Get:37 http://it.archive.ubuntu.com trusty-updates/main Sources [6548 B]
Get:38 http://it.archive.ubuntu.com trusty-updates/restricted Sources [14 B]
Get:39 http://it.archive.ubuntu.com trusty-updates/universe Sources [1687 B]
Get:40 http://it.archive.ubuntu.com trusty-updates/multiverse Sources [1790 B]
Get:41 http://it.archive.ubuntu.com trusty-updates/main i386 Packages [12,7 kB]
Get:42 http://it.archive.ubuntu.com trusty-updates/restricted i386 Packages [14 B]
Get:43 http://it.archive.ubuntu.com trusty-updates/universe i386 Packages [4160 B]
Get:44 http://it.archive.ubuntu.com trusty-updates/multiverse i386 Packages [6386 B]
Get:45 http://it.archive.ubuntu.com trusty-updates/main Translation-en [6921 B]
Get:46 http://it.archive.ubuntu.com trusty-updates/multiverse Translation-en [3457 B]
Get:47 http://it.archive.ubuntu.com trusty-updates/restricted Translation-en [14 B]
Get:48 http://it.archive.ubuntu.com trusty-updates/universe Translation-en [2241 B]
Get:49 http://it.archive.ubuntu.com trusty-backports/main Sources [14 B]
Get:50 http://it.archive.ubuntu.com trusty-backports/restricted Sources [14 B]
Get:51 http://it.archive.ubuntu.com trusty-backports/universe Sources [14 B]
Get:52 http://it.archive.ubuntu.com trusty-backports/multiverse Sources [14 B]
Get:53 http://it.archive.ubuntu.com trusty-backports/main i386 Packages [14 B]
Get:54 http://it.archive.ubuntu.com trusty-backports/restricted i386 Packages [14 B]
Get:55 http://it.archive.ubuntu.com trusty-backports/universe i386 Packages [14 B]
Get:56 http://it.archive.ubuntu.com trusty-backports/multiverse i386 Packages [14 B]
Get:57 http://it.archive.ubuntu.com trusty-backports/main Translation-en [14 B]
Get:58 http://it.archive.ubuntu.com trusty-backports/multiverse Translation-en [14 B]
Get:59 http://it.archive.ubuntu.com trusty-backports/restricted Translation-en [14 B]
Get:60 http://it.archive.ubuntu.com trusty-backports/universe Translation-en [14 B]
Fetched 20,3 MB in 41s (492 kB/s)
Reading package lists... Done
user1@user1-pc:~$ sudo dpkg --configure -a
[sudo] password for user1:
Setting up hicolor-icon-theme (0.12-1ubuntu2) ...
Processing triggers for doc-base ...
Setting up cups-server-common (1.7.0~rc1-0ubuntu5.3) ...
Setting up chromium-codecs-ffmpeg (34.0.1847.116-0ubuntu~1.13.10.0~pkg991) ...
Setting up cups-common (1.7.0~rc1-0ubuntu5.3) ...
Setting up libcups2:i386 (1.7.0~rc1-0ubuntu5.3) ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for gnome-menus ...
Setting up chromium-browser (34.0.1847.116-0ubuntu~1.13.10.0~pkg991) ...
Processing triggers for ureadahead ...
ureadahead will be reprofiled on next reboot
Processing triggers for ufw ...
Setting up libcupscgi1:i386 (1.7.0~rc1-0ubuntu5.3) ...
Setting up chromium-browser-l10n (34.0.1847.116-0ubuntu~1.13.10.0~pkg991) ...
Processing triggers for mime-support ...
Setting up libcupsppdc1:i386 (1.7.0~rc1-0ubuntu5.3) ...
Setting up libcupsimage2:i386 (1.7.0~rc1-0ubuntu5.3) ...
Setting up cups-ppdc (1.7.0~rc1-0ubuntu5.3) ...
Setting up cups-client (1.7.0~rc1-0ubuntu5.3) ...
Setting up libcupsmime1:i386 (1.7.0~rc1-0ubuntu5.3) ...
Setting up cups-daemon (1.7.0~rc1-0ubuntu5.3) ...
Setting up cups-bsd (1.7.0~rc1-0ubuntu5.3) ...
Setting up cups (1.7.0~rc1-0ubuntu5.3) ...
Updating PPD files for cups ...
Processing triggers for libc-bin ...
user1@user1-pc:~$ sudo dpkg --clear-avail
[sudo] password for user1:
Sorry, try again.
[sudo] password for user1:
user1@user1-pc:~$ LANG=C;sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: The package linux-image-3.11.0-20-generic needs to be reinstalled, but I can't find an archive for it.
user1@user1-pc:~$ LANG=C;sudo apt-get --fix-missing install
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: The package linux-image-3.11.0-20-generic needs to be reinstalled, but I can't find an archive for it.
user1@user1-pc:~$ LANG=C;sudo apt-get update -o APT::Cache-Limit=100000000 && sudo apt-get dist-upgrade
Ign http://it.archive.ubuntu.com trusty InRelease
Ign http://security.ubuntu.com trusty-security InRelease
Ign http://extras.ubuntu.com trusty InRelease
Ign http://it.archive.ubuntu.com trusty-updates InRelease
Get:1 http://security.ubuntu.com trusty-security Release.gpg [933 B]
Hit http://extras.ubuntu.com trusty Release.gpg
Ign http://it.archive.ubuntu.com trusty-backports InRelease
Hit http://it.archive.ubuntu.com trusty Release.gpg
Get:2 http://security.ubuntu.com trusty-security Release [58,5 kB]
Hit http://extras.ubuntu.com trusty Release
Hit http://it.archive.ubuntu.com trusty-updates Release.gpg
Hit http://extras.ubuntu.com trusty/main Sources
Hit http://extras.ubuntu.com trusty/main i386 Packages
Hit http://it.archive.ubuntu.com trusty-backports Release.gpg
Get:3 http://security.ubuntu.com trusty-security/main Sources [3604 B]
Hit http://it.archive.ubuntu.com trusty Release
Get:4 http://security.ubuntu.com trusty-security/restricted Sources [14 B]
Hit http://it.archive.ubuntu.com trusty-updates Release
Get:5 http://security.ubuntu.com trusty-security/universe Sources [14 B]
Hit http://it.archive.ubuntu.com trusty-backports Release
Get:6 http://security.ubuntu.com trusty-security/multiverse Sources [14 B]
Ign http://extras.ubuntu.com trusty/main Translation-en
Get:7 http://security.ubuntu.com trusty-security/main i386 Packages [6594 B]
Hit http://it.archive.ubuntu.com trusty/main Sources
Get:8 http://security.ubuntu.com trusty-security/restricted i386 Packages [14 B]
Hit http://it.archive.ubuntu.com trusty/restricted Sources
Get:9 http://security.ubuntu.com trusty-security/universe i386 Packages [2119 B]
Hit http://it.archive.ubuntu.com trusty/universe Sources
Get:10 http://security.ubuntu.com trusty-security/multiverse i386 Packages [14 B]
Get:11 http://security.ubuntu.com trusty-security/main Translation-en [3972 B]
Hit http://it.archive.ubuntu.com trusty/multiverse Sources
Hit http://security.ubuntu.com trusty-security/multiverse Translation-en
Hit http://it.archive.ubuntu.com trusty/main i386 Packages
Hit http://security.ubuntu.com trusty-security/restricted Translation-en
Get:12 http://security.ubuntu.com trusty-security/universe Translation-en [1715 B]
Hit http://it.archive.ubuntu.com trusty/restricted i386 Packages
Hit http://it.archive.ubuntu.com trusty/universe i386 Packages
Hit http://it.archive.ubuntu.com trusty/multiverse i386 Packages
Hit http://it.archive.ubuntu.com trusty/main Translation-en
Hit http://it.archive.ubuntu.com trusty/multiverse Translation-en
Hit http://it.archive.ubuntu.com trusty/restricted Translation-en
Hit http://it.archive.ubuntu.com trusty/universe Translation-en
Hit http://it.archive.ubuntu.com trusty-updates/main Sources
Hit http://it.archive.ubuntu.com trusty-updates/restricted Sources
Hit http://it.archive.ubuntu.com trusty-updates/universe Sources
Hit http://it.archive.ubuntu.com trusty-updates/multiverse Sources
Hit http://it.archive.ubuntu.com trusty-updates/main i386 Packages
Hit http://it.archive.ubuntu.com trusty-updates/restricted i386 Packages
Hit http://it.archive.ubuntu.com trusty-updates/universe i386 Packages
Hit http://it.archive.ubuntu.com trusty-updates/multiverse i386 Packages
Hit http://it.archive.ubuntu.com trusty-updates/main Translation-en
Hit http://it.archive.ubuntu.com trusty-updates/multiverse Translation-en
Hit http://it.archive.ubuntu.com trusty-updates/restricted Translation-en
Hit http://it.archive.ubuntu.com trusty-updates/universe Translation-en
Hit http://it.archive.ubuntu.com trusty-backports/main Sources
Hit http://it.archive.ubuntu.com trusty-backports/restricted Sources
Hit http://it.archive.ubuntu.com trusty-backports/universe Sources
Hit http://it.archive.ubuntu.com trusty-backports/multiverse Sources
Hit http://it.archive.ubuntu.com trusty-backports/main i386 Packages
Hit http://it.archive.ubuntu.com trusty-backports/restricted i386 Packages
Hit http://it.archive.ubuntu.com trusty-backports/universe i386 Packages
Hit http://it.archive.ubuntu.com trusty-backports/multiverse i386 Packages
Hit http://it.archive.ubuntu.com trusty-backports/main Translation-en
Hit http://it.archive.ubuntu.com trusty-backports/multiverse Translation-en
Hit http://it.archive.ubuntu.com trusty-backports/restricted Translation-en
Hit http://it.archive.ubuntu.com trusty-backports/universe Translation-en
Fetched 77,5 kB in 3s (24,6 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: The package linux-image-3.11.0-20-generic needs to be reinstalled, but I can't find an archive for it.
user1@user1-pc:~$ find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' _ '{}' \;
/etc/apt/sources.list.d/dropbox.list
1 # deb http://linux.dropbox.com/ubuntu precise main # disabilitato durante l'avanzamento a raring
/etc/apt/sources.list
1 # deb cdrom:[Ubuntu 12.10 _Quantal Quetzal_ - Release i386 (20121017.2)]/ quantal main restricted
2
3 # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
4 # newer versions of the distribution.
5 deb http://it.archive.ubuntu.com/ubuntu/ trusty main restricted
6 deb-src http://it.archive.ubuntu.com/ubuntu/ trusty main restricted
7
8 ## Major bug fix updates produced after the final release of the
9 ## distribution.
10 deb http://it.archive.ubuntu.com/ubuntu/ trusty-updates main restricted
11 deb-src http://it.archive.ubuntu.com/ubuntu/ trusty-updates main restricted
12
13 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
14 ## team. Also, please note that software in universe WILL NOT receive any
15 ## review or updates from the Ubuntu security team.
16 deb http://it.archive.ubuntu.com/ubuntu/ trusty universe
17 deb-src http://it.archive.ubuntu.com/ubuntu/ trusty universe
18 deb http://it.archive.ubuntu.com/ubuntu/ trusty-updates universe
19 deb-src http://it.archive.ubuntu.com/ubuntu/ trusty-updates universe
20
21 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
22 ## team, and may not be under a free licence. Please satisfy yourself as to
23 ## your rights to use the software. Also, please note that software in
24 ## multiverse WILL NOT receive any review or updates from the Ubuntu
25 ## security team.
26 deb http://it.archive.ubuntu.com/ubuntu/ trusty multiverse
27 deb-src http://it.archive.ubuntu.com/ubuntu/ trusty multiverse
28 deb http://it.archive.ubuntu.com/ubuntu/ trusty-updates multiverse
29 deb-src http://it.archive.ubuntu.com/ubuntu/ trusty-updates multiverse
30
31 ## N.B. software from this repository may not have been tested as
32 ## extensively as that contained in the main release, although it includes
33 ## newer versions of some applications which may provide useful features.
34 ## Also, please note that software in backports WILL NOT receive any review
35 ## or updates from the Ubuntu security team.
36 deb http://it.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
37 deb-src http://it.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
38
39 deb http://security.ubuntu.com/ubuntu trusty-security main restricted
40 deb-src http://security.ubuntu.com/ubuntu trusty-security main restricted
41 deb http://security.ubuntu.com/ubuntu trusty-security universe
42 deb-src http://security.ubuntu.com/ubuntu trusty-security universe
43 deb http://security.ubuntu.com/ubuntu trusty-security multiverse
44 deb-src http://security.ubuntu.com/ubuntu trusty-security multiverse
45
46 ## Uncomment the following two lines to add software from Canonical's
47 ## 'partner' repository.
48 ## This software is not part of Ubuntu, but is offered by Canonical and the
49 ## respective vendors as a service to Ubuntu users.
50 # deb http://archive.canonical.com/ubuntu quantal partner
51 # deb-src http://archive.canonical.com/ubuntu quantal partner
52
53 ## This software is not part of Ubuntu, but is offered by third-party
54 ## developers who want to ship their latest software.
55 deb http://extras.ubuntu.com/ubuntu trusty main
56 deb-src http://extras.ubuntu.com/ubuntu trusty main
user1@user1-pc:~$ ^C
user1@user1-pc:~$