error while removing mintdesktop

Archived topics about LMDE 1
Forum rules
off220
Level 1
Level 1
Posts: 40
Joined: Wed Sep 15, 2010 1:46 am

error while removing mintdesktop

Postby off220 » Mon Sep 20, 2010 2:10 pm

aptitude remove mintdesktop
The following packages will be REMOVED:
mintdesktop
0 packages upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 127kB will be freed.
(Reading database ... 127691 files and directories currently installed.)
Removing mintdesktop ...
/var/lib/dpkg/info/mintdesktop.prerm: 32: cannot create /etc/gdm/PostLogin/mintDesktop.tmp: Directory nonexistent
dpkg: error processing mintdesktop (--remove):
subprocess installed pre-removal script returned error exit status 2
configured to not write apport reports
Errors were encountered while processing:
mintdesktop
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Last edited by off220 on Mon Sep 20, 2010 2:46 pm, edited 1 time in total.
Happy LMDE user.

User avatar
vrkalak
Level 12
Level 12
Posts: 4414
Joined: Mon Jul 20, 2009 5:53 pm
Location: Santa Fe, NM, USA

Re: error while removing mintdesktop

Postby vrkalak » Mon Sep 20, 2010 2:26 pm

Why are you trying to 'remove' the Mintdesktop?

What are you trying to do 'exactly'? We need more details.
Image
:: Debian-Sid (Xfce/Fluxbox) :: LinuxMint-18 (LTS) LXDE w/Openbox ::
Registered Linux User: #497031 :: My DeviantART Page

off220
Level 1
Level 1
Posts: 40
Joined: Wed Sep 15, 2010 1:46 am

Re: error while removing mintdesktop

Postby off220 » Mon Sep 20, 2010 2:44 pm

I just do not need it. Trying to make it as light as possible, removing unneeded services and packages. It's a small programm to configure desktop settings, not metapackage with mint tools..
Happy LMDE user.

secipolla
Level 4
Level 4
Posts: 356
Joined: Sun Sep 05, 2010 5:19 pm

Re: error while removing mintdesktop

Postby secipolla » Mon Sep 20, 2010 3:04 pm

Try

Code: Select all

apt-get remove -f

off220
Level 1
Level 1
Posts: 40
Joined: Wed Sep 15, 2010 1:46 am

Re: error while removing mintdesktop

Postby off220 » Mon Sep 20, 2010 10:26 pm

same error

sudo apt-get remove -f mintdesktop
[sudo] password for off220:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
mintdesktop
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 127kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 127407 files and directories currently installed.)
Removing mintdesktop ...
/var/lib/dpkg/info/mintdesktop.prerm: 32: cannot create /etc/gdm/PostLogin/mintDesktop.tmp: Directory nonexistent
dpkg: error processing mintdesktop (--remove):
subprocess installed pre-removal script returned error exit status 2
configured to not write apport reports
Errors were encountered while processing:
mintdesktop
E: Sub-process /usr/bin/dpkg returned an error code (1)
Happy LMDE user.

DeusExEx
Level 1
Level 1
Posts: 3
Joined: Wed Oct 13, 2010 3:33 pm

Re: error while removing mintdesktop

Postby DeusExEx » Mon Feb 28, 2011 3:50 pm

got the same error on upgrading LMDE (sid) today.
Fixed with creating a symlink /etc/gdm pointing to /etc/gdm3
and coping /etc/gdm3/PostLogin/Default.sample to /etc/gdm3/PostLogin/Default


Return to “Archive”

Who is online

Users browsing this forum: No registered users and 7 guests