Problèmes et questions sur les environnements graphiques et les applications.
#1Messageil y a 3 ansBonjour
Je souhaite installer une application snap mais j'ai le message :
sudo: snap : commande introuvable
Je fais alors
mais j'ai comme retour :
(1/1) analyse des conflits entre fichiers [###################################################################] 100%
erreur : la validation de la transaction a échoué (conflit de fichiers)
snapd : /snap est déjà présent dans le système de fichiers
Des erreurs se sont produites, aucun paquet n’a été mis à jour.
Je ne comprends pas comment snap peut-être présent et absent en même temps...
Si quelqu'un a une idée...
Merci d'avance !
Dernière modification par
nicoservail y a 3 ans, modifié au total 1 fois.
#2Messageil y a 3 ansbonjour
peux tu nous fourniir
le gestionnaire de snap est déjà présent Macpro quad 2008 - Ati5770 - Xeon 2,8Ghz 8Go Os X 10.6.8 - Linux - Manjaro 22.0 Mate
Desktop - CPU : Ryzen 3 -5600x@3,7Ghz - RAM 16 Go - CM: X570 AORUS PRO( Xfce Testing)
CG : GeForce GTX 970- Nvidia v525 Audio: Starship/Matisse Audio Manjaro 21.1 Xfce Eth: Intel I211 Gigabit
#3Messageil y a 3 ansÇa me donne ça
System: Kernel: 5.11.6-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.0
parameters: BOOT_IMAGE=/boot/vmlinuz-5.11-x86_64 root=UUID=f2dae5ba-a504-41e4-a393-e21b7f00bd67 rw quiet
resume=UUID=039b3807-94a9-41ab-9713-5448318c06ec
Desktop: KDE Plasma 5.21.3 tk: Qt 5.15.2 wm: kwin_x11 vt: 1 dm: SDDM Distro: Manjaro Linux base: Arch Linux
Machine: Type: Desktop System: MSI product: MS-7816 v: 1.0 serial: <filter>
Mobo: MSI model: Z87-G43 (MS-7816) v: 1.0 serial: <filter> BIOS: American Megatrends v: 1.6 date: 11/27/2013
Battery: Device-1: hidpp_battery_0 model: Logitech Wireless Keyboard K230 serial: <filter> charge: 55% (should be ignored)
rechargeable: yes status: Discharging
Device-2: hidpp_battery_1 model: Logitech M510 serial: <filter> charge: 55% (should be ignored) rechargeable: yes
status: Discharging
Device-3: sony_controller_battery_07:75:85:49:63:25 model: N/A serial: N/A charge: N/A status: Full
CPU: Info: Quad Core model: Intel Core i5-4670K bits: 64 type: MCP arch: Haswell family: 6 model-id: 3C (60) stepping: 3
microcode: 28 cache: L2: 6 MiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 27210
Speed: 3021 MHz min/max: 800/4000 MHz Core speeds (MHz): 1: 3021 2: 3843 3: 981 4: 810
Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled
Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT disabled
Type: mds mitigation: Clear CPU buffers; SMT disabled
Type: meltdown mitigation: PTI
Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl and seccomp
Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional, IBRS_FW, STIBP: disabled, RSB filling
Type: srbds mitigation: Microcode
Type: tsx_async_abort status: Not affected
Graphics: Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics vendor: Micro-Star MSI driver: i915
v: kernel bus-ID: 00:02.0 chip-ID: 8086:0412 class-ID: 0300
Display: x11 server: X.Org 1.20.10 compositor: kwin_x11 driver: loaded: intel unloaded: modesetting
alternate: fbdev,vesa display-ID: :0 screens: 1
Screen-1: 0 s-res: 5760x1092 s-dpi: 96 s-size: 1520x288mm (59.8x11.3") s-diag: 1547mm (60.9")
Monitor-1: HDMI1 res: 1920x1080 hz: 60 dpi: 102 size: 480x270mm (18.9x10.6") diag: 551mm (21.7")
Monitor-2: HDMI2 res: 1920x1080 dpi: 81 size: 600x340mm (23.6x13.4") diag: 690mm (27.2")
Monitor-3: VGA1 res: 1920x1080 hz: 60 dpi: 102 size: 480x270mm (18.9x10.6") diag: 551mm (21.7")
OpenGL: renderer: Mesa DRI Intel HD Graphics 4600 (HSW GT2) v: 4.5 Mesa 20.3.4 compat-v: 3.0 direct render: Yes
Audio: Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor HD Audio vendor: Micro-Star MSI driver: snd_hda_intel
v: kernel bus-ID: 00:03.0 chip-ID: 8086:0c0c class-ID: 0403
Device-2: Creative Labs Sound Core3D [Sound Blaster Recon3D / Z-Series] driver: snd_hda_intel v: kernel
bus-ID: 01:00.0 chip-ID: 1102:0012 class-ID: 0403
Device-3: SAVITECH Audiophonics U-SABRE(A) type: USB driver: hid-generic,snd-usb-audio,usbhid bus-ID: 3-3:2
chip-ID: 262a:12c0 class-ID: 0102
Sound Server-1: ALSA v: k5.11.6-1-MANJARO running: yes
Sound Server-2: sndio v: N/A running: no
Sound Server-3: JACK v: 0.125.0 running: no
Sound Server-4: PulseAudio v: 14.2 running: yes
Sound Server-5: PipeWire v: 0.3.23 running: no
Network: Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Micro-Star MSI driver: r8168
v: 8.048.03-NAPI modules: r8169 port: e000 bus-ID: 02:00.0 chip-ID: 10ec:8168 class-ID: 0200
IF: enp2s0 state: up speed: 100 Mbps duplex: full mac: <filter>
Device-2: TP-Link Archer T1U 802.11a/n/ac Wireless Adapter [MediaTek MT7610U] type: USB driver: mt76x0u
bus-ID: 3-6:4 chip-ID: 2357:0105 class-ID: 0000 serial: <filter>
IF: wlp0s20u6 state: down mac: <filter>
IF-ID-1: docker0 state: down mac: <filter>
Bluetooth: Device-1: Cambridge Silicon Radio Bluetooth Dongle (HCI mode) type: USB driver: btusb v: 0.8 bus-ID: 3-4.2:7
chip-ID: 0a12:0001 class-ID: e001
Report: ID: hci0 state: up address: <filter>
Drives: Local Storage: total: 11.93 TiB used: 8.8 TiB (73.7%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/sda maj-min: 8:0 vendor: SanDisk model: SDSSDXP120G size: 111.79 GiB block-size: physical: 512 B
logical: 512 B speed: 6.0 Gb/s rotation: SSD serial: <filter> rev: 1 scheme: MBR
ID-2: /dev/sdb maj-min: 8:16 vendor: Western Digital model: WD30EZRX-00D8PB0 size: 2.73 TiB block-size:
physical: 4096 B logical: 512 B speed: 6.0 Gb/s rotation: 5400 rpm serial: <filter> rev: 0A80 scheme: GPT
ID-3: /dev/sdc maj-min: 8:32 vendor: Western Digital model: WD30EZRX-00D8PB0 size: 2.73 TiB block-size:
physical: 4096 B logical: 512 B speed: 6.0 Gb/s rotation: 5400 rpm serial: <filter> rev: 0A80 scheme: GPT
ID-4: /dev/sdd maj-min: 8:48 vendor: Western Digital model: WD40EZRX-22SPEB0 size: 3.64 TiB block-size:
physical: 4096 B logical: 512 B speed: 6.0 Gb/s rotation: 5400 rpm serial: <filter> rev: 0A80 scheme: GPT
ID-5: /dev/sde maj-min: 8:64 vendor: Seagate model: ST3000DM008-2DM166 size: 2.73 TiB block-size: physical: 4096 B
logical: 512 B speed: 6.0 Gb/s rotation: 7200 rpm serial: <filter> rev: CC26 scheme: GPT
Partition: ID-1: / raw-size: 111.79 GiB size: 109.53 GiB (97.98%) used: 54.59 GiB (49.8%) fs: ext4 dev: /dev/sda1 maj-min: 8:1
ID-2: /home raw-size: 931.87 GiB size: 916.25 GiB (98.32%) used: 724.99 GiB (79.1%) fs: ext4 dev: /dev/sde1
maj-min: 8:65
Swap: Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
ID-1: swap-1 type: partition size: 14.9 GiB used: 0 KiB (0.0%) priority: -2 dev: /dev/sdb1 maj-min: 8:17
Sensors: System Temperatures: cpu: 29.8 C mobo: 27.8 C
Fan Speeds (RPM): N/A
Info: Processes: 237 Uptime: 4m wakeups: 5 Memory: 15.51 GiB used: 2.99 GiB (19.3%) Init: systemd v: 247 tool: systemctl
Compilers: gcc: 10.2.0 clang: 11.1.0 Packages: 2470 pacman: 2444 lib: 510 flatpak: 26 Shell: Bash v: 5.1.0
running-in: yakuake inxi: 3.3.03
#4Messageil y a 3 anstu n'as pas snapd
il faut de plus installer apparmor , l'activer
et ensuite mettre le service snapd
sudo pacman -Syu apparmor flatpak bauh snapd
sudo systemctl enable --now apparmor snapd.apparmor snapd
il faut aussi ajouter pour le démarrage au boot kernel
apparmor=1 security=apparmor Macpro quad 2008 - Ati5770 - Xeon 2,8Ghz 8Go Os X 10.6.8 - Linux - Manjaro 22.0 Mate
Desktop - CPU : Ryzen 3 -5600x@3,7Ghz - RAM 16 Go - CM: X570 AORUS PRO( Xfce Testing)
CG : GeForce GTX 970- Nvidia v525 Audio: Starship/Matisse Audio Manjaro 21.1 Xfce Eth: Intel I211 Gigabit
#5Messageil y a 3 ansMerci pour la réponse !
Je teste ça dès que je peux (là, je suis au boulot...)
Et où faut-il rajouter la dernière ligne ?
Encore un grand merci ! #6Messageil y a 3 ansil faut ajouter dans /etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT=
apparmor=1 security=apparmor
et mettre jour
Macpro quad 2008 - Ati5770 - Xeon 2,8Ghz 8Go Os X 10.6.8 - Linux - Manjaro 22.0 Mate
Desktop - CPU : Ryzen 3 -5600x@3,7Ghz - RAM 16 Go - CM: X570 AORUS PRO( Xfce Testing)
CG : GeForce GTX 970- Nvidia v525 Audio: Starship/Matisse Audio Manjaro 21.1 Xfce Eth: Intel I211 Gigabit
Dernière modification par
stephaneil y a 3 ans, modifié au total 1 fois.
#7Messageil y a 3 ansBonsoir
Ben, ça ne marche toujours pas...
erreur : la validation de la transaction a échoué (conflit de fichiers)
snapd : /snap est déjà présent dans le système de fichiers
Des erreurs se sont produites, aucun paquet n’a été mis à jour.
et si j'essaie
sudo systemctl enable --now apparmor snapd.apparmor snapd
ça me retourne
Failed to enable unit: Unit file snapd.apparmor.service does not exist.
Merci en tous cas pour l'aide ! #8Messageil y a 3 ansSur le fichier grub qui est à éditer et à sauvegarder voilà ce que j'ai ajouté
A trop vouloir faire de l'économie un idéal, nous faisons l'économie de l'Idéal !
________________________________________________
Manjaro Mate - C.M. Msi B550 Tomahawk - C.G. Amd Radeon RX 550 - CPU. Ryzen 5 3600 à 6 cœurs 12 proc. - C.S. Terratec Aureon - Ddr4 Corsaire Vengeance 16 Go - 3 SSD Crucial BX100 + BX500 + Corsair Me 120 Go - 2 & 1To + 1 Sata 500 Go
#9Messageil y a 3 anstu retente alors
sudo pacman -Syu apparmor
sudo systemctl enable --now apparmor snapd.apparmor snapd
Macpro quad 2008 - Ati5770 - Xeon 2,8Ghz 8Go Os X 10.6.8 - Linux - Manjaro 22.0 Mate
Desktop - CPU : Ryzen 3 -5600x@3,7Ghz - RAM 16 Go - CM: X570 AORUS PRO( Xfce Testing)
CG : GeForce GTX 970- Nvidia v525 Audio: Starship/Matisse Audio Manjaro 21.1 Xfce Eth: Intel I211 Gigabit
#10Messageil y a 3 ansBonjour et merci pour les recherches !
J'ai ajouté la ligne dans grub, rebooté et j'ai toujours l'erreur :
Failed to enable unit: Unit file snapd.apparmor.service does not exist.
Si j'essaie
ça me donne :
snapd : /snap est déjà présent dans le système de fichiers
et si j'essaie
ça me donne :
erreur : impossible de trouver la cible : snapd
#12Messageil y a 3 ansBonjour,
Stéphane t'a demandé de lancer :
sudo pacman -Syu apparmor
Mais dans ta réponse tu lance :
As-tu essayé l'installation de apparmor ? Tour principale:
Desktop Manjaro Gnome X64 / CPU : AMD Ryzen 5 3600
SSD Samsung 500GB avec Boot EFI, Root et Home (pas de Swap)
RAM 16Go sur 2 barettes 8Go 3200Mhz
Carte graphique : MSI AMD Radeo RX 570 driver free
Laptop :
Desktop Manjaro Gnome X64
Dell latitude 5430 14" Core i5-3320M
HDD 320 Go
RAM 8 Go
Driver free
Comprend vite mais faut m'expliquer longtemps
#13Messageil y a 3 ansBonjour
Oui, j'ai essayé
sudo pacman -Syu apparmor
puis
sudo systemctl enable --now apparmor snapd.apparmor snapd
Et ça me donne toujours
Failed to enable unit: Unit file snapd.apparmor.service does not exist.
Et
donne toujours
snapd : /snap est déjà présent dans le système de fichiers
... #14Messageil y a 3 ansil faut ajouter dans /etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT=
apparmor=1 security=apparmor
et mettre jour
Macpro quad 2008 - Ati5770 - Xeon 2,8Ghz 8Go Os X 10.6.8 - Linux - Manjaro 22.0 Mate
Desktop - CPU : Ryzen 3 -5600x@3,7Ghz - RAM 16 Go - CM: X570 AORUS PRO( Xfce Testing)
CG : GeForce GTX 970- Nvidia v525 Audio: Starship/Matisse Audio Manjaro 21.1 Xfce Eth: Intel I211 Gigabit
Dernière modification par
stephaneil y a 3 ans, modifié au total 1 fois.
#15Messageil y a 3 ansBonjour
C'est fait aussi.
Voici le contenu de mon /etc/default/grub
GRUB_DEFAULT=saved
GRUB_TIMEOUT=5
GRUB_TIMEOUT_STYLE=menu
GRUB_DISTRIBUTOR='Manjaro'
GRUB_CMDLINE_LINUX_DEFAULT="quiet resume=UUID=039b3807-94a9-41ab-9713-5448318c06ec apparmor=1 security=apparmor udev.log_priority=3"
GRUB_CMDLINE_LINUX=""
# If you want to enable the save default function, uncomment the following
# line, and set GRUB_DEFAULT to saved.
GRUB_SAVEDEFAULT=true
# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="part_gpt part_msdos"
# Uncomment to enable booting from LUKS encrypted devices
#GRUB_ENABLE_CRYPTODISK=y
# Uncomment to use basic console
GRUB_TERMINAL_INPUT=console
# Uncomment to disable graphical terminal
#GRUB_TERMINAL_OUTPUT=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
GRUB_GFXMODE=auto
# Uncomment to allow the kernel use the same resolution used by grub
GRUB_GFXPAYLOAD_LINUX=keep
# Uncomment if you want GRUB to pass to the Linux kernel the old parameter
# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
GRUB_DISABLE_RECOVERY=true
# Uncomment and set to the desired menu colors. Used by normal and wallpaper
# modes only. Entries specified as foreground/background.
GRUB_COLOR_NORMAL="light-gray/black"
GRUB_COLOR_HIGHLIGHT="green/black"
# Uncomment one of them for the gfx desired, a image background or a gfxtheme
#GRUB_BACKGROUND="/usr/share/grub/background.png"
GRUB_THEME="/usr/share/grub/themes/manjaro/theme.txt"
# Uncomment to get a beep at GRUB start
#GRUB_INIT_TUNE="480 440 1"
# Uncomment this option to enable os-prober execution in the grub-mkconfig command
GRUB_DISABLE_OS_PROBER=false
#16Messageil y a 3 ansVérifie déjà le status
systemctl status apparmor
Voilà un retour correct
yvance@yvance ~]$ systemctl status apparmor
● apparmor.service - Load AppArmor profiles
Loaded: loaded (/usr/lib/systemd/system/apparmor.service; enabled; vendor preset: di>
Active: active (exited) since Sat 2021-04-03 11:19:22 +11; 5 days ago
Main PID: 401 (code=exited, status=0/SUCCESS)
Tasks: 0 (limit: 14301)
Memory: 0B
CGroup: /system.slice/apparmor.service
avril 03 11:19:22 yvance systemd[1]: Starting Load AppArmor profiles...
avril 03 11:19:22 yvance apparmor.systemd[401]: Restarting AppArmor
avril 03 11:19:22 yvance apparmor.systemd[401]: Reloading AppArmor profiles
avril 03 11:19:22 yvance systemd[1]: Finished Load AppArmor profiles.
lines 1-12/12 (END)
A trop vouloir faire de l'économie un idéal, nous faisons l'économie de l'Idéal !
________________________________________________
Manjaro Mate - C.M. Msi B550 Tomahawk - C.G. Amd Radeon RX 550 - CPU. Ryzen 5 3600 à 6 cœurs 12 proc. - C.S. Terratec Aureon - Ddr4 Corsaire Vengeance 16 Go - 3 SSD Crucial BX100 + BX500 + Corsair Me 120 Go - 2 & 1To + 1 Sata 500 Go
#17Messageil y a 3 ansnicoserva a écrit : ↑il y a 3 ans
Bonjour
Je souhaite installer une application snap(...)
- Quelle application ?
- J'exclus totalement snap de mes ordis, mais pour tout paquet hors dépôts et AUR j'utilise bauh pour l'installation et la gestion : flatpak, appimage, web (pwa) et... (mais donc pas chez moi) snapXubuntu devel - Manjaro unstable - OpenSUSE tumbleweed (GeckoLinux) -Debian Testing
Trucs, astuces, tutos et analyses de l'open source dans l'almanet doLys
#18Messageil y a 3 ansBonjour
Le retour de
systemctl status apparmor
me donne
● apparmor.service - Load AppArmor profiles
Loaded: loaded (/usr/lib/systemd/system/apparmor.service; disabled; vendor preset: disabled)
Active: inactive (dead)
Et je souhaite installer un jeu :https://snapcraft.io/tmnationsforever
Je regarde bauh que je ne connaissais pas.
Merci pour toutes ces contributions ! #20Messageil y a 3 ansMerci, je n'avais pas pensé à Lutris...
Et j'ai cherché pour snap. J'ai trouvé un fichier snap de 0 octet dans le répertoire /. Je l'ai renommé et tout fonctionne maintenant...
Merci à tous pour l'aide apportée !
Merci d'éditer ton premier message et de cocher l'icone verte lorsque ton problème est résolu. Fait pour toi.
administration/modération