problem with updating. Could not initialize package information
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/
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
- Assignee:
- No assignee Edit question
- Solved by:
- George ivanov Vasilev
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#1 |
What is the output of :
cat -n /etc/apt/
Thanks
Revision history for this message
|
#2 |
acer@acer-
cat: invalid option -- '/'
Try `cat --help' for more information.
acer@acer-
Exuce me but this is the information after I type it on the terminal (cat -n/etc/
Revision history for this message
|
#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
|
#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
|
#5 |
Thanks, now I have this on the terminal. What next?
acer@acer-
1 # deb cdrom:[Ubuntu 12.04.3 LTS _Precise Pangolin_ - Release i386 (20130820.1)]/ precise main restricted
2
3 # See http://
4 # newer versions of the distribution.
5 deb http://
6 deb-src http://
7
8 ## Major bug fix updates produced after the final release of the
9 ## distribution.
10 deb http://
11 deb-src http://
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://
23 deb-src http://
24 deb http://
25 deb-src http://
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://
33 deb-src http://
34
35 deb http://
36 deb-src http://
37 deb http://
38 deb-src http://
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://
45 deb-src http://
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://
50 deb http://
51 deb-src http://
52 deb-src http://
53 deb http://
54 deb-src http://
55 deb http://
56 deb-src http://
57 deb http://
58 deb-src http://
59 deb http://
60 deb-src http://
acer@acer-
Revision history for this message
|
#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://
deb-src http://
###### Ubuntu Update Repos
deb http://
deb http://
deb http://
deb http://
deb-src http://
deb-src http://
deb-src http://
deb-src http://
###### Ubuntu Partner Repo
deb http://
deb-src http://
###### Ubuntu Extras Repo
deb http://
deb-src http://
Revision history for this message
|
#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-
acer@acer-
acer@acer-
acer@acer-
acer@acer-
acer@acer-
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-
deb-src: command not found
acer@acer-
acer@acer-
acer@acer-
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-
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-
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-
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-
deb-src: command not found
acer@acer-
deb-src: command not found
acer@acer-
deb-src: command not found
acer@acer-
deb-src: command not found
acer@acer-
acer@acer-
acer@acer-
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-
deb-src: command not found
acer@acer-
acer@acer-
acer@acer-
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-
Revision history for this message
|
#8 |
Sorry, this was a misunderstanding.
Open a terminal and issue the command
gksudo gedit /etc/apt/
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
|
#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
|
#10 |
It works, I have no words to say THANKS A LOT. Great!