problem with updating. Could not initialize package information

Asked by George ivanov Vasilev

Un unresolvable problem occured while initializing package informaion

Please report this bug against the 'update-manager' package and iclude the following error message:

'E: Malformed line 55 in source list/etc/apt/sources. list (dist parce)

This happened after I tried to have skype for linux 4.3 because the previous one 4.2 does not work anymore.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu gnome-terminal Edit question
Assignee:
No assignee Edit question
Solved by:
George ivanov Vasilev
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

What is the output of :

cat -n /etc/apt/sources.list

Thanks

Revision history for this message
George ivanov Vasilev (g-vasilev) said :
#2

acer@acer-Aspire-5315:~$ cat -n/etc/apt/sources.list
cat: invalid option -- '/'
Try `cat --help' for more information.
acer@acer-Aspire-5315:~$

Exuce me but this is the information after I type it on the terminal (cat -n/etc/apt/sources.list)

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

You missed a space character before the first slash. You better use copy and paste than retyping the command.

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

If you copy and paste commands, rather than trying to retype them, you are less likely to botch them. It is also why I give the exact command to execute.....

Revision history for this message
George ivanov Vasilev (g-vasilev) said :
#5

Thanks, now I have this on the terminal. What next?

acer@acer-Aspire-5315:~$ cat -n /etc/apt/sources.list
     1 # deb cdrom:[Ubuntu 12.04.3 LTS _Precise Pangolin_ - Release i386 (20130820.1)]/ precise 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://us.archive.ubuntu.com/ubuntu/ precise restricted
     6 deb-src http://us.archive.ubuntu.com/ubuntu/ precise restricted
     7
     8 ## Major bug fix updates produced after the final release of the
     9 ## distribution.
    10 deb http://us.archive.ubuntu.com/ubuntu/ precise-updates restricted
    11 deb-src http://us.archive.ubuntu.com/ubuntu/ precise-updates 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
    17 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    18 ## team, and may not be under a free licence. Please satisfy yourself as to
    19 ## your rights to use the software. Also, please note that software in
    20 ## multiverse WILL NOT receive any review or updates from the Ubuntu
    21 ## security team.
    22 deb http://us.archive.ubuntu.com/ubuntu/ precise multiverse
    23 deb-src http://us.archive.ubuntu.com/ubuntu/ precise multiverse
    24 deb http://us.archive.ubuntu.com/ubuntu/ precise-updates multiverse
    25 deb-src http://us.archive.ubuntu.com/ubuntu/ precise-updates multiverse
    26
    27 ## N.B. software from this repository may not have been tested as
    28 ## extensively as that contained in the main release, although it includes
    29 ## newer versions of some applications which may provide useful features.
    30 ## Also, please note that software in backports WILL NOT receive any review
    31 ## or updates from the Ubuntu security team.
    32 deb http://us.archive.ubuntu.com/ubuntu/ precise-backports restricted multiverse
    33 deb-src http://us.archive.ubuntu.com/ubuntu/ precise-backports restricted multiverse
    34
    35 deb http://us.archive.ubuntu.com/ubuntu/ precise-security restricted
    36 deb-src http://us.archive.ubuntu.com/ubuntu/ precise-security restricted
    37 deb http://us.archive.ubuntu.com/ubuntu/ precise-security multiverse
    38 deb-src http://us.archive.ubuntu.com/ubuntu/ precise-security multiverse
    39
    40 ## Uncomment the following two lines to add software from Canonical's
    41 ## 'partner' repository.
    42 ## This software is not part of Ubuntu, but is offered by Canonical and the
    43 ## respective vendors as a service to Ubuntu users.
    44 deb http://archive.canonical.com/ubuntu precise partner main'.
    45 deb-src http://archive.canonical.com/ubuntu precise partner main'.
    46
    47 ## This software is not part of Ubuntu, but is offered by third-party
    48 ## developers who want to ship their latest software.
    49 deb http://extras.ubuntu.com/ubuntu precise main
    50 deb http://archive.canonical.com/ precise partner
    51 deb-src http://archive.canonical.com/ precise partner
    52 deb-src http://extras.ubuntu.com/ubuntu precise main
    53 deb http://us.archive.ubuntu.com/ubuntu/ precise main'.
    54 deb-src http://us.archive.ubuntu.com/ubuntu/ precise main'.
    55 deb http://us.archive.ubuntu.com/ubuntu/sausy universe
    56 deb-src http://us.archive.ubuntu.com/ubuntu/sausy universe
    57 deb http://.usarchive.ubuntu.com/ubuntu/saucy-updates univers
    58 deb-src http://.usarchive.ubuntu.com/ubuntu/saucy-updates univers
    59 deb http://ppa.launchpad.net/clipgrab-teamppa/ubuntuprecise main
    60 deb-src http://ppa.launchpad.net/clipgrab-teamppa/ubuntuprecise main
acer@acer-Aspire-5315:~$

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

There is quite some nonsense inside out source.list configuration file. You are missing security updates for the main bucket, and you have several syntactically wrong entries between line 53 and the end.

I recommend you replace your file with contents like this:

#############################################################
################### OFFICIAL UBUNTU REPOS ###################
#############################################################

###### Ubuntu Main Repos
deb http://us.archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse

###### Ubuntu Update Repos
deb http://us.archive.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse
deb http://us.archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse
deb http://us.archive.ubuntu.com/ubuntu/ precise-proposed main restricted universe multiverse
deb http://us.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ precise-proposed main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse

###### Ubuntu Partner Repo
deb http://archive.canonical.com/ubuntu precise partner
deb-src http://archive.canonical.com/ubuntu precise partner

###### Ubuntu Extras Repo
deb http://extras.ubuntu.com/ubuntu precise main
deb-src http://extras.ubuntu.com/ubuntu precise main

Revision history for this message
George ivanov Vasilev (g-vasilev) said :
#7

Sorry but still nothing happened after I copied and placed this on terminal. Perhaps I am doing it wrongly. How could I replace this?

acer@acer-Aspire-5315:~$ #############################################################
acer@acer-Aspire-5315:~$ ################### OFFICIAL UBUNTU REPOS ###################
acer@acer-Aspire-5315:~$ #############################################################
acer@acer-Aspire-5315:~$
acer@acer-Aspire-5315:~$ ###### Ubuntu Main Repos
acer@acer-Aspire-5315:~$ deb http://us.archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse
No command 'deb' found, did you mean:
 Command 'debc' from package 'devscripts' (main)
 Command 'derb' from package 'libicu-dev' (main)
 Command 'dab' from package 'bsdgames' (universe)
 Command 'debi' from package 'devscripts' (main)
 Command 'xdeb' from package 'xdeb' (universe)
deb: command not found
acer@acer-Aspire-5315:~$ deb-src http://us.archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse
deb-src: command not found
acer@acer-Aspire-5315:~$
acer@acer-Aspire-5315:~$ ###### Ubuntu Update Repos
acer@acer-Aspire-5315:~$ deb http://us.archive.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse
No command 'deb' found, did you mean:
 Command 'debc' from package 'devscripts' (main)
 Command 'derb' from package 'libicu-dev' (main)
 Command 'dab' from package 'bsdgames' (universe)
 Command 'debi' from package 'devscripts' (main)
 Command 'xdeb' from package 'xdeb' (universe)
deb: command not found
acer@acer-Aspire-5315:~$ deb http://us.archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse
No command 'deb' found, did you mean:
 Command 'debc' from package 'devscripts' (main)
 Command 'derb' from package 'libicu-dev' (main)
 Command 'dab' from package 'bsdgames' (universe)
 Command 'debi' from package 'devscripts' (main)
 Command 'xdeb' from package 'xdeb' (universe)
deb: command not found
acer@acer-Aspire-5315:~$ deb http://us.archive.ubuntu.com/ubuntu/ precise-proposed main restricted universe multiverse
No command 'deb' found, did you mean:
 Command 'debc' from package 'devscripts' (main)
 Command 'derb' from package 'libicu-dev' (main)
 Command 'dab' from package 'bsdgames' (universe)
 Command 'debi' from package 'devscripts' (main)
 Command 'xdeb' from package 'xdeb' (universe)
deb: command not found
acer@acer-Aspire-5315:~$ deb http://us.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse
No command 'deb' found, did you mean:
 Command 'debc' from package 'devscripts' (main)
 Command 'derb' from package 'libicu-dev' (main)
 Command 'dab' from package 'bsdgames' (universe)
 Command 'debi' from package 'devscripts' (main)
 Command 'xdeb' from package 'xdeb' (universe)
deb: command not found
acer@acer-Aspire-5315:~$ deb-src http://us.archive.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse
deb-src: command not found
acer@acer-Aspire-5315:~$ deb-src http://us.archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse
deb-src: command not found
acer@acer-Aspire-5315:~$ deb-src http://us.archive.ubuntu.com/ubuntu/ precise-proposed main restricted universe multiverse
deb-src: command not found
acer@acer-Aspire-5315:~$ deb-src http://us.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse
deb-src: command not found
acer@acer-Aspire-5315:~$
acer@acer-Aspire-5315:~$ ###### Ubuntu Partner Repo
acer@acer-Aspire-5315:~$ deb http://archive.canonical.com/ubuntu precise partnerNo command 'deb' found, did you mean:
 Command 'debc' from package 'devscripts' (main)
 Command 'derb' from package 'libicu-dev' (main)
 Command 'dab' from package 'bsdgames' (universe)
 Command 'debi' from package 'devscripts' (main)
 Command 'xdeb' from package 'xdeb' (universe)
deb: command not found
acer@acer-Aspire-5315:~$ deb-src http://archive.canonical.com/ubuntu precise partner
deb-src: command not found
acer@acer-Aspire-5315:~$
acer@acer-Aspire-5315:~$ ###### Ubuntu Extras Repo
acer@acer-Aspire-5315:~$ deb http://extras.ubuntu.com/ubuntu precise main
No command 'deb' found, did you mean:
 Command 'debc' from package 'devscripts' (main)
 Command 'derb' from package 'libicu-dev' (main)
 Command 'dab' from package 'bsdgames' (universe)
 Command 'debi' from package 'devscripts' (main)
 Command 'xdeb' from package 'xdeb' (universe)
deb: command not found
acer@acer-Aspire-5315:~$ deb-src http://extras.ubuntu.com/ubuntu precise main

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

Sorry, this was a misunderstanding.

Open a terminal and issue the command

gksudo gedit /etc/apt/sources.list
This should ask for your password as confirmation of an administrative task, and should then open an editor with your current sources.list configuration file loaded.

Delete all the contents of the file, and copy/paste the contents from my response into that file.
Save the file and close the editor.

Finally issue the commands

uname -a
lsb_release -a
sudo apt-get update

in the terminal window and copy/paste all output back into this question document.

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

That should sort it out, your sources.list file is a mess. Looks like you upgraded by using sed to change the sources file and messed up

Revision history for this message
George ivanov Vasilev (g-vasilev) said :
#10

It works, I have no words to say THANKS A LOT. Great!