error while removing mintdesktop

Post your update and upgrade related errors here
Forum rules

error while removing mintdesktop

Postby off220 on 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.
off220
Level 1
Level 1
 
Posts: 40
Joined: Wed Sep 15, 2010 1:46 am

Linux Mint is funded by ads and donations.
 

Re: error while removing mintdesktop

Postby vrkalak on 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
:: LMDE-2 (Fluxbox) :: Debian-Sid (Xfce/Fluxbox) :: Mint-17.2 Xfce (LTS)
Registered Linux User: #497031 :: DeviantART Page
User avatar
vrkalak
Level 12
Level 12
 
Posts: 4162
Joined: Mon Jul 20, 2009 5:53 pm
Location: Santa Fe, NM, USA

Re: error while removing mintdesktop

Postby off220 on 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.
off220
Level 1
Level 1
 
Posts: 40
Joined: Wed Sep 15, 2010 1:46 am

Re: error while removing mintdesktop

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

Try
Code: Select all
apt-get remove -f
secipolla
Level 4
Level 4
 
Posts: 356
Joined: Sun Sep 05, 2010 5:19 pm

Re: error while removing mintdesktop

Postby off220 on 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.
off220
Level 1
Level 1
 
Posts: 40
Joined: Wed Sep 15, 2010 1:46 am

Re: error while removing mintdesktop

Postby DeusExEx on 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
DeusExEx
Level 1
Level 1
 
Posts: 3
Joined: Wed Oct 13, 2010 3:33 pm


Return to Update/Upgrade Issues

Who is online

Users browsing this forum: No registered users and 2 guests