Ошибка не найдена цель linux zen

#1 2020-05-11 20:16:18

JimDeadlock
Member
From: London
Registered: 2019-03-20
Posts: 71

Trying to install Zen kernel

I’m trying to install the Zen kernel but pacman doesn’t seem to recognise it. I’ve never done this before so I suspect I’m making a schoolboy error somewhere. My bootloader is EFISTUB if that matters.

# uname -r
5.6.11-arch1-1
# sudo pacman -S linux-zen linux-zen-headers
.......... [snip] ..........
# ls -l /usr/lib/modules
total 12K
drwxr-xr-x 5 root root 4.0K May 11 18:17 5.6.11-arch1-1
drwxr-xr-x 4 root root 4.0K May 11 19:04 5.6.11-zen1-1-zen
drwxr-xr-x 3 root root 4.0K Apr  9 13:10 5.6.3-arch1-1
# sudo mkinitcpio -g /boot/initramfs-linux.img -k 5.6.11-zen1-1-zen
==> Starting build: 5.6.11-zen1-1-zen
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
  -> Running build hook: [filesystems]
  -> Running build hook: [keyboard]
  -> Running build hook: [fsck]
  -> Running build hook: [mdadm_udev]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-linux.img
==> Image generation successful
# sudo pacman -S linux
warning: linux-5.6.11.arch1-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (1) linux-5.6.11.arch1-1

Total Installed Size:  74.60 MiB
Net Upgrade Size:       0.00 MiB

:: Proceed with installation? [Y/n]
.......... [snip] ..........

#2 2020-05-11 20:25:07

Ropid
Member
Registered: 2015-03-09
Posts: 1,068

Re: Trying to install Zen kernel

You are doing strange stuff. What’s up with that «mkinitcpio» command line you are running? You shouldn’t have to do this manually, just installing the linux-zen package should run mkinitcpio automatically. It should be happening in that part where you have you «…. snip ….» text.

That mkinitcpio command line you are using is also overwriting the initramfs for the «linux» package. The one for the «linux-zen» package has a default name «initramfs-linux-zen.img». What are you trying to do there? I don’t get it.

After you’ve installed both linux-zen and linux packages, your /boot location should contain all of these files here:

/boot/vmlinuz-linux
/boot/vmlinuz-linux-zen
/boot/initramfs-linux.img
/boot/initramfs-linux-zen.img
/boot/initramfs-linux-fallback.img
/boot/initramfs-linux-zen-fallback.img

You can then try booting using either the «linux» or the «linux-zen» kernels and initramfs.

Last edited by Ropid (2020-05-11 20:26:10)

#4 2020-05-11 23:07:24

JimDeadlock
Member
From: London
Registered: 2019-03-20
Posts: 71

Re: Trying to install Zen kernel

Thanks for the pointers Ropid. I’ve managed to get a bit further with this. I set my boot order using efibootmgr (had to re-learn how to use it), and it reports that I’m currently running the Zen kernel (I think) but ‘uname -r’ still reports 5.6.11-arch1-1 so is this normal and am I running Zen or not? Does uname not differentiate between a Zen kernel and a normal one?

# ls -l /boot
total 95M
-rwxr-xr-x 1 root root  31M May 11 20:58 initramfs-linux-fallback.img
-rwxr-xr-x 1 root root 9.5M May 11 20:58 initramfs-linux.img
-rwxr-xr-x 1 root root  32M May 11 21:27 initramfs-linux-zen-fallback.img
-rwxr-xr-x 1 root root 9.5M May 11 21:27 initramfs-linux-zen.img
-rwxr-xr-x 1 root root 6.4M May 11 20:58 vmlinuz-linux
-rwxr-xr-x 1 root root 6.9M May 11 21:27 vmlinuz-linux-zen

