View Single Post
Alecsandru's Avatar
Posts: 439 | Thanked: 282 times | Joined on Oct 2012
#48
Originally Posted by pichlo View Post
Careful about removing /etc/rc?.d. I did apt-get upgrade last night and got an upgrade of hildon-desktop. The upgrade failed and I ended up having partially installed package. Too tired to investigate, I left it for the morning. To cut it short, the problem was that part of the post-inst process is updating the rc.d folders. Since I had them removed, this phase failed. I fixed it by recreating the folders (0 to 6 is enough, S is not used) and running apt-get upgrade again. I assume that fixing /usr/sbing/update-rc.d would have the same effect, but it is a bit late for me to try that now. Perhaps someone else can verify it works? The fix I had in mind was replacing exit 1 on line 141 with md "$etcd$1.d".
var/lib/dpkg/info search the app name (followed by .md5sum .postinst ,etc) , open terminal at that address and ''rm'' those files , in this way I fix the broken packages

Last edited by Alecsandru; 2013-04-06 at 18:58.
 

The Following 2 Users Say Thank You to Alecsandru For This Useful Post: