LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-10-2014, 06:51 PM   #1
SaintDanBert
Senior Member
 
Registered: Jan 2009
Location: Austin, TX
Distribution: Mint-17.1 with Cinnamon & KDE
Posts: 1,478
Blog Entries: 3

Rep: Reputation: 95
can I "re-install" to replace packages removed by mistake


There is this other workstation platform that has a "repair" option during install. This option looks at the files on disk and replaces ones that are different from those copied during the original install.

Can anyone tell me how to do something similar using Linux Mint-15 or Ubuntu 13.10 or similar?

Thanks in advance,
~~~ 0;-Dan
 
Old 03-10-2014, 07:36 PM   #2
ericson007
Member
 
Registered: Sep 2004
Location: Japan
Distribution: CentOS 7.1
Posts: 656

Rep: Reputation: 121Reputation: 121
If you want to repair as such, the closest way i think is to insert the original disk, start installation and run an upgrade or check other options there.

Generally linux does not need such a procedure because you should be able to configure all packages from a running system.

What exactly are you trying to achieve? In case you accidentally installed packages you don't want, look for installed packes in the package manager log files and just uninstall them.

Remember the files you refer to that will be replaced, i presume windows from what you stated, will only replace sstem files, other manually created or installed programmes are still on disk, generally just removed from registry causing what is know in the deb world as broken packages.

If you want to change custom files or just want to start fresh, the best is take a backup, format reinstall and recover only what you need.
 
Old 03-10-2014, 07:40 PM   #3
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Hi,

I guess this is related to your other thread http://www.linuxquestions.org/questi...27-4175497161/

I'm not familiar with "repair" option of the other "platform", but you can force apt-get to reinstall a package using the "reinstall" command or (equivalent to the older "install --reinstall"). Eg to reinstall all packages (assuming they are still in the repos):
Code:
apt-get reinstall $(dpkg -l | grep '^i' | awk '{ print $2 }' )
In practice it may be better to send the package list to a file, then edit the file to remove the packages that no longer exist. Alternatively you can use the 'dpkg --set-selections' and 'apt-get dselect-upgrade' method to ignore missing packages as described in the other thread.

Evo2.
 
1 members found this post helpful.
Old 03-10-2014, 07:44 PM   #4
jlinkels
Senior Member
 
Registered: Oct 2003
Location: Bonaire
Distribution: Debian Wheezy/Jessie/Sid, Linux Mint DE
Posts: 4,493

Rep: Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635
Not exactly. Mint and even Ubuntu was created for slightly more intelligent users.

If apt is still working on the command line, just install the packages which you think were lost.

For example, run once:
Code:
apt-get update
and then for each package:
Code:
apt-get install kde-full
(at least I think kde-full is the full kde desktop. If in doubt, use apt-cache search)

In short, when you install your desktop environment, your web browser and the Office package most of the other programs are pulled in as well.

In case you want to have everything installed which is installed during a standard install, go over to another known-good Mint machine. Not necessarily exactly the same version. Run:
Code:
dpkg --get-selections > selections.txt
Then copy this file to the target machine and run:
Code:
dpkg --set-selections < selections.txt
dselect update
apt-get dselect-upgrade
OTOH if you miss apt-get and friends, don't bother. Reinstall.

jlinkels
 
1 members found this post helpful.
Old 03-10-2014, 08:23 PM   #5
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,130
Blog Entries: 2

Rep: Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825
Quote:
Originally Posted by jlinkels View Post
Code:
apt-get install kde-full
(at least I think kde-full is the full kde desktop. If in doubt, use apt-cache search)
It depends. If this is just Ubuntu with KDE installed then kde-full is the correct package, if it is Kubuntu instead then the correct package is kubuntu-desktop.
 
Old 03-11-2014, 03:15 PM   #6
SaintDanBert
Senior Member
 
Registered: Jan 2009
Location: Austin, TX
Distribution: Mint-17.1 with Cinnamon & KDE
Posts: 1,478
Blog Entries: 3

Original Poster
Rep: Reputation: 95
Quote:
Originally Posted by ericson007 View Post
...
What exactly are you trying to achieve? In case you accidentally installed packages you don't want, look for installed packes in the package manager log files and just uninstall them.
...
I used:
Code:
prompt$ sudo apt-get install --assume-yes skype
...
like I had done many times before. This time, I got a huge list
of "Remove {packagename}" messages. I'm trying to recover from that error. NOTE -- When I installed Skype in the past, it just worked without any troubles. I have no idea why this time was different. (Yes, I was complacent and goofed big time. Mea culpa.)

I created a thread My Other Thread in hopes that apt-get and related package utilities offered some sort of "rollback" feature. I will continue that thread to document any apt and other direct package manipulation that I use to recover.

I opened this alternate thread to pursue other, methods to "repair" or otherwise get the missing packages back as a large block or other wholesale technique.

Thanks in advance,
~~~ 0;-Dan
 
Old 03-11-2014, 03:19 PM   #7
SaintDanBert
Senior Member
 
Registered: Jan 2009
Location: Austin, TX
Distribution: Mint-17.1 with Cinnamon & KDE
Posts: 1,478
Blog Entries: 3

Original Poster
Rep: Reputation: 95
Quote:
Originally Posted by jlinkels View Post
...
In case you want to have everything installed which is installed during a standard install, go over to another known-good Mint machine. Not necessarily exactly the same version. Run:
Code:
dpkg --get-selections > selections.txt
Then copy this file to the target machine and run:
Code:
dpkg --set-selections < selections.txt
dselect update
apt-get dselect-upgrade
I need the selections for Linux Mint-15 Cinnamon edition.
Sadly, none of my other workstations run that configuration.
 
Old 03-11-2014, 03:22 PM   #8
SaintDanBert
Senior Member
 
Registered: Jan 2009
Location: Austin, TX
Distribution: Mint-17.1 with Cinnamon & KDE
Posts: 1,478
Blog Entries: 3

Original Poster
Rep: Reputation: 95
Quote:
Originally Posted by evo2 View Post
...
In practice it may be better to send the package list to a file, then edit the file to remove the packages that no longer exist. Alternatively you can use the 'dpkg --set-selections' and 'apt-get dselect-upgrade' method to ignore missing packages as described in the other thread.
Doesn't dpkg -l > myPackages.txt report what is currently installed? Would it contain the packages that were reported under the "Removed {packagename}" messages?

Thanks,
~~~ 0;-Dan
 
Old 03-11-2014, 03:26 PM   #9
SaintDanBert
Senior Member
 
Registered: Jan 2009
Location: Austin, TX
Distribution: Mint-17.1 with Cinnamon & KDE
Posts: 1,478
Blog Entries: 3

Original Poster
Rep: Reputation: 95
Quote:
Originally Posted by evo2 View Post
...
I'm not familiar with "repair" option of the other "platform", but you can force apt-get to reinstall a package using the "reinstall" command or (equivalent to the older "install --reinstall"). Eg to reinstall all packages (assuming they are still in the repos):
Code:
apt-get reinstall $(dpkg -l | grep '^i' | awk '{ print $2 }' )
From the other thread, I tried
Code:
prompt$ sudo apt-get install {removedPackage ...}
and was buried in dependency complaints and even more notification that "{packageName} will be removed".

Is apt-get reinstall ... different from apt-get install ... in that regard?
 
Old 03-11-2014, 06:34 PM   #10
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Hi,
Quote:
Originally Posted by SaintDanBert View Post
From the other thread, I tried
Code:
prompt$ sudo apt-get install {removedPackage ...}
and was buried in dependency complaints and even more notification that "{packageName} will be removed".
The "dependency complaints" likely contain the information needed to solve this. If you post the output of the commands you are running we can probably make some progress. Without them we're pretty much flying blind.

Quote:
Is apt-get reinstall ... different from apt-get install ... in that regard?
No. "apt-get reinstall <foo>" will actually reinstall package <foo> that is currently installed. "apt-get install <foo>" will install the latest version of <foo> or do nothing if the latest version of <foo> is already installed.

Evo2.
 
Old 03-11-2014, 06:38 PM   #11
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Hi,
Quote:
Originally Posted by SaintDanBert View Post
Doesn't dpkg -l > myPackages.txt report what is currently installed?
Yes - those are the package with "i" in the second column.
Quote:
Would it contain the packages that were reported under the "Removed {packagename}" messages?
It lists every package dpkg knows about. So that includes packages that were previously installed.

Evo2.
 
Old 03-11-2014, 06:41 PM   #12
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Hi,
Quote:
Originally Posted by SaintDanBert View Post
I need the selections for Linux Mint-15 Cinnamon edition.
Sadly, none of my other workstations run that configuration.
Are you sure you need that?

You have the list of packages that were removed. Try to install them. If there are errors reported that you can't fix yourself, post them here.

Evo2.
 
Old 03-13-2014, 10:45 PM   #13
SaintDanBert
Senior Member
 
Registered: Jan 2009
Location: Austin, TX
Distribution: Mint-17.1 with Cinnamon & KDE
Posts: 1,478
Blog Entries: 3

Original Poster
Rep: Reputation: 95
Quote:
Originally Posted by evo2 View Post
Are you sure you need that?
You have the list of packages that were removed. Try to install them. If there are errors reported that you can't fix yourself, post them here.
Evo2.
Sorry, but this is a long posting.

Here is the list of "Removing" from '/var/log/apt/term.log'.
(I stripped away all of the other apt log entries.)
Code:
...
Removing account-plugin-facebook ...
Removing account-plugin-flickr ...
Removing account-plugin-generic-oauth ...
Removing account-plugin-google ...
Removing calligra ...
Removing calligraplan ...
Removing braindump ...
Removing super-boot-manager ...
Removing buc ...
Removing calibre ...
Removing calibre-bin ...
Removing krita ...
Removing calligraflow ...
Removing calligrawords ...
Removing calligraauthor ...
Removing calligrasheets ...
Removing calligrawords-common ...
Removing calligrastage ...
Removing kexi ...
Removing karbon ...
Removing calligra-libs ...
Removing ffmulticonverter ...
Removing friends ...
Removing libfriends0 ...
Removing friends-dispatcher ...
Removing gir1.2-signon-1.0 ...
Removing k3b ...
Removing kate ...
Removing kubuntu-debug-installer ...
Removing qapt-batch ...
Removing kde-runtime ...
Removing kdelibs5-plugins ...
Removing katepart ...
Removing kdelibs-bin ...
Removing kdoctools ...
Removing libaccount-plugin-1.0-0 ...
Removing signon-plugin-oauth2 ...
Removing signon-ui ...
Removing libaccounts-qt1 ...
Removing libkatepartinterfaces4 ...
Removing plasma-scriptengine-javascript ...
Removing libkactivities-bin ...
Removing libplasma3 ...
Removing nepomuk-core ...
Removing nepomuk-core-runtime ...
Removing libkdeclarative5 ...
Removing libkhtml5 ...
Removing libkateinterfaces4 ...
Removing libktexteditor4 ...
Removing libkactivities-models1 ...
Removing libkrossui4 ...
Removing libk3b6-extracodecs ...
Removing libk3b6 ...
Removing okular ...
Removing libkde3support4 ...
Removing libkmediaplayer4 ...
Removing libkprintutils4 ...
Removing libkxmlrpcclient4 ...
Removing libkcddb4 ...
Removing libokularcore3 ...
Removing libkdcraw22 ...
Removing libkfile4 ...
Removing libokularcore2abi1 ...
Removing libkdnssd4 ...
Removing sni-qt:amd64 ...
Removing libkactivities6 ...
Removing libkcompactdisc4 ...
Removing libkjsembed4 ...
Removing libnepomukcleaner4 ...
Removing libkdesu5 ...
Removing libkpty4 ...
Removing libkntlm4 ...
Removing libkjsapi4 ...
Removing libntrack-qt4-1 ...
Removing libphononexperimental4:amd64 ...
Removing libqapt2-runtime ...
Removing libpolkit-qt-1-1 ...
Removing libpoppler-qt4-4:amd64 ...
Removing libqapt2 ...
Removing libqca2-plugin-ossl:amd64 ...
Removing libqca2:amd64 ...
Removing libqimageblitz4 ...
Removing qdbus ...
Removing python3-pyqt4 ...
Removing qtqr ...
Removing python-qt4 ...
Removing libqt4-scripttools:amd64 ...
Removing libqt4-qt3support:amd64 ...
Removing libqt4-designer:amd64 ...
Removing libqt4-help:amd64 ...
Removing vym ...
Removing mint-meta-codecs ...
Removing vlc ...
Removing scribus ...
Removing luckybackup ...
Removing libqtshiva0.1:amd64 ...
Removing qt-at-spi:amd64 ...
Removing signon-plugin-password ...
Removing shotwell ...
Removing libsignon-glib1 ...
Removing signond ...
Removing libqtassistantclient4:amd64 ...
Removing libsignon-qt1 ...
Removing libqt4-sql-sqlite:amd64 ...
Removing libqt4-test:amd64 ...
Removing libthreadweaver4 ...
Removing signon-keyring-extension ...
Removing python-qt4-dbus ...
Removing libsignon-plugins-common1 ...
Removing libsignon-extension1 ...
Removing qtchooser ...
Removing libkgapi2-2:amd64 ...
Removing libkolab0 ...
Removing kdepim-runtime ...
Removing akonadi-server ...
Removing akonadi-backend-mysql ...
Removing kdepimlibs-kio-plugins ...
Removing libakonadi-calendar4 ...
Removing libakonadi-contact4 ...
Removing libakonadi-kcal4 ...
Removing libkalarmcal2 ...
Removing libmailtransport4 ...
Removing libakonadi-kmime4 ...
Removing libakonadi-socialutils4 ...
Removing libakonadi-kde4 ...
Removing libakonadi-notes4 ...
Removing libakonadiprotocolinternals1 ...
Removing libknewstuff3-4 ...
Removing libkcal4 ...
Removing libkcalutils4 ...
Removing libkpimidentities4 ...
Removing libmicroblog4 ...
Removing libnepomukcore4abi1 ...
Removing libkrosscore4 ...
Removing libkcmutils4 ...
Removing libknotifyconfig4 ...
Removing libkpimtextedit4 ...
Removing libkholidays4 ...
Removing libkidletime4 ...
Removing libkimap4 ...
Removing libkmbox4 ...
Removing phonon:amd64 ...
Removing phonon-backend-gstreamer:amd64 ...
Removing libphonon4:amd64 ...
Removing libprison0:amd64 ...
Removing libqt4-declarative:amd64 ...
Removing libqt4-script:amd64 ...
Removing libqt4-xmlpatterns:amd64 ...
Removing libqt4-sql-mysql:amd64 ...
Removing libqt4-sql:amd64 ...
Removing libkfbapi1 ...
Removing libkabc4 ...
Removing libkpimutils4 ...
Removing libkresources4 ...
Removing libkdewebkit5 ...
Removing libkparts4 ...
Removing libkemoticons4 ...
Removing libkio5 ...
Removing libnepomukutils4 ...
Removing libnepomukquery4a ...
Removing libnepomuk4 ...
Removing libkldap4 ...
Removing libkdeui5 ...
Removing libattica0.4:amd64 ...
Removing libdbusmenu-qt2:amd64 ...
Removing libkcalcore4 ...
Removing libkmime4 ...
Removing libkdecore5 ...
Removing libqjson0:amd64 ...
Removing libqtwebkit4:amd64 ...
Removing libqt4-opengl:amd64 ...
Removing libsolid4 ...
Removing libqt4-svg:amd64 ...
Removing libqtgui4:amd64 ...
Removing libsoprano4 ...
Removing libqt4-network:amd64 ...
Removing soprano-daemon ...
Removing libqt4-dbus:amd64 ...
Removing libqt4-xml:amd64 ...
Removing libqtcore4:amd64 ...
...
Here is what dpkg -l ... has to say:
Code:
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                                        Version                                  Architecture Description
+++-===========================================-========================================-============-=====================================================================================================================
rc  account-plugin-facebook                     0.10bzr13.03.26-0ubuntu1.1               amd64        GNOME Control Center account plugin for single signon - facebook
rc  account-plugin-flickr                       0.10bzr13.03.26-0ubuntu1.1               amd64        GNOME Control Center account plugin for single signon - flickr
rc  account-plugin-generic-oauth                0.10bzr13.03.26-0ubuntu1.1               amd64        GNOME Control Center account plugin for single signon - generic OAuth
rc  account-plugin-google                       0.10bzr13.03.26-0ubuntu1.1               amd64        GNOME Control Center account plugin for single signon
...
rc  akonadi-backend-mysql                       1.10.2-0ubuntu1~ubuntu13.04.1~ppa1       all          MySQL storage backend for Akonadi
rc  akonadi-server                              1.10.2-0ubuntu1~ubuntu13.04.1~ppa1       amd64        Akonadi PIM storage service
...
rc  braindump                                   1:2.7.1-0ubuntu1~ubuntu13.04~ppa2        amd64        ideas organizer application for the Calligra Suite
...
rc  buc                                         0.5.2-19                                 amd64        BUC
...
rc  calibre                                     0.9.18+dfsg1-1bzr                        all          e-book converter and library management
...
rc  calligra-libs                               1:2.7.1-0ubuntu1~ubuntu13.04~ppa2        amd64        common libraries and binaries for the Calligra Suite
rc  calligraflow                                1:2.7.1-0ubuntu1~ubuntu13.04~ppa2        amd64        flowcharting program for the Calligra Suite
...
rc  calligraplan                                1:2.7.1-0ubuntu1~ubuntu13.04~ppa2        amd64        integrated project management and planning tool
rc  calligrasheets                              1:2.7.1-0ubuntu1~ubuntu13.04~ppa2        amd64        spreadsheet for the Calligra Suite
rc  calligrastage                               1:2.7.1-0ubuntu1~ubuntu13.04~ppa2        amd64        presentation program for the Calligra Suite
...
rc  calligrawords-common                        1:2.7.1-0ubuntu1~ubuntu13.04~ppa2        amd64        shared files for calligrawords and calligraauthor
...
rc  exim4                                       4.80-7ubuntu1                            all          metapackage to ease Exim MTA (v4) installation
rc  exim4-base                                  4.80-7ubuntu1                            amd64        support files for all Exim MTA (v4) packages
rc  exim4-config                                4.80-7ubuntu1                            all          configuration for the Exim MTA (v4)
rc  exim4-daemon-light                          4.80-7ubuntu1                            amd64        lightweight Exim MTA (v4) daemon
...
rc  eximon4                                     4.80-7ubuntu1                            amd64        monitor application for the Exim MTA (v4) (X11 interface)
...
rc  hplip-gui                                   3.13.3-1ubuntu0.1                        all          HP Linux Printing and Imaging - GUI utilities (Qt-based)
...
rc  k3b                                         2.0.2-6ubuntu1                           amd64        Sophisticated CD/DVD burning application
...
rc  karbon                                      1:2.7.1-0ubuntu1~ubuntu13.04~ppa2        amd64        vector graphics application for the Calligra Suite
...
rc  kde-runtime                                 4:4.11.3-0ubuntu0.1~ubuntu13.04~ppa1     amd64        runtime components from the official KDE release
...
rc  kdelibs-bin                                 4:4.11.3-0ubuntu0.1~ubuntu13.04~ppa1     amd64        core executables for KDE Applications
...
rc  kdepim-runtime                              4:4.11.3-0ubuntu0.1~ubuntu13.04~ppa1     amd64        runtime components for Akonadi KDE
...
rc  kexi                                        1:2.7.1-0ubuntu1~ubuntu13.04~ppa2        amd64        integrated database environment for the Calligra Suite
...
rc  krita                                       1:2.7.1-0ubuntu1~ubuntu13.04~ppa2        amd64        pixel-based image manipulation program for the Calligra Suite
...
rc  libaccount-plugin-1.0-0                     0.1.6bzr13.04.05-0ubuntu1.1              amd64        libaccount-plugin for GNOME Control Center
...
rc  libaccounts-qt1                             1.6bzr13.02.27-0ubuntu1                  amd64        QT library for single sign on
...
rc  libakonadi-calendar4                        4:4.11.3-0ubuntu0.1~ubuntu13.04~ppa1     amd64        library providing calendar helpers for Akonadi items
rc  libakonadi-contact4                         4:4.11.3-0ubuntu0.1~ubuntu13.04~ppa1     amd64        library for using the Akonadi PIM data server
...
rc  libakonadi-kcal4                            4:4.11.3-0ubuntu0.1~ubuntu13.04~ppa1     amd64        library for using the Akonadi PIM data server
rc  libakonadi-kde4                             4:4.11.3-0ubuntu0.1~ubuntu13.04~ppa1     amd64        library for using the Akonadi PIM data server
rc  libakonadi-kmime4                           4:4.11.3-0ubuntu0.1~ubuntu13.04~ppa1     amd64        library for using the Akonadi PIM data server
rc  libakonadi-notes4                           4:4.11.3-0ubuntu0.1~ubuntu13.04~ppa1     amd64        library for using the Akonadi PIM data server
rc  libakonadi-socialutils4                     4:4.11.3-0ubuntu0.1~ubuntu13.04~ppa1     amd64        Akonadi resources for handling social feeds
rc  libakonadiprotocolinternals1                1.10.2-0ubuntu1~ubuntu13.04.1~ppa1       amd64        libraries for the Akonadi PIM storage service
...
rc  libattica0.4:amd64                          0.4.2-0ubuntu1~ubuntu13.04~ppa1          amd64        Qt library that implements the Open Collaboration Services API
...
rc  libdbusmenu-qt2:amd64                       0.9.2daily13.03.28-0ubuntu1              amd64        Qt implementation of the DBusMenu protocol
...
rc  libfriends0                                 0.1.2daily13.03.26-0ubuntu1              amd64        Provides an API for accessing social networks
...
...
rc  libk3b6                                     2.0.2-6ubuntu1                           amd64        KDE CD/DVD burning application library - runtime files
...
rc  libkabc4                                    4:4.11.3-0ubuntu0.1~ubuntu13.04~ppa1     amd64        library for handling address book data
rc  libkactivities-models1                      4:4.11.3-0ubuntu0.1~ubuntu13.04~ppa1     amd64        Activities models library
rc  libkactivities6                             4:4.11.3-0ubuntu0.1~ubuntu13.04~ppa1     amd64        Activities library
...
rc  libkalarmcal2                               4:4.11.3-0ubuntu0.1~ubuntu13.04~ppa1     amd64        library for handling kalarm calendar data
...
rc  libkateinterfaces4                          4:4.11.3-0ubuntu0.1~ubuntu13.04~ppa1     amd64        kate plugin interface library
rc  libkatepartinterfaces4                      4:4.11.3-0ubuntu0.1~ubuntu13.04~ppa1     amd64        kate part library
rc  libkcal4                                    4:4.11.3-0ubuntu0.1~ubuntu13.04~ppa1     amd64        library for handling calendar data
rc  libkcalcore4                                4:4.11.3-0ubuntu0.1~ubuntu13.04~ppa1     amd64        library for handling calendar data
rc  libkcalutils4                               4:4.11.3-0ubuntu0.1~ubuntu13.04~ppa1     amd64        library with utility functions for the handling of calendar data
rc  libkcddb4                                   4:4.11.3-0ubuntu0.1~ubuntu13.04~ppa1     amd64        CDDB library for KDE Platform (runtime)
rc  libkcmutils4                                4:4.11.3-0ubuntu0.1~ubuntu13.04~ppa1     amd64        utility classes for using KCM modules
rc  libkcompactdisc4                            4:4.11.2-0ubuntu1~ubuntu13.04~ppa1       amd64        CD drive library for KDE Platform (runtime)
...
rc  libkdcraw22                                 4:4.11.2-0ubuntu1~ubuntu13.04~ppa2       amd64        RAW picture decoding library
rc  libkde3support4                             4:4.11.3-0ubuntu0.1~ubuntu13.04~ppa1     amd64        KDE 3 Support Library for the KDE 4 Platform
rc  libkdeclarative5                            4:4.11.3-0ubuntu0.1~ubuntu13.04~ppa1     amd64        declarative library for plasma
rc  libkdecore5                                 4:4.11.3-0ubuntu0.1~ubuntu13.04~ppa1     amd64        KDE Platform Core Library
rc  libkdesu5                                   4:4.11.3-0ubuntu0.1~ubuntu13.04~ppa1     amd64        Console-mode Authentication Library for the KDE Platform
rc  libkdeui5                                   4:4.11.3-0ubuntu0.1~ubuntu13.04~ppa1     amd64        KDE Platform User Interface Library
rc  libkdewebkit5                               4:4.11.3-0ubuntu0.1~ubuntu13.04~ppa1     amd64        KDE WebKit Library
rc  libkdnssd4                                  4:4.11.3-0ubuntu0.1~ubuntu13.04~ppa1     amd64        DNS-SD Protocol Library for the KDE Platform
rc  libkemoticons4                              4:4.11.3-0ubuntu0.1~ubuntu13.04~ppa1     amd64        utility classes to deal with emoticon themes
...
rc  libkfbapi1                                  0.0git20130409-0ubuntu1                  amd64        Facebook API library for KDE
rc  libkfile4                                   4:4.11.3-0ubuntu0.1~ubuntu13.04~ppa1     amd64        File Selection Dialog Library for KDE Platform
rc  libkgapi2-2:amd64                           2.0.1-0ubuntu1~ubuntu13.04~ppa1          amd64        Google API library for KDE
rc  libkholidays4                               4:4.11.3-0ubuntu0.1~ubuntu13.04~ppa1     amd64        holidays calculation library
rc  libkhtml5                                   4:4.11.3-0ubuntu0.1~ubuntu13.04~ppa1     amd64        KHTML Web Content Rendering Engine
rc  libkidletime4                               4:4.11.3-0ubuntu0.1~ubuntu13.04~ppa1     amd64        library to provide information about idle time
rc  libkimap4                                   4:4.11.3-0ubuntu0.1~ubuntu13.04~ppa1     amd64        library for handling IMAP data
rc  libkio5                                     4:4.11.3-0ubuntu0.1~ubuntu13.04~ppa1     amd64        Network-enabled File Management Library for the KDE Platform
rc  libkjsapi4                                  4:4.11.3-0ubuntu0.1~ubuntu13.04~ppa1     amd64        KJS API Library for the KDE Development Platform
rc  libkjsembed4                                4:4.11.3-0ubuntu0.1~ubuntu13.04~ppa1     amd64        library for binding JavaScript objects to QObjects
rc  libkldap4                                   4:4.11.3-0ubuntu0.1~ubuntu13.04~ppa1     amd64        library for accessing LDAP
...
rc  libkmbox4                                   4:4.11.3-0ubuntu0.1~ubuntu13.04~ppa1     amd64        library for handling mbox mailboxes
rc  libkmediaplayer4                            4:4.11.3-0ubuntu0.1~ubuntu13.04~ppa1     amd64        KMediaPlayer Interface for the KDE Platform
rc  libkmime4                                   4:4.11.3-0ubuntu0.1~ubuntu13.04~ppa1     amd64        library for handling MIME data
...
rc  libknewstuff3-4                             4:4.11.3-0ubuntu0.1~ubuntu13.04~ppa1     amd64        "Get Hot New Stuff" v3 Library for the KDE Platform
rc  libknotifyconfig4                           4:4.11.3-0ubuntu0.1~ubuntu13.04~ppa1     amd64        library for configuring KDE Notifications
rc  libkntlm4                                   4:4.11.3-0ubuntu0.1~ubuntu13.04~ppa1     amd64        NTLM Authentication Library for the KDE Platform
rc  libkolab0                                   0.4.1-0ubuntu1                           amd64        Maps KDE containers to Kolab formats
...
rc  libkparts4                                  4:4.11.3-0ubuntu0.1~ubuntu13.04~ppa1     amd64        Framework for the KDE Platform Graphical Components
...
rc  libkpimidentities4                          4:4.11.3-0ubuntu0.1~ubuntu13.04~ppa1     amd64        library for managing user identities
rc  libkpimtextedit4                            4:4.11.3-0ubuntu0.1~ubuntu13.04~ppa1     amd64        library that provides a textedit with PIM-specific features
rc  libkpimutils4                               4:4.11.3-0ubuntu0.1~ubuntu13.04~ppa1     amd64        library for dealing with email addresses
rc  libkprintutils4                             4:4.11.3-0ubuntu0.1~ubuntu13.04~ppa1     amd64        utility classes to deal with printing
rc  libkpty4                                    4:4.11.3-0ubuntu0.1~ubuntu13.04~ppa1     amd64        Pseudo Terminal Library for the KDE Platform
...
rc  libkresources4                              4:4.11.3-0ubuntu0.1~ubuntu13.04~ppa1     amd64        KDE Resource framework library
rc  libkrosscore4                               4:4.11.3-0ubuntu0.1~ubuntu13.04~ppa1     amd64        Kross Core Library
rc  libkrossui4                                 4:4.11.3-0ubuntu0.1~ubuntu13.04~ppa1     amd64        Kross UI Library
rc  libktexteditor4                             4:4.11.3-0ubuntu0.1~ubuntu13.04~ppa1     amd64        KTextEditor interfaces for the KDE Platform
...
rc  libkxmlrpcclient4                           4:4.11.3-0ubuntu0.1~ubuntu13.04~ppa1     amd64        simple XML-RPC client library
...
rc  libmailtransport4                           4:4.11.3-0ubuntu0.1~ubuntu13.04~ppa1     amd64        mail transport service library
...
rc  libmicroblog4                               4:4.11.3-0ubuntu0.1~ubuntu13.04~ppa1     amd64        library for using the Microblog Akonadi Resource
...
rc  libnepomuk4                                 4:4.11.3-0ubuntu0.1~ubuntu13.04~ppa1     amd64        Nepomuk Meta Data Library
rc  libnepomukcleaner4                          4:4.11.3-0ubuntu0.1~ubuntu13.04~ppa1     amd64        Nepomuk Index Cleaner library
rc  libnepomukcore4abi1                         4:4.11.3-0ubuntu0.1~ubuntu13.04~ppa1     amd64        Nepomuk Meta Data Library
rc  libnepomukquery4a                           4:4.11.3-0ubuntu0.1~ubuntu13.04~ppa1     amd64        Nepomuk Query Library for the KDE Platform
rc  libnepomukutils4                            4:4.11.3-0ubuntu0.1~ubuntu13.04~ppa1     amd64        Nepomuk Utility Library
...
rc  libntrack-qt4-1                             016-1.1                                  amd64        Qt 4 API for ntrack
...
rc  libokularcore2abi1                          4:4.10.5-0ubuntu0.1                      amd64        libraries for the Okular document viewer
rc  libokularcore3                              4:4.11.3-0ubuntu0.1~ubuntu13.04~ppa1     amd64        libraries for the Okular document viewer
...
rc  libphonon4:amd64                            4:4.7.0really4.6.0-0ubuntu2              amd64        multimedia framework from KDE - core library
rc  libphononexperimental4:amd64                4:4.7.0really4.6.0-0ubuntu2              amd64        multimedia framework from KDE - experimental library (internal)
...
rc  libplasma3                                  4:4.11.3-0ubuntu0.1~ubuntu13.04~ppa1     amd64        Plasma Library for the KDE Platform
...
rc  libpolkit-qt-1-1                            0.103.0-1build1                          amd64        PolicyKit-qt-1 library
...
rc  libpoppler-qt4-4:amd64                      0.20.5-1ubuntu3                          amd64        PDF rendering library (Qt 4 based shared library)
...
rc  libprison0:amd64                            1.0+dfsg-1                               amd64        barcode API for Qt
...
rc  libqapt2                                    2.0.0-0ubuntu1                           amd64        QApt library package
rc  libqapt2-runtime                            2.0.0-0ubuntu1                           amd64        Runtime components for the QApt library
rc  libqca2:amd64                               2.0.3-4                                  amd64        libraries for the Qt Cryptographic Architecture
rc  libqimageblitz4                             1:0.0.6-4build1                          amd64        QImageBlitz image effects library
rc  libqjson0:amd64                             0.8.1-1                                  amd64        Qt-based library that maps JSON data to QVariant objects
...
rc  libqt4-declarative:amd64                    4:4.8.4+dfsg-0ubuntu14~ubuntu13.04~ppa2  amd64        Qt 4 Declarative module
rc  libqt4-designer:amd64                       4:4.8.4+dfsg-0ubuntu14~ubuntu13.04~ppa2  amd64        Qt 4 designer module
rc  libqt4-help:amd64                           4:4.8.4+dfsg-0ubuntu14~ubuntu13.04~ppa2  amd64        Qt 4 help module
rc  libqt4-network:amd64                        4:4.8.4+dfsg-0ubuntu14~ubuntu13.04~ppa2  amd64        Qt 4 network module
rc  libqt4-opengl:amd64                         4:4.8.4+dfsg-0ubuntu14~ubuntu13.04~ppa2  amd64        Qt 4 OpenGL module
rc  libqt4-qt3support:amd64                     4:4.8.4+dfsg-0ubuntu14~ubuntu13.04~ppa2  amd64        Qt 3 compatibility library for Qt 4
rc  libqt4-script:amd64                         4:4.8.4+dfsg-0ubuntu14~ubuntu13.04~ppa2  amd64        Qt 4 script module
rc  libqt4-scripttools:amd64                    4:4.8.4+dfsg-0ubuntu14~ubuntu13.04~ppa2  amd64        Qt 4 script tools module
rc  libqt4-sql:amd64                            4:4.8.4+dfsg-0ubuntu14~ubuntu13.04~ppa2  amd64        Qt 4 SQL module
rc  libqt4-svg:amd64                            4:4.8.4+dfsg-0ubuntu14~ubuntu13.04~ppa2  amd64        Qt 4 SVG module
rc  libqt4-test:amd64                           4:4.8.4+dfsg-0ubuntu14~ubuntu13.04~ppa2  amd64        Qt 4 test module
rc  libqt4-xml:amd64                            4:4.8.4+dfsg-0ubuntu14~ubuntu13.04~ppa2  amd64        Qt 4 XML module
rc  libqt4-xmlpatterns:amd64                    4:4.8.4+dfsg-0ubuntu14~ubuntu13.04~ppa2  amd64        Qt 4 XML patterns module
...
rc  libqtassistantclient4:amd64                 4.6.3-4ubuntu1                           amd64        Qt Assistant client library (runtime)
rc  libqtcore4:amd64                            4:4.8.4+dfsg-0ubuntu14~ubuntu13.04~ppa2  amd64        Qt 4 core module
rc  libqtgui4:amd64                             4:4.8.4+dfsg-0ubuntu14~ubuntu13.04~ppa2  amd64        Qt 4 GUI module
rc  libqtshiva0.1:amd64                         0.9.2-0ubuntu2                           amd64        Library files for Qt Interfaces to OpenShiva
rc  libqtwebkit4:amd64                          2.3.0-0ubuntu2                           amd64        Web content engine library for Qt
...
rc  libsane-hpaio                               3.13.3-1ubuntu0.1                        amd64        HP SANE backend for multi-function peripherals
...
rc  libsignon-extension1                        8.49-0ubuntu2                            amd64        Single Sign On framework
rc  libsignon-glib1                             1.9-0ubuntu1                             amd64        library for signond
rc  libsignon-plugins-common1                   8.49-0ubuntu2                            amd64        Single Sign On framework
rc  libsignon-qt1                               8.49-0ubuntu2                            amd64        Single Sign On framework
...
rc  libsolid4                                   4:4.11.3-0ubuntu0.1~ubuntu13.04~ppa1     amd64        Solid Library for KDE Platform
...
rc  libsoprano4                                 2.9.3+dfsg1-0ubuntu1~ubuntu13.04.1~ppa1  amd64        libraries for the Soprano RDF framework
...
rc  libthreadweaver4                            4:4.11.3-0ubuntu0.1~ubuntu13.04~ppa1     amd64        ThreadWeaver Library for the KDE Platform
...
rc  luckybackup                                 0.4.7-2                                  amd64        rsync-based GUI data backup utility
...
rc  okular                                      4:4.11.3-0ubuntu0.1~ubuntu13.04~ppa1     amd64        universal document viewer
...
rc  phonon:amd64                                4:4.7.0really4.6.0-0ubuntu2              amd64        multimedia framework from KDE - metapackage
...
rc  postfix                                     2.10.0-3                                 amd64        High-performance mail transport agent
...
rc  scribus                                     1.4.0.dfsg+r17300-1.1ubuntu1             amd64        Open Source Desktop Page Layout - stable branch
...
rc  shotwell                                    0.14.1-0ubuntu1                          amd64        digital photo organizer
...
rc  sni-qt:amd64                                0.2.6-0ubuntu1                           amd64        indicator support for Qt
...
rc  super-boot-manager                          0.7.15                                   all          Simple gui to configure Grub2, Burg and Plymouth.
...
rc  ttf-indic-fonts-core                        1:0.5.11ubuntu1                          all          Core collection of free fonts for languages of India
...
rc  vlc                                         2.0.8-0ubuntu0.13.04.1                   amd64        multimedia player and streamer
...
rc  vym                                         2.3.8-1                                  amd64        mindmapping tool
...
Notice that packages are marked rc instead of ii: 'r' being the action, "Remove", and 'c' being the status, "Config files", 'i' (initial) being the action "install, and 'i' being the status "installed".

I picked one, luckybackup to re-install and that happened without any complaints or problems.

Here is one that has trouble with the re-install.
Code:
prompt$ sudo apt-get install okular \
    kde-runtime kde-runtime-data kdelibs5-plugins kdelibs5-data

Reading package lists... Done
Building dependency tree       
Reading state information... Done

kde-runtime-data is already the newest version.
kdelibs5-data is already the newest version.

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:
    kde-runtime-data : Breaks: kde-runtime (< 4:4.10.80) but 4:4.10.5-0ubuntu0.1 is to be installed
    kdelibs5-plugins : Depends: kdelibs5-data (= 4:4.10.5-0ubuntu0.1) but 4:4.11.3-0ubuntu0.1~ubuntu13.04~ppa1 is to be installed

E: Unable to correct problems, you have held broken packages.
I continue to chip at this, but I am really confused by this sort of package tangle.


Follow-up:
The packages that I have trouble with are all caught by a similar dependency issue surrounding parts of KDE.

Remember, my attempt to install skype caused things to be removed from a system that was running well without package management troubles. I was using k3b and okular and krita on Mint-15 with Cinnamon for many months. Now I'm really stumped -- better, but stumped.



Follow-up:
I've made a lot of progress but I have a continuing problem trying to install 'calligra' suite.

