19.04 upgrade problems

Ralf Mardorf silver.bullet at zoho.com
Fri Apr 26 09:00:14 UTC 2019


On Fri, 26 Apr 2019 09:25:39 +0100, Richard Kimber wrote:
>sudo apt -f install just gives a help list - is this the correct
>command?

Yes, it is correct [1], also when using apt-get [2]. It might have
changed for a newer release of apt, but for apt 1.2.31 (amd64) provided
by Ubuntu 16.04.6 LTS, apt doesn't display a "help list", if you type
something wrong [3], [4].

[1]
[weremouse at moonstudio ~]$ sudo apt -f install
[sudo] password for weremouse: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

[2]
[weremouse at moonstudio ~]$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

[3]
[weremouse at moonstudio ~]$ sudo apt -f installl
E: Command line option 'f' [from -f] is not understood in combination
with the other options.

[4]
[weremouse at moonstudio ~]$ sudo apt --foo install
E: Command line option --foo is not understood in combination with the
other options





More information about the ubuntu-users mailing list