Hi everyone, I broke a system with arch due to a storm while I was updating.
In chroot I can no longer enter, the only thing I can do is mount / root and / boot.
Can I use this to restore the casino made with the upgrade?
https://aur.archlinux.org/packages/pacman-static
And if there is someone who tells me how to make it work, I still read again I’m not a great expert.
Cheers
Why not? What happens when you try?
Perhaps try https://wiki.archlinux.org/index.php/Pacman#Pacman_crashes_during_an_upgrade
Do you have a backup plan ?
I use rsync to backup, very easy to make a full system backup this way.
Thank heads
liveuser@archlabs /mnt/var/cache/pacman/pkg % sudo pacman --sysroot /mnt -Syu
:: Synchronizing package databases...
core is up to date
extra 1660.8 KiB 1492K/s 00:01 [######################] 100%
community 4.8 MiB 1820K/s 00:03 [######################] 100%
eschwartz 59.9 KiB 1051K/s 00:00 [######################] 100%
eschwartz.sig 566.0 B 0.00B/s 00:00 [######################] 100%
:: Starting full system upgrade...
warning: conky: ignoring package upgrade (1.9.0-7 => 1.11.3-1)
warning: linux: ignoring package upgrade (4.8.14-1 => 5.0.13.arch1-1)
resolving dependencies...
looking for conflicting packages...
Packages (38) bash-5.0.007-1 cpupower-5.1-1 firefox-66.0.5-1 gd-2.2.5-2
glib2-2.60.2-1 glib2-docs-2.60.2-1 gtk-doc-1.30+1+g44c5972-1
gtksourceview3-3.24.11-1 http-parser-2.9.2-1
iana-etc-20190504-1 libbytesize-2.0-1 libedit-20190324_3.1-1
libinput-1.13.2-1 libraqm-0.6.0-1 libxnvctrl-418.74-1
linux-zen-5.0.13.zen1-1 llvm7-libs-7.1.0-1
mate-applets-1.22.1-1 mate-session-manager-1.22.1-1 ndctl-65-1
node-gyp-4.0.0-1 nodejs-11.15.0-1 opera-60.0.3255.83-1
pcre2-10.33-1 python-mako-1.0.10-1 python-pygments-2.4.0-1
python-urllib3-1.25.2-1 rust-1:1.34.1-1
thin-provisioning-tools-0.8.1-1 tlp-1.2.2-1 turbostat-5.1-1
v4l-utils-1.16.6-1 vte-common-0.56.3-1 vte3-0.56.3-1
w3m-0.5.3.git20190105-1 wpa_supplicant-2:2.8-1
x86_energy_perf_policy-5.1-1 youtube-dl-2019.04.30-1
Total Download Size: 71.33 MiB
Total Installed Size: 924.33 MiB
Net Upgrade Size: -9.27 MiB
:: Proceed with installation? [Y/n] y
:: Retrieving packages...
gd-2.2.5-2-x86_64 148.7 KiB 1093K/s 00:00 [######################] 100%
ndctl-65-1-x86_64 192.9 KiB 1484K/s 00:00 [######################] 100%
python-mako-1.0.10-... 123.2 KiB 1432K/s 00:00 [######################] 100%
python-urllib3-1.25... 184.2 KiB 1084K/s 00:00 [######################] 100%
w3m-0.5.3.git201901... 798.9 KiB 1114K/s 00:01 [######################] 100%
cpupower-5.1-1-x86_64 137.9 KiB 1112K/s 00:00 [######################] 100%
http-parser-2.9.2-1... 19.3 KiB 1927K/s 00:00 [######################] 100%
nodejs-11.15.0-1-x86_64 5.6 MiB 1505K/s 00:04 [######################] 100%
node-gyp-4.0.0-1-any 1161.2 KiB 1576K/s 00:01 [######################] 100%
opera-60.0.3255.83-... 62.9 MiB 1832K/s 00:35 [######################] 100%
tlp-1.2.2-1-any 58.9 KiB 765K/s 00:00 [######################] 100%
turbostat-5.1-1-x86_64 51.6 KiB 622K/s 00:00 [######################] 100%
x86_energy_perf_pol... 18.5 KiB 1847K/s 00:00 [######################] 100%
(38/38) checking keys in keyring [######################] 100%
(38/38) checking package integrity [######################] 100%
(38/38) loading package files [######################] 100%
(38/38) checking for file conflicts [######################] 100%
error: failed to commit transaction (conflicting files)
bash: /usr/bin/bash exists in filesystem
bash: /usr/bin/bashbug exists in filesystem
bash: /usr/bin/sh exists in filesystem
bash: /usr/include/bash/alias.h exists in filesystem
bash: /usr/include/bash/array.h exists in filesystem
bash: /usr/include/bash/arrayfunc.h exists in filesystem
bash: /usr/include/bash/assoc.h exists in filesystem
bash: /usr/include/bash/bashansi.h exists in filesystem
bash: /usr/include/bash/bashintl.h exists in filesystem
bash: /usr/include/bash/bashjmp.h exists in filesystem
bash: /usr/include/bash/bashtypes.h exists in filesystem
bash: /usr/include/bash/builtins.h exists in filesystem
bash: /usr/include/bash/builtins/bashgetopt.h exists in filesystem
bash: /usr/include/bash/builtins/builtext.h exists in filesystem
bash: /usr/include/bash/builtins/common.h exists in filesystem
bash: /usr/include/bash/builtins/getopt.h exists in filesystem
bash: /usr/include/bash/command.h exists in filesystem
bash: /usr/include/bash/config-bot.h exists in filesystem
bash: /usr/include/bash/config-top.h exists in filesystem
bash: /usr/include/bash/config.h exists in filesystem
bash: /usr/include/bash/conftypes.h exists in filesystem
bash: /usr/include/bash/dispose_cmd.h exists in filesystem
bash: /usr/include/bash/error.h exists in filesystem
bash: /usr/include/bash/externs.h exists in filesystem
bash: /usr/include/bash/general.h exists in filesystem
bash: /usr/include/bash/hashlib.h exists in filesystem
bash: /usr/include/bash/include/ansi_stdlib.h exists in filesystem
bash: /usr/include/bash/include/chartypes.h exists in filesystem
bash: /usr/include/bash/include/filecntl.h exists in filesystem
bash: /usr/include/bash/include/gettext.h exists in filesystem
bash: /usr/include/bash/include/maxpath.h exists in filesystem
bash: /usr/include/bash/include/memalloc.h exists in filesystem
bash: /usr/include/bash/include/ocache.h exists in filesystem
bash: /usr/include/bash/include/posixdir.h exists in filesystem
bash: /usr/include/bash/include/posixjmp.h exists in filesystem
bash: /usr/include/bash/include/posixstat.h exists in filesystem
bash: /usr/include/bash/include/posixtime.h exists in filesystem
bash: /usr/include/bash/include/posixwait.h exists in filesystem
bash: /usr/include/bash/include/shmbchar.h exists in filesystem
bash: /usr/include/bash/include/shmbutil.h exists in filesystem
bash: /usr/include/bash/include/shtty.h exists in filesystem
bash: /usr/include/bash/include/stat-time.h exists in filesystem
bash: /usr/include/bash/include/stdc.h exists in filesystem
bash: /usr/include/bash/include/systimes.h exists in filesystem
bash: /usr/include/bash/include/typemax.h exists in filesystem
bash: /usr/include/bash/include/unionwait.h exists in filesystem
bash: /usr/include/bash/jobs.h exists in filesystem
bash: /usr/include/bash/make_cmd.h exists in filesystem
bash: /usr/include/bash/pathnames.h exists in filesystem
bash: /usr/include/bash/quit.h exists in filesystem
bash: /usr/include/bash/shell.h exists in filesystem
bash: /usr/include/bash/sig.h exists in filesystem
bash: /usr/include/bash/siglist.h exists in filesystem
bash: /usr/include/bash/signames.h exists in filesystem
bash: /usr/include/bash/subst.h exists in filesystem
bash: /usr/include/bash/syntax.h exists in filesystem
bash: /usr/include/bash/unwind_prot.h exists in filesystem
bash: /usr/include/bash/variables.h exists in filesystem
bash: /usr/include/bash/version.h exists in filesystem
bash: /usr/include/bash/xmalloc.h exists in filesystem
bash: /usr/include/bash/y.tab.h exists in filesystem
bash: /usr/lib/bash/Makefile.inc exists in filesystem
bash: /usr/lib/bash/basename exists in filesystem
bash: /usr/lib/bash/dirname exists in filesystem
bash: /usr/lib/bash/fdflags exists in filesystem
bash: /usr/lib/bash/finfo exists in filesystem
bash: /usr/lib/bash/head exists in filesystem
bash: /usr/lib/bash/id exists in filesystem
bash: /usr/lib/bash/ln exists in filesystem
bash: /usr/lib/bash/loadables.h exists in filesystem
bash: /usr/lib/bash/logname exists in filesystem
bash: /usr/lib/bash/mkdir exists in filesystem
bash: /usr/lib/bash/mypid exists in filesystem
bash: /usr/lib/bash/pathchk exists in filesystem
bash: /usr/lib/bash/print exists in filesystem
bash: /usr/lib/bash/printenv exists in filesystem
bash: /usr/lib/bash/push exists in filesystem
bash: /usr/lib/bash/realpath exists in filesystem
bash: /usr/lib/bash/rmdir exists in filesystem
bash: /usr/lib/bash/seq exists in filesystem
bash: /usr/lib/bash/setpgid exists in filesystem
bash: /usr/lib/bash/sleep exists in filesystem
bash: /usr/lib/bash/strftime exists in filesystem
bash: /usr/lib/bash/sync exists in filesystem
bash: /usr/lib/bash/tee exists in filesystem
bash: /usr/lib/bash/truefalse exists in filesystem
bash: /usr/lib/bash/tty exists in filesystem
bash: /usr/lib/bash/uname exists in filesystem
bash: /usr/lib/bash/unlink exists in filesystem
bash: /usr/lib/bash/whoami exists in filesystem
bash: /usr/lib/pkgconfig/bash.pc exists in filesystem
bash: /usr/share/doc/bash/CHANGES exists in filesystem
bash: /usr/share/doc/bash/COMPAT exists in filesystem
bash: /usr/share/doc/bash/FAQ exists in filesystem
bash: /usr/share/doc/bash/INTRO exists in filesystem
bash: /usr/share/doc/bash/NEWS exists in filesystem
bash: /usr/share/doc/bash/POSIX exists in filesystem
bash: /usr/share/doc/bash/RBASH exists in filesystem
bash: /usr/share/doc/bash/README exists in filesystem
bash: /usr/share/doc/bash/bash.html exists in filesystem
bash: /usr/share/doc/bash/bashref.html exists in filesystem
bash: /usr/share/info/bash.info.gz exists in filesystem
bash: /usr/share/locale/af/LC_MESSAGES/bash.mo exists in filesystem
bash: /usr/share/locale/bg/LC_MESSAGES/bash.mo exists in filesystem
bash: /usr/share/locale/ca/LC_MESSAGES/bash.mo exists in filesystem
bash: /usr/share/locale/cs/LC_MESSAGES/bash.mo exists in filesystem
bash: /usr/share/locale/da/LC_MESSAGES/bash.mo exists in filesystem
bash: /usr/share/locale/de/LC_MESSAGES/bash.mo exists in filesystem
bash: /usr/share/locale/el/LC_MESSAGES/bash.mo exists in filesystem
bash: /usr/share/locale/en@boldquot/LC_MESSAGES/bash.mo exists in filesystem
bash: /usr/share/locale/en@quot/LC_MESSAGES/bash.mo exists in filesystem
bash: /usr/share/locale/eo/LC_MESSAGES/bash.mo exists in filesystem
bash: /usr/share/locale/es/LC_MESSAGES/bash.mo exists in filesystem
bash: /usr/share/locale/et/LC_MESSAGES/bash.mo exists in filesystem
bash: /usr/share/locale/fi/LC_MESSAGES/bash.mo exists in filesystem
bash: /usr/share/locale/fr/LC_MESSAGES/bash.mo exists in filesystem
bash: /usr/share/locale/ga/LC_MESSAGES/bash.mo exists in filesystem
bash: /usr/share/locale/gl/LC_MESSAGES/bash.mo exists in filesystem
bash: /usr/share/locale/hr/LC_MESSAGES/bash.mo exists in filesystem
bash: /usr/share/locale/hu/LC_MESSAGES/bash.mo exists in filesystem
bash: /usr/share/locale/id/LC_MESSAGES/bash.mo exists in filesystem
bash: /usr/share/locale/it/LC_MESSAGES/bash.mo exists in filesystem
bash: /usr/share/locale/ja/LC_MESSAGES/bash.mo exists in filesystem
bash: /usr/share/locale/lt/LC_MESSAGES/bash.mo exists in filesystem
bash: /usr/share/locale/nb/LC_MESSAGES/bash.mo exists in filesystem
bash: /usr/share/locale/nl/LC_MESSAGES/bash.mo exists in filesystem
bash: /usr/share/locale/pl/LC_MESSAGES/bash.mo exists in filesystem
bash: /usr/share/locale/pt/LC_MESSAGES/bash.mo exists in filesystem
bash: /usr/share/locale/pt_BR/LC_MESSAGES/bash.mo exists in filesystem
bash: /usr/share/locale/ro/LC_MESSAGES/bash.mo exists in filesystem
bash: /usr/share/locale/ru/LC_MESSAGES/bash.mo exists in filesystem
bash: /usr/share/locale/sk/LC_MESSAGES/bash.mo exists in filesystem
bash: /usr/share/locale/sl/LC_MESSAGES/bash.mo exists in filesystem
bash: /usr/share/locale/sr/LC_MESSAGES/bash.mo exists in filesystem
bash: /usr/share/locale/sv/LC_MESSAGES/bash.mo exists in filesystem
bash: /usr/share/locale/tr/LC_MESSAGES/bash.mo exists in filesystem
bash: /usr/share/locale/uk/LC_MESSAGES/bash.mo exists in filesystem
bash: /usr/share/locale/vi/LC_MESSAGES/bash.mo exists in filesystem
bash: /usr/share/locale/zh_CN/LC_MESSAGES/bash.mo exists in filesystem
bash: /usr/share/locale/zh_TW/LC_MESSAGES/bash.mo exists in filesystem
bash: /usr/share/man/man1/bash.1.gz exists in filesystem
bash: /usr/share/man/man1/bashbug.1.gz exists in filesystem
Errors occurred, no packages were upgraded.
sudo pacman --sysroot /mnt -Syu 4.11s user 3.69s system 9% cpu 1:21.43 total
1 liveuser@archlabs /mnt/var/cache/pacman/pkg % :(
Not,I saved the home, the only good thing I can do is enter the home and filesystem
thank
Follow Hoas advise, that should work.
I think I solved it by reinstalling bash
For the record that exists in filesystem error is also covered in the ArchWiki:
https://wiki.archlinux.org/index.php/Pacman#"Failed_to_commit_transaction_(conflicting_files)"_error
Or the GUI version called timeshift. Either way works. Before doing any major changes, I would make up a backup, just in case.
Yep , backups @sevenday4 , what I always remember doing after systems screwups, never learn right ! lol
Yep, pretty good at breaking stuff on my side !
Oh I do break things a plenty @s7l, and do try to solve the issue. But, there are occasions where use of system to get something done sometimes out way of puzzling a screw-up.