You can paint the exposed drywall and the stuck wallpaper by priming it first. Use an oil base primer, like Kilz or Cover Stain. This will seal it up for either repair and texture or paint.
It is best to repair the walls after priming. Regular drywall mud can be used to hide surface defects. You can also apply a texture after the primer and major repairs are finished.