[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apt-get behaving differently between cli(bash) and cron-apt - how to debug?



Alan Dennis (HE12026-01-14):
> E: The value ''/^bookworm(|-security|-updates|-backports)$/'' is invalid for
> APT::Default-Release as such a release is not available in the sources
> 
> ... Q: how do I debug **why** apt-get is behaving differently?

The presence of doubled quotes around this string seems to indicate that
apt-get is getting the arguments including the quotes. A manual test
confirms it is exactly the way to reproduce the issue. This suggests the
parsing of the command line is not handled by a shell.

Regards,

-- 
  Nicolas George


Reply to: