I am planning to write a script to get the list of upgrades available on Ubuntu server and upgrade them. I can get the list of upgrades with "apt-get -s upgrade".

But how to get a report on list of packages that failed during the above command. Any specific command or technique? I can't find any option in apt-get or other command.

  • you mean the packages which are failed to install during an upgrade? – Avinash Raj Jun 7 '14 at 5:03
  • Yes u are right. – Albert Jun 7 '14 at 5:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.