Tuesday, May 7, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 5713  / 1 Year ago, tue, may 16, 2023, 11:55:35

I am trying to install the lubuntu-desktop package.



user@host:~$ sudo apt-get install lubuntu-desktop


fails with this error:



The following packages have unmet dependencies.
lubuntu-desktop : Depends: gdebi but it is not going to be installed
E: Unable to correct problems, you have held broken packages.


so I proceed with



user@host:~$ sudo apt-get install gdebi


leading to



The following packages have unmet dependencies.
gdebi : Depends: gdebi-core (= 0.9.5.3ubuntu2) but 0.9.5.3ubuntu1 is to be installed
Recommends: libgtk2-perl but it is not going to be installed
E: Unable to correct problems, you have held broken packages.


So I go ahead and grab this libgtk2--perl package, and then try installing gdebi again, leading to:



user@host:~$ sudo apt-get install gdebi
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.
gdebi : Depends: gdebi-core (= 0.9.5.3ubuntu2) but 0.9.5.3ubuntu1 is to be installed
E: Unable to correct problems, you have held broken packages.


What has gone wrong but mainly, how do I correct this??



EDIT: adding requested information



GDEBI



user@host:~$ sudo apt-cache policy gdebi
gdebi:
Installed: (none)
Candidate: 0.9.5.3ubuntu2
Version table:
0.9.5.3ubuntu2 0
500 http://it.archive.ubuntu.com/ubuntu/ trusty-proposed/universe amd64 Packages
0.9.5.3ubuntu1 0
500 http://it.archive.ubuntu.com/ubuntu/ trusty-updates/universe amd64 Packages
0.9.5.3 0
500 http://it.archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages


GDEBI-CORE



user@host:~$ sudo apt-cache policy gdebi-core
gdebi-core:
Installed: 0.9.5.3ubuntu1
Candidate: 0.9.5.3ubuntu1
Version table:
*** 0.9.5.3ubuntu1 0
500 http://it.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
100 /var/lib/dpkg/status
0.9.5.3 0
500 http://it.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages

More From » apt

 Answers
6

Perform a full system update and try again:



sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade

[#25218] Thursday, May 18, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
eighethod

Total Points: 358
Total Questions: 112
Total Answers: 119

Location: Cayman Islands
Member since Fri, Mar 4, 2022
2 Years ago
eighethod questions
;