*** This bug is a duplicate of bug 886273 ***
https://bugs.launchpad.net/bugs/886273
** This bug is no longer a duplicate of bug 633626
Crashes silently if /etc/apt/sources.list.d/ contains a malformed file
** 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 Desktop
Packages, which is subscribed to software-center in Ubuntu.
https://bugs.launchpad.net/bugs/602152
Title:
Software Centre should fail gracefully on failures to open source
lists
Status in “software-center” package in Ubuntu:
Confirmed
Bug description:
Binary package hint: software-center
I ran the following command as suggested on
http://www.playonlinux.com/en/download.html:
sudo wget http://deb.playonlinux.com/playonlinux_lucid.list -O
/etc/apt/sources.list.d/playonlinux.list
This created a file which was not readable:
$ ls -l /etc/apt/sources.list.d/playonlinux.list
-rw-r----- 1 root root 43 May 1 09:42 playonlinux.list
As a result the "Ubuntu Software Center" was entirely broken and it
told me I had 0 packages installed. It should be able to deal with
this or give me a reasonable error message. This caused me needless
amounts of frustration.
When I finally launched synpatic from the command line it was clear what was
going on:
E: Opening /etc/apt/sources.list.d/playonlinux.list - ifstream::ifstream (13:
Permission denied)
E: The list of sources could not be read.
Go to the repository dialog to correct the problem.
E: _cache->open() failed, please report.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/602152/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp