Synaptic Package Manager problems

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Post Reply
asteroth
Level 1
Level 1
Posts: 9
Joined: Mon Oct 26, 2020 5:03 pm

Synaptic Package Manager problems

Post by asteroth »

Hello, I was trying to access Synaptic Package Manager and I got this.

Code: Select all

E: Malformed entry 1 in list file /etc/apt/sources.list.d/additional-repositories.list (Component)
E: The list of sources could not be read.
Go to the repository dialog to correct the problem.
E: _cache->open() failed, please report.
What should I do? I'm certain this has come before but I just not seeing it.
User avatar
Larry78723
Level 11
Level 11
Posts: 3526
Joined: Wed Jan 09, 2019 7:01 pm
Location: Jasper County, SC, USA

Re: Synaptic Package Manager problems

Post by Larry78723 »

Please post the results of the following command

Code: Select all

inxi -r
Image
asteroth
Level 1
Level 1
Posts: 9
Joined: Mon Oct 26, 2020 5:03 pm

Re: Synaptic Package Manager problems

Post by asteroth »

Code: Select all

Repos:     Active apt sources in file: /etc/apt/sources.list.d/additional-repositories.list
           deb https://dl.winehq.org/wine-builds/ubuntu/bionic main
           deb http://packages.domain.com/ xenial main
           Active apt sources in file: /etc/apt/sources.list.d/official-package-repositories.list
           deb http://packages.linuxmint.com sylvia main upstream import backport #id:linuxmint_main
           deb http://archive.ubuntu.com/ubuntu xenial main restricted universe multiverse
           deb http://archive.ubuntu.com/ubuntu xenial-updates main restricted universe multiverse
           deb http://archive.ubuntu.com/ubuntu xenial-backports main restricted universe multiverse
           deb http://security.ubuntu.com/ubuntu/ xenial-security main restricted universe multiverse
           deb http://archive.canonical.com/ubuntu/ xenial partner
User avatar
Larry78723
Level 11
Level 11
Posts: 3526
Joined: Wed Jan 09, 2019 7:01 pm
Location: Jasper County, SC, USA

Re: Synaptic Package Manager problems

Post by Larry78723 »

Go into Software Sources --> Additional Repositories and uncheck the packages.domain.com entry then try again.
Image
asteroth
Level 1
Level 1
Posts: 9
Joined: Mon Oct 26, 2020 5:03 pm

Re: Synaptic Package Manager problems

Post by asteroth »

Okay. I did that and I got the same. But I noticed a wine repository and unchecked it. And tried again which went through. With both unchecked.
User avatar
Larry78723
Level 11
Level 11
Posts: 3526
Joined: Wed Jan 09, 2019 7:01 pm
Location: Jasper County, SC, USA

Re: Synaptic Package Manager problems

Post by Larry78723 »

That would have been the next step. I don't use wine but if I remember correctly it's now installed via the terminal using

Code: Select all

 sudo apt install wine-installer
Image
asteroth
Level 1
Level 1
Posts: 9
Joined: Mon Oct 26, 2020 5:03 pm

Re: Synaptic Package Manager problems

Post by asteroth »

Okay. Should I do anything else? Also I would like to try using crossover(?) but is says its missing a dendency? Or should I put that question elsewhere?
User avatar
Larry78723
Level 11
Level 11
Posts: 3526
Joined: Wed Jan 09, 2019 7:01 pm
Location: Jasper County, SC, USA

Re: Synaptic Package Manager problems

Post by Larry78723 »

I'm not familiar with it. Someone else will have to help you with that.
Image
asteroth
Level 1
Level 1
Posts: 9
Joined: Mon Oct 26, 2020 5:03 pm

Re: Synaptic Package Manager problems

Post by asteroth »

Thank you.
User avatar
karlchen
Level 21
Level 21
Posts: 13829
Joined: Sat Dec 31, 2011 7:21 am
Location: Germany

Re: Synaptic Package Manager problems

Post by karlchen »

asteroth wrote:
Mon Oct 26, 2020 5:40 pm
Okay. I did that and I got the same. But I noticed a wine repository and unchecked it. And tried again which went through. With both unchecked.
The error message about incorrect line 1 was caused by a missing space character before bionic in line 1.
Wrong: deb https://dl.winehq.org/wine-builds/ubuntu/bionic main
Right: deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main
As you disabled the incorrect line 1, the initial error message disappeared of course.

In addition bionic is very likely incorrect for your system, because the other entries all reference sylvia/xenial.
--
By the way:
Larry78723's advice to disable or remove the line 2, deb http://packages.domain.com/ xenial main, had been correct.
The line was syntactically correct, but the server address was a dummy address.
--
Brief summary: Good that both lines have been disabled.
--

About installing Wine or Crossover:
Yes, please, open a new thread.
By the way: wine-installer was introduced in Mint 19, so it is not available on Mint 18.3 sylvia, yet.
Image
Linux Mint 19.3 64-bit Cinnamon, Total Commander 9.51 64-bit
Good Company
asteroth
Level 1
Level 1
Posts: 9
Joined: Mon Oct 26, 2020 5:03 pm

Re: Synaptic Package Manager problems

Post by asteroth »

How does one go about removing or changes those?
User avatar
karlchen
Level 21
Level 21
Posts: 13829
Joined: Sat Dec 31, 2011 7:21 am
Location: Germany

Re: Synaptic Package Manager problems

Post by karlchen »

asteroth wrote:
Tue Oct 27, 2020 11:11 am
How does one go about removing or changes those?
I do not quite understand the question, because according to your own post above, you have disabled both offending entries using Software Sources.
As you are able to disable entries in Software Sources, you should be able to remove them as well, using Software Sources.
Image
Linux Mint 19.3 64-bit Cinnamon, Total Commander 9.51 64-bit
Good Company
asteroth
Level 1
Level 1
Posts: 9
Joined: Mon Oct 26, 2020 5:03 pm

Re: Synaptic Package Manager problems

Post by asteroth »

Ah. Sorry. Thank you again.
Post Reply

Return to “Newbie Questions”