You are not logged in.
Lot of files exists in file system.
Can I delete all these ?
If yes, how? like is there any single line command or do I have to delete each of them one by one?
~ ❯❯❯ sudo pacman -Syu
[sudo] password for illScratch:
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
warning: dependency cycle detected:
warning: mesa will be installed before its libglvnd dependency
Packages (221) alacritty-0.9.0-3 alsa-card-profiles-1:0.3.42-2 alsa-lib-1.2.6.1-1 alsa-ucm-conf-1.2.6.3-1 appstream-0.15.1-1 appstream-qt-0.15.1-1
archlinux-appstream-data-20211210-1 argon2-20190702-4 ark-21.12.0-1 attica-5.89.0-1 audit-3.0.6-5 avahi-0.8+22+gfd482a7-3 baloo-5.89.0-1
baloo-widgets-21.12.0-1 bluez-qt-5.89.0-1 boost-libs-1.78.0-1 breeze-icons-5.89.0-1 brotli-1.0.9-7 btrfs-progs-5.15.1-3
ca-certificates-mozilla-3.73.1-1 cantarell-fonts-1:0.303.1-1 chromium-96.0.4664.110-1 cryptsetup-2.4.2-3 dbus-python-1.2.18-3 dolphin-21.12.0-1
double-conversion-3.1.7-1 expat-2.4.2-1 filesystem-2021.12.07-1 firefox-95.0.2-1 fontconfig-2:2.13.94-2 frameworkintegration-5.89.0-1 gcc-11.1.0-3
gcc-libs-11.1.0-3 gdb-11.1-4 gdb-common-11.1-4 ghostscript-9.55.0-3 glib2-2.70.2-1 gobject-introspection-runtime-1.70.0-4 gpgme-1.16.0-3
gst-plugin-pipewire-1:0.3.42-2 gtk3-1:3.24.31-1 gwenview-21.12.0-1 harfbuzz-3.2.0-1 iana-etc-20211203-1 ibus-1.5.25-5 imlib2-1.7.5-1
iniparser-4.1-4 iproute2-5.15.0-2 iputils-20211215-1 kaccounts-integration-21.12.0-1 kactivities-5.89.0-1 kactivities-stats-5.89.0-1
karchive-5.89.0-1 kate-21.12.0-1 kauth-5.89.0-1 kbookmarks-5.89.0-1 kcmutils-5.89.0-1 kcodecs-5.89.0-1 kcompletion-5.89.0-1 kconfig-5.89.0-1
kconfigwidgets-5.89.0-1 kcontacts-1:5.89.0-1 kcoreaddons-5.89.0-1 kcrash-5.89.0-1 kdbusaddons-5.89.0-1 kdeclarative-5.89.0-1 kdeconnect-21.12.0-1
kded-5.89.0-1 kdelibs4support-5.89.0-1 kdesu-5.89.0-1 kdnssd-5.89.0-1 keditbookmarks-21.12.0-1 kemoticons-5.89.0-1 kfilemetadata-5.89.0-1
kglobalaccel-5.89.0-1 kguiaddons-5.89.0-1 kholidays-1:5.89.0-1 ki18n-5.89.0-1 kiconthemes-5.89.0-1 kidletime-5.89.0-1 kinit-5.89.0-1 kio-5.89.0-1
kio-extras-21.12.0-1 kirigami2-5.89.0-1 kitemmodels-5.89.0-1 kitemviews-5.89.0-1 kjobwidgets-5.89.0-1 kjs-5.89.0-1 knewstuff-5.89.0-1
knotifications-5.89.0-1 knotifyconfig-5.89.0-1 konqueror-21.12.0-1 konsole-21.12.0-1 kpackage-5.89.0-1 kparts-5.89.0-1 kpeople-5.89.0-1
kpty-5.89.0-1 kquickcharts-5.89.0-1 krunner-5.89.0-1 kservice-5.89.0-1 ktexteditor-5.89.0-1 ktextwidgets-5.89.0-1 kunitconversion-5.89.0-1
kwallet-5.89.0-1 kwayland-5.89.0-1 kwidgetsaddons-5.89.0-1 kwindowsystem-5.89.0-1 kxmlgui-5.89.0-1 ldb-2:2.4.1-4 ldns-1.8.1-1
libaccounts-glib-1.25-6 libarchive-3.5.2-2 libblockdev-2.26-3 libbytesize-2.6-3 libcap-2.62-1 libcap-ng-0.8.2-6 libglvnd-1.4.0-1 libibus-1.5.25-5
libical-3.0.12-1 libimobiledevice-1.3.0-5 libinput-1.19.3-1 libkdcraw-21.12.0-1 libkexiv2-21.12.0-1 libkipi-21.12.0-1 libmfx-21.3.5-2
libnewt-0.52.21-8 libnm-1.32.12-2 libpackagekit-glib-1.2.4-3 libplacebo-4.157.0-1 libplist-2.2.0-5 libproxy-0.4.17-6 librsvg-2:2.52.5-1
libseccomp-2.5.3-3 libteam-1.31-5 libthai-0.1.29-1 libunwind-1.6.2-1 libva-mesa-driver-21.3.2-1 libx11-1.7.3.1-1 libxcrypt-4.4.27-1
libxml2-2.9.12-6 libxmlb-0.3.6-1 lilv-0.24.12-4 linux-5.15.11.arch2-1 linux-lts-5.10.88-2 llvm-libs-13.0.0-6 lv2-1.18.2-1 mesa-21.3.2-1
minizip-1:1.2.11-5 modemmanager-qt-5.89.0-1 mpg123-1.29.3-1 nano-6.0-1 ndctl-72-1 networkmanager-1.32.12-2 networkmanager-qt-5.89.0-1 nspr-4.33-1
nss-3.73.1-1 okular-21.12.0-1 openssl-1.1.1.m-1 packagekit-1.2.4-3 pacman-mirrorlist-20211212-1 pambase-20211210-1 pango-1:1.50.3-1 perl-5.34.0-3
pipewire-1:0.3.42-2 pipewire-alsa-1:0.3.42-2 pipewire-jack-1:0.3.42-2 pipewire-pulse-1:0.3.42-2 plasma-framework-5.89.0-1
plasma-wayland-session-5.23.4-3 plasma-workspace-5.23.4-3 polkit-0.120-3 popt-1.18-2 prison-5.89.0-1 purpose-5.89.0-1 python-3.10.1-2
python-dnspython-1:2.1.0-3 python-gobject-3.42.0-3 python-importlib-metadata-4.8.1-3 python-markdown-3.3.6-3 python-pyqt5-5.15.6-6
python-pyqt5-sip-12.9.0-3 python-zipp-3.6.0-3 qqc2-desktop-style-5.89.0-1 qt5-base-5.15.2+kde+r268-1 qt5-translations-5.15.2+kde+r20-2
qt5-wayland-5.15.2+kde+r38-1 qt5-webchannel-5.15.2+kde+r5-1 sdl2-2.0.18-3 serd-0.30.10-1 shaderc-2021.3-1 signon-kwallet-extension-21.12.0-1
smbclient-4.15.3-2 solid-5.89.0-1 sonnet-5.89.0-1 sord-0.16.8-1 source-highlight-3.1.9-7 spectacle-21.12.0-1 sratom-0.6.8-3 syndication-5.89.0-1
syntax-highlighting-5.89.0-1 systemd-250-3 systemd-libs-250-3 systemd-sysvcompat-250-3 talloc-2.3.3-3 tdb-1.4.5-3 tevent-1:0.11.0-3
threadweaver-5.89.0-1 util-linux-2.37.2-4 util-linux-libs-2.37.2-4 vim-8.2.3890-1 vim-runtime-8.2.3890-1 vlc-3.0.16-6 volume_key-0.3.12-7
vulkan-icd-loader-1.2.202-1 vulkan-radeon-21.3.2-1 wayland-1.20.0-1 xcb-proto-1.14.1-5 xorg-server-21.1.2-2 xorg-server-common-21.1.2-2
xorg-xwayland-21.1.4-1 zlib-1:1.2.11-5
Total Installed Size: 2471.51 MiB
Net Upgrade Size: 13.67 MiB
:: Proceed with installation? [Y/n] y
( 0/221) checking keys in keyring [------------------------------------------------------------] 0%
(221/221) checking keys in keyring [############################################################] 100%
(221/221) checking package integrity [############################################################] 100%
(221/221) loading package files [############################################################] 100%
(221/221) checking for file conflicts [############################################################] 100%
error: failed to commit transaction (conflicting files)
gobject-introspection-runtime: /usr/lib/girepository-1.0/DBus-1.0.typelib exists in filesystem
gobject-introspection-runtime: /usr/lib/girepository-1.0/DBusGLib-1.0.typelib exists in filesystem
gobject-introspection-runtime: /usr/lib/girepository-1.0/GIRepository-2.0.typelib exists in filesystem
gobject-introspection-runtime: /usr/lib/girepository-1.0/GL-1.0.typelib exists in filesystem
gobject-introspection-runtime: /usr/lib/girepository-1.0/GLib-2.0.typelib exists in filesystem
gobject-introspection-runtime: /usr/lib/girepository-1.0/GModule-2.0.typelib exists in filesystem
gobject-introspection-runtime: /usr/lib/girepository-1.0/GObject-2.0.typelib exists in filesystem
gobject-introspection-runtime: /usr/lib/girepository-1.0/Gio-2.0.typelib exists in filesystem
gobject-introspection-runtime: /usr/lib/girepository-1.0/Vulkan-1.0.typelib exists in filesystem
gobject-introspection-runtime: /usr/lib/girepository-1.0/cairo-1.0.typelib exists in filesystem
gobject-introspection-runtime: /usr/lib/girepository-1.0/fontconfig-2.0.typelib exists in filesystem
gobject-introspection-runtime: /usr/lib/girepository-1.0/freetype2-2.0.typelib exists in filesystem
gobject-introspection-runtime: /usr/lib/girepository-1.0/libxml2-2.0.typelib exists in filesystem
gobject-introspection-runtime: /usr/lib/girepository-1.0/win32-1.0.typelib exists in filesystem
gobject-introspection-runtime: /usr/lib/girepository-1.0/xfixes-4.0.typelib exists in filesystem
gobject-introspection-runtime: /usr/lib/girepository-1.0/xft-2.0.typelib exists in filesystem
gobject-introspection-runtime: /usr/lib/girepository-1.0/xlib-2.0.typelib exists in filesystem
gobject-introspection-runtime: /usr/lib/girepository-1.0/xrandr-1.3.typelib exists in filesystem
gobject-introspection-runtime: /usr/lib/libgirepository-1.0.so exists in filesystem
gobject-introspection-runtime: /usr/lib/libgirepository-1.0.so.1 exists in filesystem
gobject-introspection-runtime: /usr/lib/libgirepository-1.0.so.1.0.0 exists in filesystem
python-gobject: /usr/include/pygobject-3.0/pygobject.h exists in filesystem
python-gobject: /usr/lib/pkgconfig/pygobject-3.0.pc exists in filesystem
imlib2: /usr/bin/imlib2_bumpmap exists in filesystem
imlib2: /usr/bin/imlib2_colorspace exists in filesystem
imlib2: /usr/bin/imlib2_conv exists in filesystem
imlib2: /usr/bin/imlib2_grab exists in filesystem
imlib2: /usr/bin/imlib2_load exists in filesystem
imlib2: /usr/bin/imlib2_poly exists in filesystem
imlib2: /usr/bin/imlib2_show exists in filesystem
imlib2: /usr/bin/imlib2_test exists in filesystem
imlib2: /usr/bin/imlib2_view exists in filesystem
imlib2: /usr/include/Imlib2.h exists in filesystem
imlib2: /usr/lib/imlib2/filters/bumpmap.so exists in filesystem
imlib2: /usr/lib/imlib2/filters/colormod.so exists in filesystem
imlib2: /usr/lib/imlib2/filters/testfilter.so exists in filesystem
imlib2: /usr/lib/imlib2/loaders/argb.so exists in filesystem
imlib2: /usr/lib/imlib2/loaders/bmp.so exists in filesystem
imlib2: /usr/lib/imlib2/loaders/bz2.so exists in filesystem
imlib2: /usr/lib/imlib2/loaders/ff.so exists in filesystem
imlib2: /usr/lib/imlib2/loaders/gif.so exists in filesystem
imlib2: /usr/lib/imlib2/loaders/ico.so exists in filesystem
imlib2: /usr/lib/imlib2/loaders/id3.so exists in filesystem
imlib2: /usr/lib/imlib2/loaders/jpeg.so exists in filesystem
imlib2: /usr/lib/imlib2/loaders/lbm.so exists in filesystem
imlib2: /usr/lib/imlib2/loaders/png.so exists in filesystem
imlib2: /usr/lib/imlib2/loaders/pnm.so exists in filesystem
imlib2: /usr/lib/imlib2/loaders/tga.so exists in filesystem
imlib2: /usr/lib/imlib2/loaders/tiff.so exists in filesystem
imlib2: /usr/lib/imlib2/loaders/webp.so exists in filesystem
imlib2: /usr/lib/imlib2/loaders/xbm.so exists in filesystem
imlib2: /usr/lib/imlib2/loaders/xpm.so exists in filesystem
imlib2: /usr/lib/imlib2/loaders/zlib.so exists in filesystem
imlib2: /usr/lib/libImlib2.so exists in filesystem
imlib2: /usr/lib/libImlib2.so.1 exists in filesystem
imlib2: /usr/lib/pkgconfig/imlib2.pc exists in filesystem
imlib2: /usr/share/imlib2/data/fonts/cinema.ttf exists in filesystem
imlib2: /usr/share/imlib2/data/fonts/grunge.ttf exists in filesystem
imlib2: /usr/share/imlib2/data/fonts/morpheus.ttf exists in filesystem
imlib2: /usr/share/imlib2/data/fonts/notepad.ttf exists in filesystem
imlib2: /usr/share/imlib2/data/images/audio.png exists in filesystem
imlib2: /usr/share/imlib2/data/images/bg.png exists in filesystem
imlib2: /usr/share/imlib2/data/images/bulb.png exists in filesystem
imlib2: /usr/share/imlib2/data/images/cal.png exists in filesystem
imlib2: /usr/share/imlib2/data/images/calc.png exists in filesystem
imlib2: /usr/share/imlib2/data/images/folder.png exists in filesystem
imlib2: /usr/share/imlib2/data/images/globe.png exists in filesystem
imlib2: /usr/share/imlib2/data/images/imlib2.png exists in filesystem
imlib2: /usr/share/imlib2/data/images/lock.png exists in filesystem
imlib2: /usr/share/imlib2/data/images/mail.png exists in filesystem
imlib2: /usr/share/imlib2/data/images/menu.png exists in filesystem
imlib2: /usr/share/imlib2/data/images/mush.png exists in filesystem
imlib2: /usr/share/imlib2/data/images/paper.png exists in filesystem
imlib2: /usr/share/imlib2/data/images/sh1.png exists in filesystem
imlib2: /usr/share/imlib2/data/images/sh2.png exists in filesystem
imlib2: /usr/share/imlib2/data/images/sh3.png exists in filesystem
imlib2: /usr/share/imlib2/data/images/stop.png exists in filesystem
imlib2: /usr/share/imlib2/data/images/tnt.png exists in filesystem
imlib2: /usr/share/licenses/imlib2/COPYING exists in filesystem
mpg123: /usr/bin/conplay exists in filesystem
mpg123: /usr/bin/mpg123 exists in filesystem
mpg123: /usr/bin/mpg123-id3dump exists in filesystem
mpg123: /usr/bin/mpg123-strip exists in filesystem
mpg123: /usr/bin/out123 exists in filesystem
mpg123: /usr/include/fmt123.h exists in filesystem
mpg123: /usr/include/mpg123.h exists in filesystem
mpg123: /usr/include/out123.h exists in filesystem
mpg123: /usr/include/syn123.h exists in filesystem
mpg123: /usr/lib/libmpg123.so exists in filesystem
mpg123: /usr/lib/libmpg123.so.0 exists in filesystem
mpg123: /usr/lib/libout123.so exists in filesystem
mpg123: /usr/lib/libout123.so.0 exists in filesystem
mpg123: /usr/lib/libout123.so.0.4.3 exists in filesystem
mpg123: /usr/lib/libsyn123.so exists in filesystem
mpg123: /usr/lib/libsyn123.so.0 exists in filesystem
mpg123: /usr/lib/libsyn123.so.0.1.4 exists in filesystem
mpg123: /usr/lib/mpg123/output_alsa.so exists in filesystem
mpg123: /usr/lib/mpg123/output_dummy.so exists in filesystem
mpg123: /usr/lib/mpg123/output_jack.so exists in filesystem
mpg123: /usr/lib/mpg123/output_oss.so exists in filesystem
mpg123: /usr/lib/mpg123/output_pulse.so exists in filesystem
mpg123: /usr/lib/mpg123/output_sdl.so exists in filesystem
mpg123: /usr/lib/pkgconfig/libmpg123.pc exists in filesystem
mpg123: /usr/lib/pkgconfig/libout123.pc exists in filesystem
mpg123: /usr/lib/pkgconfig/libsyn123.pc exists in filesystem
mpg123: /usr/share/man/man1/mpg123.1.gz exists in filesystem
mpg123: /usr/share/man/man1/out123.1.gz exists in filesystem
Errors occurred, no packages were upgraded.
~ ❯❯❯ ✘ 1
~ ❯❯❯ pacman -Qo /usr/lib/girepository-1.0/DBus-1.0.typelib ✘ 1
error: No package owns /usr/lib/girepository-1.0/DBus-1.0.typelib
~ ❯❯❯ pacman =-Qo /usr/lib/girepository-1.0/GModule-2.0.typelib ✘ 1
error: no operation specified (use -h for help)
~ ❯❯❯ pacman -Qo /usr/lib/girepository-1.0/GModule-2.0.typelib ✘ 1
error: No package owns /usr/lib/girepository-1.0/GModule-2.0.typelib
~ ❯❯❯ pacman -Qo /usr/lib/girepository-1.0/win32-1.0.typelib ✘ 1
error: No package owns /usr/lib/girepository-1.0/win32-1.0.typelib
~ ❯❯❯ pacman -Qo usr/lib/libgirepository-1.0.so.1.0.0 ✘ 1
error: No package owns usr/lib/libgirepository-1.0.so.1.0.0
~ ❯❯❯ pacman -Qo /usr/bin/imlib2_colorspace ✘ 1
error: No package owns /usr/bin/imlib2_colorspace
~ ❯❯❯ pacman -Qo /usr/lib/pkgconfig/pygobject-3.0.pc ✘ 1
error: No package owns /usr/lib/pkgconfig/pygobject-3.0.pc
~ ❯❯❯ pacman -Qo /usr/include/pygobject-3.0/pygobject.h ✘ 1
error: No package owns /usr/include/pygobject-3.0/pygobject.h
~ ❯❯❯ pacman -Qo /usr/share/man/man1/mpg123.1.gz ✘ 1
error: No package owns /usr/share/man/man1/mpg123.1.gz
~ ❯❯❯ ✘ 1Last edited by Ill_Scratch-7432 (2021-12-31 15:55:43)
Offline
Lot of files exists in file system.
Can I delete all these ?
If yes, how? like is there any single line command or do I have to delete each of them one by one?
I'm almost too scared to try to answer this. The people here are not very forgiving and show little tolerance when it comes to posts like this. Expecting answers that will spoon feed you, will also not happen. That you are asking if it's Ok to delete "these files" shows a complete lack of understanding of what you are doing. Or what it is that you think you're going to accomplish by doing something because of the remote possibility that it may be the "correct" thing to do! My suggestion would be to go and read, possibly, the best Wiki in the Linux world: https://wiki.archlinux.org/
and get yourself up to speed with what ArchLinux is all about. Arch is really for more advanced Linux users and once you've read through the Wiki and you see that it's beyond your capabilities, give Ubuntu or one of the user friendly distro's a bash.
Offline
Ah ... don't mind johnpiers post - it's completely unwaranted and inappropriate. Yes, we do have high standards, and arch is not for everyone - but there is nothing in the original post that justifies sending the OP elsewhere.
That said, Ill_Scratch-7432, please take some time to get to know our community standards as you post here - for this post please click the "edit" button on your post to wrap all that command output in [ code ] tags - you can learn more about formatting tags for these forums with the BBCode link below every post text-box.
For the actual error, the diagnostic step(s) and solutions are indeed in the wiki, but here's the actual link to it:
https://wiki.archlinux.org/title/Pacman … )%22_error
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
I'm largely in agreement with Trilby on this one.
Ill_Scratch-7432, welcome to the Arch BBS! Please do edit your post to encapsulate your command output in code tags, and take a look through the wiki (Trilby's posted link will likely be quite helpful in this specific case).
All the best,
-HG
Offline
Ah ... don't mind johnpiers post - it's completely unwaranted and inappropriate. Yes, we do have high standards, and arch is not for everyone - but there is nothing in the original post that justifies sending the OP elsewhere.
That said, Ill_Scratch-7432, please take some time to get to know our community standards as you post here - for this post please click the "edit" button on your post to wrap all that command output in [ code ] tags - you can learn more about formatting tags for these forums with the BBCode link below every post text-box.
For the actual error, the diagnostic step(s) and solutions are indeed in the wiki, but here's the actual link to it:
https://wiki.archlinux.org/title/Pacman … )%22_error
I have already read that article and ran
pacman -Qo /path/to/file for 9 conflicting file, you can see it at the end of the code. Output of
pacman -Qo /path/to/file for all these files say that they aren't owned by any package, now according to article I should rename all the files and retry to update, but there are 100+ files I can't do that for each of them. And the reason I asked to delete all these files is because this is what issue I was initially facing, I got rid of xfce4-whiskermenu related errors by simply removing it cuse I don't use xfce now. It was probably not uninstalled with rest of xfce stuff.
Now , gobject-introspection-runtime and python-gobject are gnome modules which I never installed, mpg123 is an audio player which I never installed by my self and I don't know much about imlib2.
So I know I can delete gobject-introspection-runtime, python-gobject and mpg123. it's also written in wiki that after I successfully update I can remove renamed conflicting files.
I just want to be sure that I won't break anything if I delete these files. Can I also delete imlib files ?
OR can I use --overwrite ?
Sorry for inconvenience.
Last edited by Ill_Scratch-7432 (2021-12-30 12:21:14)
Offline
Those packages were probably pulled in by others you installed .
mpg123 for example is required for mplayer and sdl2_mixer and optional for wine and vlc .
You can use
pacman -Qi some-package-nameto find what on your system needs those packages .
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
OR can I use --overwrite ?
Only if you're confident using globs and even then it's generally discouraged:
Generally avoid using the --overwrite option with pacman. The --overwrite option takes an argument containing a glob. When used pacman will bypass file conflict checks for files that match the glob. In a properly maintained system, it should only be used when explicitly recommended by the Arch developers.
Jin, Jîyan, Azadî
Offline
Yeah, and this is exactly the kind of situation that --overwrite is used for. It should not be used willy-nilly, but it should also not be discouraged when it is precisely the right solution to a problem.
The only question is how the system got in this state with a broken local database. Was their a poweroff in mid update at some point? Or could there be a issue with the drive / device (run a SMART test to check).
Last edited by Trilby (2021-12-30 14:44:04)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Thank you all.
--overwrite worked.
Offline
I'm glad it helped with the immediate issue - but don't overlook trying to pin down the cause. This is not something that should ever happen on a properly functioning system. You fixed the symptom, but did not identify the "disease" which may still exist. We can't always identify the cause of a one-off issue, but you should do some checks - was there anything odd in the pacman log indicating something like a power cut during an update (or do you recall such an event) or have you run a SMART test on the disk / device? These are simple diagnostics for what are likely the two most likely causes of this sort of problem.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline