[SOLVED]problem with installing software

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
ghost333

[SOLVED]problem with installing software

Post by ghost333 »

I am tring to install lsb on Linux Mint 9 main but it seems i cant...
here is what happnes:
mark@mark-desktop ~ $ sudo apt-get install lsb
Reading package lists... Done
Building dependency tree
Reading state information... Done
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:
lsb: Depends: lsb-desktop but it is not going to be installed
E: Broken packages

mark@mark-desktop ~ $ sudo apt-get install lsb-desktop
Reading package lists... Done
Building dependency tree
Reading state information... Done
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:
lsb-desktop: Depends: libqt4-gui (>= 4.3) but it is not going to be installed
E: Broken packages

mark@mark-desktop ~ $ sudo apt-get install libqt4-gui
Reading package lists... Done
Building dependency tree
Reading state information... Done
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:
libqt4-gui: Depends: libqtgui4 (= 4:4.6.2-0ubuntu5.1) but 4:4.7.0-0ubuntu2~lucid1~ppa1 is to be installed
Depends: libqt4-svg (= 4:4.6.2-0ubuntu5.1) but 4:4.7.0-0ubuntu2~lucid1~ppa1 is to be installed
Depends: libqt4-opengl (= 4:4.6.2-0ubuntu5.1) but 4:4.7.0-0ubuntu2~lucid1~ppa1 is to be installed
Depends: libqt4-designer (= 4:4.6.2-0ubuntu5.1) but 4:4.7.0-0ubuntu2~lucid1~ppa1 is to be installed
Depends: libqt4-assistant (= 4:4.6.2-0ubuntu5.1) but it is not going to be installed
E: Broken packages

thx in advance
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.
dawgdoc

Re: problem with installing software

Post by dawgdoc »

it looks like you have entered your on dependency nightmare. The lsb you are installing wants one version of libqt4-gui and its dependencies and you seem to have added a ppa repository that has made newer versions of the packages available, versions which are in conflict to what lsb is wanting.

I DO NOT KNOW IF THE FOLLOWING WILL WORK OR THAT IT MAY NOT BREAK THINGS BEYOND REPAIR
You could disable the offending ppa, run sudo apt-get update and see if you have the proper packages available. I would check in Synaptic to see what versions are then available. I think the terminal command is sudo apt-get -v libqt4-gui If this does provide the right versions, apt-get will allow you to run a simulated action. sudo apt-get -s install libqt4-gui

If you are able to install lsb, you could then re-enable the ppa. Be careful what packages you upgrade thereafter.

apt-get also has a force option which you may be able to use to force the older version of libqt4-gui and its dependencies to be installed but beware of it. From the apt-get man page
--force-yes
Force yes; This is a dangerous option that will cause apt to
continue without prompting if it is doing something potentially
harmful. It should not be used except in very special situations.
Using force-yes can potentially destroy your system! Configuration
Item: APT::Get::force-yes.
I hope this gives you some options to look up. Do realize I HAVE NOT TRIED ANY OF THIS IN ANY SITUATION.
User avatar
Midnighter
Level 6
Level 6
Posts: 1327
Joined: Tue May 22, 2007 1:52 pm
Location: Western Australia

Re: problem with installing software

Post by Midnighter »

Please post a copy of the contents of your /etc/apt/sources.list file.
If you accept - and I do - that freedom of speech is important, then you are going to have to defend the indefensible. That means you are going to be defending the right of people to read, or to write, or to say, what you don't say or like or want said.
vincent

Re: problem with installing software

Post by vincent »

Midnighter wrote:Please post a copy of the contents of your /etc/apt/sources.list file.
Not just that, but list everything you have in /etc/apt/sources.list.d/ as well, i.e.

Code: Select all

ls /etc/apt/sources.list.d/
ghost333

Re: problem with installing software

Post by ghost333 »

sorry i should have posted this from begin i was somehow frustrated and forgot it.

Code: Select all

mark@mark-desktop ~ $ cat /etc/apt/sources.list
deb http://archive.ubuntu.com/ubuntu/ lucid main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ lucid-updates main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ lucid-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu/ lucid partner
deb http://packages.linuxmint.com/ isadora main upstream import


deb http://packages.medibuntu.org/ lucid free non-free
deb http://archive.removed/ubuntu lucid-removed apps
deb http://archive.removed/ubuntu lucid-removed games

mark@mark-desktop ~ $ ls /etc/apt/sources.list.d/
gregory-hainaut-pcsx2.official.ppa-lucid.list       kubuntu-ppa-backports-lucid.list       local-repository.list
gregory-hainaut-pcsx2.official.ppa-lucid.list.save  kubuntu-ppa-backports-lucid.list.save  local-repository.list.save


User avatar
Midnighter
Level 6
Level 6
Posts: 1327
Joined: Tue May 22, 2007 1:52 pm
Location: Western Australia

Re: problem with installing software

Post by Midnighter »

I'd suggest disabling the added kubuntu backports repos, do a refresh, try again, and see if it helps. Added repos have created conflicts before, and disabling/removing them normally helps.
If you accept - and I do - that freedom of speech is important, then you are going to have to defend the indefensible. That means you are going to be defending the right of people to read, or to write, or to say, what you don't say or like or want said.
ghost333

Re: problem with installing software

Post by ghost333 »

I did and afterwards i updated and cleaned but still nothing
ghost333

Re: problem with installing software

Post by ghost333 »

ok i found out what happend it seems that one unwanted package was installed from the kubuntu rep ,
i had to unistall it and reinstall from the local rep.
Locked

Return to “Software & Applications”