Messed up /var/lib/dpkg/status file after bad install then copying status.old

Asked by David

The result of executing the steps here: https://help.ubuntu.com/community/PackageManagerTroubleshootingProcedure

dpkg: error: parsing file '/var/lib/dpkg/status' near line 30192 package 'libopenal1:amd64':
 `Suggests' field, missing package name, or garbage where package name expected
E: Sub-process /usr/bin/dpkg returned an error code (2)
david@PC5:~$ 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 LTS _Trusty Tahr_ - Beta amd64 (20140326)]/ trusty main restricted
     2 # deb cdrom:[Ubuntu 13.10 _Saucy Salamander_ - Release amd64 (20131016.1)]/ saucy main restricted
     3 # deb cdrom:[Ubuntu 14.04 LTS _Trusty Tahr_ - Beta amd64 (20140326)]/ trusty main restricted
     4 # deb cdrom:[Ubuntu 13.10 _Saucy Salamander_ - Release amd64 (20131016.1)]/ saucy 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 trusty main restricted
     9 deb-src http://archive.ubuntu.com/ubuntu trusty main restricted
    10
    11 ## Major bug fix updates produced after the final release of the
    12 ## distribution.
    13 deb http://archive.ubuntu.com/ubuntu trusty-updates main restricted
    14 deb-src http://archive.ubuntu.com/ubuntu trusty-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 trusty universe
    20 deb-src http://archive.ubuntu.com/ubuntu trusty universe
    21 deb http://archive.ubuntu.com/ubuntu trusty-updates universe
    22 deb-src http://archive.ubuntu.com/ubuntu trusty-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 trusty multiverse
    30 deb-src http://archive.ubuntu.com/ubuntu trusty multiverse
    31 deb http://archive.ubuntu.com/ubuntu trusty-updates multiverse
    32 deb-src http://archive.ubuntu.com/ubuntu trusty-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://archive.ubuntu.com/ubuntu trusty-backports main restricted universe multiverse
    40 deb-src http://archive.ubuntu.com/ubuntu trusty-backports main restricted universe multiverse
    41
    42 deb http://archive.ubuntu.com/ubuntu trusty-security main restricted
    43 deb-src http://archive.ubuntu.com/ubuntu trusty-security main restricted
    44 deb http://archive.ubuntu.com/ubuntu trusty-security universe
    45 deb-src http://archive.ubuntu.com/ubuntu trusty-security universe
    46 deb http://archive.ubuntu.com/ubuntu trusty-security multiverse
    47 deb-src http://archive.ubuntu.com/ubuntu trusty-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 saucy partner
    54 # deb-src http://archive.canonical.com/ubuntu saucy partner
    55
    56 ## This software is not part of Ubuntu, but is offered by third-party
    57 ## developers who want to ship their latest software.
    58 # deb http://extras.ubuntu.com/ubuntu trusty main
    59 # deb-src http://extras.ubuntu.com/ubuntu trusty main
    60
    61 # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
    62 # newer versions of the distribution.
    63
    64 ## Major bug fix updates produced after the final release of the
    65 ## distribution.
    66
    67 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    68 ## team. Also, please note that software in universe WILL NOT receive any
    69 ## review or updates from the Ubuntu security team.
    70
    71 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    72 ## team, and may not be under a free licence. Please satisfy yourself as to
    73 ## your rights to use the software. Also, please note that software in
    74 ## multiverse WILL NOT receive any review or updates from the Ubuntu
    75 ## security team.
    76
    77 ## N.B. software from this repository may not have been tested as
    78 ## extensively as that contained in the main release, although it includes
    79 ## newer versions of some applications which may provide useful features.
    80 ## Also, please note that software in backports WILL NOT receive any review
    81 ## or updates from the Ubuntu security team.
    82
    83
    84 ## Uncomment the following two lines to add software from Canonical's
    85 ## 'partner' repository.
    86 ## This software is not part of Ubuntu, but is offered by Canonical and the
    87 ## respective vendors as a service to Ubuntu users.
    88 # deb http://archive.canonical.com/ubuntu saucy partner
    89 # deb-src http://archive.canonical.com/ubuntu saucy partner
    90
    91 ## This software is not part of Ubuntu, but is offered by third-party
    92 ## developers who want to ship their latest software.
    93 # deb http://repository.spotify.com stable non-free #Spotify
    94 # deb-src http://repository.spotify.com stable non-free
    95
    96 # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
    97 # newer versions of the distribution.
    98
    99 ## Major bug fix updates produced after the final release of the
   100 ## distribution.
   101
   102 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
   103 ## team. Also, please note that software in universe WILL NOT receive any
   104 ## review or updates from the Ubuntu security team.
   105
   106 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
   107 ## team, and may not be under a free licence. Please satisfy yourself as to
   108 ## your rights to use the software. Also, please note that software in
   109 ## multiverse WILL NOT receive any review or updates from the Ubuntu
   110 ## security team.
   111
   112 ## N.B. software from this repository may not have been tested as
   113 ## extensively as that contained in the main release, although it includes
   114 ## newer versions of some applications which may provide useful features.
   115 ## Also, please note that software in backports WILL NOT receive any review
   116 ## or updates from the Ubuntu security team.
   117
   118
   119 ## Uncomment the following two lines to add software from Canonical's
   120 ## 'partner' repository.
   121 ## This software is not part of Ubuntu, but is offered by Canonical and the
   122 ## respective vendors as a service to Ubuntu users.
   123 # deb http://archive.canonical.com/ubuntu trusty partner
   124 # deb-src http://archive.canonical.com/ubuntu trusty partner
   125
   126 ## This software is not part of Ubuntu, but is offered by third-party
   127 ## developers who want to ship their latest software.
   128
   129 # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
   130 # newer versions of the distribution.
   131
   132 ## Major bug fix updates produced after the final release of the
   133 ## distribution.
   134
   135 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
   136 ## team. Also, please note that software in universe WILL NOT receive any
   137 ## review or updates from the Ubuntu security team.
   138
   139 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
   140 ## team, and may not be under a free licence. Please satisfy yourself as to
   141 ## your rights to use the software. Also, please note that software in
   142 ## multiverse WILL NOT receive any review or updates from the Ubuntu
   143 ## security team.
   144
   145 ## N.B. software from this repository may not have been tested as
   146 ## extensively as that contained in the main release, although it includes
   147 ## newer versions of some applications which may provide useful features.
   148 ## Also, please note that software in backports WILL NOT receive any review
   149 ## or updates from the Ubuntu security team.
   150
   151
   152 ## Uncomment the following two lines to add software from Canonical's
   153 ## 'partner' repository.
   154 ## This software is not part of Ubuntu, but is offered by Canonical and the
   155 ## respective vendors as a service to Ubuntu users.
   156 # deb http://archive.canonical.com/ubuntu trusty partner
   157 # deb-src http://archive.canonical.com/ubuntu trusty partner
   158
   159 ## This software is not part of Ubuntu, but is offered by third-party
   160 ## developers who want to ship their latest software.

/etc/apt/sources.list.d/insync.list

     1 # deb http://apt.insynchq.com/ubuntu trusty non-free contrib

/etc/apt/sources.list.d/private-ppa.launchpad.net_commercial-ppa-uploaders_steam_ubuntu.list

     1 # deb https://private-ppa.launchpad.net/commercial-ppa-uploaders/steam/ubuntu trusty main #Added by software-center; credentials stored in /etc/apt/auth.conf

/etc/apt/sources.list.d/google-musicmanager.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/musicmanager/deb/ stable main

/etc/apt/sources.list.d/google-chrome.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/chrome/deb/ stable main

/etc/apt/sources.list.d/me-davidsansome-clementine-trusty.list

     1 # deb http://ppa.launchpad.net/me-davidsansome/clementine/ubuntu trusty main
     2 # deb-src http://ppa.launchpad.net/me-davidsansome/clementine/ubuntu trusty main

/etc/apt/sources.list.d/steam.list

     1 # deb [arch=amd64,i386] http://repo.steampowered.com/steam/ precise steam
     2 # deb-src [arch=amd64,i386] http://repo.steampowered.com/steam/ precise steam

Thanks

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu apt Edit question
Assignee:
No assignee Edit question
Solved by:
David
Solved:
Last query:
Last reply:
Revision history for this message
David (talk2saba) said :
#1

edited the file and all seems ok now.