Package Manager Troubleshooting Procedure

Asked by Richard Benedict

Hi, my package manager wasn't updating so I did some googling and went to the Ubuntu help page with the above title. Here's the output from Step 6 of the procedure:

richard@richard-A880GZ:~$ ubuntu-support-status
Support status summary of 'richard-A880GZ':

You have 1841 packages (86.9%) supported until May 2019 (5y)
You have 7 packages (0.3%) supported until April 2016 (9m)
You have 124 packages (5.9%) supported until May 2017 (3y)
You have 63 packages (3.0%) supported until February 2015 (9m)

You have 19 packages (0.9%) that can not/no longer be downloaded
You have 65 packages (3.1%) that are unsupported

Run with --show-unsupported, --show-supported or --show-all to see more details
richard@richard-A880GZ:~$ cat /etc/dpkg/dpkg.cfg.d/multiarch
cat: /etc/dpkg/dpkg.cfg.d/multiarch: No such file or directory
richard@richard-A880GZ:~$ dpkg --print-foreign-architectures
i386
richard@richard-A880GZ:~$ sudo grep -R proxy /etc/apt/*
richard@richard-A880GZ:~$ grep proxy /etc/environment
richard@richard-A880GZ:~$ echo $http_proxy

richard@richard-A880GZ:~$ echo $ftp_proxy

richard@richard-A880GZ:~$ grp proxy /etc/bash.bashrc
No command 'grp' found, but there are 16 similar ones
grp: command not found
richard@richard-A880GZ:~$ grep proxy /etc/bash.bashrc
richard@richard-A880GZ:~$ grep proxy ~/.bashrc
richard@richard-A880GZ:~$ cat /etc/apt/apt.conf
cat: /etc/apt/apt.conf: No such file or directory
richard@richard-A880GZ:~$ sudo fuser -vvv /var/lib/dpkg/lock
richard@richard-A880GZ:~$ sudo fuser -vvv /var/cache/apt/archives/lock
richard@richard-A880GZ:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04.2 LTS"
richard@richard-A880GZ:~$ uname -a
Linux richard-A880GZ 3.13.0-58-lowlatency #97-Ubuntu SMP PREEMPT Wed Jul 8 03:24:29 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
richard@richard-A880GZ:~$ sudo rm /var/lib/apt/lists/lock
richard@richard-A880GZ:~$ sudo rm /var/cache/apt/archives/lock
richard@richard-A880GZ:~$ sudo rm /var/lib/dpkg/lock
richard@richard-A880GZ:~$ sudo cp -arf /var/lib/dpkg/ /var/lib/dpkg.backup
richard@richard-A880GZ:~$ sudo mv /var/lib/dpkg/status /var/lib/dpkg/status-bad
richard@richard-A880GZ:~$ sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status || sudo cp /var/backups/apt.extended_states.0 /var/lib/dpkg/status
richard@richard-A880GZ:~$ sudo mv /var/lib/dpkg/available /var/lib/dpkg/available-bad
richard@richard-A880GZ:~$ sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
richard@richard-A880GZ:~$ sudo rm -rf /var/lib/dpkg/updates/*
richard@richard-A880GZ:~$ sudo rm -rf /var/lib/apt/lists
richard@richard-A880GZ:~$ sudo rm /var/cache/apt/*.bin
richard@richard-A880GZ:~$ sudo mkdir /var/lib/apt/lists
richard@richard-A880GZ:~$ sudo mkdir /var/lib/apt/lists/partial
richard@richard-A880GZ:~$ LANG=C;sudo apt-get clean
richard@richard-A880GZ:~$ LANG=C;sudo apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
richard@richard-A880GZ:~$ 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.
richard@richard-A880GZ:~$ LANG=C;sudo apt-get --fix-missing update -o APT::Cache-Limit=100000000
Ign http://dl.google.com stable InRelease
Ign http://ca.archive.ubuntu.com trusty InRelease
Ign http://ca.archive.ubuntu.com trusty-updates InRelease
Get:1 http://dl.google.com stable Release.gpg [198 B]
Ign http://ca.archive.ubuntu.com trusty-backports InRelease
Get:2 http://dl.google.com stable Release [1347 B]
Get:3 http://ca.archive.ubuntu.com trusty Release.gpg [933 B]
Ign http://extras.ubuntu.com trusty InRelease
Ign http://security.ubuntu.com trusty-security InRelease
Get:4 http://ca.archive.ubuntu.com trusty-updates Release.gpg [933 B]
Get:5 http://dl.google.com stable/main amd64 Packages [730 B]
Get:6 http://ca.archive.ubuntu.com trusty-backports Release.gpg [933 B]
Get:7 http://ca.archive.ubuntu.com trusty Release [58.5 kB]
Get:8 http://dl.google.com stable/main i386 Packages [724 B]
Get:9 http://security.ubuntu.com trusty-security Release.gpg [933 B]
Get:10 http://security.ubuntu.com trusty-security Release [63.5 kB]
Get:11 http://ca.archive.ubuntu.com trusty-updates Release [63.5 kB]
Get:12 http://repository.spotify.com stable InRelease [3300 B]
Get:13 http://repository.spotify.com stable/non-free amd64 Packages [1433 B]
Get:14 http://extras.ubuntu.com trusty Release.gpg [72 B]
Ign http://dl.google.com stable/main Translation-en
Get:15 http://extras.ubuntu.com trusty Release [11.9 kB]
Get:16 http://repository.spotify.com stable/non-free i386 Packages [1204 B]
Get:17 http://ca.archive.ubuntu.com trusty-backports Release [63.5 kB]
Get:18 http://security.ubuntu.com trusty-security/main Sources [88.7 kB]
Ign http://repository.spotify.com stable/non-free Translation-en
Get:19 http://extras.ubuntu.com trusty/main Sources [14 B]
Get:20 http://extras.ubuntu.com trusty/main amd64 Packages [14 B]
Get:21 http://extras.ubuntu.com trusty/main i386 Packages [14 B]
Get:22 http://security.ubuntu.com trusty-security/restricted Sources [2061 B]
Get:23 http://security.ubuntu.com trusty-security/universe Sources [28.1 kB]
Get:24 http://ca.archive.ubuntu.com trusty/main Sources [1064 kB]
Ign http://extras.ubuntu.com trusty/main Translation-en
Get:25 http://security.ubuntu.com trusty-security/multiverse Sources [2334 B]
Get:26 http://security.ubuntu.com trusty-security/main amd64 Packages [315 kB]
Ign http://archive.canonical.com trusty InRelease
Get:27 http://archive.canonical.com trusty Release.gpg [933 B]
Get:28 http://archive.canonical.com trusty Release [9359 B]
Get:29 http://archive.canonical.com trusty/partner amd64 Packages [5632 B]
Get:30 http://archive.canonical.com trusty/partner i386 Packages [6306 B]
Ign http://archive.canonical.com trusty/partner Translation-en
Get:31 http://security.ubuntu.com trusty-security/restricted amd64 Packages [8875 B]
Get:32 http://security.ubuntu.com trusty-security/universe amd64 Packages [111 kB]
Get:33 http://ca.archive.ubuntu.com trusty/restricted Sources [5433 B]
Get:34 http://ca.archive.ubuntu.com trusty/universe Sources [6399 kB]
Get:35 http://security.ubuntu.com trusty-security/multiverse amd64 Packages [3683 B]
Get:36 http://security.ubuntu.com trusty-security/main i386 Packages [300 kB]
Get:37 http://security.ubuntu.com trusty-security/restricted i386 Packages [8846 B]
Get:38 http://security.ubuntu.com trusty-security/universe i386 Packages [111 kB]
Get:39 http://security.ubuntu.com trusty-security/multiverse i386 Packages [3838 B]
Get:40 http://security.ubuntu.com trusty-security/main Translation-en [169 kB]
Get:41 http://security.ubuntu.com trusty-security/multiverse Translation-en [1679 B]
Get:42 http://security.ubuntu.com trusty-security/restricted Translation-en [2266 B]
Get:43 http://security.ubuntu.com trusty-security/universe Translation-en [64.0 kB]
Get:44 http://ca.archive.ubuntu.com trusty/multiverse Sources [174 kB]
Get:45 http://ca.archive.ubuntu.com trusty/main amd64 Packages [1350 kB]
Get:46 http://ca.archive.ubuntu.com trusty/restricted amd64 Packages [13.0 kB]
Get:47 http://ca.archive.ubuntu.com trusty/universe amd64 Packages [5859 kB]
Get:48 http://ca.archive.ubuntu.com trusty/multiverse amd64 Packages [132 kB]
Get:49 http://ca.archive.ubuntu.com trusty/main i386 Packages [1348 kB]
Get:50 http://ca.archive.ubuntu.com trusty/restricted i386 Packages [13.4 kB]
Get:51 http://ca.archive.ubuntu.com trusty/universe i386 Packages [5866 kB]
Get:52 http://ca.archive.ubuntu.com trusty/multiverse i386 Packages [134 kB]
Get:53 http://ca.archive.ubuntu.com trusty/main Translation-en [762 kB]
Get:54 http://ca.archive.ubuntu.com trusty/multiverse Translation-en [102 kB]
Get:55 http://ca.archive.ubuntu.com trusty/restricted Translation-en [3457 B]
Get:56 http://ca.archive.ubuntu.com trusty/universe Translation-en [4089 kB]
Get:57 http://ca.archive.ubuntu.com trusty-updates/main Sources [223 kB]
Get:58 http://ca.archive.ubuntu.com trusty-updates/restricted Sources [3433 B]
Get:59 http://ca.archive.ubuntu.com trusty-updates/universe Sources [127 kB]
Get:60 http://ca.archive.ubuntu.com trusty-updates/multiverse Sources [5138 B]
Get:61 http://ca.archive.ubuntu.com trusty-updates/main amd64 Packages [584 kB]
Get:62 http://ca.archive.ubuntu.com trusty-updates/restricted amd64 Packages [11.8 kB]
Get:63 http://ca.archive.ubuntu.com trusty-updates/universe amd64 Packages [297 kB]
Get:64 http://ca.archive.ubuntu.com trusty-updates/multiverse amd64 Packages [12.0 kB]
Get:65 http://ca.archive.ubuntu.com trusty-updates/main i386 Packages [567 kB]
Get:66 http://ca.archive.ubuntu.com trusty-updates/restricted i386 Packages [11.8 kB]
Get:67 http://ca.archive.ubuntu.com trusty-updates/universe i386 Packages [298 kB]
Get:68 http://ca.archive.ubuntu.com trusty-updates/multiverse i386 Packages [12.1 kB]
Get:69 http://ca.archive.ubuntu.com trusty-updates/main Translation-en [281 kB]
Get:70 http://ca.archive.ubuntu.com trusty-updates/multiverse Translation-en [6148 B]
Get:71 http://ca.archive.ubuntu.com trusty-updates/restricted Translation-en [2774 B]
Get:72 http://ca.archive.ubuntu.com trusty-updates/universe Translation-en [157 kB]
Get:73 http://ca.archive.ubuntu.com trusty-backports/main Sources [5851 B]
Get:74 http://ca.archive.ubuntu.com trusty-backports/restricted Sources [28 B]
Get:75 http://ca.archive.ubuntu.com trusty-backports/universe Sources [28.4 kB]
Get:76 http://ca.archive.ubuntu.com trusty-backports/multiverse Sources [1898 B]
Get:77 http://ca.archive.ubuntu.com trusty-backports/main amd64 Packages [6256 B]
Get:78 http://ca.archive.ubuntu.com trusty-backports/restricted amd64 Packages [28 B]
Get:79 http://ca.archive.ubuntu.com trusty-backports/universe amd64 Packages [32.6 kB]
Get:80 http://ca.archive.ubuntu.com trusty-backports/multiverse amd64 Packages [1571 B]
Get:81 http://ca.archive.ubuntu.com trusty-backports/main i386 Packages [6285 B]
Get:82 http://ca.archive.ubuntu.com trusty-backports/restricted i386 Packages [28 B]
Get:83 http://ca.archive.ubuntu.com trusty-backports/universe i386 Packages [32.6 kB]
Get:84 http://ca.archive.ubuntu.com trusty-backports/multiverse i386 Packages [1552 B]
Get:85 http://ca.archive.ubuntu.com trusty-backports/main Translation-en [3645 B]
Get:86 http://ca.archive.ubuntu.com trusty-backports/multiverse Translation-en [1215 B]
Get:87 http://ca.archive.ubuntu.com trusty-backports/restricted Translation-en [14 B]
Get:88 http://ca.archive.ubuntu.com trusty-backports/universe Translation-en [29.6 kB]
Fetched 31.6 MB in 3min 41s (142 kB/s)
Reading package lists... Done
richard@richard-A880GZ:~$ sudo dpkg --configure -a
richard@richard-A880GZ:~$ sudo dpkg --clear-avail
richard@richard-A880GZ:~$ 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.
richard@richard-A880GZ:~$ 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.
richard@richard-A880GZ:~$ LANG=C;sudo apt-get update -o APT::Cache-Limit=100000000 && sudo apt-get dist-upgrade
Ign http://ca.archive.ubuntu.com trusty InRelease
Ign http://ca.archive.ubuntu.com trusty-updates InRelease
Ign http://ca.archive.ubuntu.com trusty-backports InRelease
Hit http://ca.archive.ubuntu.com trusty Release.gpg
Ign http://archive.canonical.com trusty InRelease
Ign http://extras.ubuntu.com trusty InRelease
Hit http://archive.canonical.com trusty Release.gpg
Hit http://extras.ubuntu.com trusty Release.gpg
Hit http://repository.spotify.com stable InRelease
Get:1 http://ca.archive.ubuntu.com trusty-updates Release.gpg [933 B]
Hit http://extras.ubuntu.com trusty Release
Hit http://repository.spotify.com stable/non-free amd64 Packages
Hit http://ca.archive.ubuntu.com trusty-backports Release.gpg
Hit http://ca.archive.ubuntu.com trusty Release
Get:2 http://ca.archive.ubuntu.com trusty-updates Release [63.5 kB]
Hit http://extras.ubuntu.com trusty/main Sources
Hit http://repository.spotify.com stable/non-free i386 Packages
Hit http://extras.ubuntu.com trusty/main amd64 Packages
Ign http://repository.spotify.com stable/non-free Translation-en
Hit http://extras.ubuntu.com trusty/main i386 Packages
Hit http://archive.canonical.com trusty Release
Hit http://ca.archive.ubuntu.com trusty-backports Release
Hit http://ca.archive.ubuntu.com trusty/main Sources
Hit http://ca.archive.ubuntu.com trusty/restricted Sources
Hit http://ca.archive.ubuntu.com trusty/universe Sources
Ign http://security.ubuntu.com trusty-security InRelease
Hit http://archive.canonical.com trusty/partner amd64 Packages
Hit http://ca.archive.ubuntu.com trusty/multiverse Sources
Hit http://ca.archive.ubuntu.com trusty/main amd64 Packages
Hit http://ca.archive.ubuntu.com trusty/restricted amd64 Packages
Hit http://ca.archive.ubuntu.com trusty/universe amd64 Packages
Hit http://archive.canonical.com trusty/partner i386 Packages
Ign http://extras.ubuntu.com trusty/main Translation-en
Hit http://ca.archive.ubuntu.com trusty/multiverse amd64 Packages
Hit http://ca.archive.ubuntu.com trusty/main i386 Packages
Hit http://ca.archive.ubuntu.com trusty/restricted i386 Packages
Hit http://security.ubuntu.com trusty-security Release.gpg
Hit http://ca.archive.ubuntu.com trusty/universe i386 Packages
Hit http://security.ubuntu.com trusty-security Release
Hit http://ca.archive.ubuntu.com trusty/multiverse i386 Packages
Hit http://ca.archive.ubuntu.com trusty/main Translation-en
Hit http://security.ubuntu.com trusty-security/main Sources
Hit http://ca.archive.ubuntu.com trusty/multiverse Translation-en
Hit http://security.ubuntu.com trusty-security/restricted Sources
Hit http://ca.archive.ubuntu.com trusty/restricted Translation-en
Hit http://security.ubuntu.com trusty-security/universe Sources
Ign http://archive.canonical.com trusty/partner Translation-en
Hit http://ca.archive.ubuntu.com trusty/universe Translation-en
Hit http://security.ubuntu.com trusty-security/multiverse Sources
Get:3 http://ca.archive.ubuntu.com trusty-updates/main Sources [223 kB]
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
Get:4 http://ca.archive.ubuntu.com trusty-updates/restricted Sources [3433 B]
Get:5 http://ca.archive.ubuntu.com trusty-updates/universe Sources [127 kB]
Get:6 http://ca.archive.ubuntu.com trusty-updates/multiverse Sources [5138 B]
Get:7 http://ca.archive.ubuntu.com trusty-updates/main amd64 Packages [584 kB]
Ign http://dl.google.com stable InRelease
Hit http://dl.google.com stable Release.gpg
Hit http://dl.google.com stable Release
Hit http://dl.google.com stable/main amd64 Packages
Hit http://dl.google.com stable/main i386 Packages
Ign http://dl.google.com stable/main Translation-en
Get:8 http://ca.archive.ubuntu.com trusty-updates/restricted amd64 Packages [11.8 kB]
Get:9 http://ca.archive.ubuntu.com trusty-updates/universe amd64 Packages [297 kB]
Get:10 http://ca.archive.ubuntu.com trusty-updates/multiverse amd64 Packages [12.0 kB]
Get:11 http://ca.archive.ubuntu.com trusty-updates/main i386 Packages [567 kB]
Get:12 http://ca.archive.ubuntu.com trusty-updates/restricted i386 Packages [11.8 kB]
Get:13 http://ca.archive.ubuntu.com trusty-updates/universe i386 Packages [298 kB]
Get:14 http://ca.archive.ubuntu.com trusty-updates/multiverse i386 Packages [12.1 kB]
Hit http://ca.archive.ubuntu.com trusty-updates/main Translation-en
Hit http://ca.archive.ubuntu.com trusty-updates/multiverse Translation-en
Hit http://ca.archive.ubuntu.com trusty-updates/restricted Translation-en
Hit http://ca.archive.ubuntu.com trusty-updates/universe Translation-en
Hit http://ca.archive.ubuntu.com trusty-backports/main Sources
Hit http://ca.archive.ubuntu.com trusty-backports/restricted Sources
Hit http://ca.archive.ubuntu.com trusty-backports/universe Sources
Hit http://ca.archive.ubuntu.com trusty-backports/multiverse Sources
Hit http://ca.archive.ubuntu.com trusty-backports/main amd64 Packages
Hit http://ca.archive.ubuntu.com trusty-backports/restricted amd64 Packages
Hit http://ca.archive.ubuntu.com trusty-backports/universe amd64 Packages
Hit http://ca.archive.ubuntu.com trusty-backports/multiverse amd64 Packages
Hit http://ca.archive.ubuntu.com trusty-backports/main i386 Packages
Hit http://ca.archive.ubuntu.com trusty-backports/restricted i386 Packages
Hit http://ca.archive.ubuntu.com trusty-backports/universe i386 Packages
Hit http://ca.archive.ubuntu.com trusty-backports/multiverse i386 Packages
Hit http://ca.archive.ubuntu.com trusty-backports/main Translation-en
Hit http://ca.archive.ubuntu.com trusty-backports/multiverse Translation-en
Hit http://ca.archive.ubuntu.com trusty-backports/restricted Translation-en
Hit http://ca.archive.ubuntu.com trusty-backports/universe Translation-en
Fetched 2217 kB in 24s (89.7 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
richard@richard-A880GZ:~$ find /etc/ap
apm/ apparmor/ apparmor.d/ apport/ apt/
richard@richard-A880GZ:~$ find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' _ '{}' \;

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

     1 ### THIS FILE IS AUTOMATICALLY CONFIGURED ###
     2 # You may comment out this entry, but any other modifications may be lost.
     3 deb http://dl.google.com/linux/talkplugin/deb/ stable main

/etc/apt/sources.list.d/mscore-ubuntu-mscore-stable-trusty.list

     1 # deb-src http://ppa.launchpad.net/mscore-ubuntu/mscore-stable/ubuntu trusty main

/etc/apt/sources.list.d/spotify.list

     1 deb http://repository.spotify.com stable non-free

/etc/apt/sources.list

     1 # deb cdrom:[Kubuntu 14.04.1 LTS _Trusty Tahr_ - Release amd64 (20140722.2)]/ trusty main multiverse restricted universe
     2
     3 # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
     4 # newer versions of the distribution.
     5 deb http://ca.archive.ubuntu.com/ubuntu/ trusty main restricted
     6 deb-src http://ca.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://ca.archive.ubuntu.com/ubuntu/ trusty-updates main restricted
    11 deb-src http://ca.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://ca.archive.ubuntu.com/ubuntu/ trusty universe
    17 deb-src http://ca.archive.ubuntu.com/ubuntu/ trusty universe
    18 deb http://ca.archive.ubuntu.com/ubuntu/ trusty-updates universe
    19 deb-src http://ca.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://ca.archive.ubuntu.com/ubuntu/ trusty multiverse
    27 deb-src http://ca.archive.ubuntu.com/ubuntu/ trusty multiverse
    28 deb http://ca.archive.ubuntu.com/ubuntu/ trusty-updates multiverse
    29 deb-src http://ca.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://ca.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
    37 deb-src http://ca.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 trusty partner
    51 # deb-src http://archive.canonical.com/ubuntu trusty 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 http://archive.canonical.com/ trusty partner
    57 # deb-src http://archive.canonical.com/ trusty partner
    58 deb-src http://extras.ubuntu.com/ubuntu trusty main
    59
    60 # deb http://ppa.launchpad.net/mscore-ubuntu/mscore-stable/ubuntu trusty main
    61 # deb-src http://ppa.launchpad.net/mscore-ubuntu/mscore-stable/ubuntu trusty main

Does this usually fix things? I had a couple of ppa entries in my sources.list.
Thanks ahead of time for any help,
Richard

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu apt Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Looks fine. If you run:

sudo apt-get --reinstall install nano

Is it smooth?

Revision history for this message
Richard Benedict (richardbenedict9589) said :
#2

Yes, mostly smooth, with only a couple of dpkg warnings:

ichard@richard-A880GZ:~$ sudo apt-get --reinstall install nano
[sudo] password for richard:
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not
upgraded.
Need to get 194 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://ca.archive.ubuntu.com/ubuntu/ trusty/main nano amd64
2.2.6-1ubuntu1 [194 kB]
Fetched 194 kB in 0s (217 kB/s)
dpkg: warning: files list file for package
'linux-headers-3.13.0-57-lowlatency' missing; assuming package has no files
currently installed
dpkg: warning: files list file for package 'linux-headers-3.13.0-57'
missing; assuming package has no files currently installed
(Reading database ... 162850 files and directories currently installed.)
Preparing to unpack .../nano_2.2.6-1ubuntu1_amd64.deb ...
Unpacking nano (2.2.6-1ubuntu1) over (2.2.6-1ubuntu1) ...
Processing triggers for install-info (5.2.0.dfsg.1-2) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Setting up nano (2.2.6-1ubuntu1) ...

However:

ichard@richard-A880GZ:~$ uname -a
Linux richard-A880GZ 3.13.0-58-lowlatency #97-Ubuntu SMP PREEMPT Wed Jul 8
03:24:29 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

so I'm presuming no worries because it's the 3.13.0-58 kernel I'm presently
using and not 3.13.0-57 as the latter has been removed from my system as
far as I know.

On Mon, Jul 27, 2015 at 10:02 AM, actionparsnip <
<email address hidden>> wrote:

> Your question #269703 on apt in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/apt/+question/269703
>
> Status: Open => Needs information
>
> actionparsnip requested more information:
> Looks fine. If you run:
>
> sudo apt-get --reinstall install nano
>
> Is it smooth?
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+source/apt/+question/269703
>
> You received this question notification because you asked the question.
>

--
http://musichousetoronto.ca

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

What is the output of:

dpkg -l | grep linux-headers

Thanks

Revision history for this message
Richard Benedict (richardbenedict9589) said :
#4

richard@richard-A880GZ:~$ dpkg -l | grep linux-headers
ii linux-headers-3.13.0-57 3.13.0-57.95 all Header files related to Linux kernel version 3.13.0
ii linux-headers-3.13.0-57-lowlatency 3.13.0-57.95 amd64 Linux kernel headers for version 3.13.0 on 64 bit x86 SMP
ii linux-headers-3.13.0-58 3.13.0-58.97 all Header files related to Linux kernel version 3.13.0
ii linux-headers-3.13.0-58-generic 3.13.0-58.97 amd64 Linux kernel headers for version 3.13.0 on 64 bit x86 SMP
ii linux-headers-3.13.0-58-lowlatency 3.13.0-58.97 amd64 Linux kernel headers for version 3.13.0 on 64 bit x86 SMP
ii linux-headers-3.13.0-59 3.13.0-59.98 all Header files related to Linux kernel version 3.13.0
ii linux-headers-3.13.0-59-generic 3.13.0-59.98 amd64 Linux kernel headers for version 3.13.0 on 64 bit x86 SMP
ii linux-headers-3.13.0-59-lowlatency 3.13.0-59.98 amd64 Linux kernel headers for version 3.13.0 on 64 bit x86 SMP
ii linux-headers-generic 3.13.0.59.66 amd64 Generic Linux kernel headers
ii linux-headers-lowlatency 3.13.0.59.66 amd64 lowlatency Linux kernel headers

This is after I ran "apt-get update/upgrade/dist-upgrade" this morning. Sorry for the interruption, I just got busy with other things.

Revision history for this message
Richard Benedict (richardbenedict9589) said :
#5

I should add that after this morning's "apt-get dist-upgrade" the kernel was upgraded from 3.13.0.58 to 3.13.0.59.

Revision history for this message
Manfred Hampl (m-hampl) said :
#6

To repair those warning I recommend the following:

sudo apt-get install --reinstall linux-headers-3.13.0-57-lowlatency linux-headers-3.13.0-57
sudo apt-mark auto linux-headers-3.13.0-57-lowlatency linux-headers-3.13.0-57
sudo apt-get --purge autoremove

(This should recreate the missing file lists and do a clean uninstall of those packages which meanwhile are obsolete anyhow).

Revision history for this message
Richard Benedict (richardbenedict9589) said :
#7

Okay, I did that, but I forgot to copy and paste before rebooting the
computer. Sorry.

On Tue, Jul 28, 2015 at 10:07 AM, Manfred Hampl <
<email address hidden>> wrote:

> Your question #269703 on apt in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/apt/+question/269703
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> To repair those warning I recommend the following:
>
> sudo apt-get install --reinstall linux-headers-3.13.0-57-lowlatency
> linux-headers-3.13.0-57
> sudo apt-mark auto linux-headers-3.13.0-57-lowlatency
> linux-headers-3.13.0-57
> sudo apt-get --purge autoremove
>
> (This should recreate the missing file lists and do a clean uninstall of
> those packages which meanwhile are obsolete anyhow).
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
>
> https://answers.launchpad.net/ubuntu/+source/apt/+question/269703/+confirm?answer_id=5
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+source/apt/+question/269703
>
> You received this question notification because you asked the question.
>

--
http://musichousetoronto.ca

Revision history for this message
Best Manfred Hampl (m-hampl) said :
#8

No problem, if your system is now working as expected, we do not need the output.

You might re-test with

sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get --reinstall install nano

to verify whether there are any warnings left.

Revision history for this message
Richard Benedict (richardbenedict9589) said :
#9

Re-tested with no resultant warnings. Thanks for your help.