Problems with gdl pplot installation and now everything seems a bit wonky

Asked by Andrew

Hi All,

I have been trying to install gdl and plplot on my ubuntu from source - because I couldnt seem to find them in the software centre. Unfortunately, I have stuffed up the configuration and now the software centre and a range of applications wont start.

The errors started when I tried to install the plplot xwin libararies and then I started getting all sorts of errors.

I know I was supposed to remove the PPA repositorities before running the diagnostics below. But by this stage the Software centre and software updater stopped working.

Any support or guidance would be appreciated on how I can fix the mess?

Cheers
Andrew

To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.

andrew@linux-laptop:~$ 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 113, in __init__
    self.open(progress)
  File "/usr/lib/python3/dist-packages/apt/cache.py", line 164, in open
    self._cache = apt_pkg.Cache(progress)
SystemError: E:Encountered a section with no Package: header, E:Problem with MergeList /var/lib/dpkg/status, E:The package lists or status file could not be parsed or opened.
andrew@linux-laptop:~$ cat /etc/dpkg/dpkg.cfg.d/multiarch
cat: /etc/dpkg/dpkg.cfg.d/multiarch: No such file or directory
andrew@linux-laptop:~$ dpkg --print-foreign-architectures
i386
andrew@linux-laptop:~$ sudo grep -R proxy /etc/apt/*
[sudo] password for andrew:
andrew@linux-laptop:~$ grep proxy /etc/environment
andrew@linux-laptop:~$ echo $http_proxy

andrew@linux-laptop:~$ echo $ftp_proxy

andrew@linux-laptop:~$ grep proxy /etc/bash.bashrc
andrew@linux-laptop:~$ grep proxy ~/.bashrc
andrew@linux-laptop:~$ cat /etc/apt/apt.conf
cat: /etc/apt/apt.conf: No such file or directory
andrew@linux-laptop:~$ sudo fuser -vvv /var/lib/dpkg/lock
andrew@linux-laptop:~$ sudo fuser -vvv /var/cache/apt/archives/lock
andrew@linux-laptop:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=15.10
DISTRIB_CODENAME=wily
DISTRIB_DESCRIPTION="Ubuntu 15.10"
andrew@linux-laptop:~$ uname -a
Linux linux-laptop 3.19.0-30-generic #34~14.04.1-Ubuntu SMP Fri Oct 2 22:09:39 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
andrew@linux-laptop:~$ sudo rm /var/lib/apt/lists/lock
andrew@linux-laptop:~$ sudo rm /var/cache/apt/archives/lock
andrew@linux-laptop:~$ sudo rm /var/lib/dpkg/lock
andrew@linux-laptop:~$ sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
andrew@linux-laptop:~$ sudo mv /var/lib/dpkg/status /var/lib/dpkg/status-bad
andrew@linux-laptop:~$ sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status || sudo cp /var/backups/apt.extended_states.0 /var/lib/dpkg/status
andrew@linux-laptop:~$ sudo mv /var/lib/dpkg/available /var/lib/dpkg/available-bad
andrew@linux-laptop:~$ sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
andrew@linux-laptop:~$ sudo rm -rf /var/lib/dpkg/updates/*
andrew@linux-laptop:~$ sudo rm -rf /var/lib/apt/lists
andrew@linux-laptop:~$ sudo rm /var/cache/apt/*.bin
andrew@linux-laptop:~$ sudo mkdir /var/lib/apt/lists
andrew@linux-laptop:~$ sudo mkdir /var/lib/apt/lists/partial
andrew@linux-laptop:~$ LANG=C;sudo apt-get clean
andrew@linux-laptop:~$ LANG=C;sudo apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
andrew@linux-laptop:~$ sudo dpkg --configure -a
Setting up ifupdown (0.7.54ubuntu1) ...
Re-enabling /etc/init.d/networking...
insserv: warning: script 'friendly-recovery' missing LSB tags and overrides
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `friendly-recovery'
insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script `friendly-recovery'
insserv: Service mountkernfs has to be enabled to start service networking
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
insserv: Service mountkernfs has to be enabled to start service networking
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
dpkg: error processing package ifupdown (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up cups-browsed (1.0.76-1) ...
insserv: warning: script 'friendly-recovery' missing LSB tags and overrides
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `friendly-recovery'
insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script `friendly-recovery'
/usr/sbin/invoke-rc.d: 1: /usr/sbin/invoke-rc.d: /sbin/runlevel: not found
start: Job failed to start
invoke-rc.d: initscript cups-browsed, action "start" failed.
dpkg: error processing package cups-browsed (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up procps (1:3.3.9-1ubuntu8) ...
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
insserv: Service mountkernfs has to be enabled to start service procps
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
dpkg: error processing package procps (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent processing triggers for udev:
 udev depends on procps; however:
  Package procps is not configured yet.

dpkg: error processing package udev (--configure):
 dependency problems - leaving triggers unprocessed
dpkg: dependency problems prevent configuration of resolvconf:
 resolvconf depends on ifupdown (>= 0.7.5); however:
  Package ifupdown is not configured yet.

dpkg: error processing package resolvconf (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of cups:
 cups depends on procps; however:
  Package procps is not configured yet.

dpkg: error processing package cups (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of cups-daemon:
 cups-daemon depends on procps; however:
  Package procps is not configured yet.

dpkg: error processing package cups-daemon (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of cups-core-drivers:
 cups-core-drivers depends on cups-daemon (>= 2.1.0-4ubuntu3); however:
  Package cups-daemon is not configured yet.

dpkg: error processing package cups-core-drivers (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 ifupdown
 cups-browsed
 procps
 udev
 resolvconf
 cups
 cups-daemon
 cups-core-drivers
andrew@linux-laptop:~$ sudo dpkg --clear-avail
andrew@linux-laptop:~$ LANG=C;sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
7 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up ifupdown (0.7.54ubuntu1) ...
Re-enabling /etc/init.d/networking...
insserv: warning: script 'friendly-recovery' missing LSB tags and overrides
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `friendly-recovery'
insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script `friendly-recovery'
insserv: Service mountkernfs has to be enabled to start service networking
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
insserv: Service mountkernfs has to be enabled to start service networking
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
dpkg: error processing package ifupdown (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up cups-browsed (1.0.76-1) ...
insserv: warning: script 'friendly-recovery' missing LSB tags and overrides
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `friendly-recovery'
insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script `friendly-recovery'
/usr/sbin/invoke-rc.d: 1: /usr/sbin/invoke-rc.d: /sbin/runlevel: not found
start: Job failed to start
invoke-rc.d: initscript cups-browsed, action "start" failed.
dpkg: error processing package cups-browsed (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up procps (1:3.3.9-1ubuntu8) ...
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
insserv: Service mountkernfs has to be enabled to start service procps
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
dpkg: error processing package procps (--configure):
 subprocess installed post-installation script returned error exit status 1
/bin/df: '/s3': Transport endpoint is not connected
                                                   /bin/df: '/s3mnt': Transport endpoint is not connected
                         dpkg: dependency problems prevent configuration of cups-daemon:
 cups-daemon depends on procps; however:
  Package procps is not configured yet.

dpkg: error processing package cups-daemon (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of resolvconf:
 resolvconf depends on ifupdown (>= 0.7.5); however:
  Package ifupdown is not configured yet.

dpkg: error processing package resolvconf (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of cups-core-drivers:
 cups-core-drivers depends on cups-daemon (>= 2.1.0-4ubuntu3); however:
  Package cups-daemon is not configured yet.

dpkg: error processing package cups-core-drivers (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of cups:
 cups depends on cups-core-drivers (>= 2.1.0-4ubuntu3); however:
  Package cups-core-drivers is not configured yet.
 cups depends on cups-daemNo apport report written because MaxReports is reached already
        No apport report written because MaxReports is reached already
                                                                      No apport report written because MaxReports is reached already
                                                    No apport report written because MaxReports is reached already
                                  on (>= 2.1.0-4ubuntu3); however:
  Package cups-daemon is not configured yet.
 cups depends on procps; however:
  Package procps is not configured yet.

dpkg: error processing package cups (--configure):
 dependency problems - leaving unconfigured
E: Sub-process /usr/bin/dpkg returned an error code (1)
andrew@linux-laptop:~$ LANG=C;sudo apt-get --fix-missing install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
7 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up ifupdown (0.7.54ubuntu1) ...
Re-enabling /etc/init.d/networking...
insserv: warning: script 'friendly-recovery' missing LSB tags and overrides
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `friendly-recovery'
insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script `friendly-recovery'
insserv: Service mountkernfs has to be enabled to start service networking
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
insserv: Service mountkernfs has to be enabled to start service networking
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
dpkg: error processing package ifupdown (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up cups-browsed (1.0.76-1) ...
insserv: warning: script 'friendly-recovery' missing LSB tags and overrides
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `friendly-recovery'
insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script `friendly-recovery'
/usr/sbin/invoke-rc.d: 1: /usr/sbin/invoke-rc.d: /sbin/runlevel: not found
start: Job failed to start
invoke-rc.d: initscript cups-browsed, action "start" failed.
dpkg: error processing package cups-browsed (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up procps (1:3.3.9-1ubuntu8) ...
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
insserv: Service mountkernfs has to be enabled to start service procps
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
dpkg: error processing package procps (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of cups-daemon:
 cups-daemon depends on procps; however:
  Package procps is not configured yet.

dpkg: error processing package cups-daemon (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of resolvconf:
 resolvconf depends on ifupdown (>= 0.7.5); however:
  Package ifupdown is not configured yet.

dpkg: error processing package resolvconf (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of cups-core-drivers:
 cups-core-drivers depends on cups-daemon (>= 2.1.0-4ubuntu3); however:
  Package cups-daemon is not configured yet.

dpkg: error processing package cups-core-drivers (--configure):No apport report written because MaxReports is reached already
                                             No apport report written because MaxReports is reached already

 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              dpkg: dependency problems prevent configuration of cups:
 cups depends on cups-core-drivers (>= 2.1.0-4ubuntu3); however:
  Package cups-core-drivers is not configured yet.
 cups depends on cups-daemon (>= 2.1.0-4ubuntu3); however:
  Package cups-daemon is not configured yet.
 cups depends on procps; however:
  Package procps is not configured yet.

dpkg: error processing package cups (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              Errors were encountered while processing:
 ifupdown
 cups-browsed
 procps
 cups-daemon
 resolvconf
 cups-core-drivers
 cups
E: Sub-process /usr/bin/dpkg returned an error code (1)
andrew@linux-laptop:~$ LANG=C;sudo apt-get --purge autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
7 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up ifupdown (0.7.54ubuntu1) ...
Re-enabling /etc/init.d/networking...
insserv: warning: script 'friendly-recovery' missing LSB tags and overrides
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `friendly-recovery'
insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script `friendly-recovery'
insserv: Service mountkernfs has to be enabled to start service networking
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
insserv: Service mountkernfs has to be enabled to start service networking
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
dpkg: error processing package ifupdown (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up cups-browsed (1.0.76-1) ...
insserv: warning: script 'friendly-recovery' missing LSB tags and overrides
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `friendly-recovery'
insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script `friendly-recovery'
/usr/sbin/invoke-rc.d: 1: /usr/sbin/invoke-rc.d: /sbin/runlevel: not found
start: Job failed to start
invoke-rc.d: initscript cups-browsed, action "start" failed.
dpkg: error processing package cups-browsed (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up procps (1:3.3.9-1ubuntu8) ...
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
insserv: Service mountkernfs has to be enabled to start service procps
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
No apport report written because MaxReports is reached already
                                                              No apport report written because MaxReports is reached already
                                            No apport report written because MaxReports is reached already
                          No apport report written because MaxReports is reached already
        dpkg: error processing package procps (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of cups-daemon:
 cups-daemon depends on procps; however:
  Package procps is not configured yet.

dpkg: error processing package cups-daemon (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of resolvconf:
 resolvconf depends on ifupdown (>= 0.7.5); however:
  Package ifupdown is not configured yet.

dpkg: error processing package resolvconf (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of cups-core-drivers:
 cups-core-drivers depends on cups-daemon (>= 2.1.0-4ubuntu3); however:
  Package cups-daemon is not configured yet.

dpkg: error processing package cups-core-drivers (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of cups:
 cups depends on cups-core-drivers (>= 2.1.0-4ubuntu3); however:
  Package cups-core-drivers is not configured yet.
 cups depends on cups-daemon (>= 2.1.0-4ubuntu3); however:
  Package cups-daemon is not configured yet.
 cups depends on procps; however:
  Package procps is not configured yet.

dpkg: error processing package cups (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 ifupdown
 cups-browsed
 procps
 cups-daemon
 resolvconf
 cups-core-drivers
 cups
E: Sub-process /usr/bin/dpkg returned an error code (1)
andrew@linux-laptop:~$ LANG=C;sudo apt-get --fix-missing update -o APT::Cache-Limit=100000000
Ign http://dl.google.com stable InRelease
Get:1 http://dl.google.com stable Release.gpg [916 B]
Get:2 http://dl.google.com stable Release [1,189 B]
Get:3 http://dl.google.com stable/main amd64 Packages [1,341 B]
Ign http://extras.ubuntu.com trusty InRelease
Get:4 http://ppa.launchpad.net trusty InRelease [15.5 kB]
Get:5 http://us.archive.ubuntu.com wily InRelease [218 kB]
Ign http://cran.rstudio.com trusty/ InRelease
Ign http://my.archive.ubuntu.com trusty InRelease
Get:6 http://security.ubuntu.com trusty-security InRelease [65.9 kB]
Get:7 http://cran.rstudio.com trusty/ Release.gpg [473 B]
Get:8 http://cran.rstudio.com trusty/ Release [3,066 B]
Ign http://cran.rstudio.com trusty/ Release
Get:9 http://cran.rstudio.com trusty/ Packages [95.6 kB]
Get:10 http://extras.ubuntu.com trusty Release.gpg [72 B]
Get:11 http://my.archive.ubuntu.com trusty-updates InRelease [65.9 kB]
Get:12 http://ppa.launchpad.net trusty InRelease [15.5 kB]
Get:13 http://extras.ubuntu.com trusty Release [11.9 kB]
Get:14 http://ppa.launchpad.net trusty/main amd64 Packages [14 B]
Get:15 http://extras.ubuntu.com trusty/main Sources [14 B]
Get:16 http://extras.ubuntu.com trusty/main amd64 Packages [14 B]
Get:17 http://ppa.launchpad.net trusty/main i386 Packages [14 B]
Get:18 http://security.ubuntu.com trusty-security/main Sources [112 kB]
Get:19 http://extras.ubuntu.com trusty/main i386 Packages [14 B]
Get:20 http://ppa.launchpad.net trusty/main Translation-en [14 B]
Get:21 http://my.archive.ubuntu.com trusty-backports InRelease [65.9 kB]
Get:22 http://ppa.launchpad.net trusty/main amd64 Packages [40.0 kB]
Get:23 http://us.archive.ubuntu.com wily/main amd64 Packages [1,420 kB]
Get:24 http://my.archive.ubuntu.com trusty Release.gpg [933 B]
Get:25 http://my.archive.ubuntu.com trusty-updates/main Sources [273 kB]
Get:26 http://ppa.launchpad.net trusty/main i386 Packages [39.9 kB]
Get:27 http://security.ubuntu.com trusty-security/restricted Sources [4,035 B]
Ign http://cran.rstudio.com trusty/ Translation-en
Get:28 http://security.ubuntu.com trusty-security/universe Sources [35.9 kB]
Ign http://extras.ubuntu.com trusty/main Translation-en
Get:29 http://ppa.launchpad.net trusty/main Translation-en [19.0 kB]
Get:30 http://security.ubuntu.com trusty-security/multiverse Sources [2,764 B]
Get:31 http://my.archive.ubuntu.com trusty-updates/restricted Sources [5,352 B]
Get:32 http://security.ubuntu.com trusty-security/main amd64 Packages [458 kB]
Get:33 http://my.archive.ubuntu.com trusty-updates/universe Sources [154 kB]
Get:34 http://my.archive.ubuntu.com trusty-updates/multiverse Sources [5,928 B]
Get:35 http://my.archive.ubuntu.com trusty-updates/main amd64 Packages [756 kB]
Get:36 http://security.ubuntu.com trusty-security/restricted amd64 Packages [13.0 kB]
Get:37 http://security.ubuntu.com trusty-security/universe amd64 Packages [127 kB]
Get:38 http://us.archive.ubuntu.com wily/universe amd64 Packages [6,704 kB]
Get:39 http://security.ubuntu.com trusty-security/multiverse amd64 Packages [4,982 B]
Get:40 http://security.ubuntu.com trusty-security/main i386 Packages [433 kB]
Get:41 http://my.archive.ubuntu.com trusty-updates/restricted amd64 Packages [15.9 kB]
Get:42 http://my.archive.ubuntu.com trusty-updates/universe amd64 Packages [359 kB]
Get:43 http://my.archive.ubuntu.com trusty-updates/multiverse amd64 Packages [13.2 kB]
Get:44 http://my.archive.ubuntu.com trusty-updates/main i386 Packages [723 kB]
Get:45 http://security.ubuntu.com trusty-security/restricted i386 Packages [12.7 kB]
Get:46 http://security.ubuntu.com trusty-security/universe i386 Packages [127 kB]
Get:47 http://security.ubuntu.com trusty-security/multiverse i386 Packages [5,172 B]
Get:48 http://security.ubuntu.com trusty-security/main Translation-en [252 kB]
Get:49 http://my.archive.ubuntu.com trusty-updates/restricted i386 Packages [15.6 kB]
Get:50 http://my.archive.ubuntu.com trusty-updates/universe i386 Packages [360 kB]
Get:51 http://security.ubuntu.com trusty-security/multiverse Translation-en [2,570 B]
Get:52 http://security.ubuntu.com trusty-security/restricted Translation-en [3,206 B]
Get:53 http://security.ubuntu.com trusty-security/universe Translation-en [74.9 kB]
Get:54 http://my.archive.ubuntu.com trusty-updates/multiverse i386 Packages [13.6 kB]
Get:55 http://my.archive.ubuntu.com trusty-updates/main Translation-en [378 kB]
Get:56 http://my.archive.ubuntu.com trusty-updates/multiverse Translation-en [7,227 B]
Get:57 http://my.archive.ubuntu.com trusty-updates/restricted Translation-en [3,699 B]
Get:58 http://my.archive.ubuntu.com trusty-updates/universe Translation-en [188 kB]
Get:59 http://my.archive.ubuntu.com trusty-backports/main Sources [8,948 B]
Get:60 http://us.archive.ubuntu.com wily/main i386 Packages [1,416 kB]
Get:61 http://my.archive.ubuntu.com trusty-backports/restricted Sources [28 B]
Get:62 http://my.archive.ubuntu.com trusty-backports/universe Sources [34.5 kB]
Get:63 http://my.archive.ubuntu.com trusty-backports/multiverse Sources [1,898 B]
Get:64 http://my.archive.ubuntu.com trusty-backports/main amd64 Packages [9,998 B]
Get:65 http://my.archive.ubuntu.com trusty-backports/restricted amd64 Packages [28 B]
Get:66 http://us.archive.ubuntu.com wily/universe i386 Packages [6,701 kB]
Get:67 http://my.archive.ubuntu.com trusty-backports/universe amd64 Packages [41.5 kB]
Get:68 http://my.archive.ubuntu.com trusty-backports/multiverse amd64 Packages [1,571 B]
Get:69 http://my.archive.ubuntu.com trusty-backports/main i386 Packages [9,974 B]
Get:70 http://my.archive.ubuntu.com trusty-backports/restricted i386 Packages [28 B]
Get:71 http://my.archive.ubuntu.com trusty-backports/universe i386 Packages [41.5 kB]
Get:72 http://my.archive.ubuntu.com trusty-backports/multiverse i386 Packages [1,552 B]
Get:73 http://my.archive.ubuntu.com trusty-backports/main Translation-en [5,986 B]
Get:74 http://my.archive.ubuntu.com trusty-backports/multiverse Translation-en [1,215 B]
Get:75 http://my.archive.ubuntu.com trusty-backports/restricted Translation-en [28 B]
Get:76 http://my.archive.ubuntu.com trusty-backports/universe Translation-en [36.0 kB]
Get:77 http://my.archive.ubuntu.com trusty Release [58.5 kB]
Get:78 http://my.archive.ubuntu.com trusty/main Sources [1,064 kB]
Get:79 http://us.archive.ubuntu.com wily/main Translation-en [839 kB]
Get:80 http://us.archive.ubuntu.com wily/universe Translation-en [4,579 kB]
Get:81 http://my.archive.ubuntu.com trusty/restricted Sources [5,433 B]
Get:82 http://my.archive.ubuntu.com trusty/universe Sources [6,399 kB]
Get:83 http://my.archive.ubuntu.com trusty/multiverse Sources [174 kB]
Get:84 http://my.archive.ubuntu.com trusty/main amd64 Packages [1,350 kB]
Get:85 http://my.archive.ubuntu.com trusty/restricted amd64 Packages [13.0 kB]
Get:86 http://my.archive.ubuntu.com trusty/universe amd64 Packages [5,859 kB]
Get:87 http://my.archive.ubuntu.com trusty/multiverse amd64 Packages [132 kB]
Get:88 http://my.archive.ubuntu.com trusty/main i386 Packages [1,348 kB]
Get:89 http://my.archive.ubuntu.com trusty/restricted i386 Packages [13.4 kB]
Get:90 http://my.archive.ubuntu.com trusty/universe i386 Packages [5,866 kB]
Get:91 http://my.archive.ubuntu.com trusty/multiverse i386 Packages [134 kB]
Get:92 http://my.archive.ubuntu.com trusty/main Translation-en [762 kB]
Get:93 http://my.archive.ubuntu.com trusty/multiverse Translation-en [102 kB]
Get:94 http://my.archive.ubuntu.com trusty/restricted Translation-en [3,457 B]
Get:95 http://my.archive.ubuntu.com trusty/universe Translation-en [4,089 kB]
Fetched 54.8 MB in 1min 44s (527 kB/s)
W: There is no public key available for the following key IDs:
1397BC53640DB551
W: GPG error: http://cran.rstudio.com trusty/ Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 51716619E084DAB9
W: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/Release Unable to find expected entry 'main/binary-i386/Packages' in Release file (Wrong sources.list entry or malformed file)

E: Some index files failed to download. They have been ignored, or old ones used instead.
andrew@linux-laptop:~$ LANG=C;sudo apt-get update -o APT::Cache-Limit=100000000 && sudo apt-get dist-upgrade
Ign http://cran.rstudio.com trusty/ InRelease
Ign http://dl.google.com stable InRelease
Get:1 http://cran.rstudio.com trusty/ Release.gpg [473 B]
Hit http://dl.google.com stable Release.gpg
Hit http://cran.rstudio.com trusty/ Release
Ign http://cran.rstudio.com trusty/ Release
Hit http://dl.google.com stable Release
Hit http://dl.google.com stable/main amd64 Packages
Hit http://security.ubuntu.com trusty-security InRelease
Ign http://extras.ubuntu.com trusty InRelease
Hit http://ppa.launchpad.net trusty InRelease
Hit http://us.archive.ubuntu.com wily InRelease
Ign http://my.archive.ubuntu.com trusty InRelease
Ign http://cran.rstudio.com trusty/ Packages/DiffIndex
Hit http://extras.ubuntu.com trusty Release.gpg
Hit http://ppa.launchpad.net trusty InRelease
Get:2 http://cran.rstudio.com trusty/ Packages [95.6 kB]
Hit http://my.archive.ubuntu.com trusty-updates InRelease
Hit http://extras.ubuntu.com trusty Release
Ign http://cran.rstudio.com trusty/ Translation-en
Hit http://my.archive.ubuntu.com trusty-backports InRelease
Hit http://my.archive.ubuntu.com trusty Release.gpg
Hit http://extras.ubuntu.com trusty/main Sources
Hit http://extras.ubuntu.com trusty/main amd64 Packages
Hit http://ppa.launchpad.net trusty/main amd64 Packages
Hit http://us.archive.ubuntu.com wily/main amd64 Packages
Hit http://extras.ubuntu.com trusty/main i386 Packages
Hit http://ppa.launchpad.net trusty/main i386 Packages
Hit http://us.archive.ubuntu.com wily/universe amd64 Packages
Hit http://ppa.launchpad.net trusty/main Translation-en
Hit http://us.archive.ubuntu.com wily/main i386 Packages
Hit http://ppa.launchpad.net trusty/main amd64 Packages
Hit http://us.archive.ubuntu.com wily/universe i386 Packages
Hit http://ppa.launchpad.net trusty/main i386 Packages
Hit http://us.archive.ubuntu.com wily/main Translation-en
Hit http://ppa.launchpad.net trusty/main Translation-en
Ign http://extras.ubuntu.com trusty/main Translation-en
Hit http://us.archive.ubuntu.com wily/universe Translation-en
Hit http://security.ubuntu.com trusty-security/main Sources
Hit http://security.ubuntu.com trusty-security/restricted Sources
Hit http://security.ubuntu.com trusty-security/universe Sources
Hit http://security.ubuntu.com trusty-security/multiverse Sources
Hit http://security.ubuntu.com trusty-security/main amd64 Packages
Hit http://security.ubuntu.com trusty-security/restricted amd64 Packages
Hit http://security.ubuntu.com trusty-security/universe amd64 Packages
Hit http://security.ubuntu.com trusty-security/multiverse amd64 Packages
Hit http://security.ubuntu.com trusty-security/main i386 Packages
Hit http://security.ubuntu.com trusty-security/restricted i386 Packages
Hit http://security.ubuntu.com trusty-security/universe i386 Packages
Hit http://security.ubuntu.com trusty-security/multiverse i386 Packages
Hit http://security.ubuntu.com trusty-security/main Translation-en
Hit http://security.ubuntu.com trusty-security/multiverse Translation-en
Hit http://security.ubuntu.com trusty-security/restricted Translation-en
Hit http://security.ubuntu.com trusty-security/universe Translation-en
Hit http://my.archive.ubuntu.com trusty Release
Hit http://my.archive.ubuntu.com trusty-updates/main Sources
Hit http://my.archive.ubuntu.com trusty-updates/restricted Sources
Hit http://my.archive.ubuntu.com trusty-updates/universe Sources
Hit http://my.archive.ubuntu.com trusty-updates/multiverse Sources
Hit http://my.archive.ubuntu.com trusty-updates/main amd64 Packages
Hit http://my.archive.ubuntu.com trusty-updates/restricted amd64 Packages
Hit http://my.archive.ubuntu.com trusty-updates/universe amd64 Packages
Hit http://my.archive.ubuntu.com trusty-updates/multiverse amd64 Packages
Hit http://my.archive.ubuntu.com trusty-updates/main i386 Packages
Hit http://my.archive.ubuntu.com trusty-updates/restricted i386 Packages
Hit http://my.archive.ubuntu.com trusty-updates/universe i386 Packages
Hit http://my.archive.ubuntu.com trusty-updates/multiverse i386 Packages
Hit http://my.archive.ubuntu.com trusty-updates/main Translation-en
Hit http://my.archive.ubuntu.com trusty-updates/multiverse Translation-en
Hit http://my.archive.ubuntu.com trusty-updates/restricted Translation-en
Hit http://my.archive.ubuntu.com trusty-updates/universe Translation-en
Hit http://my.archive.ubuntu.com trusty-backports/main Sources
Hit http://my.archive.ubuntu.com trusty-backports/restricted Sources
Hit http://my.archive.ubuntu.com trusty-backports/universe Sources
Hit http://my.archive.ubuntu.com trusty-backports/multiverse Sources
Hit http://my.archive.ubuntu.com trusty-backports/main amd64 Packages
Hit http://my.archive.ubuntu.com trusty-backports/restricted amd64 Packages
Hit http://my.archive.ubuntu.com trusty-backports/universe amd64 Packages
Hit http://my.archive.ubuntu.com trusty-backports/multiverse amd64 Packages
Hit http://my.archive.ubuntu.com trusty-backports/main i386 Packages
Hit http://my.archive.ubuntu.com trusty-backports/restricted i386 Packages
Hit http://my.archive.ubuntu.com trusty-backports/universe i386 Packages
Hit http://my.archive.ubuntu.com trusty-backports/multiverse i386 Packages
Hit http://my.archive.ubuntu.com trusty-backports/main Translation-en
Hit http://my.archive.ubuntu.com trusty-backports/multiverse Translation-en
Hit http://my.archive.ubuntu.com trusty-backports/restricted Translation-en
Hit http://my.archive.ubuntu.com trusty-backports/universe Translation-en
Hit http://my.archive.ubuntu.com trusty/main Sources
Hit http://my.archive.ubuntu.com trusty/restricted Sources
Hit http://my.archive.ubuntu.com trusty/universe Sources
Hit http://my.archive.ubuntu.com trusty/multiverse Sources
Hit http://my.archive.ubuntu.com trusty/main amd64 Packages
Hit http://my.archive.ubuntu.com trusty/restricted amd64 Packages
Hit http://my.archive.ubuntu.com trusty/universe amd64 Packages
Hit http://my.archive.ubuntu.com trusty/multiverse amd64 Packages
Hit http://my.archive.ubuntu.com trusty/main i386 Packages
Hit http://my.archive.ubuntu.com trusty/restricted i386 Packages
Hit http://my.archive.ubuntu.com trusty/universe i386 Packages
Hit http://my.archive.ubuntu.com trusty/multiverse i386 Packages
Hit http://my.archive.ubuntu.com trusty/main Translation-en
Hit http://my.archive.ubuntu.com trusty/multiverse Translation-en
Hit http://my.archive.ubuntu.com trusty/restricted Translation-en
Hit http://my.archive.ubuntu.com trusty/universe Translation-en
Fetched 96.1 kB in 34s (2,800 B/s)
W: GPG error: http://cran.rstudio.com trusty/ Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 51716619E084DAB9
W: There is no public key available for the following key IDs:
1397BC53640DB551
W: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/Release Unable to find expected entry 'main/binary-i386/Packages' in Release file (Wrong sources.list entry or malformed file)

E: Some index files failed to download. They have been ignored, or old ones used instead.
andrew@linux-laptop:~$ find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' _ '{}' \;

/etc/apt/sources.list

     1 # deb cdrom:[Ubuntu 14.04.3 LTS _Trusty Tahr_ - Beta amd64 (20150805)]/ trusty main restricted
     2
     3 # included from teh web
     4 deb http://us.archive.ubuntu.com/ubuntu wily main universe
     5
     6 # R
     7 deb http://cran.rstudio.com/bin/linux/ubuntu trusty/
     8
     9 # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
    10 # newer versions of the distribution.
    11 deb http://my.archive.ubuntu.com/ubuntu/ trusty main restricted
    12 deb-src http://my.archive.ubuntu.com/ubuntu/ trusty main restricted
    13
    14 ## Major bug fix updates produced after the final release of the
    15 ## distribution.
    16 deb http://my.archive.ubuntu.com/ubuntu/ trusty-updates main restricted
    17 deb-src http://my.archive.ubuntu.com/ubuntu/ trusty-updates main restricted
    18
    19 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    20 ## team. Also, please note that software in universe WILL NOT receive any
    21 ## review or updates from the Ubuntu security team.
    22 deb http://my.archive.ubuntu.com/ubuntu/ trusty universe
    23 deb-src http://my.archive.ubuntu.com/ubuntu/ trusty universe
    24 deb http://my.archive.ubuntu.com/ubuntu/ trusty-updates universe
    25 deb-src http://my.archive.ubuntu.com/ubuntu/ trusty-updates universe
    26
    27 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    28 ## team, and may not be under a free licence. Please satisfy yourself as to
    29 ## your rights to use the software. Also, please note that software in
    30 ## multiverse WILL NOT receive any review or updates from the Ubuntu
    31 ## security team.
    32 deb http://my.archive.ubuntu.com/ubuntu/ trusty multiverse
    33 deb-src http://my.archive.ubuntu.com/ubuntu/ trusty multiverse
    34 deb http://my.archive.ubuntu.com/ubuntu/ trusty-updates multiverse
    35 deb-src http://my.archive.ubuntu.com/ubuntu/ trusty-updates multiverse
    36
    37 ## N.B. software from this repository may not have been tested as
    38 ## extensively as that contained in the main release, although it includes
    39 ## newer versions of some applications which may provide useful features.
    40 ## Also, please note that software in backports WILL NOT receive any review
    41 ## or updates from the Ubuntu security team.
    42 deb http://my.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
    43 deb-src http://my.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
    44
    45 deb http://security.ubuntu.com/ubuntu trusty-security main restricted
    46 deb-src http://security.ubuntu.com/ubuntu trusty-security main restricted
    47 deb http://security.ubuntu.com/ubuntu trusty-security universe
    48 deb-src http://security.ubuntu.com/ubuntu trusty-security universe
    49 deb http://security.ubuntu.com/ubuntu trusty-security multiverse
    50 deb-src http://security.ubuntu.com/ubuntu trusty-security multiverse
    51
    52 ## Uncomment the following two lines to add software from Canonical's
    53 ## 'partner' repository.
    54 ## This software is not part of Ubuntu, but is offered by Canonical and the
    55 ## respective vendors as a service to Ubuntu users.
    56 # deb http://archive.canonical.com/ubuntu trusty partner
    57 # deb-src http://archive.canonical.com/ubuntu trusty partner
    58
    59 ## This software is not part of Ubuntu, but is offered by third-party
    60 ## developers who want to ship their latest software.
    61 deb http://extras.ubuntu.com/ubuntu trusty main
    62 deb-src http://extras.ubuntu.com/ubuntu trusty main

/etc/apt/sources.list.d/ubuntugis-ubuntugis-unstable-trusty.list

     1 deb http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu trusty main
     2 # deb-src http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu trusty main
     3 # deb-src http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu trusty main
     4 # deb-src http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu trusty main

/etc/apt/sources.list.d/grass-grass-stable-trusty.list

     1 deb http://ppa.launchpad.net/grass/grass-stable/ubuntu trusty main
     2 # deb-src http://ppa.launchpad.net/grass/grass-stable/ubuntu trusty main
     3 # deb-src http://ppa.launchpad.net/grass/grass-stable/ubuntu trusty main
     4 # deb-src http://ppa.launchpad.net/grass/grass-stable/ubuntu trusty main

/etc/apt/sources.list.d/google.list

     1 deb http://dl.google.com/linux/chrome/deb/ stable main
     2 deb http://dl.google.com/linux/chrome/deb/ stable main
andrew@linux-laptop:~$ sudo dpkg --audit
The following packages have been unpacked but not yet configured.
They must be configured using dpkg --configure or the configure
menu option in dselect for them to work:
 cups Common UNIX Printing System(tm) - PPD/driver support, web
 cups-core-drivers Common UNIX Printing System(tm) - PPD-less printing
 resolvconf name server information handler

The following packages are only half configured, probably due to problems
configuring them the first time. The configuration should be retried using
dpkg --configure <package> or the configure menu option in dselect:
 cups-browsed OpenPrinting CUPS Filters - cups-browsed
 cups-daemon Common UNIX Printing System(tm) - daemon
 ifupdown high level tools to configure network interfaces
 procps /proc file system utilities

The following packages have been triggered, but the trigger processing
has not yet been done. Trigger processing can be requested using
dselect or dpkg --configure --pending (or dpkg --triggers-only):
 udev /dev/ and hotplug management daemon

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu apt Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Launchpad Janitor (janitor) said :
#1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.