Update manager with new installation ubuntu 10:10 fails

Asked by Nigel Hollick

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/sources.list.d/ubuntu-tweak-stable.list (dist parse)'

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu update-manager Edit question
Assignee:
No assignee Edit question
Solved by:
Mark Rijckenberg
Solved:
Last query:
Last reply:
Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#1

First run the following command in a Terminal session:

sudo rm /etc/apt/sources.list.d/ubuntu-tweak-stable.list

Then send us the full terminal output from the following procedure:

https://help.ubuntu.com/community/PackageManagerTroubleshootingProcedure

Revision history for this message
Nigel Hollick (nigelhollick) said :
#2

sudo rm /etc/apt/sources.list.d/
ubuntu-tweak-stable.list

rm: cannot remove `/etc/apt/sources.list.d/ubuntu-tweak-stable.list': No
such file or directory

nigel@Elk:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.10
DISTRIB_CODENAME=maverick
DISTRIB_DESCRIPTION="Ubuntu 10.10"
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/apt/lists/lock
[sudo] password for nigel:
nigel@Elk:~$ sudo rm /var/lib/apt/lists/lock
rm: cannot remove `/var/lib/apt/lists/lock': No such file or directory
nigel@Elk:~$ sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
nigel@Elk:~$
nigel@Elk:~$ sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status
nigel@Elk:~$ sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
nigel@Elk:~$ sudo rm -rf /var/lib/dpkg/updates/*
nigel@Elk:~$ sudo rm -rf /var/lib/apt/lists
nigel@Elk:~$ sudo rm /var/cache/apt/*.bin
nigel@Elk:~$ sudo mkdir /var/lib/apt/lists
nigel@Elk:~$ sudo mkdir /var/lib/apt/lists/partial
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-gnomedesktop* python-gtop* python-mediaprofiles* python-metacity*
  python-totem-plparser* update-manager-kde*
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-alternatives: using /usr/lib/kde4/libexec/kdesu-distrib/kdesu to
provide /usr/lib/kde4/libexec/kdesu (kdesu) in auto mode.
Removing python-bugbuddy ...
Removing python-evince ...
Removing python-evolution ...
Removing python-gnomedesktop ...
Removing python-gtop ...
Removing python-mediaprofiles ...
Removing python-metacity ...
Removing python-totem-plparser ...
Processing triggers for man-db ...
Processing triggers for python-support ...
nigel@Elk:~$ LANG=C;sudo apt-get update -o APT::Cache-Limit=25165824
Get:1 http://security.ubuntu.com maverick-proposed Release.gpg [198B]
Ign http://security.ubuntu.com/ubuntu/ maverick-proposed/main
Translation-en
Ign http://ppa.launchpad.net maverick
Release.gpg
Ign http://ppa.launchpad.net/akirad/akirad/ubuntu/ maverick/main
Translation-en
Ign http://ppa.launchpad.net maverick
Release.gpg
Get:2 http://extras.ubuntu.com maverick Release.gpg
[65B]
Ign http://extras.ubuntu.com/ubuntu/ maverick/main
Translation-en
Get:3 http://dl.google.com stable Release.gpg
[189B]
Get:4 http://archive.canonical.com maverick Release.gpg
[198B]
Ign http://archive.canonical.com/ubuntu/ maverick/partner
Translation-en
Ign http://security.ubuntu.com/ubuntu/ maverick-proposed/multiverse
Translation-en
Ign http://security.ubuntu.com/ubuntu/ maverick-proposed/restricted
Translation-en
Ign http://security.ubuntu.com/ubuntu/ maverick-proposed/universe
Translation-en
Ign http://dl.google.com/linux/deb/ stable/non-free
Translation-en
Ign http://download.skype.com stable
Release.gpg
Get:5 http://mt.archive.ubuntu.com maverick Release.gpg
[198B]
Ign http://mt.archive.ubuntu.com/ubuntu/ maverick/main
Translation-en
Ign http://mt.archive.ubuntu.com/ubuntu/ maverick/multiverse
Translation-en
Ign http://ppa.launchpad.net/akirad/ppa/ubuntu/ maverick/main
Translation-en
Get:6 http://security.ubuntu.com maverick-proposed Release
[31.4kB]
Ign http://ppa.launchpad.net maverick
Release
Get:7 http://extras.ubuntu.com maverick Release
[57.3kB]
Get:8 http://archive.canonical.com maverick-backports Release.gpg
[198B]
Ign http://archive.canonical.com/ubuntu/ maverick-backports/partner
Translation-en
Get:9 http://archive.canonical.com maverick-updates Release.gpg
[198B]
Ign http://archive.canonical.com/ubuntu/ maverick-updates/partner
Translation-en
Get:10 http://archive.canonical.com maverick-security Release.gpg
[198B]
Ign http://archive.canonical.com/ubuntu/ maverick-security/partner
Translation-en
Get:11 http://archive.canonical.com maverick Release
[5925B]
Ign http://mt.archive.ubuntu.com/ubuntu/ maverick/restricted
Translation-en
Ign http://mt.archive.ubuntu.com/ubuntu/ maverick/universe
Translation-en
Get:12 http://mt.archive.ubuntu.com maverick-updates Release.gpg
[198B]
Ign http://mt.archive.ubuntu.com/ubuntu/ maverick-updates/main
Translation-en
Ign http://mt.archive.ubuntu.com/ubuntu/ maverick-updates/multiverse
Translation-en
Ign http://mt.archive.ubuntu.com/ubuntu/ maverick-updates/restricted
Translation-en
Ign http://mt.archive.ubuntu.com/ubuntu/ maverick-updates/universe
Translation-en
Get:13 http://dl.google.com stable Release
[2544B]
Get:14 http://mt.archive.ubuntu.com maverick-security Release.gpg
[198B]
Ign http://mt.archive.ubuntu.com/ubuntu/ maverick-security/main
Translation-en
Ign http://mt.archive.ubuntu.com/ubuntu/ maverick-security/multiverse
Translation-en
Get:15 http://archive.canonical.com maverick-backports Release
[5939B]
Ign http://download.skype.com/linux/repos/debian/ stable/non-free
Translation-en
Ign http://ppa.launchpad.net maverick
Release
Ign http://mt.archive.ubuntu.com/ubuntu/ maverick-security/restricted
Translation-en
Ign http://mt.archive.ubuntu.com/ubuntu/ maverick-security/universe
Translation-en
Get:16 http://mt.archive.ubuntu.com maverick Release
[39.8kB]
Get:17 http://archive.canonical.com maverick-updates Release
[5935B]
Ign http://ppa.launchpad.net maverick/main i386
Packages
Get:18 http://archive.canonical.com maverick-security Release
[5937B]
Ign http://download.skype.com stable
Release
Ign http://ppa.launchpad.net maverick/main i386
Packages
Get:19 http://mt.archive.ubuntu.com maverick-updates Release
[31.4kB]
Get:20 http://download.skype.com stable/non-free i386 Packages
[634B]
Get:21 http://mt.archive.ubuntu.com maverick-security Release
[27.2kB]
Ign http://ppa.launchpad.net maverick/main i386
Packages
Ign http://ppa.launchpad.net maverick/main i386
Packages
Get:22 http://dl.google.com stable/non-free i386 Packages
[1010B]
Get:23 http://archive.canonical.com maverick/partner i386 Packages
[7439B]
Err http://ppa.launchpad.net maverick/main i386
Packages
  404 Not Found
Err http://ppa.launchpad.net maverick/main i386
Packages
  404 Not Found
Get:24 http://archive.canonical.com maverick-backports/partner i386 Packages
[14B]
Get:25 http://security.ubuntu.com maverick-proposed/main i386 Packages
[36.6kB]
Get:26 http://archive.canonical.com maverick-updates/partner i386 Packages
[14B]
Get:27 http://archive.canonical.com maverick-security/partner i386 Packages
[14B]
Get:28 http://security.ubuntu.com maverick-proposed/restricted i386 Packages
[1797B]
Get:29 http://security.ubuntu.com maverick-proposed/universe i386 Packages
[16.3kB]
Get:30 http://security.ubuntu.com maverick-proposed/multiverse i386 Packages
[608B]
Get:31 http://extras.ubuntu.com maverick/main i386 Packages
[14B]
Get:32 http://mt.archive.ubuntu.com maverick/main i386 Packages
[1492kB]
Ign http://le-web.org stable
Release.gpg
Ign http://le-web.org/repository/ stable/main Translation-en
Get:33 http://mt.archive.ubuntu.com maverick/restricted i386 Packages
[5992B]
Get:34 http://mt.archive.ubuntu.com maverick/multiverse i386 Packages
[183kB]
Ign http://le-web.org stable
Release
Get:35 http://mt.archive.ubuntu.com maverick/universe i386 Packages [5791kB]

Ign http://le-web.org stable/main i386
Packages
Ign http://le-web.org stable/main i386
Packages
Err http://le-web.org stable/main i386
Packages
  404 Not Found
Get:36 http://mt.archive.ubuntu.com maverick-updates/main i386 Packages
[187kB]
Get:37 http://mt.archive.ubuntu.com maverick-updates/restricted i386
Packages [14B]
Get:38 http://mt.archive.ubuntu.com maverick-updates/multiverse i386
Packages [2522B]
Get:39 http://mt.archive.ubuntu.com maverick-updates/universe i386 Packages
[68.1kB]
Get:40 http://mt.archive.ubuntu.com maverick-security/main i386 Packages
[54.2kB]
Get:41 http://mt.archive.ubuntu.com maverick-security/restricted i386
Packages [14B]
Get:42 http://mt.archive.ubuntu.com maverick-security/universe i386 Packages
[21.4kB]
Get:43 http://mt.archive.ubuntu.com maverick-security/multiverse i386
Packages [1655B]
Fetched 8087kB in 24s
(327kB/s)
W: Failed to fetch
http://ppa.launchpad.net/akirad/akirad/ubuntu/dists/maverick/main/binary-i386/Packages.gz
404 Not Found

W: Failed to fetch
http://ppa.launchpad.net/akirad/ppa/ubuntu/dists/maverick/main/binary-i386/Packages.gz
404 Not Found

W: Failed to fetch
http://le-web.org/repository/dists/stable/main/binary-i386/Packages.gz 404
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://download.skype.com/linux/repos/debian/ stable/non-free i386 Packages
(/var/lib/apt/lists/download.skype.com_linux_repos_debian_dists_stable_non-free_binary-i386_Packages)
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-Limit=25165824 && sudo
apt-get dist-upgrade
Ign http://ppa.launchpad.net maverick Release.gpg
Ign http://ppa.launchpad.net/akirad/akirad/ubuntu/ maverick/main
Translation-en
Ign http://ppa.launchpad.net maverick
Release.gpg
Get:1 http://dl.google.com stable Release.gpg
[189B]
Hit http://archive.canonical.com maverick
Release.gpg
Ign http://archive.canonical.com/ubuntu/ maverick/partner
Translation-en
Ign http://dl.google.com/linux/deb/ stable/non-free
Translation-en
Hit http://extras.ubuntu.com maverick
Release.gpg
Ign http://extras.ubuntu.com/ubuntu/ maverick/main
Translation-en
Hit http://security.ubuntu.com maverick-proposed
Release.gpg
Ign http://security.ubuntu.com/ubuntu/ maverick-proposed/main
Translation-en
Hit http://mt.archive.ubuntu.com maverick
Release.gpg
Ign http://mt.archive.ubuntu.com/ubuntu/ maverick/main
Translation-en
Ign http://mt.archive.ubuntu.com/ubuntu/ maverick/multiverse
Translation-en
Ign http://ppa.launchpad.net/akirad/ppa/ubuntu/ maverick/main
Translation-en
Ign http://ppa.launchpad.net maverick
Release
Hit http://archive.canonical.com maverick-backports
Release.gpg
Ign http://archive.canonical.com/ubuntu/ maverick-backports/partner
Translation-en
Hit http://archive.canonical.com maverick-updates
Release.gpg
Ign http://archive.canonical.com/ubuntu/ maverick-updates/partner
Translation-en
Hit http://archive.canonical.com maverick-security
Release.gpg
Ign http://archive.canonical.com/ubuntu/ maverick-security/partner
Translation-en
Ign http://download.skype.com stable
Release.gpg
Hit http://extras.ubuntu.com maverick
Release
Ign http://mt.archive.ubuntu.com/ubuntu/ maverick/restricted
Translation-en
Ign http://mt.archive.ubuntu.com/ubuntu/ maverick/universe
Translation-en
Hit http://mt.archive.ubuntu.com maverick-updates
Release.gpg
Ign http://mt.archive.ubuntu.com/ubuntu/ maverick-updates/main
Translation-en
Ign http://mt.archive.ubuntu.com/ubuntu/ maverick-updates/multiverse
Translation-en
Ign http://mt.archive.ubuntu.com/ubuntu/ maverick-updates/restricted
Translation-en
Ign http://mt.archive.ubuntu.com/ubuntu/ maverick-updates/universe
Translation-en
Ign http://security.ubuntu.com/ubuntu/ maverick-proposed/multiverse
Translation-en
Ign http://security.ubuntu.com/ubuntu/ maverick-proposed/restricted
Translation-en
Ign http://security.ubuntu.com/ubuntu/ maverick-proposed/universe
Translation-en
Hit http://security.ubuntu.com maverick-proposed
Release
Hit http://archive.canonical.com maverick
Release
Get:2 http://dl.google.com stable Release
[2544B]
Ign http://ppa.launchpad.net maverick
Release
Hit http://mt.archive.ubuntu.com maverick-security
Release.gpg
Ign http://mt.archive.ubuntu.com/ubuntu/ maverick-security/main
Translation-en
Ign http://mt.archive.ubuntu.com/ubuntu/ maverick-security/multiverse
Translation-en
Ign http://download.skype.com/linux/repos/debian/ stable/non-free
Translation-en
Hit http://archive.canonical.com maverick-backports
Release
Hit http://archive.canonical.com maverick-updates
Release
Hit http://archive.canonical.com maverick-security
Release
Ign http://ppa.launchpad.net maverick/main i386
Packages
Ign http://mt.archive.ubuntu.com/ubuntu/ maverick-security/restricted
Translation-en
Ign http://mt.archive.ubuntu.com/ubuntu/ maverick-security/universe
Translation-en
Hit http://mt.archive.ubuntu.com maverick
Release
Hit http://mt.archive.ubuntu.com maverick-updates
Release
Ign http://ppa.launchpad.net maverick/main i386
Packages
Ign http://download.skype.com stable
Release
Hit http://extras.ubuntu.com maverick/main i386
Packages
Hit http://mt.archive.ubuntu.com maverick-security
Release
Ign http://ppa.launchpad.net maverick/main i386
Packages
Hit http://security.ubuntu.com maverick-proposed/main i386
Packages
Hit http://archive.canonical.com maverick/partner i386
Packages
Ign http://download.skype.com stable/non-free i386
Packages/DiffIndex
Ign http://ppa.launchpad.net maverick/main i386
Packages
Hit http://security.ubuntu.com maverick-proposed/restricted i386
Packages
Hit http://security.ubuntu.com maverick-proposed/universe i386
Packages
Hit http://security.ubuntu.com maverick-proposed/multiverse i386
Packages
Err http://ppa.launchpad.net maverick/main i386
Packages
  404 Not Found
Hit http://download.skype.com stable/non-free i386
Packages
Hit http://archive.canonical.com maverick-backports/partner i386
Packages
Err http://ppa.launchpad.net maverick/main i386
Packages
  404 Not Found
Get:3 http://dl.google.com stable/non-free i386 Packages
[1010B]
Hit http://archive.canonical.com maverick-updates/partner i386
Packages
Hit http://archive.canonical.com maverick-security/partner i386
Packages
Hit http://mt.archive.ubuntu.com maverick/main i386
Packages
Hit http://mt.archive.ubuntu.com maverick/restricted i386 Packages
Hit http://mt.archive.ubuntu.com maverick/multiverse i386 Packages
Hit http://mt.archive.ubuntu.com maverick/universe i386 Packages
Hit http://mt.archive.ubuntu.com maverick-updates/main i386 Packages
Hit http://mt.archive.ubuntu.com maverick-updates/restricted i386 Packages
Hit http://mt.archive.ubuntu.com maverick-updates/multiverse i386 Packages
Hit http://mt.archive.ubuntu.com maverick-updates/universe i386 Packages
Hit http://mt.archive.ubuntu.com maverick-security/main i386 Packages
Hit http://mt.archive.ubuntu.com maverick-security/restricted i386 Packages
Hit http://mt.archive.ubuntu.com maverick-security/universe i386 Packages
Hit http://mt.archive.ubuntu.com maverick-security/multiverse i386 Packages
Ign http://le-web.org stable Release.gpg
Ign http://le-web.org/repository/ stable/main Translation-en
Ign http://le-web.org stable Release
Ign http://le-web.org stable/main i386 Packages
Ign http://le-web.org stable/main i386
Packages
Err http://le-web.org stable/main i386
Packages
  404 Not Found
Fetched 3743B in 8s
(449B/s)
W: Failed to fetch
http://ppa.launchpad.net/akirad/akirad/ubuntu/dists/maverick/main/binary-i386/Packages.gz
404 Not Found

W: Failed to fetch
http://ppa.launchpad.net/akirad/ppa/ubuntu/dists/maverick/main/binary-i386/Packages.gz
404 Not Found

W: Failed to fetch
http://le-web.org/repository/dists/stable/main/binary-i386/Packages.gz 404
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://answers.launchpad.net/ubuntu/+source/update-manager/+question/138451
>
> Status: Open => Needs information
>
> Mark Rijckenberg requested for more information:
> First run the following command in a Terminal session:
>
> sudo rm /etc/apt/sources.list.d/ubuntu-tweak-stable.list
>
> Then send us the full terminal output from the following procedure:
>
> https://help.ubuntu.com/community/PackageManagerTroubleshootingProcedure
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
>
> https://answers.launchpad.net/ubuntu/+source/update-manager/+question/138451
>
> You received this question notification because you are a direct
> subscriber of the question.
>

Revision history for this message
Nigel Hollick (nigelhollick) said :
#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/python2.6/dist-packages/ubuntutweak/mainwindow.py", line
401, in setup_notebook
    page = module()
  File
"/usr/lib/python2.6/dist-packages/ubuntutweak/modules/updatemanager.py",
line 44, in __init__
    self.update_list()
  File
"/usr/lib/python2.6/dist-packages/ubuntutweak/modules/updatemanager.py",
line 59, in update_list
    PACKAGE_WORKER.update_apt_cache(init=True)
  File "/usr/lib/python2.6/dist-packages/ubuntutweak/common/package.py",
line 188, in update_apt_cache
    self.cache = apt.Cache()
  File "/usr/lib/python2.6/dist-packages/apt/cache.py", line 88, in __init__
    self.open(progress)
  File "/usr/lib/python2.6/dist-packages/apt/cache.py", line 130, in open
    self._list.read_main_list()
SystemError: E:Malformed line 1 in source list
/etc/apt/sources.list.d/ubuntu-tweak-stable.list (dist parse)

*
Also now if I attempt to launch from System/Administration/Update Manager I
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/sources.list.d/ubuntu-tweak-stable.list (dist parse)'

It did work once

regards

Nigel

Revision history for this message
Nigel Hollick (nigelhollick) said :
#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://answers.launchpad.net/ubuntu/+source/update-manager/+question/138451
>
> Status: Open => Needs information
>
> Mark Rijckenberg requested for more information:
> First run the following command in a Terminal session:
>
> sudo rm /etc/apt/sources.list.d/ubuntu-tweak-stable.list
>
> Then send us the full terminal output from the following procedure:
>
> https://help.ubuntu.com/community/PackageManagerTroubleshootingProcedure
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
>
> https://answers.launchpad.net/ubuntu/+source/update-manager/+question/138451
>
> You received this question notification because you are a direct
> subscriber of the question.
>

Revision history for this message
Best Mark Rijckenberg (markrijckenberg) said :
#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:

https://answers.launchpad.net/ubuntu/+addquestion

Revision history for this message
Nigel Hollick (nigelhollick) said :
#6

Thanks Mark Rijckenberg, that solved my question.