# efibootmgr --verbose
BootCurrent: 0000
Timeout: 1 seconds
BootOrder: 0000,001B,001C,0013,0014,0015,001A,001D,0001,0002,0003
Boot0000* ArchZen	HD(1,GPT,db56238c-3a9a-40d9-9f26-83542b1c5df8,0x800,0x113000)/File(vmlinuz-linux)r.o.o.t.=.P.A.R.T.U.U.I.D.=.1.0.0.0.7.8.3.8.-.9.3.2.2.-.4.d.8.c.-.b.4.6.9.-.f.c.1.c.3.2.4.6.f.f.4.4. .r.w. .i.n.i.t.r.d.=..i.n.i.t.r.a.m.f.s.-.l.i.n.u.x.-.z.e.n...i.m.g.
Boot0001* UEFI:CD/DVD Drive	BBS(129,,0x0)
Boot0002* UEFI:Removable Device	BBS(130,,0x0)
Boot0003* UEFI:Network Device	BBS(131,,0x0)
Boot0013* SSD PLUS 480GB	BBS(HD,,0x0)..BO
Boot0014* ST2000DM005-2CW102	BBS(HD,,0x0)..BO
Boot0015* Samsung SSD 970 EVO Plus 1TB	BBS(HD,,0x0)..BO
Boot001A* Samsung SSD 970 EVO Plus 1TB	BBS(HD,,0x0)..BO
Boot001B* UEFI:  USB Flash Memory1.00	PciRoot(0x0)/Pci(0x14,0x0)/USB(1,0)/USB(2,0)/CDROM(1,0xa4,0x14475c)..BO
Boot001C* UEFI:  USB Flash Memory1.00, Partition 2	PciRoot(0x0)/Pci(0x14,0x0)/USB(1,0)/USB(2,0)/HD(2,MBR,0x63af2e9,0xa4,0x20000)..BO
Boot001D*  USB Flash Memory1.00	BBS(HD,,0x0)..BO

# uname -r
5.6.11-arch1-1

Last edited by JimDeadlock (2020-05-11 23:08:46)

#5 2020-05-11 23:10:22

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,370
Website

Re: Trying to install Zen kernel

Wrong image:

Boot0000* ArchZen	HD(1,GPT,db56238c-3a9a-40d9-9f26-83542b1c5df8,0x800,0x113000)/File(vmlinuz-linux)

Last edited by jasonwryan (2020-05-11 23:11:01)


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

#6 2020-05-11 23:11:46

loqs
Member
Registered: 2014-03-06
Posts: 15,625

Re: Trying to install Zen kernel

Boot0000* ArchZen	HD(1,GPT,db56238c-3a9a-40d9-9f26-83542b1c5df8,0x800,0x113000)/File(vmlinuz-linux)r.o.o.t.=.P.A.R.T.U.U.I.D.=.1.0.0.0.7.8.3.8.-.9.3.2.2.-.4.d.8.c.-.b.4.6.9.-.f.c.1.c.3.2.4.6.f.f.4.4. .r.w. .i.n.i.t.r.d.=..i.n.i.t.r.a.m.f.s.-.l.i.n.u.x.-.z.e.n...i.m.g.

The linux kernel but a linux-zen initrd?
Edit:
Did you manually build linux-zen.img specifying the linux none zen kernel otherwise would expect the kernel to refuse to load the modules.
What is the output of

lsinitcpio /boot/initramfs-linux-zen.img | grep modules.devname

Last edited by loqs (2020-05-11 23:25:39)

#7 2020-05-11 23:27:16

JimDeadlock
Member
From: London
Registered: 2019-03-20
Posts: 71

Re: Trying to install Zen kernel

I fixed the initrd image (it was a schoolboy error):

# sudo efibootmgr --disk /dev/nvme1n1 --part 1 --create --label "ArchZen" --loader /vmlinuz-linux-zen --unicode 'root=PARTUUID=10007838-9322-4d8c-b469-fc1c3246ff44 rw initrd=initramfs-linux-zen.img' --verbose

…and rebooted, but still showing a mismatch between efibootmgr and uname:

