Upgrade problem after system failure, help please...

Ralf Mardorf silver.bullet at zoho.com
Sat Jan 28 11:48:26 UTC 2017


On Sat, 28 Jan 2017 08:58:57 +0000, Colin Law wrote:
>I believe functions have been added over a period so maybe versions of
>apt on earlier versions of ubuntu do not support all commands.

The apt man page and the apt WARNING are a PITA. I guess that at least
Ubuntu releases >= 15.10 provide a version of apt that doesn't miss
options. However, regarding the WARNING apt-get and dpkg could not be
completely replaced. It might be safer to still use apt-get for scripts.

[root at moonstudio ~]# apt show dash | grep V      

WARNING: apt does not have a stable CLI interface. Use with caution in
scripts.

Version: 0.5.8-2.1ubuntu2
[root at moonstudio ~]# apt show dash 2>/dev/null | grep V
Version: 0.5.8-2.1ubuntu2
[root at moonstudio ~]#





More information about the ubuntu-users mailing list