Автор Тема: P9 Simple Linux not shutting down on desktop  (Прочитано 59931 раз)

Оффлайн Δημητριος

  • Давно тут
  • **
  • Сообщений: 309
Re: P9 Simple Linux not shutting down on desktop
« Ответ #60 : 27.11.2020 13:57:59 »
please your help ???i install p9 again , but i do not update

i Create Pin-Priority configuration


$ su -

# mcedit /etc/apt/preferences

# cat /etc/apt/preferences
Package: *
Pin: release c=classic
Pin-Priority: 1001

i install p8 repos


mcedit /etc/apt/sources.list

rpm http://ftp.altlinux.org/pub/distributions/ALTLinux p8/branch/x86_64 classic
rpm http://ftp.altlinux.org/pub/distributions/ALTLinux p8/branch/x86_64-i586 classic
rpm http://ftp.altlinux.org/pub/distributions/ALTLinux p8/branch/noarch classic

but when  apt-get updateapt-get update
Get:1 http://ftp.altlinux.org p8/branch/x86_64 release [1091B]
Get:2 http://ftp.altlinux.org p8/branch/x86_64-i586 release [537B]
Get:3 http://ftp.altlinux.org p8/branch/noarch release [885B]
Fetched 2513B in 0s (7598B/s)
Hit http://ftp.altlinux.org p8/branch/x86_64/classic pkglist
Hit http://ftp.altlinux.org p8/branch/x86_64/classic release
Hit http://ftp.altlinux.org p8/branch/x86_64-i586/classic pkglist
Hit http://ftp.altlinux.org p8/branch/x86_64-i586/classic release
Hit http://ftp.altlinux.org p8/branch/noarch/classic pkglist
Hit http://ftp.altlinux.org p8/branch/noarch/classic release
Reading Package Lists... Done
E: Invalid record in the preferences file /etc/apt/preferences, no Package header
« Последнее редактирование: 27.11.2020 14:00:31 от Δημητριος »

Оффлайн Speccyfighter

  • Мастер
  • ***
  • Сообщений: 10 259
Re: P9 Simple Linux not shutting down on desktop
« Ответ #61 : 27.11.2020 15:13:30 »
please your help ???i install p9 again , but i do not update

i Create Pin-Priority configuration


$ su -

# mcedit /etc/apt/preferences

# cat /etc/apt/preferences
Package: *
Pin: release c=classic
Pin-Priority: 1001

...
apt-get update
...
E: Invalid record in the preferences file /etc/apt/preferences, no Package header

The /etc/apt/preferences file must only be in this format and end with an empty string:
Package: *
Pin: release c=classic
Pin-Priority: 1001

Otherwise, apt will stumble and report an invalid entry.


Файл /etc/apt/preferences должен быть только в таком формате и оканчиваться пустой строкой:
Package: *
Pin: release c=classic
Pin-Priority: 1001

Иначе apt будет спотыкаться и сообщать о неверной записи.

Оффлайн Δημητριος

  • Давно тут
  • **
  • Сообщений: 309
Re: P9 Simple Linux not shutting down on desktop
« Ответ #62 : 27.11.2020 15:47:15 »

Файл /etc/apt/preferences должен быть только в таком формате и оканчиваться пустой строкой:
Code: [Select]

Package: *
Pin: release c=classic
Pin-Priority: 1001
what am I doing wrong ???
ok i find  :-)  S is wrong
« Последнее редактирование: 27.11.2020 15:49:40 от Δημητριος »

Оффлайн Δημητριος

  • Давно тут
  • **
  • Сообщений: 309
Re: P9 Simple Linux not shutting down on desktop
« Ответ #63 : 27.11.2020 16:17:48 »
well, that's very strange.
when I upgraded from p8 to p9 , the Xfce panel might have been confused but the machine was shutting down normally. :-)
I have now installed the p9, and with your valuable help  ,I downgraded the core.everything works fine , but the machine won't shut down 8-|

I thought about passing the p8 again to do only upgrade  to p9  dist ,but not the update of the core kernel, the problem may not be kernel ???  🤔

