Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate

Advertising

Paste Description for aptitude purge error

Please, could someone help me to unistall a package? it fails to do so in synaptic and even with "sudo aptitude purge nominalinex"
Is there a command like sudo aptitude fix???

It tells me this when i do "sudo aptitude
purge nominalinex":

Making a copy of your BBDD in /root... --- /var/lib/dpkg/info/nominalinex.postrm: line 41: /etc/init.d/mysql: it does not exist
dpkg: error al procesar nominalinex (--purge):
error 127

I think it's trying to make a copy of a database or so, but i also uninstalled mysql yet
and i can't even upgrade anything
but i don't like that program to write at root

aptitude purge error
Friday, May 11th, 2007 at 11:02:15pm UTC 

  1. #!/bin/bash
  2. #Retira el icono de nominalinex en los escritorios que esten el /home
  3.  
  4. cd /home
  5. for i in $( ls ); do
  6.         #for gnome 2.0 y 2.2:
  7.         if [ -f /home/$i/.gnome-desktop/NominaLinEx.desktop ] ; then
  8.                 rm -f  /home/$i/.gnome-desktop/NominaLinEx.desktop
  9.         #and this for gnome 2.4 and later:
  10.         else
  11.                 if [ -f /home/$i/Desktop/NominaLinEx.desktop ] ; then
  12.                         rm -f /home/$i/Desktop/NominaLinEx.desktop
  13.                 fi
  14.         fi
  15. done
  16.  
  17. #and now the skel:
  18. if [ -f /etc/skel/.gnome-desktop/NominaLinEx.desktop ]; then
  19.         rm -f /etc/skel/.gnome-desktop/NominaLinEx.desktop
  20. else
  21.         if [ -f /etc/skel/Desktop/NominaLinEx.desktop ]; then
  22.                 rm -f /etc/skel/Desktop/NominaLinEx.desktop
  23.         fi
  24. fi
  25.  
  26. #Deleting configuration files
  27. cd /home
  28. for i in $( ls ); do
  29.   if [ -f /home/$i/.nominalinex/Config.ini ]; then
  30.      rm -f /home/$i/.nominalinex/Config.ini
  31.   fi
  32. done
  33.  
  34. #Deleting BBDD
  35. echo "Haciendo una copia de su BBDD en /root..."
  36. if [ -d /var/lib/mysql/nominalinex ] ; then
  37.    mv -f /var/lib/mysql/nominalinex /root/copianomi
  38. fi
  39.  
  40. #Restoring MySql services
  41. /etc/init.d/mysql restart

advertising

Update the Post

Either update this post and resubmit it with changes, or make a new post.

You may also comment on this post.

update paste below
details of the post (optional)

Note: Only the paste content is required, though the following information can be useful to others.

Save name / title?

(space separated, optional)



Please note that information posted here will not expire by default. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.

comments powered by Disqus
worth-right
worth-right