Update manager with new installation ubuntu 10:10 fails
Could not initialise the package information
An unresolvable problem occurred while initialising the package information.
Please report this bug for the 'update-manager' package and try to include the following error message:
'E:Malformed line 1 in source list /etc/apt/
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Mark Rijckenberg
- Solved:
- Last query:
- Last reply:
Related bugs
Related FAQ:
None Link to a FAQ
Revision history for this message
|
#1 |
First run the following command in a Terminal session:
sudo rm /etc/apt/
Then send us the full terminal output from the following procedure:
https:/
Revision history for this message
|
#2 |
sudo rm /etc/apt/
ubuntu-
rm: cannot remove `/etc/apt/
such file or directory
nigel@Elk:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
nigel@Elk:~$ uname -a
Linux Elk 2.6.35-24-generic #42-Ubuntu SMP Thu Dec 2 01:41:57 UTC 2010 i686
GNU/Linux
nigel@Elk:~$ sudo rm /var/lib/
[sudo] password for nigel:
nigel@Elk:~$ sudo rm /var/lib/
rm: cannot remove `/var/lib/
nigel@Elk:~$ sudo cp -arf /var/lib/dpkg /var/lib/
nigel@Elk:~$
nigel@Elk:~$ sudo cp /var/lib/
nigel@Elk:~$ sudo cp /var/lib/
nigel@Elk:~$ sudo rm -rf /var/lib/
nigel@Elk:~$ sudo rm -rf /var/lib/apt/lists
nigel@Elk:~$ sudo rm /var/cache/
nigel@Elk:~$ sudo mkdir /var/lib/apt/lists
nigel@Elk:~$ sudo mkdir /var/lib/
nigel@Elk:~$ LANG=C;sudo apt-get clean
LANG=C;sudo apt-get autoclean
nigel@Elk:~$
nigel@Elk:~$ LANG=C;sudo apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
nigel@Elk:~$ LANG=C;sudo apt-get --purge autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
kdesudo* python-bugbuddy* python-evince* python-evolution*
python-
python-
0 upgraded, 0 newly installed, 10 to remove and 0 not upgraded.
After this operation, 1348kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 188122 files and directories currently installed.)
Removing update-manager-kde ...
Removing kdesudo ...
update-
provide /usr/lib/
Removing python-bugbuddy ...
Removing python-evince ...
Removing python-evolution ...
Removing python-gnomedesktop ...
Removing python-gtop ...
Removing python-
Removing python-metacity ...
Removing python-
Processing triggers for man-db ...
Processing triggers for python-support ...
nigel@Elk:~$ LANG=C;sudo apt-get update -o APT::Cache-
Get:1 http://
Ign http://
Translation-en
Ign http://
Release.gpg
Ign http://
Translation-en
Ign http://
Release.gpg
Get:2 http://
[65B]
Ign http://
Translation-en
Get:3 http://
[189B]
Get:4 http://
[198B]
Ign http://
Translation-en
Ign http://
Translation-en
Ign http://
Translation-en
Ign http://
Translation-en
Ign http://
Translation-en
Ign http://
Release.gpg
Get:5 http://
[198B]
Ign http://
Translation-en
Ign http://
Translation-en
Ign http://
Translation-en
Get:6 http://
[31.4kB]
Ign http://
Release
Get:7 http://
[57.3kB]
Get:8 http://
[198B]
Ign http://
Translation-en
Get:9 http://
[198B]
Ign http://
Translation-en
Get:10 http://
[198B]
Ign http://
Translation-en
Get:11 http://
[5925B]
Ign http://
Translation-en
Ign http://
Translation-en
Get:12 http://
[198B]
Ign http://
Translation-en
Ign http://
Translation-en
Ign http://
Translation-en
Ign http://
Translation-en
Get:13 http://
[2544B]
Get:14 http://
[198B]
Ign http://
Translation-en
Ign http://
Translation-en
Get:15 http://
[5939B]
Ign http://
Translation-en
Ign http://
Release
Ign http://
Translation-en
Ign http://
Translation-en
Get:16 http://
[39.8kB]
Get:17 http://
[5935B]
Ign http://
Packages
Get:18 http://
[5937B]
Ign http://
Release
Ign http://
Packages
Get:19 http://
[31.4kB]
Get:20 http://
[634B]
Get:21 http://
[27.2kB]
Ign http://
Packages
Ign http://
Packages
Get:22 http://
[1010B]
Get:23 http://
[7439B]
Err http://
Packages
404 Not Found
Err http://
Packages
404 Not Found
Get:24 http://
[14B]
Get:25 http://
[36.6kB]
Get:26 http://
[14B]
Get:27 http://
[14B]
Get:28 http://
[1797B]
Get:29 http://
[16.3kB]
Get:30 http://
[608B]
Get:31 http://
[14B]
Get:32 http://
[1492kB]
Ign http://
Release.gpg
Ign http://
Get:33 http://
[5992B]
Get:34 http://
[183kB]
Ign http://
Release
Get:35 http://
Ign http://
Packages
Ign http://
Packages
Err http://
Packages
404 Not Found
Get:36 http://
[187kB]
Get:37 http://
Packages [14B]
Get:38 http://
Packages [2522B]
Get:39 http://
[68.1kB]
Get:40 http://
[54.2kB]
Get:41 http://
Packages [14B]
Get:42 http://
[21.4kB]
Get:43 http://
Packages [1655B]
Fetched 8087kB in 24s
(327kB/s)
W: Failed to fetch
http://
404 Not Found
W: Failed to fetch
http://
404 Not Found
W: Failed to fetch
http://
Not Found
E: Some index files failed to download, they have been ignored, or old ones
used instead.
nigel@Elk:~$ sudo dpkg --clear-avail
nigel@Elk:~$ sudo dpkg --configure -a
nigel@Elk:~$ 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 24 not upgraded.
W: Duplicate sources.list entry
http://
(/var/lib/
W: You may want to run apt-get update to correct these problems
nigel@Elk:~$ 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 24 not upgraded.
nigel@Elk:~$ LANG=C;sudo apt-get update -o APT::Cache-
apt-get dist-upgrade
Ign http://
Ign http://
Translation-en
Ign http://
Release.gpg
Get:1 http://
[189B]
Hit http://
Release.gpg
Ign http://
Translation-en
Ign http://
Translation-en
Hit http://
Release.gpg
Ign http://
Translation-en
Hit http://
Release.gpg
Ign http://
Translation-en
Hit http://
Release.gpg
Ign http://
Translation-en
Ign http://
Translation-en
Ign http://
Translation-en
Ign http://
Release
Hit http://
Release.gpg
Ign http://
Translation-en
Hit http://
Release.gpg
Ign http://
Translation-en
Hit http://
Release.gpg
Ign http://
Translation-en
Ign http://
Release.gpg
Hit http://
Release
Ign http://
Translation-en
Ign http://
Translation-en
Hit http://
Release.gpg
Ign http://
Translation-en
Ign http://
Translation-en
Ign http://
Translation-en
Ign http://
Translation-en
Ign http://
Translation-en
Ign http://
Translation-en
Ign http://
Translation-en
Hit http://
Release
Hit http://
Release
Get:2 http://
[2544B]
Ign http://
Release
Hit http://
Release.gpg
Ign http://
Translation-en
Ign http://
Translation-en
Ign http://
Translation-en
Hit http://
Release
Hit http://
Release
Hit http://
Release
Ign http://
Packages
Ign http://
Translation-en
Ign http://
Translation-en
Hit http://
Release
Hit http://
Release
Ign http://
Packages
Ign http://
Release
Hit http://
Packages
Hit http://
Release
Ign http://
Packages
Hit http://
Packages
Hit http://
Packages
Ign http://
Packages/DiffIndex
Ign http://
Packages
Hit http://
Packages
Hit http://
Packages
Hit http://
Packages
Err http://
Packages
404 Not Found
Hit http://
Packages
Hit http://
Packages
Err http://
Packages
404 Not Found
Get:3 http://
[1010B]
Hit http://
Packages
Hit http://
Packages
Hit http://
Packages
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Packages
Err http://
Packages
404 Not Found
Fetched 3743B in 8s
(449B/s)
W: Failed to fetch
http://
404 Not Found
W: Failed to fetch
http://
404 Not Found
W: Failed to fetch
http://
Not Found
E: Some index files failed to download, they have been ignored, or old ones
used instead.
nigel@Elk:~$
AND THAT APPEARS TO HAVE FIXED IT. RAN UPDATE MANAGER AND IT UPDATED
THANK YOU FOR YOUR HELP. DO I NEED TO DO ANYTHING ELSE??
On 20 December 2010 13:01, Mark Rijckenberg <
<email address hidden>> wrote:
> Your question #138451 on update-manager in ubuntu changed:
>
> https:/
>
> Status: Open => Needs information
>
> Mark Rijckenberg requested for more information:
> First run the following command in a Terminal session:
>
> sudo rm /etc/apt/
>
> Then send us the full terminal output from the following procedure:
>
> https:/
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
>
> https:/
>
> You received this question notification because you are a direct
> subscriber of the question.
>
Revision history for this message
|
#3 |
*Further to my last email when trying to launch PManager from Ubuntu tweak I
get the following message*
Traceback (most recent call last):
File "/usr/lib/
401, in setup_notebook
page = module()
File
"/usr/lib/
line 44, in __init__
self.
File
"/usr/lib/
line 59, in update_list
PACKAGE_
File "/usr/lib/
line 188, in update_apt_cache
self.cache = apt.Cache()
File "/usr/lib/
self.
File "/usr/lib/
self.
SystemError: E:Malformed line 1 in source list
/etc/apt/
*
Also now if I attempt to launch from System/
get error message*
Could not initialise the package information
An unresolvable problem occurred while initialising the package information.
Please report this bug for the 'update-manager' package and try to include
the following error message:
'E:Malformed line 1 in source list
/etc/apt/
It did work once
regards
Nigel
Revision history for this message
|
#4 |
I have removed Ubuntu Tweak which seams to solve the problem.
A message states that I cannot run Ubuntu Tweak on a i386 system. For some
reason i think my install is i686 or at least it was for my old 10:04. My
processor is single core. Why Tweak worked on 10:04, makes no sense to me.
Could you tell me if I should be using a 386 install or 686 install and how
I go about changing it if necessary.
Regards
Nigel
On 20 December 2010 13:01, Mark Rijckenberg <
<email address hidden>> wrote:
> Your question #138451 on update-manager in ubuntu changed:
>
> https:/
>
> Status: Open => Needs information
>
> Mark Rijckenberg requested for more information:
> First run the following command in a Terminal session:
>
> sudo rm /etc/apt/
>
> Then send us the full terminal output from the following procedure:
>
> https:/
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
>
> https:/
>
> You received this question notification because you are a direct
> subscriber of the question.
>
Revision history for this message
|
#5 |
Please set the thread status to 'solved', as I have solved and answered your original question.
Please create a new thread for your new question using this link:
Revision history for this message
|
#6 |
Thanks Mark Rijckenberg, that solved my question.