#172762 synaptic cannot read sources.list

Package:
synaptic
Source:
synaptic
Description:
Graphical package manager
Submitter:
Rainer Kiehne
Date:
2010-03-11 20:39:03 UTC
Severity:
normal
#172762#5
Date:
2002-12-12 13:55:19 UTC
From:
To:
Synaptic parser cannot read a sources.list file, when comments are in the same
line as uri's. The error occurs whenn clicking on "Repository" button.

example sources.list attached

#172762#10
Date:
2002-12-18 13:14:19 UTC
From:
To:
I got this error with synaptic 0.25 too.

My sources list doesn't contain comments in the same
line as uri's, but when I cick on "Repository" button this Error occurs :(


My sources.list is attached.

#172762#15
Date:
2002-12-18 13:52:18 UTC
From:
To:
Thanks for this bugreport. The problem is the line:

#deb http://apt-proxy.sourceforge.net/openoffice/

it's not a valid source.list entry. That's why the parser doesn't
understand it. I'll improve the error reporting capabilities of the
repository window, so that it displays the bad line in the error
window. Please file a bug against synaptic, so that I don't forget to
fix it.

But beside this, I'm not quite sure what to do with this kind of
problem. It looks a disabled sources.list entry, but it is not
valid. The parser could just treat it as a comment and ignore it. OTOH
if it's a disabled sources.list entry, the user might wonder why it is
not displayed. I actually prefer to show him a error explaining that a
disabled sources.list entry is not valid. What do you think?

thanks,
 Michael

#172762#20
Date:
2002-12-19 14:57:45 UTC
From:
To:
Hi again,

Thank you for good package maintaining - you are good debian developer ;)

I think not valid sources.list entry should have status 'incorrect' and
should be displayed in other color, for example brown gray (I'm not very
good in english :( ). Also I think user should have ability simply add a
sources line in "Setup Repositories" dialog like in Xandros update:

http://www.distrowatch.com/images/screenshots/xandros-update-large.png

(many deb package providers simply puts instructions like "add this line to
sources.list", see for example http://people.debian.org/~blade/woody/i386/)

I noticed, that user can simply put in URI sources line without deb, maybe
you can rename labels "Distribution" to "Distribution (optional)" and
"Section(s)" to "Section(s) (optional)" in bottom of "Setup Repositories"
dialog ?

Also I noticed, that stormpkg has more user friendly sources list editor
layout. Maybe you can make synaptic "Setup Repositories" dialog like
stormpkg "Sources list" editor ?

If we want really good and user friendly package manager, then we shoud make
a posibility to add cdrom and other sources with wizard. Pretty good wizard
is apt-setup command (if debconf is configured work with gnome interface
apt-setup displays user friendly graphical gtk dialogs - you can change
debconf frontend with "dpkg-reconfigure debconf" command). Also pretty good
lists editor with add from debian mirror wizard is gtk-sources tool.

About 5 hours later I will send a lettter to synaptic-devel@nongnu.org with
suggestions about improwing synaptic (or other user friendly package
manager) and about collaborating with other developer of apt frontends (for
example gnome-apt)

#172762#25
Date:
2010-03-11 20:29:19 UTC
From:
To:
Package: synaptic
Version: 0.63.1

E: Paketdatei /var/lib/apt/lists/ftp.de.debian.org_debian_dists_squeeze_main_i18n_Translation-de konnte nicht verarbeitet werden (2)


Can´t install any packages with Synaptic.

I removed ftp.de.debian.org_debian_dists_squeeze_main_i18n_Translation-de but the error continue.

#172762#30
Date:
2010-03-11 20:37:41 UTC
From:
To:
And I couldn´t change the package sources.

E: Paketdatei /var/lib/apt/lists/ftp.de.debian.org_debian_dists_squeeze_main_i18n_Translation-de konnte nicht verarbeitet werden (2)
E: Die Datei »vendors.list« konnte nicht gelesen werde