Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I'm not sure that questions about development releases (based on your screenshot you appear to be using 14.10) are considered on-topic here. FWIW there appear to be several related bug reports e.g. lilypond-doc: Broken usage of dpkg-maintscript-helper
Try removing lilypond-doc: sudo apt-get remove lilypond-doc, if that fails, dufo dpkg --remove lilypond-doc. Whoever wrote that script doesn't know that apt uses regular expressions and not wildcards. Replace the * with .* if you ever run the script again.
I agree with muru that the script is not well written. apt-get will take a package list and I would tend to advise against using wild cards, apt will pull in dependencies and IMO it is best to specify what packages you want. wild cards tend to cause unpredictable results.
@muru yes, and quote them. Otherwise package.* is first expanded by the shell, and passed to apt only if it does not expand to any file in the current directory (I find that the zsh behavior of throwing an error is much better here).
lilypond-doc
:sudo apt-get remove lilypond-doc
, if that fails,dufo dpkg --remove lilypond-doc
. Whoever wrote that script doesn't know thatapt
uses regular expressions and not wildcards. Replace the*
with.*
if you ever run the script again.package.*
is first expanded by the shell, and passed toapt
only if it does not expand to any file in the current directory (I find that thezsh
behavior of throwing an error is much better here).