Comment 16 for bug 76364

Revision history for this message
digitalage (iulmit) wrote :

Thanks Kees, your tip allowed me to apply the patch with parameter "-p4". For other readers, I'll post the procedure exactly the way it worked for me, as in my previous post I missed something. So, here is the procedure:

- download your file (wget http://launchpadlibrarian.net/8187075/libpam-foreground_0.3-0ubuntu1.debdiff), save it to /tmp
- download the patch (wget http://launchpadlibrarian.net/7755823/Makefile.patch), save it to /tmp, (I'm not sure it's really necessary, but it's it was there)
- download the source file (apt-get source libpam-foreground), save it to /tmp
- extract the tar.gz source file (tar -xvf libpam-foreground_0.3.tar.gz)
- enter extracted directory (cd libpam-foreground-0.3)
- run the command "patch -p1 < ../libpam-foreground_0.3-0ubuntu1.debdiff"

If this command does not work for you, try other options as Kees suggested above.

However, I was pissed off of this message in log and I deactivated somehow (I guess in /etc/pam.d), but I don't remember how so I cannot make the change back and verify whether this patch removed the error in log or no. I can only say I was able to run the fix and check it other time if i'll run into this issue (at least I know how to do it).