Comment 17 for bug 157041

Revision history for this message
alxlabs (alxlabs) wrote :

Same problem here...solved.

For those who will get trapped into same thing...

Problem was that I've added some debian repositories to my /etc/apt/sources.list which triggered debian version of sysv-rc installed

How to check:

run "sudo apt-cache policy sysv-rc"
If you see something like in the first couple of lines
Code:

sysv-rc:
Installed: 2.86.ds1-38

ie version name without "ubuntu" at the end (2.86.ds1-38 instead of 2.86.ds1-14.1ubuntu31) then you've hit same problem.

How to resolve:

1. run "sudo vi /etc/apt/sources.list" and remove all non-ubuntu repositories. (you may want to make a backup copy of this file just for the case)
2. Go to /var/cache/apt/archives and delete all the files - these are files downloaded by package manager from the repositories, who knows what else was downloaded from the wrong ones.
3. Make sure that you did not pickup debian's rsync as well - remove and install rsync - run "sudo apt-get remove rsync" and then "sudo apt-get install rsync", ignore rsync error message at the end.
4. run "sudo synaptic", then navigate to "sysv-rc", select it, then go to "package" menu, click on "force version", select ubuntu version, smth. like 2.86.ds1-14.1ubuntu31 then click on "force version", then click "Apply" (big green checkmark button under the menu line ). Problem should be solved after that.