Malformed line 2 in source list .....source.list.d

Bug #109771 reported by Merur
2
Affects Status Importance Assigned to Milestone
apt (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

When I try to install something, there is an error that doesn't let me do it... The error is "Malformed line 2 in source list .....source.list.d". I think it's a problem with the repositories, because when I modify this list, it runs for a while, but when I try to install some apllications, it simply "crash".

Thanx

ProblemType: Bug
Architecture: i386
Date: Tue Apr 24 23:52:06 2007
DistroRelease: Traceback (most recent call last): File "/usr/bin/lsb_release", line 282, in <module> main() File "/usr/bin/lsb_release", line 246, in main distinfo = get_distro_information() File "/usr/bin/lsb_release", line 209, in get_distro_information distinfo = guess_debian_release() File "/usr/bin/lsb_release", line 163, in guess_debian_release rinfo = guess_release_from_apt() File "/usr/bin/lsb_release", line 131, in guess_release_from_apt releases = parse_apt_policy() File "/usr/bin/lsb_release", line 125, in parse_apt_policy data.append( (priority, parse_policy_line(bits[1])) ) UnboundLocalError: local variable 'priority' referenced before assignment
ExecutablePath: /usr/bin/gnome-panel
Package: gnome-panel 1:2.18.1-0ubuntu3.1
PackageArchitecture: i386
ProcCmdline: gnome-panel --sm-client-id default1
ProcCwd: /home/merur
ProcEnviron:
 LANGUAGE=gl_ES:gl:en_GB:en
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games
 LANG=gl_ES.UTF-8
 SHELL=/bin/bash
SourcePackage: gnome-panel
Uname: Linux Merur-PC 2.6.20-15-386 #2 Sun Apr 15 07:34:00 UTC 2007 i686 GNU/Linux

Revision history for this message
Merur (merur84) wrote :
Revision history for this message
UCAP (ucap) wrote :

Thank you for your report. Have you edited the /etc/apt/sources.list manually? If so, just copy and paste it here - it might be just a typo that is causing this behaviour.

Revision history for this message
Merur (merur84) wrote :

Yes, I have modified it.

Here is the file:
______________________________________________________________________________________________
# Ubuntu Main

deb http://gb.archive.ubuntu.com/ubuntu/ edgy main restricted universe multiverse
deb-src http://gb.archive.ubuntu.com/ubuntu/ edgy main restricted universe multiverse
deb http://gb.archive.ubuntu.com/ubuntu/ edgy-proposed main restricted universe multiverse

# Bug fix Updates

deb http://gb.archive.ubuntu.com/ubuntu/ edgy-updates main restricted universe multiverse
deb-src http://gb.archive.ubuntu.com/ubuntu/ edgy-updates main restricted universe multiverse

# kubuntu.org packages for the latest KDE version

deb http://kubuntu.org/packages/kde-latest edgy main
deb http://kubuntu.org/packages/kde-355 edgy main
deb-src http://kubuntu.org/packages/kde-latest edgy main

# GPG Key Information

#wget http://www.kubuntu.org/announcements/kubuntu-packages-jriddell-key.gpg | sudo apt-key add
#kubuntu-packages-jriddell-key.gpg

# kubuntu.org packages for the latest Koffice version

deb http://kubuntu.org/packages/koffice-latest edgy main
deb-src http://kubuntu.org/packages/koffice-latest edgy main

# GPG Key Information

#wget http://www.kubuntu.org/announcements/kubuntu-packages-jriddell-key.gpg | sudo apt-key add

#kubuntu-packages-jriddell-key.gpg

# Ubuntu Security Updates

deb http://security.ubuntu.com/ubuntu edgy-security main restricted universe multiverse
deb-src http://security.ubuntu.com/ubuntu edgy-security main restricted universe multiverse

# Backports Repository

deb http://gb.archive.ubuntu.com/ubuntu/ edgy-backports main restricted universe multiverse
deb-src http://gb.archive.ubuntu.com/ubuntu/ edgy-backports main restricted universe multiverse

# Penguin Liberation Front (packages)

deb http://packages.freecontrib.org/ubuntu/plf edgy-plf free non-free
deb-src http://packages.freecontrib.org/ubuntu/plf edgy-plf free non-free

# Canonical Commercial Repository (Opera,Real Player10.. etc)

deb http://archive.canonical.com/ubuntu edgy-commercial main

# Sevea’s Repository (Multimedia Packages)

deb http://seveas.imbrandon.com/ edgy-seveas extras seveas-meta custom
deb-src http://seveas.imbrandon.com/ edgy-seveas extras seveas-meta custom
_________________________________________________________________________________

Thanx for your help :)

Revision history for this message
UCAP (ucap) wrote :

I just realised that the subject reads "... source.list.d" and not sources.list. This should help:

sudo rm /etc/apt/sources.list.d/*
(hit y for each question...)

It looks like this is not a bug. But I'll wait for your reply as to whether my suggestion worked before I set it to "Rejected".

UCAP (ucap)
Changed in apt:
assignee: ucap → nobody
status: Needs Info → Rejected
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.