![]() Registered Member ![]()
|
Hello,
Yesterday I did an "aptitude update" followd by "aptitude upgrade". The sw-update obviously was "huge" and included loads of components. Since then I get lots of warnings/errors when again trying to update my software. It seems to me that the files sources.list and the entries in sources.list.d are incorrect. Has anybody else the same experience? ![]() ![]() ![]() Regards H. Stoelllinger The "aptitude update" warnings are loads of the following type ...
I suppose some of the sources.list and/or sources.list.d definitions should be removed. But which??? Here are the various sources.list files: (1) sources.list after update:
(2) sources.list.d files after update:
|
![]() Registered Member ![]()
|
I would say from the warning you posted, it is telling you which one is causing the duplication: /etc/apt/sources.list.d/official-package-repositories.list
Whatever that is, looking at the the name of the file, seems to be a duplication of your repos as defined in the /etc/apt/sources.list file. I would say that removing this would fix the issue...... .....but then, I see an ubuntu-defaults listed as well, which also seems to indicate another duplicate set of default sources. What is additional-repositories.list from? This may also be a source of duplicates. Where are you getting these sources from? I would also look at these
and
and
to see if these have duplicate contents. I would guess that each one with a corresponding .save file is the correct one
claydoh, proud to be a member of KDE forums since 2008-Oct, and KDE user since 2001
|
![]() Registered Member ![]()
|
Many thanks, claydoh!
I had a closer look myself and eliminated the duplicates. There are still a couple of "irregularities", such as some repositories not found (eg. http://archive.canonical.com/ubuntu/dis ... 4/Packages), some repositories not signed (eg. http://ppa.launchpad.net/kubuntu-ppa/backports/ubuntu xenial InRelease), or no public key available (eg. http://packages.linuxmint.com sonya Release). Having commented out the "culprit" repositories everything works o.k. now. One issue that bothers me is that through the "giant" update/upgrade mentioned, the repository entries got messed up. I myself didn't do ANYTHING else besides invoking an aptitude clean, update and then upgrade! Honestly! I can't help suspecting some "careless" chap at KDE Neon messed things up... Never mind! ![]() Greeetings from Salzburg, Austria H. Stoellinger |
![]() Registered Member ![]()
|
yes, this is an invalid repo url, as 'sonya' is not an Ubuntu name
This all depends on how the repos were added, and why do you have Linux Mint repos on a Neon system? Or have you added Neon repos to a Mint system?? In any case, if you post the specific error message involving each each repo above, we can help get that fixed pretty easily.
Unless some package you installed or was updated added all these extraneous repos for some reason, running apt itself (or aptitude, or any other package manager or update utility) does not change your repositories. I have no idea where you would be getting all these added repos added from, as neither Ubuntu nor Neon would be doing this. Perhaps letting us know what ppas or other repos you have added yourself, and listing the contents of those entries in /etc/apt/sources.list.d you are not sure about might help as well Greetings from Savannah, Georgia, USA!
claydoh, proud to be a member of KDE forums since 2008-Oct, and KDE user since 2001
|
![]() Registered Member ![]()
|
Hi,
Thanks again for bothering - and so promptly! Having corrected the situation myself I Unfortunately don't have the erroneous sources.list and sources.list.d files available anymore... Again, I can only say the following: It has been my habit to update/upgrade my Linux-SW as a first thing every morning, as I know that this is a good thing to do for a number reasons (eg. security!), so as to close as many "holes" as possible... This update procedure (aptitude update/aptitude uprade, NO OTHER command of any sort!) is represented by an alias "swu" - which is the only command I invoked. As I have already mentioned, this time loads of updated pieces of sw (packages) got updated! Up to this incident there was NOT a single problem with my sources.list (and ....d) at all, no duplicates, no indexes missing, nothing! So I have to assume that the problem was due to some error "on the other side" (i.e. NEON). I definitely did NOT add any Mint-repositories to NEON, neither of NEON repositories to Mint - which incidently is also installed on the laptop but of course was not active at the time... As an "old" (literally!) IBM systems engineer I did of course experience customers maintaining that they hadn't "changed anything" -- which then turned out wrong! Greetings from Austria (it's getting cold here!!) H. Stoellinger |
Registered users: Bing [Bot], Evergrowing, Google [Bot], q.ignora, watchstar