[Bug 464707] [NEW] software-properties-kde corrupts sources.list file

Suspicious1 d9k at gmx.com
Fri Oct 30 12:23:40 UTC 2009


Public bug reported:

Binary package hint: kpackagekit

I've produced this bug on a y-day's final release image of Kubuntu Karmic Koala LiveCD, downloaded from the official FTP.
I've ran it in Live mode, everything started fine, then I've started the kPackageKit, a frontend to APT package manager I guess. Before gaining the package list from the server, I've opened kPackageKit options and did the following:

I've ticked the "Multiverse" and removed "Restricted", changed the
"Default mirror" to "Other" but no dialog or something has appeared,
instead every ticks I had set were removed from options dialog, so then
I've changed "Default mirror" option from "Other" to "Russian
Federation" and set the ticks as I want, and then I have closed the
options dialog, saving the settings. After that step I was unable to
search for packages or anything, kPackageKit complained about something
like "Package cache were not generated previously", updating won't help.
Then I've decided to use APT and opened a Terminal and typed:

$ sudo aptitude update

but it didn't work, it complained on (below comes original text in
Russian, lower comes the translation)

E: Искажённая строка 2 в списке источников /etc/apt/sources.list (анализ URI)
E: Invalid consistency at line 2 in the sources list /etc/apt/sources.list (URI analysis)

I've opened sources.list file in text editor and what I saw was weird
lines like the ones here (Exact copy below):

deb karmic main restricted universe multiverse
deb karmic-updates main restricted universe multiverse
deb karmic-security main restricted universe multiverse

So the idea was kPackageKit had an error and removed the whole addresses.
After bringing lines to their normal look (example below) I've updated the package cache fine and kPackageKit works.

deb http://fi.archive.ubuntu.com/ubuntu karmic main universe multiverse

My ideas are that this may be due to strange behavior of the kPackageKit
when having no package cache at all (As had I, because the first run
from LiveCD won't have a cache obviously). All versions used are default
for Kubuntu Karmic release CD as of 29th of October, '09. Unfortunately
I'm not currently able to find out the exact versions and gain original
messages in English, but as far as I remember, KDE should be 4.3.2 for
the Karmic release.

** Affects: software-properties (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: kpackagekit sources.list

-- 
software-properties-kde corrupts sources.list file
https://bugs.launchpad.net/bugs/464707
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kpackagekit in ubuntu.




More information about the kubuntu-bugs mailing list