# efibootmgr --verbose
BootCurrent: 0000
Timeout: 1 seconds
BootOrder: 0000,001B,001C,0013,0014,0015,001A,001D,0001,0002,0003
Boot0000* ArchZen	HD(1,GPT,db56238c-3a9a-40d9-9f26-83542b1c5df8,0x800,0x113000)/File(vmlinuz-linux-zen)r.o.o.t.=.P.A.R.T.U.U.I.D.=.1.0.0.0.7.8.3.8.-.9.3.2.2.-.4.d.8.c.-.b.4.6.9.-.f.c.1.c.3.2.4.6.f.f.4.4. .r.w. .i.n.i.t.r.d.=..i.n.i.t.r.a.m.f.s.-.l.i.n.u.x.-.z.e.n...i.m.g.
Boot0001* UEFI:CD/DVD Drive	BBS(129,,0x0)
Boot0002* UEFI:Removable Device	BBS(130,,0x0)
Boot0003* UEFI:Network Device	BBS(131,,0x0)
Boot0013* SSD PLUS 480GB	BBS(HD,,0x0)..BO
Boot0014* ST2000DM005-2CW102	BBS(HD,,0x0)..BO
Boot0015* Samsung SSD 970 EVO Plus 1TB	BBS(HD,,0x0)..BO
Boot001A* Samsung SSD 970 EVO Plus 1TB	BBS(HD,,0x0)..BO
Boot001B* UEFI:  USB Flash Memory1.00	PciRoot(0x0)/Pci(0x14,0x0)/USB(1,0)/USB(2,0)/CDROM(1,0xa4,0x14475c)..BO
Boot001C* UEFI:  USB Flash Memory1.00, Partition 2	PciRoot(0x0)/Pci(0x14,0x0)/USB(1,0)/USB(2,0)/HD(2,MBR,0x63af2e9,0xa4,0x20000)..BO
Boot001D*  USB Flash Memory1.00	BBS(HD,,0x0)..BO
# uname -r
5.6.11-arch1-1

Edit:

# lsinitcpio /boot/initramfs-linux-zen.img | grep modules.devname
usr/lib/modules/5.6.11-zen1-1-zen/modules.devname

Last edited by JimDeadlock (2020-05-11 23:28:12)

#8 2020-05-11 23:32:38

loqs
Member
Registered: 2014-03-06
Posts: 15,625

Re: Trying to install Zen kernel

file /boot/vmlinuz-linux /boot/vmlinuz-linux-zen

If you unmount /boot what is the contents of the unmounted /boot directory?

#9 2020-05-11 23:38:30

JimDeadlock
Member
From: London
Registered: 2019-03-20
Posts: 71

Re: Trying to install Zen kernel

# sudo umount /boot
# ls -l /boot
total 47M
-rwxr-xr-x 1 root root  31M Apr 17 07:46 initramfs-linux-fallback.img
-rwxr-xr-x 1 root root 9.5M Apr 17 07:46 initramfs-linux.img
-rw-r--r-- 1 root root 6.4M Apr 17 07:46 vmlinuz-linux
# cat /etc/fstab
# /dev/md127p1 LABEL=ArchSys
UUID=8aa5ca90-0e5b-420f-a53c-1789c70e4f32	/         	ext4      	rw,relatime,stripe=256	0 1

# /dev/md127p2 LABEL=ArchHome
UUID=b3808afb-5eba-435f-90aa-f6c0aabcfd0e	/home     	ext4      	rw,relatime,stripe=256	0 2

# /dev/nvme1n1p1 LABEL=EFI
UUID=03A3-0196      	/boot     	vfat      	rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro	0 2

#10 2020-05-11 23:42:50

JimDeadlock
Member
From: London
Registered: 2019-03-20
Posts: 71

Re: Trying to install Zen kernel

Should I delete the contents of /boot with it unmounted?

#11 2020-05-11 23:58:22

loqs
Member
Registered: 2014-03-06
Posts: 15,625

Re: Trying to install Zen kernel

What is the output of

file /boot/vmlinuz-linux /boot/vmlinuz-linux-zen

I would not advise deleting files until the issue is resolved then unneeded files can be removed.

#12 2020-05-12 00:01:21

JimDeadlock
Member
From: London
Registered: 2019-03-20
Posts: 71

Re: Trying to install Zen kernel

