LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-29-2018, 03:00 PM   #1
TBotNik
Member
 
Registered: May 2016
Location: Greenville, TX
Distribution: Kubuntu 18.04
Posts: 796

Rep: Reputation: Disabled
Install problems


All,

Kubutu 14.04 LTS here on all machines.

Was having problems with MySQL not installing on my Laptop. Had run all the normal stuff, no change, so went into Synaptic and selected all the right stuff and ran, had not selected anything having to do with KDE but saw that it was uninstalling the desktop as Synaptic ran, could actually run MySQL and login via the cmd line after synaptic finished, but had to restart and sure enough, no desktop!

So started trying to re-install it with:

Code:
apt-get install kubuntu-desktop
but getting the error:

Quote:
E: Unable to correct problems, you may have held broken packages.
This also gives a list of 20 dependencies that it says will not be installed because of the held pacakges.

But running code:

Code:
apt-get -f install
dpkg --configure -a
dpkg --get-selected | grep hold
apt-get autoremove
apt-get autoclean $$ apt-get clear cache
apt-get update && apt-get upgrade
apt-get clean
apt-get dist-upgrade
None of these fixed anything!

Any suggestions as what to do next?

Obviously cannot get to anything without the desktop installed and running!

Cheers!

TBNK

PS

The "dpkg --get-selected | grep hold" cmd show absolutely nothing held!

Cheers!

Last edited by TBotNik; 08-30-2018 at 10:06 AM.
 
Old 08-29-2018, 04:48 PM   #2
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
The ideal would be that you would roll back to a point before the problem occurred using a system backup/image/snapshot. Do you have any?

If not, let's have a look at those broken packages (please don't include the line of equals signs):

Code:
dpkg -l | grep -v "^ii"
 
Old 08-30-2018, 10:00 AM   #3
TBotNik
Member
 
Registered: May 2016
Location: Greenville, TX
Distribution: Kubuntu 18.04
Posts: 796

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by hydrurga View Post
The ideal would be that you would roll back to a point before the problem occurred using a system backup/image/snapshot. Do you have any?

If not, let's have a look at those broken packages (please don't include the line of equals signs):

Code:
dpkg -l | grep -v "^ii"
hydrurga,

Tried that but the list produced shows nothing broken or held!

TBNK
 
Old 08-30-2018, 12:17 PM   #4
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
show us the complete output of
Code:
apt-get update
apt-get upgrade
apt-get install kubuntu-desktop
Quote:
Originally Posted by TBotNik View Post
Tried that but the list produced shows nothing broken or held!
well does it show anything?
commands and their complete output please. no paraphrasing.

Last edited by ondoho; 08-30-2018 at 12:18 PM.
 
Old 09-03-2018, 01:34 AM   #5
mehta_000
LQ Newbie
 
Registered: Jan 2012
Posts: 2

Rep: Reputation: Disabled
dear Sir(s),

Please guide me to install Canon LBP2900B printer in Laptop (Fedora 28).

regards

mehta
 
Old 09-05-2018, 01:32 PM   #6
TBotNik
Member
 
Registered: May 2016
Location: Greenville, TX
Distribution: Kubuntu 18.04
Posts: 796

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by mehta_000 View Post
dear Sir(s),

Please guide me to install Canon LBP2900B printer in Laptop (Fedora 28).

regards

mehta
Mehta,

Write up what you've done, on a new thread here, then via chat, go to irc.freenode.net and join the ##linux channel ask the Q there and paste in the URL where you wrote up what you've done. The gurus on irc.freenode.net will help you solve the problem!

Cheers!

TBNK

Last edited by TBotNik; 09-05-2018 at 01:38 PM.
 
Old 09-12-2018, 05:14 PM   #7
TBotNik
Member
 
Registered: May 2016
Location: Greenville, TX
Distribution: Kubuntu 18.04
Posts: 796

Original Poster
Rep: Reputation: Disabled
More

All,

OK foound out why mysql is jerking out the kde & plasma desktop!

I run:

Code:
apt-get install mysql-server-5.6 mysql-client-5.6 mysql-common-5.6 mysql-client-core-5.6 mysql-server-core-5.6 mysql-common-5.6 mysql-common libdbd-mysql-perl
I get these results:
Code:
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:
 mysql-common : Conflicts: mysql-client-5.6 but 5.6.33-0ubuntu0.14.04.1 is to be installed
                Conflicts: mysql-client-core-5.6 but 5.6.33-0ubuntu0.14.04.1 is to be installed
                Conflicts: mysql-server-5.6 but 5.6.33-0ubuntu0.14.04.1 is to be installed
                Conflicts: mysql-server-core-5.6 but 5.6.33-0ubuntu0.14.04.1 is to be installed
E: Unable to correct problems, you have held broken packages.
But you cannot install mysql-*-5.5 or 5.6 as it says no such named packages exist.

Trying to remove mysql-common running:
Code:
apt-get purge/remove mysql-common
Is where all the dependencie are tied to the desktop, so it completely destroys the DT. This should not be. Nothing in the DB should ever actually be tied to the desktop.

Have not been able to find any HOWTOs on this issue, but will cross post this to the MySQL help forum.

Cheers!

TBNK
 
Old 09-12-2018, 05:32 PM   #8
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Just in case, can you check your software sources with:

Code:
inxi -r
 
Old 09-14-2018, 10:36 AM   #9
TBotNik
Member
 
Registered: May 2016
Location: Greenville, TX
Distribution: Kubuntu 18.04
Posts: 796

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by hydrurga View Post
Just in case, can you check your software sources with:

Code:
inxi -r
hydrurga,

Wasn't installed so ran install and killed my desktop again as the apt-get update still had the bad mysql install files that keep killing my desktop.

Cheers!

TBNK
 
Old 09-14-2018, 10:50 AM   #10
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Quote:
Originally Posted by TBotNik View Post
hydrurga,

Wasn't installed so ran install and killed my desktop again as the apt-get update still had the bad mysql install files that keep killing my desktop.

Cheers!

TBNK
No problem. Try the following instead:

Code:
for i in /etc/apt/sources.list{,.d/*}; do echo file: $i; cat $i; echo ====; done
 
Old 09-17-2018, 11:55 AM   #11
TBotNik
Member
 
Registered: May 2016
Location: Greenville, TX
Distribution: Kubuntu 18.04
Posts: 796

Original Poster
Rep: Reputation: Disabled
Results

file: /etc/apt/sources.list
# deb cdrom:[Kubuntu 14.04.1 LTS _Trusty Tahr_ - Release amd64 (20140722.2)]/ trusty main multiverse restricted universe

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://us.archive.ubuntu.com/ubuntu/ trusty main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://us.archive.ubuntu.com/ubuntu/ trusty universe
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty universe
deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates universe
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://us.archive.ubuntu.com/ubuntu/ trusty multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty multiverse
deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://us.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu trusty-security main restricted
deb-src http://security.ubuntu.com/ubuntu trusty-security main restricted
deb http://security.ubuntu.com/ubuntu trusty-security universe
deb-src http://security.ubuntu.com/ubuntu trusty-security universe
deb http://security.ubuntu.com/ubuntu trusty-security multiverse
deb-src http://security.ubuntu.com/ubuntu trusty-security multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://archive.canonical.com/ubuntu trusty partner
deb-src http://archive.canonical.com/ubuntu trusty partner

## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://extras.ubuntu.com/ubuntu trusty main
deb-src http://extras.ubuntu.com/ubuntu trusty main
# ppa:ubuntu-mozilla-security/ppa
deb http://archive.ubuntu.com/ubuntu trusty universe
# deb-src http://archive.ubuntu.com/ubuntu trusty universe
# deb-src http://archive.ubuntu.com/ubuntu trusty universe
====
file: /etc/apt/sources.list.d/mysql.list
### THIS FILE IS AUTOMATICALLY CONFIGURED ###
# You may comment out entries below, but any other modifications may be lost.
# Use command 'dpkg-reconfigure mysql-apt-config' as root for modifications.
deb http://repo.mysql.com/apt/ubuntu/ trusty mysql-apt-config
deb http://repo.mysql.com/apt/ubuntu/ trusty mysql-5.7
deb http://repo.mysql.com/apt/ubuntu/ trusty mysql-tools
#deb http://repo.mysql.com/apt/ubuntu/ trusty mysql-tools-preview
deb-src http://repo.mysql.com/apt/ubuntu/ trusty mysql-5.7
====
file: /etc/apt/sources.list.d/teamviewer.list
### TeamViewer DEB repository list

### NOTE: Manual changes to this file
### - prevent it from being updated by TeamViewer package updates
### - will be lost after using the 'teamviewer repo' command
### The original file can be restored with this command:
### cp /opt/teamviewer/tv_bin/script/teamviewer.list /etc/apt/sources.list.d/teamviewer.list
### which has the same effect as 'teamviewer repo default'

### NOTE: It is preferred to use the following commands to edit this file:
### teamviewer repo - show current repository configuration
### teamviewer repo default - restore default configuration
### teamviewer repo disable - disable the repository
### teamviewer repo main [stable] - make all TeamViewer packages available (default)
### teamviewer repo tv13 [stable] - make TeamViewer 13 packages available
### stable omit preview and beta releases


### Choose stable main to receive updates for TeamViewer 13 and upcoming major releases
### Choose preview main to receive early updates for TeamViewer 13 and to receive major beta releases

### Choose stable tv13 to receive updates for TeamViewer 13
### Choose preview tv13 to receive early updates for TeamViewer 13

deb http://linux.teamviewer.com/deb stable main
deb http://linux.teamviewer.com/deb preview main

# deb http://linux.teamviewer.com/deb stable tv13
# deb http://linux.teamviewer.com/deb preview tv13
====
file: /etc/apt/sources.list.d/ubuntu-mozilla-security-ppa-trusty.list
deb http://ppa.launchpad.net/ubuntu-mozi...ity/ppa/ubuntu trusty main
# deb-src http://ppa.launchpad.net/ubuntu-mozi...ity/ppa/ubuntu trusty main
====
file: /etc/apt/sources.list.d/ubuntu-mozilla-security-ppa-trusty.list.save
deb http://ppa.launchpad.net/ubuntu-mozi...ity/ppa/ubuntu trusty main
# deb-src http://ppa.launchpad.net/ubuntu-mozi...ity/ppa/ubuntu trusty main
====
file: /etc/apt/sources.list.d/ubuntu-wine-ppa-trusty.list
deb http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu trusty main
# deb-src http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu trusty main
====
 
Old 09-17-2018, 12:37 PM   #12
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Thanks TBotNik.

Firstly, as an aside, it's best when pasting code or output here to do it within CODE tags (see https://www.linuxquestions.org/quest...og.php?b=36313).

Right, to those software sources.

/etc/apt/sources.list
(the usual default can be found at https://gist.github.com/rohitrawat/6...3eac3a11d4afc1 - in your case, substitute trusty for xenial and add the extras repo).

I'm not sure what the difference is between:

Code:
deb http://us.archive.ubuntu.com/ubuntu/ trusty universe
and

Code:
deb http://archive.ubuntu.com/ubuntu trusty universe
(unless this was a trusty-specific thing) so you might have a duplicate there - best to comment out the second one.

/etc/apt/sources.list.d/mysql.list
Probably the cause of your issue. May be a bit late to roll things back without a lot of mucking around. I highly recommend that from now on you make a system image/backup/snapshot before installing non-trivial software, or at least make them on a fairly regular basis so that you can roll back if anything goes awry.

/etc/apt/sources.list.d/teamviewer.list
Are you sure that you want the preview repo? Might be better to stick with the stable one.

/etc/apt/sources.list.d/ubuntu-mozilla-security-ppa-trusty.list and
/etc/apt/sources.list.d/ubuntu-mozilla-security-ppa-trusty.list.save
Duplicates. In any case, the relevant PPA says this "Staging PPA for Mozilla and other browser-related security updates. Unless you are testing updates, you should not install packages from this PPA."

So, if you are not a developer testing updates of Firefox, delete these software sources.

Let me know when you've sorted these out and we'll have a look at the mysql packages you have installed.
 
Old 09-17-2018, 01:00 PM   #13
TBotNik
Member
 
Registered: May 2016
Location: Greenville, TX
Distribution: Kubuntu 18.04
Posts: 796

Original Poster
Rep: Reputation: Disabled
Not

hydrurga,

Not upgrading to Xenial (16.04) as it's total trash and bricked my laptop.

I've determined that MySQL or the MySQL builds were changed significantly, which is now dependency interwoven instead of being "stand alone" as it use to be. Matter of fact to install the LAMP stack the cmd used to be:

Code:
apt-get install lamp-server
Nothing else and it installed flawlessly, but now it's all trash and crashes. It keeps destroying all my machines running MySQl so seriously thinking about another non-Ubuntu Linux fork as these just no longer work!

Thank goodness I'm not on project right now or I would be loosing well over $250K, due to this total screwup!

Cheers!

TBNK
 
Old 09-17-2018, 01:04 PM   #14
TBotNik
Member
 
Registered: May 2016
Location: Greenville, TX
Distribution: Kubuntu 18.04
Posts: 796

Original Poster
Rep: Reputation: Disabled
hydrurga,

Can't even advertise myself as available for work till MySQL is working flawlessly! Thought I was flawless on my server but had to reboot this AM and BAM the plasma DT was gone. Now restoring! Got it down to 2 BASH script to restore KDE, but that is without MySQL and all development is in PHP with MySQL interactions!

TBNK
 
Old 09-17-2018, 01:09 PM   #15
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Quote:
Originally Posted by TBotNik View Post
hydrurga,

Not upgrading to Xenial (16.04) as it's total trash and bricked my laptop.
At no point did I suggest you do that.

Given that there is so much income/money riding on this, perhaps you ought to pay a Linux expert to sort it out for you?
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
GRUB install problems... (post windows install on ubuntu) sersdf Linux - Software 4 02-27-2009 07:59 AM
apt-get install dependency problems with hplip software and kde install for Agnula maybi7 Linux - Software 1 02-03-2007 05:16 PM
install suse 9.3 on a PIII system??? problems in the install screen : flickers! :( akshay_jp SUSE / openSUSE 3 09-12-2006 11:53 AM
Ethernet Adsl Modem Driver Problems And Install Problems... akhilnair Linux - Hardware 12 11-28-2004 08:19 AM
Mandrake 9.1 Install problems (Graphical problems) sw4eternity Linux - Newbie 5 11-01-2003 08:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration