Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unknown error: Ошибочная запись в конфигурационном файле /etc/apt/preferences. Отсутствует заголовок пакета. #56

Open
X1Z53 opened this issue Jan 15, 2025 · 2 comments

Comments

@X1Z53
Copy link
Member

X1Z53 commented Jan 15, 2025

Error message quoted:
	"Ошибочная запись в конфигурационном файле /etc/apt/preferences. Отсутствует заголовок пакета."
Locale:
	ru_RU.UTF-8
Command:
	apa yandex-browser
@X1Z53
Copy link
Member Author

X1Z53 commented Jan 15, 2025

It's was after set up this:

Package: yandex-browser-stable
Pin: release c=classic
Pin-Priority: 1001

Install package, delete this settings and try to install this package again

@X1Z53
Copy link
Member Author

X1Z53 commented Jan 15, 2025

If I understand correctly, this is due to the fact that I left the /etc/apt/preferences file empty, rather than deleting it.

Maybe automate its removal if it is empty and a similar error occurs?

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

No branches or pull requests

1 participant