Welcome
Welcome to antiX-forum.

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. Registration is fast, simple, and absolutely free, so please, join our community today!

Problems with mepis-init.

antiX announcements

Problems with mepis-init.

Postby anticapitalista on Fri Jul 10, 2009 4:59 pm

If you have upgraded recently, you may get an error message regarding mepis-init and/or initscripts.

The long-term solution is to remove mepis-init, but DO NOT DO THIS UNTIL YOU HAVE BACKED UP THESE IMPORTANT FILES. Otherwise your box will not be able to boot.

/etc/rc.local
/etc/default/rcS
/etc/init.d/sendsigs
/etc/kernel-img.conf
/usr/sbin/buildxconfig
/usr/sbin/buildfstab
/usr/sbin/scanpartitions

Then apt-get purge mepis-init.

Restore the backup files.
Reboot.

I have written a script to do this. Put it in /home user folder, call it antiX-post.sh, make it executable and run as root.

Code: Select all
#!/bin/bash
      cp /etc/rc.local /etc/rc.local.old
      cp /etc/default/rcS /etc/default/rcS.old
      cp /etc/init.d/sendsigs /etc/init.d/sendsigs.old
      cp /etc/kernel-img.conf /etc/kernel-img.conf.old
      cp /usr/sbin/buildxconfig /usr/sbin/buildxconfig.bak
      cp /usr/sbin/buildfstab /usr/sbin/buildfstab.bak
      cp /usr/sbin/scanpartitions /usr/sbin/scanpartitions.bak
      apt-get remove --purge mepis-init -y -qq
      mv /etc/rc.local.old /etc/rc.local
      mv /etc/default/rcS.old /etc/default/rcS
      mv /etc/init.d/sendsigs.old /etc/init.d/sendsigs
      mv /etc/kernel-img.conf.old /etc/kernel-img.conf
      mv /usr/sbin/buildxconfig.bak /usr/sbin/buildxconfig
      mv /usr/sbin/buildfstab.bak /usr/sbin/buildfstab
      mv /usr/sbin/scanpartitions.bak /usr/sbin/scanpartitions
]

Or if you prefer run each step line by line as root in terminal.


The short-term solution is to force mepis-install.

#dpkg -i --force-all /var/cache/apt/archives/mepis-init*.deb
#apt-get -f install.

Then keep initscripts on hold.
Philosophers have interpreted the world in many ways; the point is to change it.
User avatar
anticapitalista
Site Admin
 
Posts: 2144
Joined: Tue Sep 11, 2007 4:55 pm
Location: Greece

Return to Announcements

Who is online

Users browsing this forum: No registered users and 0 guests

cron