Оффлайн gosts 87

  • Завсегдатай
  • *
  • Сообщений: 2 636
  • Дмитрий/Dmitry/德米特里/दिमित्री
Re: P9 Simple Linux not shutting down on desktop
« Ответ #64 : 27.11.2020 16:32:16 »
What does it mean: "Xfce panel might be confused"?

Оффлайн Δημητριος

  • Давно тут
  • **
  • Сообщений: 309
Re: P9 Simple Linux not shutting down on desktop
« Ответ #65 : 27.11.2020 16:53:18 »
What does it mean: "Xfce panel might be confused"?

I don't know how to tell you,but he had, for example, the alpha image stuck in the menu,but it doesn't work, and the general appearance of the Xfce surface was mixed with the old, i hope to understand

Оффлайн gosts 87

  • Завсегдатай
  • *
  • Сообщений: 2 636
  • Дмитрий/Dmitry/德米特里/दिमित्री
Re: P9 Simple Linux not shutting down on desktop
« Ответ #66 : 27.11.2020 16:58:48 »
Does the computer not turn off now? Which core?

Оффлайн gosts 87

  • Завсегдатай
  • *
  • Сообщений: 2 636
  • Дмитрий/Dmitry/德米特里/दिमित्री
Re: P9 Simple Linux not shutting down on desktop
« Ответ #67 : 27.11.2020 17:01:39 »
I don't know how to tell you,but he had, for example, the alpha image stuck in the menu,but it doesn't work, and the general appearance of the Xfce surface was mixed with the old, i hope to understand
Perhaps old and new packages are mixed.

Оффлайн Δημητριος

  • Давно тут
  • **
  • Сообщений: 309
Re: P9 Simple Linux not shutting down on desktop
« Ответ #68 : 27.11.2020 17:02:40 »
Does the computer not turn off now? Which core?
4.19.102-std-def-alt1
Perhaps old and new packages are mixed.
and what can i do for that  ???

Оффлайн gosts 87

  • Завсегдатай
  • *
  • Сообщений: 2 636
  • Дмитрий/Dmitry/德米特里/दिमित्री
Re: P9 Simple Linux not shutting down on desktop
« Ответ #69 : 27.11.2020 17:12:41 »
Perhaps old and new packages are mixed.
and what can i do for that  ???
Usually delete old ones.

Оффлайн gosts 87

  • Завсегдатай
  • *
  • Сообщений: 2 636
  • Дмитрий/Dmitry/德米特里/दिमित्री
Re: P9 Simple Linux not shutting down on desktop
« Ответ #70 : 27.11.2020 17:23:24 »
the problem may not be kernel
Of course it can.

Оффлайн Δημητριος

  • Давно тут
  • **
  • Сообщений: 309
Re: P9 Simple Linux not shutting down on desktop
« Ответ #71 : 27.11.2020 18:12:41 »
the problem may not be kernel
Of course it can.

i do not know the packages my friend , how to remove olds ???
how can I do it???

Оффлайн gosts 87

  • Завсегдатай
  • *
  • Сообщений: 2 636
  • Дмитрий/Dmitry/德米特里/दिमित्री
Re: P9 Simple Linux not shutting down on desktop
« Ответ #72 : 27.11.2020 19:08:28 »
These are the packages

Оффлайн Δημητριος

  • Давно тут
  • **
  • Сообщений: 309
Re: P9 Simple Linux not shutting down on desktop
« Ответ #73 : 27.11.2020 20:44:50 »
I upgraded from P8 to P9 ,and it seems to work well , and the system turns off  ;-D

how to fix that

Оффлайн Δημητριος

  • Давно тут
  • **
  • Сообщений: 309
Re: P9 Simple Linux not shutting down on desktop
« Ответ #74 : 27.11.2020 20:59:19 »
I'm in a hurry to be happy. the reboot not work now !!!! 🤬
« Последнее редактирование: 27.11.2020 21:03:29 от Δημητριος »