[SOLVED]Held Broken Packages

Quick to answer questions about finding your way around Linux Mint as a new user.
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. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
SuddenButterfly

[SOLVED]Held Broken Packages

Post by SuddenButterfly »

I removed Playonlinux from my computer. I probably done it wrong. Now i'm trying to reinstall it and i receive this problem:

Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
playonlinux : Depends: icoutils but it is not installable
E: Unable to correct problems, you have held broken packages.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
karlchen
Level 23
Level 23
Posts: 18206
Joined: Sat Dec 31, 2011 7:21 am
Location: Germany

Re: Held Broken Packages

Post by karlchen »

Hello, SuddenButterfly.

We will need a few more technically precise details, before being able to give any useful advice.
Please open a terminal window.
  • Execute the commandline

    Code: Select all

    inxi -Sxx
    Mark the screen output and paste it in your next reply. This will tell us which Mint version we are talking about.
  • Execute the commandline

    Code: Select all

    dpkg --list icoutils
    Mark the screen output and paste it in your next reply.
  • Execute the commandline

    Code: Select all

    apt-cache policy icoutils
    Mark the screen output and paste it in your next reply.
  • Execute the commandline

    Code: Select all

    sudo apt-get update
    and next

    Code: Select all

    sudo apt-get install icoutils
    Mark the complete screen output and paste it in your next reply. Should help find out why icoutils cannot be installed.
Best regards,
Karl
Image
The people of Alderaan have been bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine for 771 days now.
Lifeline
SuddenButterfly

Re: Held Broken Packages

Post by SuddenButterfly »

Here is reslults:

Code: Select all

inxi -Sxx
:
System: Host: bugra-To-be-filled-by-O-E-M Kernel: 4.10.0-38-generic x86_64 (64 bit gcc: 5.4.0)
Desktop: Cinnamon 3.6.7 (Gtk 3.18.9-1ubuntu3.3) dm: lightdm
Distro: Linux Mint 18.3 Sylvia

Code: Select all

dpkg --list icoutils
dpkg-query: no packages found matching icoutils

Code: Select all

sudo apt-get install icoutils
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package icoutils is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'icoutils' has no installation candidate
User avatar
karlchen
Level 23
Level 23
Posts: 18206
Joined: Sat Dec 31, 2011 7:21 am
Location: Germany

Re: Held Broken Packages

Post by karlchen »

Hi, SuddenButterfly.

And what does

Code: Select all

apt-cache policy icoutils
display? It should reveal, why icoutils does not have an installation candidate.

Karl
Image
The people of Alderaan have been bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine for 771 days now.
Lifeline
SuddenButterfly

Re: Held Broken Packages

Post by SuddenButterfly »

It says
icoutils:
Installed: (none)
Candidate: (none)
Version table:
Sir Charles

Re: Held Broken Packages

Post by Sir Charles »

Could you post the output from:

Code: Select all

cat /etc/apt/sources.list.d/official-package-repositories.list
?
SuddenButterfly

Re: Held Broken Packages

Post by SuddenButterfly »

Marziano wrote: Mon Jun 18, 2018 11:45 am Could you post the output from:

Code: Select all

cat /etc/apt/sources.list.d/official-package-repositories.list
?
Result is :
cat /etc/apt/sources.list.d/official-package-repositories.list: No such file or directory
Sir Charles

Re: Held Broken Packages

Post by Sir Charles »

SuddenButterfly wrote: Mon Jun 18, 2018 12:06 pm cat /etc/apt/sources.list.d/official-package-repositories.list: No such file or directory
That's a bit puzzling. There needs to be such a list in order for you to be able to update your system and install anything at all from the repositories.

Let's try this: open Software Sources from the application menu. Click on the "Restore the default settings" and at top right, click on "Update the cache".
Now if you run:

Code: Select all

cat /etc/apt/sources.list.d/official-package-repositories.list
you should get the following output:

Code: Select all

deb http://packages.linuxmint.com sylvia main upstream import backport 

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
Now the component "universe" is relevant here since the lacking package, namely icoutils (0.31.0-3), comes from this particular repository.
(see https://packages.ubuntu.com/xenial/icoutils)

Now with an updated APT cache, if you run the command:

Code: Select all

apt-cache policy icoutils
as given above by karlchen, it should show a candidate for install.
SuddenButterfly

Re: Held Broken Packages

Post by SuddenButterfly »

Thank you very much for both of you, this solved my problem.
Sir Charles

Re: [SOLVED]Held Broken Packages

Post by Sir Charles »

You are welcome!
Locked

Return to “Beginner Questions”