[SOLVED]Held Broken Packages

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
SuddenButterfly
Level 1
Level 1
Posts: 8
Joined: Sat Jun 16, 2018 7:04 am

[SOLVED]Held Broken Packages

Post by SuddenButterfly » Sun Jun 17, 2018 5:19 am

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 SuddenButterfly on Mon Jun 18, 2018 1:21 pm, edited 1 time in total.

User avatar
karlchen
Level 19
Level 19
Posts: 9412
Joined: Sat Dec 31, 2011 7:21 am
Location: Germany

Re: Held Broken Packages

Post by karlchen » Sun Jun 17, 2018 6:35 am

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
Linux Mint 18.1 64-bit Cinnamon Desktop, Total Commander 9.21a 64-bit
Ubuntu 18.04.1 32-bit Mate Desktop, Total Commander 9.21a 32-bit
Windows? - 1 window in every room

SuddenButterfly
Level 1
Level 1
Posts: 8
Joined: Sat Jun 16, 2018 7:04 am

Re: Held Broken Packages

Post by SuddenButterfly » Mon Jun 18, 2018 11:01 am

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 19
Level 19
Posts: 9412
Joined: Sat Dec 31, 2011 7:21 am
Location: Germany

Re: Held Broken Packages

Post by karlchen » Mon Jun 18, 2018 11:08 am

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
Linux Mint 18.1 64-bit Cinnamon Desktop, Total Commander 9.21a 64-bit
Ubuntu 18.04.1 32-bit Mate Desktop, Total Commander 9.21a 32-bit
Windows? - 1 window in every room

SuddenButterfly
Level 1
Level 1
Posts: 8
Joined: Sat Jun 16, 2018 7:04 am

Re: Held Broken Packages

Post by SuddenButterfly » Mon Jun 18, 2018 11:36 am

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

User avatar
Sir Charles
Level 7
Level 7
Posts: 1832
Joined: Thu Jan 04, 2018 1:00 pm

Re: Held Broken Packages

Post by Sir Charles » 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
?
I suppose that's one of the ironies of life, doing the wrong thing at the right moment -C.C.

SuddenButterfly
Level 1
Level 1
Posts: 8
Joined: Sat Jun 16, 2018 7:04 am

Re: Held Broken Packages

Post by SuddenButterfly » Mon Jun 18, 2018 12:06 pm

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

User avatar
Sir Charles
Level 7
Level 7
Posts: 1832
Joined: Thu Jan 04, 2018 1:00 pm

Re: Held Broken Packages

Post by Sir Charles » Mon Jun 18, 2018 12:39 pm

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.
I suppose that's one of the ironies of life, doing the wrong thing at the right moment -C.C.

SuddenButterfly
Level 1
Level 1
Posts: 8
Joined: Sat Jun 16, 2018 7:04 am

Re: Held Broken Packages

Post by SuddenButterfly » Mon Jun 18, 2018 1:21 pm

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

User avatar
Sir Charles
Level 7
Level 7
Posts: 1832
Joined: Thu Jan 04, 2018 1:00 pm

Re: [SOLVED]Held Broken Packages

Post by Sir Charles » Mon Jun 18, 2018 3:34 pm

You are welcome!
I suppose that's one of the ironies of life, doing the wrong thing at the right moment -C.C.

Post Reply

Return to “Newbie Questions”