# file /boot/vmlinuz-linux /boot/vmlinuz-linux-zen
/boot/vmlinuz-linux:     Linux kernel x86 boot executable bzImage, version 5.6.4-arch1-1 (linux@archlinux) #1 SMP PREEMPT Mon, 13 Apr 2020 12:21:19 +0000, RO-rootFS, swap_dev 0x6, Normal VGA
/boot/vmlinuz-linux-zen: cannot open `/boot/vmlinuz-linux-zen' (No such file or directory)
# sudo mount /dev/nvme1n1p1 /boot
# file /boot/vmlinuz-linux /boot/vmlinuz-linux-zen
/boot/vmlinuz-linux:     Linux kernel x86 boot executable bzImage, version 5.6.11-arch1-1 (linux@archlinux) #1 SMP PREEMPT Wed, 06 May 2020 17:32:37 +0000, RO-rootFS, swap_dev 0x6, Normal VGA
/boot/vmlinuz-linux-zen: Linux kernel x86 boot executable bzImage, version 5.6.11-zen1-1-zen (linux-zen@archlinux) #1 ZEN SMP PREEMPT Wed, 06 May 2020 17:32:39 +0000, RO-rootFS, swap_dev 0x6, Normal VGA

Содержание

  1. Ядро Zen
  2. Что включено в Zen-ядро?
  3. Отличие между zen.git и zen-stable.git
  4. Zen-Stable.git
  5. Zen.git

Уже около месяца в моем Arch Linux крутится zen kernel. Довольно неплохо обработанное напильником, с кучей пачтей и дополнительных фич не входящих в ванильное ядро. Сегодня я расскажу что же оно есть такое и чуток углублюсь в дебри :)

Ядро Zen

Zen представляет собой вариант ядра Linux, который предназначен для настольных компьютеров. Это «исправленный» Linux для настольных/не-серверных систем, использует комбинацию нескольких проектов, обновляет код через git-репозиторий, а так же имеет несколько специфичных для Zen вещей стремящихся удовлетворить большинство потребностей пользователей реализовав их в одном ядре. Некоторые примеры слияния кодов это drm-next, wireless-testing, выбор планировщиков CPU  (CFS/BFS), BFQ планировщик ввода-вывода, aufs, unionfs, reiser4, tuxonice, PHC, и многие другие замечательные вещи которые замечательно подойдут для улучшения настроек настольных или ноутбук систем или просто код улучшающий производительность настольных систем. Однако объединенный код может изменится в любой момент. Так же, «передовые технологии» такие как drm-next, wireless-testing, linux-2.6.git, или  что-то другое по сути дела являющееся «передовыми разработками»  слиты с кодом только в нестабильной ветке (zen.git).

Основной целью является удовлетворение запросов людей в различных областях, запускающих ядро Linux на непроизводственных машинах . Эти области включают в себя производительность, драйверы/новейшие драйверы, и новые «фичи» (новые возможности могут включать в себя все — от файловых систем до tuxonice). Вторая цель — предоставление тестового полигона для новинок включаемых, но не принятых в основное ядро Linux. Это обеспечивает разработчиков такого кода большой базой тестеров которые особенно ценны, когда необходимо поправить несколько ошибок в скрипте, или найти проблемы при работе на различном оборудовании.

Что включено в Zen-ядро?

Код включаемый в zen ядро может быть разным в разное время. Несколько примеров проектов которые были последовательно объединены с zen:  bfs/zen-sched, bfq i/o планировщик, aufs, reiser4, tuxonice, smapi, linux PHC, mactel, gc-linux, fbcondecor, cko,  и другие. Это не точный список того что указано на сайте, и он может изменяться от релиза к релизу.

Если вам интересно знать что включается в zen ядро в любой момент времени, посетите gitweb и прочитайте, или поищите в логах git. Интерфейс gitweb отображает все вносимые правки с пояснениями к ним, а так же все ветки которые существуют в дереве. Эта информация отображается для текущей ‘master’ ветки дерева и для любой существующей метки (вы так же можете вернуться назад и посмотреть старые релизы).

Как альтернатива этому — это подробная документация включающая даже документацию к проектам включенным в Zen ядро, она может быть найдена на странице Документации.

Отличие между zen.git и zen-stable.git

Zen-Stable.git

  • Создается на основе последнего стабильного ядра: нет RC ядер (2.6.X.Y)
  • Не имеет репозитория новинок для будущего слияния с основным кодом (нет drm-next, sound-2.6.git, wireless-testing, или любых других «тестовых» деревьев)
  • Не включает код «просто посмотрите работает ли это»
  • Имеет только stable + stable zen метки (нет -rc меток)

Zen.git

  • Берется из linux-2.6.git: -rc/git ядра (2.6.X-rcY)
  • Имеет git-репозиторий нововведений (drm-next, sound-2.6.git, wireless-testing)
  • Новые проекты которые хотят протестить включаются сюда, смотрят как они работают в Zen.git, если все нормально и стабильно то можгут быть включены в zen-stable.git.
  • Только unstable + unstable zen метки (только -rc метки)

Вам не требуется клонировать оба zen-stable.git и zen.git если вам хочется использовать оба дерева одновременно! Прочитайте «Как переключаться между zen-stable и zen в одном древе»

Так вы сможете получить все метки (не только -rc или stable метки), и получить оба древа в одном.

Как говорится все понятно из названия. Zen-stable.git более стабильно чем Zen.git которое нестабильно и использует больше экспериментального кода.Это не значит что от Zen.git нет никакой пользы! Как правило, чем больше номер -rc  релиз получает, тем более стабильным он становится. Код обновляется или добавляется только по здравым причинам, часто новый или экспериментальный код — это то что требовали пользователи.
Запуск стабильного ядра так же имеет свои преимущества, оно гарантирует что у пользователя выше шанс без проблем получить рабочую систему, что для некоторых является критически важной задачей.
Zen.git становится Zen-stable.git когда снимается -rc и выпускается новое ядро. (Из-за малых изменений zen-stable может использовать все ветки которые были в zen.git, за исключением других git деревьев)
Оба дерева имеют свои причины на существование. Используйте одно или оба, как вам угодно. (возможно если у вас проблемы со стабильным ядром вам захочется взглянуть — может быть ваша проблема решена в более новом ядре)

I’m new to arch so any help on this subject is much appreciated. I have been trying to install yaourt on manjaro, but this is the error message I receive.

[manjaro@manjaro-pc ~]$ sudo pacman -S yaourt
error: target not found: yaourt

Fco Javier Balón's user avatar

asked Nov 14, 2019 at 15:39

Reubenite King's user avatar

4

Yaourt was removed from the official servers of Arch Linux by serious security problems. Die.

It can no longer -or should not be- download from official repositories, and it’s not safe to do it by any other means.

I recommend switching to safer alternatives for AUR packages, like aurman.

Links of interest:

  • Yaourt is Dead! Use These Alternatives for AUR in Arch Linux
  • Remove yaourt from [archlinuxfr] repo
  • Arch Wiki — AUR helpers
  • Archero ¡Deja de usar Yaourt! ¡Usa aurman! (Spanish)

Update with aurman installation:

You can install aurman with the following script:

#!/bin/bash

cd /tmp
gpg --recv-key 465022E743D71E39
git clone https://aur.archlinux.org/aurman.git
cd aurman
makepkg -si
sudo sed -i '/^#Color/s/^#//' /etc/pacman.conf
aurman -Syu

The use of aurman is more simple that yaourt, and very similar to pacman.

answered Nov 14, 2019 at 16:32

Fco Javier Balón's user avatar

2

I’m new to arch so any help on this subject is much appreciated. I have been trying to install yaourt on manjaro, but this is the error message I receive.

[manjaro@manjaro-pc ~]$ sudo pacman -S yaourt
error: target not found: yaourt

Fco Javier Balón's user avatar

asked Nov 14, 2019 at 15:39

Reubenite King's user avatar

4

Yaourt was removed from the official servers of Arch Linux by serious security problems. Die.

It can no longer -or should not be- download from official repositories, and it’s not safe to do it by any other means.

I recommend switching to safer alternatives for AUR packages, like aurman.

Links of interest:

  • Yaourt is Dead! Use These Alternatives for AUR in Arch Linux
  • Remove yaourt from [archlinuxfr] repo
  • Arch Wiki — AUR helpers
  • Archero ¡Deja de usar Yaourt! ¡Usa aurman! (Spanish)

Update with aurman installation:

You can install aurman with the following script:

#!/bin/bash

cd /tmp
gpg --recv-key 465022E743D71E39
git clone https://aur.archlinux.org/aurman.git
cd aurman
makepkg -si
sudo sed -i '/^#Color/s/^#//' /etc/pacman.conf
aurman -Syu

The use of aurman is more simple that yaourt, and very similar to pacman.

answered Nov 14, 2019 at 16:32

Fco Javier Balón's user avatar

2

#
4 года, 7 месяцев назад

Темы:

16

Сообщения:

70

Участник с: 16 сентября 2017

В файл pacman.conf добавлены
[archlinuxfr]
SigLevel = Never
Server = http://repo.archlinux.fr/$arch

[multilib]
Include = /etc/pacman.d/mirrorlist

sudo pacman -Syyu

sudo pacman -S yaourt
ошибка: не найдена цель: yaourt

В чем может быть дело?

nafanja

#
4 года, 7 месяцев назад

nafanja avatar

Темы:

94

Сообщения:

9252

Участник с: 02 июня 2012

заблокирован

подключи репу archlinuxcn

Псевдографический инсталлятор Arch Linux ver. 3.8.2
Благодарности принимаются на ЯД 410012815723874

pci

#
4 года, 7 месяцев назад

(отредактировано

4 года, 7 месяцев назад)

Темы:

16

Сообщения:

70

Участник с: 16 сентября 2017

Тоже ошибка
sudo pacman -S yaort
ошибка: не найдена цель: yaort

pci

#
4 года, 7 месяцев назад

Темы:

16

Сообщения:

70

Участник с: 16 сентября 2017

Может у меня файл pacman.conf неправильный?
# /etc/pacman.conf
# GENERAL OPTIONS
#
[options]
HoldPkg = pacman glibc
Architecture = auto

CheckSpace

SigLevel = Required DatabaseOptional
LocalFileSigLevel = Optional

[core]
Include = /etc/pacman.d/mirrorlist

[extra]
Include = /etc/pacman.d/mirrorlist

[archlinuxcn]
SigLevel = Optional TrustedOnly
Server = http://repo.archlinuxcn.org/$arch

[community]
Include = /etc/pacman.d/mirrorlist

[multilib]
Include = /etc/pacman.d/mirrorlist

nafanja

#
4 года, 7 месяцев назад

nafanja avatar

Темы:

94

Сообщения:

9252

Участник с: 02 июня 2012

заблокирован

[archlinuxcn]
##pacman -S archlinuxcn-keyring
Server = http://repo.archlinuxcn.org/$arch
## or use a CDN (beta)
#Server = https://cdn.repo.archlinuxcn.org/$arch
## or install archlinuxcn-mirrorlist-git and use the mirrorlist
#Include = /etc/pacman.d/archlinuxcn-mirrorlist

Псевдографический инсталлятор Arch Linux ver. 3.8.2
Благодарности принимаются на ЯД 410012815723874

pci

#
4 года, 7 месяцев назад

Темы:

16

Сообщения:

70

Участник с: 16 сентября 2017

nafanja спасибо!
Все заработало!

nafanja

#
4 года, 7 месяцев назад

nafanja avatar

Темы:

94

Сообщения:

9252

Участник с: 02 июня 2012

заблокирован

pci, ты конфиг где брал?
в официальном много комментариев вообще то, а у тя нет.

Псевдографический инсталлятор Arch Linux ver. 3.8.2
Благодарности принимаются на ЯД 410012815723874

pci

#
4 года, 7 месяцев назад

Темы:

16

Сообщения:

70

Участник с: 16 сентября 2017

Я конфиг просто удалил лишние (закомментированные) строки.
А это как-то влияет на что-то?

nafanja

#
4 года, 7 месяцев назад

nafanja avatar

Темы:

94

Сообщения:

9252

Участник с: 02 июня 2012

заблокирован

pci
Я конфиг просто удалил лишние (закомментированные) строки.

понятно.
комменты ни на что не влияют. просто отсутствие их наводит на мысль о левом происхождении конфига. (мне просто лень проверять правильность было :D )

Псевдографический инсталлятор Arch Linux ver. 3.8.2
Благодарности принимаются на ЯД 410012815723874

pci

#
4 года, 7 месяцев назад

Темы:

16

Сообщения:

70

Участник с: 16 сентября 2017

Я с вашим [archlinuxcn] установил yaourt, затем снова добавил [archlinuxfr], как-то ближе мне

Manjaro Linux Forum

Loading

Не получается установить ядро zen. Применение команд sudo pacman -Syy linux-zen-headers и sudo pacman -Syy linux-zen как правило не чего не даёт. Pacman не находит таких файлов в его репозитории и пишет ошибка: не найдена цель: linux-zen

ошибка: не найдена цель: linux-zen-headers

Кто нибудь может дать инструкцию по установки ядра в manjaro, потому что обычный гуглёшь ничего не даёт

It (информационные технологии)LinuxManjaro linux

Кирилл Мосоров

29 марта 2021  · 2,0 K

Software Engineer, CICD Enthusiast, Unixoid  · 7 сент 2021

Добрый день!

Ядро zen находится в репозитории extra

Возможно он закомментирован в файле настроек /etc/pacman.conf

Попробуйте раскомментироваться репозиторий, выполнить синхронизацию `pacman -Syy` и выполнить установку `pacman -S linux-zen linux-zen-headers`

1,4 K

Комментировать ответ…Комментировать…

Several times I updated pacman -Syy , pacman -Syu and some other commands.
I have multilib source uncommented in pacman.conf.
My last thoughts were about pacman-key, I was trying to change keyserver in /etc/pacman.d/gnupg/gnu.conf, run pacman-key --refresh-keys and pacman-key --populate archlinux but it didn’t help me. Was googling a lot, but I guess I need to ask here.
pacman -S xorg works, but pacman -S yaourt and several others not

UPD: pacman.conf

 #
# /etc/pacman.conf
#
# See the pacman.conf(5) manpage for option and repository directives

#
# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir     = /
#DBPath      = /var/lib/pacman/
#CacheDir    = /var/cache/pacman/pkg/
#LogFile     = /var/log/pacman.log
#GPGDir      = /etc/pacman.d/gnupg/
#HookDir     = /etc/pacman.d/hooks/
HoldPkg     = pacman glibc
#XferCommand = /usr/bin/curl -C - -f %u > %o
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#CleanMethod = KeepInstalled
#UseDelta    = 0.7
Architecture = auto

# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg   =
#IgnoreGroup =

#NoUpgrade   =
#NoExtract   =

# Misc options
#UseSyslog
#Color
#TotalDownload
CheckSpace
#VerbosePkgLists

# By default, pacman accepts packages signed by keys that its local keyring
# trusts (see pacman-key and its man page), as well as unsigned packages.
SigLevel    = Never
LocalFileSigLevel = Optional
#RemoteFileSigLevel = Required

# NOTE: You must run `pacman-key --init` before first using pacman; the local
# keyring can then be populated with the keys of all official Arch Linux
# packagers with `pacman-key --populate archlinux`.

#
# REPOSITORIES
#   - can be defined here or included from another file
#   - pacman will search repositories in the order defined here
#   - local/custom mirrors can be added here or in separate files
#   - repositories listed first will take precedence when packages
#     have identical names, regardless of version number
#   - URLs will have $repo replaced by the name of the current repo
#   - URLs will have $arch replaced by the name of the architecture
#
# Repository entries are of the format:
#       [repo-name]
#       Server = ServerName
#       Include = IncludePath
#
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
#

# The testing repositories are disabled by default. To enable, uncomment the
# repo name header and Include lines. You can add preferred servers immediately
# after the header, and they will be used before the default mirrors.

#[testing]
#Include = /etc/pacman.d/mirrorlist

[core]
Include = /etc/pacman.d/mirrorlist

[extra]
Include = /etc/pacman.d/mirrorlist

#[community-testing]
#Include = /etc/pacman.d/mirrorlist

[community]
Include = /etc/pacman.d/mirrorlist

# If you want to run 32 bit applications on your x86_64 system,
# enable the multilib repositories as required here.

#[multilib-testing]
#Include = /etc/pacman.d/mirrorlist

[multilib]
Include = /etc/pacman.d/mirrorlist

# An example of a custom package repository.  See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#SigLevel = Optional TrustAll
#Server = file:///home/custompkgs

Trying to install

 sudo pacman -S light 
 error: target not found: light 
 sudo pacman -S alsamixer
 error: target not found: alsamixer   

У меня было много проблем с pacman в моей новой системе Arch. Я не могу ничего установить.

[root @ life ~] # pacman -S pacaur

ошибка: цель не найдена: pacaur

Я перепробовал все, включая pacman -Syyu, переустановку pacman и переписку с mirrorlist, что наводит меня на мысль, что это может быть проблема с mirrorlist или pacman.conf

Может кто-нибудь помочь?

#
# /etc/pacman.conf
#
# See the pacman.conf(5) manpage for option and repository directives

#
# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir     = /
#DBPath      = /var/lib/pacman/
#CacheDir    = /var/cache/pacman/pkg/
#LogFile     = /var/log/pacman.log
#GPGDir      = /etc/pacman.d/gnupg/
HoldPkg     = pacman glibc
#XferCommand = /usr/bin/curl -C - -f %u > %o
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#CleanMethod = KeepInstalled
#UseDelta    = 0.7
Architecture = auto

# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg   =
#IgnoreGroup =

#NoUpgrade   =
#NoExtract   =

# Misc options
#UseSyslog
#Color
#TotalDownload
CheckSpace
#VerbosePkgLists

# By default, pacman accepts packages signed by keys that its local keyring
# trusts (see pacman-key and its man page), as well as unsigned packages.
SigLevel    = Required DatabaseOptional
LocalFileSigLevel = Optional
#RemoteFileSigLevel = Required

# NOTE: You must run `pacman-key --init` before first using pacman; the local
# keyring can then be populated with the keys of all official Arch Linux
# packagers with `pacman-key --populate archlinux`.

#
# REPOSITORIES
#   - can be defined here or included from another file
#   - pacman will search repositories in the order defined here
#   - local/custom mirrors can be added here or in separate files
#   - repositories listed first will take precedence when packages
#     have identical names, regardless of version number
#   - URLs will have $repo replaced by the name of the current repo
#   - URLs will have $arch replaced by the name of the architecture
#
# Repository entries are of the format:
#       [repo-name]
#       Server = ServerName
#       Include = IncludePath
#
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
#

# The testing repositories are disabled by default. To enable, uncomment the
# repo name header and Include lines. You can add preferred servers immediately
# after the header, and they will be used before the default mirrors.

#[testing]
#Include = /etc/pacman.d/mirrorlist

[core]
Include = /etc/pacman.d/mirrorlist

[extra]
Include = /etc/pacman.d/mirrorlist

#[community-testing]
#Include = /etc/pacman.d/mirrorlist

[community]
Include = /etc/pacman.d/mirrorlist

# If you want to run 32 bit applications on your x86_64 system,
# enable the multilib repositories as required here.

#[multilib-testing]
#Include = /etc/pacman.d/mirrorlist

#[multilib]
#Include = /etc/pacman.d/mirrorlist

# An example of a custom package repository.  See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#SigLevel = Optional TrustAll
#Server = file:///home/custompkgs

Отображение pacman.conf.

##
## Arch Linux repository mirrorlist
## Sorted by mirror score from mirror status page
## Generated on 2014-12-28
##

## Score: 0.5, United States
Server = http://mirror.us.leaseweb.net/archlinux/$repo/os/$arch
## Score: 0.9, United States
Server = http://lug.mtu.edu/archlinux/$repo/os/$arch
## Score: 1.1, United States
Server = http://mirror.umd.edu/archlinux/$repo/os/$arch
## Score: 1.1, United States
Server = http://mirror.rit.edu/archlinux/$repo/os/$arch
## Score: 1.1, United States
Server = http://mirrors.acm.wpi.edu/archlinux/$repo/os/$arch
## Score: 1.1, United States
Server = http://archlinux.surlyjake.com/archlinux/$repo/os/$arch
## Score: 1.2, United States
Server = http://www.gtlib.gatech.edu/pub/archlinux/$repo/os/$arch
## Score: 1.2, United States
Server = https://mirrors.kernel.org/archlinux/$repo/os/$arch
## Score: 1.3, United States
Server = http://archlinux.pallissard.net/archlinux/$repo/os/$arch
## Score: 1.4, United States
Server = http://mirrors.cecsresearch.org/archlinux/$repo/os/$arch
## Score: 1.4, United States
Server = http://mirror.cs.pitt.edu/archlinux/$repo/os/$arch
## Score: 1.5, United States
Server = http://mirrors.cat.pdx.edu/archlinux/$repo/os/$arch
## Score: 1.7, United States
Server = http://mirror.jmu.edu/pub/archlinux/$repo/os/$arch
## Score: 1.8, United States
Server = http://mirror.grig.io/archlinux/$repo/os/$arch
## Score: 1.9, United States
Server = http://mirrors.aggregate.org/archlinux/$repo/os/$arch
## Score: 1.9, United States
Server = http://mirrors.kernel.org/archlinux/$repo/os/$arch
## Score: 2.0, United States

  • Ошибка не найдена цель lib32 nvidia utils
  • Ошибка не найдена цель grub customizer
  • Ошибка не найдена программа ubisoft game launcher код ошибки 2
  • Ошибка не найдена панель управления nvidia
  • Ошибка не найдена вкладка листа при печати автокад