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
- #!/bin/bash
- #Retira el icono de nominalinex en los escritorios que esten el /home
- cd /home
- for i in $( ls ); do
- #for gnome 2.0 y 2.2:
- if [ -f /home/$i/.gnome-desktop/NominaLinEx.desktop ] ; then
- rm -f /home/$i/.gnome-desktop/NominaLinEx.desktop
- #and this for gnome 2.4 and later:
- else
- if [ -f /home/$i/Desktop/NominaLinEx.desktop ] ; then
- rm -f /home/$i/Desktop/NominaLinEx.desktop
- fi
- fi
- done
- #and now the skel:
- if [ -f /etc/skel/.gnome-desktop/NominaLinEx.desktop ]; then
- rm -f /etc/skel/.gnome-desktop/NominaLinEx.desktop
- else
- if [ -f /etc/skel/Desktop/NominaLinEx.desktop ]; then
- rm -f /etc/skel/Desktop/NominaLinEx.desktop
- fi
- fi
- #Deleting configuration files
- cd /home
- for i in $( ls ); do
- if [ -f /home/$i/.nominalinex/Config.ini ]; then
- rm -f /home/$i/.nominalinex/Config.ini
- fi
- done
- #Deleting BBDD
- echo "Haciendo una copia de su BBDD en /root..."
- if [ -d /var/lib/mysql/nominalinex ] ; then
- mv -f /var/lib/mysql/nominalinex /root/copianomi
- fi
- #Restoring MySql services
- /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.
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.