Pacman, file exist | .bash_profile

Hi, thought the devs and other Qtile users should be aware of this.
On the latest update, I got this:

(20/20) checking for file conflicts                                     [----------------------------------------] 100%
error: failed to commit transaction (conflicting files)
garuda-qtile-settings: /etc/skel/.bash_profile exists in filesystem (owned by bash)
Errors occurred, no packages were upgraded.

I fixed this by going to /etc/skel and renaming .bash_profile to something else before updating.

Old bash profile
# ~/.bash_profile

[[ -f ~/.bashrc ]] && . ~/.bashrc
New bash profile
# ~/.bash_profile

[[ -f ~/.bashrc ]] && . ~/.bashrc
export BROWSER=firedragon
export TERM=alacritty
export MAIL=thunderbird
export GTK2_RC_FILES="$HOME/.gtkrc-2.0"

export ALTERNATE_EDITOR="micro"                      
export EDITOR="micro"              
export VISUAL="micro"           

Considering the contents of old vs. new, this looks pretty safe to do, but correct me if I’m wrong. :slight_smile:

Hope this helps.


  Kernel: 6.5.5-lqx1-1-lqx arch: x86_64 bits: 64 compiler: gcc v: 13.2.1 clocksource: tsc
    available: acpi_pm parameters: audit=0 intel_pstate=disable hpet=disable
    rcupdate.rcu_expedited=1 BOOT_IMAGE=/@/boot/vmlinuz-linux-lqx
    root=UUID=e34775a9-3a44-4cad-b4a1-7a4688cda7b4 rw rootflags=subvol=@ splash
    rd.udev.log_priority=3 vt.global_cursor_default=0
    resume=UUID=fca2f0b8-fe12-4de7-b5ff-de54fd42afbb loglevel=3 nvidia_drm.modeset=1
    nvme_core.default_ps_max_latency_us=0 pcie_aspm=off console=tty0 console=ttyS0,115200n8
    cryptomgr.notests initcall_debug intel_iommu=igfx_off kvm-intel.nested=1 no_timer_check
    noreplace-smp page_alloc.shuffle=1 rcupdate.rcu_expedited=1 rootfstype=ext4,btrfs,xfs,f2fs
    tsc=reliable rw ibt=off
  Desktop: Qtile v: 0.22.1 wm: LG3D vt: 2 dm: SDDM Distro: Garuda Linux base: Arch Linux
  Type: Laptop System: Dell product: XPS 15 9560 v: N/A serial: <superuser required> Chassis:
    type: 10 serial: <superuser required>
  Mobo: Dell model: 05FFDN v: A00 serial: <superuser required> UEFI: Dell v: 1.24.0
    date: 08/10/2021
  ID-1: BAT0 charge: 65.0 Wh (78.5%) condition: 82.8/97.0 Wh (85.4%) volts: 11.9 min: 11.4
    model: LGC-LGC8.33 DELL 5XJ28 type: Li-ion serial: <filter> status: not charging
  Info: model: Intel Core i7-7700HQ bits: 64 type: MT MCP arch: Kaby Lake gen: core 7 level: v3
    note: check built: 2018 process: Intel 14nm family: 6 model-id: 0x9E (158) stepping: 9
    microcode: 0xF4
  Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache: L1: 256 KiB
    desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB desc: 4x256 KiB L3: 6 MiB desc: 1x6 MiB
  Speed (MHz): avg: 2801 high: 2805 min/max: 800/2801 boost: disabled scaling:
    driver: acpi-cpufreq governor: performance cores: 1: 2800 2: 2800 3: 2800 4: 2800 5: 2801 6: 2800
    7: 2805 8: 2802 bogomips: 44798
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities: <filter>
  Device-1: Intel HD Graphics 630 vendor: Dell driver: i915 v: kernel arch: Gen-9.5
    process: Intel 14nm built: 2016-20 ports: active: eDP-1 empty: DP-1, DP-2, HDMI-A-1, HDMI-A-2
    bus-ID: 00:02.0 chip-ID: 8086:591b class-ID: 0300
  Device-2: NVIDIA GP107M [GeForce GTX 1050 Mobile] vendor: Dell driver: nvidia v: 535.113.01
    alternate: nouveau,nvidia_drm non-free: 535.xx+ status: current (as of 2023-09) arch: Pascal
    code: GP10x process: TSMC 16nm built: 2016-21 pcie: gen: 1 speed: 2.5 GT/s lanes: 16 link-max:
    gen: 3 speed: 8 GT/s bus-ID: 01:00.0 chip-ID: 10de:1c8d class-ID: 0302
  Device-3: Sunplus Innovation Integrated_Webcam_HD driver: uvcvideo type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-12:7 chip-ID: 1bcf:2b95 class-ID: 0e02
  Display: x11 server: X.Org v: 21.1.8 compositor: Picom v: git-c4107 driver: X:
    loaded: modesetting,nvidia unloaded: nouveau alternate: fbdev,intel,nv,vesa dri: iris gpu: i915
    display-ID: :0 screens: 1
  Screen-1: 0 s-res: 3840x2160 s-dpi: 185 s-size: 527x296mm (20.75x11.65") s-diag: 604mm (23.8")
  Monitor-1: eDP-1 model: Sharp 0x1476 built: 2016 res: 3840x2160 hz: 60 dpi: 282 gamma: 1.2
    size: 346x194mm (13.62x7.64") diag: 397mm (15.6") ratio: 16:9 modes: 3840x2160
  API: EGL v: 1.5 hw: drv: intel iris drv: nvidia platforms: device: 0 drv: nvidia device: 1
    drv: iris device: 3 drv: swrast surfaceless: drv: nvidia x11: drv: iris
    inactive: gbm,wayland,device-2
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: intel mesa v: 23.2.1-arch1.1 glx-v: 1.4
    direct-render: yes renderer: Mesa Intel HD Graphics 630 (KBL GT2) device-ID: 8086:591b
    memory: 15.12 GiB unified: yes
  API: Vulkan v: 1.3.264 layers: 11 device: 0 type: integrated-gpu name: Intel HD Graphics 630
    (KBL GT2) driver: mesa intel v: 23.2.1-arch1.1 device-ID: 8086:591b surfaces: xcb,xlib
    device: 1 type: discrete-gpu name: NVIDIA GeForce GTX 1050 driver: nvidia v: 535.113.01
    device-ID: 10de:1c8d surfaces: xcb,xlib device: 2 type: cpu name: llvmpipe (LLVM 16.0.6 256
    bits) driver: mesa llvmpipe v: 23.2.1-arch1.1 (LL
VM 16.0.6) device-ID: 10005:0000
    surfaces: xcb,xlib
  Device-1: Intel CM238 HD Audio vendor: Dell driver: snd_hda_intel v: kernel
    alternate: snd_soc_avs bus-ID: 00:1f.3 chip-ID: 8086:a171 class-ID: 0403
  API: ALSA v: k6.5.5-lqx1-1-lqx status: kernel-api tools: alsactl,alsamixer,amixer
  Server-1: sndiod v: N/A status: off tools: aucat,midicat,sndioctl
  Server-2: PipeWire v: 0.3.80 status: active with: 1: pipewire-pulse status: active
    2: wireplumber status: active 3: pipewire-alsa type: plugin 4: pw-jack type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl
  Device-1: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter vendor: Rivet Networks
    Killer Wireless-n/a/ac 1535 driver: ath10k_pci v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1
    bus-ID: 02:00.0 chip-ID: 168c:003e class-ID: 0280 temp: 38.0 C
  IF: wlp2s0 state: up mac: <filter>
  Device-1: Qualcomm Atheros QCA61x4 Bluetooth 4.0 driver: btusb v: 0.8 type: USB rev: 2.0
    speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-4:4 chip-ID: 0cf3:e300 class-ID: e001
  Report: btmgmt ID: hci0 rfk-id: 0 state: down bt-service: disabled rfk-block: hardware: no
    software: no address: N/A
  Local Storage: total: 476.94 GiB used: 739 GiB (154.9%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Toshiba model: KXG50ZNV512G NVMe 512GB
    size: 476.94 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 tech: SSD
    serial: <filter> fw-rev: AADA4106 temp: 36.9 C scheme: GPT
  ID-1: / raw-size: 459.62 GiB size: 459.62 GiB (100.00%) used: 286.55 GiB (62.3%) fs: btrfs
    dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%) used: 588 KiB (0.2%) fs: vfat
    dev: /dev/nvme0n1p1 maj-min: 259:1
  ID-3: /home raw-size: 459.62 GiB size: 459.62 GiB (100.00%) used: 286.55 GiB (62.3%) fs: btrfs
    dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-4: /var/log raw-size: 459.62 GiB size: 459.62 GiB (100.00%) used: 286.55 GiB (62.3%)
    fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-5: /var/tmp raw-size: 459.62 GiB size: 459.62 GiB (100.00%) used: 286.55 GiB (62.3%)
    fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
  ID-1: swap-1 type: zram size: 15.48 GiB used: 15.47 GiB (99.9%) priority: 100 comp: zstd
    avail: lzo,lzo-rle,lz4,lz4hc,842 max-streams: 8 dev: /dev/zram0
  ID-2: swap-2 type: partition size: 17.02 GiB used: 16.45 GiB (96.6%) priority: -2
    dev: /dev/nvme0n1p3 maj-min: 259:3
  System Temperatures: cpu: 51.0 C pch: 61.5 C mobo: 47.0 C
  Fan Speeds (rpm): cpu: 2504 fan-2: 2487
  Processes: 311 Uptime: 19h 20m wakeups: 2316 Memory: total: N/A available: 15.48 GiB
  used: 11.11 GiB (71.8%) Init: systemd v: 254 default: graphical tool: systemctl Compilers:
  gcc: 13.2.1 clang: 16.0.6 Packages: 1815 pm: pacman pkgs: 1806 libs: 499 tools: paru pm: flatpak
  pkgs: 9 Client: shell wrapper v: 5.1.16-release inxi: 3.3.30
Garuda (2.6.16-1):
  System install date:     2023-03-19
  Last full system update: 2023-10-03 ↻
  Is partially upgraded:   No
  Relevant software:       snapper NetworkManager dracut nvidia-dkms
  Windows dual boot:       Probably (Run as root to verify)
  Failed units:            systemd-vconsole-setup.service 

Also, if this is in the wrong category, please feel free to move it. :slight_smile:

1 Like

For others, they got this “error” can fix it with

sudo pacman -Syu --overwrite '*'

Use overwrite only if you know exactly what you are doing :slight_smile:

1 Like

I noticed a [solution] in the title isn’t what we normally do on the Garuda forums so I originally marked SGS’ response as the solution, but was then informed that it’s actually a quick fix. :sweat_smile:

The solution is in the first post. Please always remember to check your files before you overwrite anything, no matter the approach you take.


This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.