Можно ли пропустить шаг подтверждения при добавлении репозитория?

Когда я добавляю репозиторий, запустив

sudo add-apt-repository ppa:ubuntu-x-swat/x-updates

, он выводит это диалоговое окно:

Updated versions of X.org drivers, libraries, etc. for Ubuntu.

This PPA is for stable upstream releases of X.org components.  If you're looking for something even more bleeding-edge, please see the xorg-edgers PPA.

While Ubuntu does not "officially/formally" support these packages, if you discover problems when installing these debs please feel free to report bugs to launchpad.  However, please make sure to clearly state that you are running packages from this PPA so we know the fixes need to come here.

If you are upgrading from one release to another with this PPA activated, please install the ppa-purge package and use it to downgrade everything in here beforehand. sudo ppa-purge ppa:ubuntu-x-swat/x-updates will do it.

[Directions for packaging drivers can be seen at https://wiki.ubuntu.com/X/DriverBuilding]
 More info: https://launchpad.net/~ubuntu-x-swat/+archive/x-updates
Press [ENTER] to continue or ctrl-c to cancel adding it

Я хочу пропустить шаг подтверждения Press [ENTER] to continue or ctrl-c to cancel adding it

Как я могу автоматически подтвердить добавление PPA?

3
задан 14 December 2016 в 13:52

1 ответ

Запустите команду

sudo add-apt-repository -y ppa:ubuntu-x-swat/x-updates

При добавлении -y в вышеприведенную команду предполагается, что да, для всех приглашений, поэтому она не запрашивает у вас Press [ENTER] to continue or ctrl-c to cancel adding it.

0
ответ дан 14 December 2016 в 13:52
  • 1
    В Google Maps масштабирование присутствует также (и инвертировано также) – marmistrz 1 August 2015 в 22:06

Другие вопросы по тегам:

Похожие вопросы: