Page 1 of 1

Trouble switching to KDE

Posted: Sun Dec 02, 2012 2:32 pm
by MR_NINJA
So, I know I posted a while back before I looked, but I looked and looked.

I downloaded the cinnamon desktop and things work out so I want to switch to KDE, so I typed in:

Code: Select all

sudo apt-get install mint-meta-kde
It went fairly well, until it got to the last package. I forgot to paste it so I don't have it here. I thought it didn't really matter so I typed in

Code: Select all

sudo apt-get -f install
, and I got this:

Code: Select all

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  mint-info-kde
The following NEW packages will be installed:
  mint-info-kde
0 upgraded, 1 newly installed, 0 to remove and 21 not upgraded.
118 not fully installed or removed.
Need to get 0 B/1,996 B of archives.
After this operation, 34.8 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 171955 files and directories currently installed.)
Unpacking mint-info-kde (from .../mint-info-kde_2012.05.02_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/mint-info-kde_2012.05.02_i386.deb (--unpack):
 trying to overwrite '/etc/linuxmint/info', which is also in package mint-info-cinnamon 2012.05.02
No apport report written because MaxReports is reached already
                                                              Errors were encountered while processing:
 /var/cache/apt/archives/mint-info-kde_2012.05.02_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Does anyone know how to correct this? I only know a few basic terminal commands.

Re: Trouble switching to KDE

Posted: Sun Dec 02, 2012 3:55 pm
by 67GTA
It is a Mint packaging problem. You can only have one mint-info package at a time. There is a bug report here: https://bugs.launchpad.net/linuxmint/+bug/927487 You could install kde-full if you don't mind installing the full kde desktop.

Re: Trouble switching to KDE

Posted: Sun Dec 02, 2012 6:15 pm
by MR_NINJA
The only problem is when I go to install anything, it says I have to finish installing the packages. So I don't know what to do.

Re: Trouble switching to KDE

Posted: Sun Dec 02, 2012 7:50 pm
by 67GTA
If

Code: Select all

sudo dpkg --configure -a
and

Code: Select all

sudo apt-get install -f
doesn't do it, then you will have to uninstall all the mint kde related packages and edit /var/lib/dpkg/status to remove any files related to mint-kde-info and save the file.

Code: Select all

gksudo gedit /var/lib/dpkg/status
After reloading the repos it should be back to normal.

Re: Trouble switching to KDE

Posted: Mon Dec 03, 2012 8:43 pm
by MR_NINJA
How do you delete the packages?

As before mentioned, I don't know much about command line.

Re: Trouble switching to KDE

Posted: Mon Dec 03, 2012 9:48 pm
by 67GTA
Open a terminal. Type in

Code: Select all

gksudo gedit /var/lib/dpkg/status
and hit enter. Enter your password when prompted. Now search the file that opens and delete ANY/ALL files that contain "mint-kde-info" in their names. Save the file. Then in a terminal run

Code: Select all

sudo apt-get update

Code: Select all

sudo dpkg --configure -a

Code: Select all

sudo apt-get install -f
After this, hopefully you will not have that error any more.

Re: Trouble switching to KDE

Posted: Mon Dec 03, 2012 9:55 pm
by 67GTA
Just FYI, but Mint 14 KDE will be out very soon (at least an RC).You could try it out via live DVD instead of actually installing kde-full and maybe not like it.

Re: Trouble switching to KDE

Posted: Wed Dec 05, 2012 7:55 am
by BubbaBlues
The RC is available now and it rocks. Very nice! 8)