[Bug 633316] Re: Gives up completely if /etc/apt/sources.d/ contains a malformed file

Edward Donovan launchpad at numble.net
Mon Aug 13 21:40:31 UTC 2012


*** This bug is a duplicate of bug 886273 ***
    https://bugs.launchpad.net/bugs/886273

** This bug is no longer a duplicate of bug 108601
   Update-manager needs help info when terminating on wrong repositories and generally deal better with incorrect sources.list data
** This bug has been marked a duplicate of bug 886273
   improve handling of broken sources.list files

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to update-manager in Ubuntu.
https://bugs.launchpad.net/bugs/633316

Title:
  Gives up completely if /etc/apt/sources.d/ contains a malformed file

Status in “update-manager” package in Ubuntu:
  New

Bug description:
  1. echo "deb http://ppa.launchpad.net/tualatrix/ppa/ubuntu main" | sudo tee /etc/apt/sources.list.d/ubuntu-tweak-stable.list
  2. update-manager

  What happens:
  * An error alert appears saying: "Could not initialize the package information" "An unresolvable problem occurred while initializing the package information. Please report this bug against the 'update-manager' package and include the following error message: 'E:Malformed line 1 in source list /etc/apt/sources.list.d/ubuntu-tweak-stable.list (dist parse)'
  * Update Manager exits without letting you fix the problem.

  What should happen:
  * An error alert appears saying something like: "Some software channel settings are incorrect and will be ignored." "Details: Malformed line 1 in source list /etc/apt/sources.list.d/ubuntu-tweak-stable.list (dist parse)"
  * Update Manager stays open.

  The equivalent problem in Ubuntu Software Center is bug 633626, and in
  Synaptic is bug 633630.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/633316/+subscriptions




More information about the foundations-bugs mailing list