Skip to content

Conversation

@josephfrazier
Copy link
Collaborator

This suggests apt upgrade after apt list --upgradable if there are
packages to upgrade. It pairs well with the apt_list_upgradable rule,
which suggests apt list --upgradable after apt update if there are
packages to upgrade.

This suggests `apt upgrade` after `apt list --upgradable` if there are
packages to upgrade. It pairs well with the `apt_list_upgradable` rule,
which suggests `apt list --upgradable` after `apt update` if there are
packages to upgrade.
@nvbn
Copy link
Owner

nvbn commented Jan 3, 2018

Thanks!

@nvbn nvbn merged commit a696461 into nvbn:master Jan 3, 2018
riley-martine pushed a commit to riley-martine/thefuck that referenced this pull request Dec 7, 2023
* apt_list_upgradable: Prepend sudo to suggestion if used in command

* Add apt_upgrade rule

This suggests `apt upgrade` after `apt list --upgradable` if there are
packages to upgrade. It pairs well with the `apt_list_upgradable` rule,
which suggests `apt list --upgradable` after `apt update` if there are
packages to upgrade.

* Add apt_upgrade rule to README
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants