update-manager crashes after installing Adobe

Asked by Roberto on 2014-11-10

After instaling Adobe Acrobat Reader (manually), an error message appears whenever I try to use update manager:
"E; Malformed line 64 in source list /etc/apt/sources.list (dist parse)"

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu update-manager Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
2014-11-14
Last query:
2014-11-14
Last reply:
2014-11-14
Brian Murray (brian-murray) said : #1

Thank you for taking the time to report this issue and helping to make Ubuntu better. Examining the information you have given us, this does not appear to be a bug report so we are closing it and converting it to a question in the support tracker. We appreciate the difficulties you are facing, but it would make more sense to raise problems you are having in the support tracker at https://answers.launchpad.net/ubuntu if you are uncertain if they are bugs. For help on reporting bugs, see https://help.ubuntu.com/community/ReportingBugs#When%20not%20to%20file%20a%20bug.

Manfred Hampl (m-hampl) said : #2

Please provide the output of the terminal commands

uname -a
lsb_release -a
cat -n /etc/apt/sources.list

Roberto (robacterio) said : #3

Hi, Manfred. Thanks for helping me out. The command "uname -a" gives me back this:
04 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

The command "lsb_release -a" gives back:
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.5 LTS
Release: 12.04
Codename: precise

The next command gives back this:
    1 # deb cdrom:[Ubuntu 12.04.3 LTS _Precise Pangolin_ - Release amd64 (20130820.1)]/ dists/precise/main/binary-i386/
     2
     3 # deb cdrom:[Ubuntu 12.04.3 LTS _Precise Pangolin_ - Release amd64 (20130820.1)]/ dists/precise/restricted/binary-i386/
     4 # deb cdrom:[Ubuntu 12.04.3 LTS _Precise Pangolin_ - Release amd64 (20130820.1)]/ precise main restricted
     5
     6 # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
     7 # newer versions of the distribution.
     8 deb http://us.archive.ubuntu.com/ubuntu/ precise main restricted
     9 deb-src http://us.archive.ubuntu.com/ubuntu/ precise main restricted
    10
    11 ## Major bug fix updates produced after the final release of the
    12 ## distribution.
    13 deb http://us.archive.ubuntu.com/ubuntu/ precise-updates main restricted
    14 deb-src http://us.archive.ubuntu.com/ubuntu/ precise-updates main restricted
    15
    16 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    17 ## team. Also, please note that software in universe WILL NOT receive any
    18 ## review or updates from the Ubuntu security team.
    19 deb http://us.archive.ubuntu.com/ubuntu/ precise universe
    20 deb-src http://us.archive.ubuntu.com/ubuntu/ precise universe
    21 deb http://us.archive.ubuntu.com/ubuntu/ precise-updates universe
    22 deb-src http://us.archive.ubuntu.com/ubuntu/ precise-updates universe
    23
    24 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    25 ## team, and may not be under a free licence. Please satisfy yourself as to
    26 ## your rights to use the software. Also, please note that software in
    27 ## multiverse WILL NOT receive any review or updates from the Ubuntu
    28 ## security team.
    29 deb http://us.archive.ubuntu.com/ubuntu/ precise multiverse
    30 deb-src http://us.archive.ubuntu.com/ubuntu/ precise multiverse
    31 deb http://us.archive.ubuntu.com/ubuntu/ precise-updates multiverse
    32 deb-src http://us.archive.ubuntu.com/ubuntu/ precise-updates multiverse
    33
    34 ## N.B. software from this repository may not have been tested as
    35 ## extensively as that contained in the main release, although it includes
    36 ## newer versions of some applications which may provide useful features.
    37 ## Also, please note that software in backports WILL NOT receive any review
    38 ## or updates from the Ubuntu security team.
    39 deb http://us.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse
    40 deb-src http://us.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse
    41
    42 deb http://security.ubuntu.com/ubuntu precise-security main restricted
    43 deb-src http://security.ubuntu.com/ubuntu precise-security main restricted
    44 deb http://security.ubuntu.com/ubuntu precise-security universe
    45 deb-src http://security.ubuntu.com/ubuntu precise-security universe
    46 deb http://security.ubuntu.com/ubuntu precise-security multiverse
    47 deb-src http://security.ubuntu.com/ubuntu precise-security multiverse
    48
    49 ## Uncomment the following two lines to add software from Canonical's
    50 ## 'partner' repository.
    51 ## This software is not part of Ubuntu, but is offered by Canonical and the
    52 ## respective vendors as a service to Ubuntu users.
    53 # deb http://archive.canonical.com/ubuntu precise partner
    54 # deb-src http://archive.canonical.com/ubuntu precise partner
    55
    56 ## 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 precise main
    59 deb http://archive.canonical.com/ precise partner
    60 deb-src http://archive.canonical.com/ precise partner
    61 deb-src http://extras.ubuntu.com/ubuntu precise main
    62 deb http://www.tgcm.es/repo/ubuntu stable main
    63 deb-src http://www.tgcm.es/repo/ubuntu stable main
    64 deb http://archive.canonical.com/ partner
    65 deb-src http://archive.canonical.com/ partner
    66 deb http://archive.canonical.com/precise partner
    67 deb-src http://archive.canonical.com/precise partner

 Thanks again.
R.

Best Manfred Hampl (m-hampl) said : #4

There is a logical error in your sources.list configuration file (a quite common problem, not hard to repair).

Open a terminal and issue the command

gksudo gedit /etc/apt/sources.list

This should ask for your password as confirmation for an administrative action, and should then open an editor with the sources.list configuration file loaded.
Scroll down to the very end and delete the last four lines (containing "archive.canonical.com"). Leave all other content as it is (there is similar text in lines 59 and 60, don't touch that).

Save the file and close the editor, and finally re-try updating.

Roberto (robacterio) said : #5

Thanks Manfred Hampl, that solved my question.