Using 'synaptic', selection "calligra" reports that the package is broken. Using 'apt-get install', I'm told that calligra depends on 'kexi' and 'krita'.

Using 'synaptic', selecting "kexi" or "krita" reports that the package is broken. Using 'apt-get install', I get various "calligra-something breaks kexi" or "calligra-something breaks krita" messages.

Since all of these parts are KDE apps or libs, are there some KDE packages beyond 'kde-runtime' and 'kde-runtime-data'?


Thanks in advance,
~~~ 0;-Dan

Last edited by SaintDanBert; 03-14-2014 at 12:57 AM.
 
Old 03-13-2014, 10:59 PM   #14
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Hi,

the problem seems to be that the skype package depends on some qt lib version that conflicts with the qt version used by KDE. Looking at your dpkg -l output I see that you use (or used in the past) PPAs for a large number of packages, including kde/qt packages. This is the root of your problem. These are unofficial packages and some of them may not exist anymore. I suggest you try to install just he packages that you really need/want, and stop using PPAs unless they really provide packages that you need.


Also just try to install the packages that you directly use, let apt-get sort out the dependencies. So for example instead of doing
Code:
sudo apt-get install okular \
    kde-runtime kde-runtime-data kdelibs5-plugins kdelibs5-data
Just do
Code:
sudo apt-get install okular
Additionally, apt-get is reporting that you have package(s) on hold. Can you confirm this? Eg
Code:
dpkg --get-selections |grep -w hold
Does this return any packages? If so, do you really intend for them to be on hold?

Cheers,

Evo2.
 
Old 03-14-2014, 10:47 AM   #15
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 2,324
Blog Entries: 1

Rep: Reputation: 447Reputation: 447Reputation: 447Reputation: 447Reputation: 447
$ dpkg -l | grep -v "^ii"

And for all the rc ones.

# apt-get install --reinstall <packages>

If the rc ones are ones that you truly want gone, you might --purge --force-all them to change the r statue to u.

# dpkg --purge --force-all <package>

For skype I just download the binary and extract it to /home/user/ and run it from there. It either works or it doesn't.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
unable to replace "ö" to "p" in shell scripting with "sed" meninmech Programming 5 06-22-2012 03:58 PM
How to list the removed rpm packages used by "rpm -e" linux_us Linux - General 1 06-23-2011 07:11 PM
Didn't install "expect-5.43" by mistake - how big a problem is it? drut Linux From Scratch 2 05-05-2008 09:00 AM
how to install the "packages that have been held back" when doing "apt-get upgrade&qu zero79 Debian 5 06-27-2004 09:19 PM


All times are GMT -5. The time now is 10:44 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration