You are not logged in.

#1 2024-05-01 12:41:26

Aka271
Member
Registered: 2023-11-03
Posts: 9

[SOLVED] Broken libxaw

Hey Arch-Users smile

I have some strange behavior with my pacman. When I want to install a package or reinstall a package i got this output:

[xxx@Neptun ~]$ sudo pacman -S vim
warning: vim-9.1.0380-1 is up to date -- reinstalling
resolving dependencies...
error: could not open file /var/lib/pacman/local/libxaw-1.0.16-1/desc: No such file or directory
looking for conflicting packages...

Packages (1) vim-9.1.0380-1

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

:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring                                                                  [--------------------------------------------------------] 100%
(1/1) checking package integrity                                                                [--------------------------------------------------------] 100%
(1/1) loading package files                                                                     [--------------------------------------------------------] 100%
(1/1) checking for file conflicts                                                               [--------------------------------------------------------] 100%
(1/1) checking available disk space                                                             [--------------------------------------------------------] 100%
:: Processing package changes...
(1/1) reinstalling vim                                                                          [--------------------------------------------------------] 100%
ldconfig: file /usr/lib/libXaw.so.6 is truncated

ldconfig: file /usr/lib/libXaw6.so.6.0.1 is truncated

ldconfig: file /usr/lib/libXaw6.so.6 is truncated

ldconfig: file /usr/lib/libXaw6.so is truncated

:: Running post-transaction hooks...
(1/3) Arming ConditionNeedsUpdate...
(2/3) Updating icon theme caches...
(3/3) Updating the desktop file MIME type cache...

I don't know how to fix this issue:

ldconfig: file /usr/lib/libXaw.so.6 is truncated

ldconfig: file /usr/lib/libXaw6.so.6.0.1 is truncated

ldconfig: file /usr/lib/libXaw6.so.6 is truncated

ldconfig: file /usr/lib/libXaw6.so is truncated

I already looke inside the Arch package db and it says its a component of plasma.

I already tried to reinstall plasma but i still get the same Error.

If you need more Information please send me a quick Message.

Have a nice Day smile

Last edited by Aka271 (2024-05-01 14:27:13)

Offline

#2 2024-05-01 12:49:59

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,365

Re: [SOLVED] Broken libxaw

Reinstall libxaw

Offline

#3 2024-05-01 13:09:01

Aka271
Member
Registered: 2023-11-03
Posts: 9

Re: [SOLVED] Broken libxaw

Scimmia wrote:

Reinstall libxaw

Wouldn't have posted here if it was that simple wink

[xxx@Neptun ~]$ sudo pacman -S libxaw
warning: libxaw-1.0.16-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
error: could not open file /var/lib/pacman/local/libxaw-1.0.16-1/desc: No such file or directory
warning: could not fully load metadata for package libxaw-1.0.16-1
error: failed to prepare transaction (invalid or corrupted package)

Offline

#4 2024-05-01 13:11:12

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,365

Re: [SOLVED] Broken libxaw

And yet you never said it or posted that log.

Touch the missing file

Offline

#5 2024-05-01 14:06:14

Aka271
Member
Registered: 2023-11-03
Posts: 9

Re: [SOLVED] Broken libxaw

Yeah my bad hmm

I touched the files. Reinstalled the package, which gave me the following output:

[root@Neptun]# pacman -S libxaw
warning: libxaw-1.0.16-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (1) libxaw-1.0.16-1

Total Installed Size:  1.65 MiB

:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring                                                                                           [-------------------------------------------------------------------------] 100%
(1/1) checking package integrity                                                                                         [-------------------------------------------------------------------------] 100%
(1/1) loading package files                                                                                              [-------------------------------------------------------------------------] 100%
(1/1) checking for file conflicts                                                                                        [-------------------------------------------------------------------------] 100%
error: failed to commit transaction (conflicting files)
libxaw: /usr/include/X11/Xaw/AllWidgets.h exists in filesystem
libxaw: /usr/include/X11/Xaw/AsciiSink.h exists in filesystem
libxaw: /usr/include/X11/Xaw/AsciiSinkP.h exists in filesystem
libxaw: /usr/include/X11/Xaw/AsciiSrc.h exists in filesystem
libxaw: /usr/include/X11/Xaw/AsciiSrcP.h exists in filesystem
libxaw: /usr/include/X11/Xaw/AsciiText.h exists in filesystem
libxaw: /usr/include/X11/Xaw/AsciiTextP.h exists in filesystem
libxaw: /usr/include/X11/Xaw/Box.h exists in filesystem
libxaw: /usr/include/X11/Xaw/BoxP.h exists in filesystem
libxaw: /usr/include/X11/Xaw/Cardinals.h exists in filesystem
libxaw: /usr/include/X11/Xaw/Command.h exists in filesystem
libxaw: /usr/include/X11/Xaw/CommandP.h exists in filesystem
libxaw: /usr/include/X11/Xaw/Dialog.h exists in filesystem
libxaw: /usr/include/X11/Xaw/DialogP.h exists in filesystem
libxaw: /usr/include/X11/Xaw/Form.h exists in filesystem
libxaw: /usr/include/X11/Xaw/FormP.h exists in filesystem
libxaw: /usr/include/X11/Xaw/Grip.h exists in filesystem
libxaw: /usr/include/X11/Xaw/GripP.h exists in filesystem
libxaw: /usr/include/X11/Xaw/Label.h exists in filesystem
libxaw: /usr/include/X11/Xaw/LabelP.h exists in filesystem
libxaw: /usr/include/X11/Xaw/List.h exists in filesystem
libxaw: /usr/include/X11/Xaw/ListP.h exists in filesystem
libxaw: /usr/include/X11/Xaw/MenuButtoP.h exists in filesystem
libxaw: /usr/include/X11/Xaw/MenuButton.h exists in filesystem
libxaw: /usr/include/X11/Xaw/MultiSink.h exists in filesystem
libxaw: /usr/include/X11/Xaw/MultiSinkP.h exists in filesystem
libxaw: /usr/include/X11/Xaw/MultiSrc.h exists in filesystem
libxaw: /usr/include/X11/Xaw/MultiSrcP.h exists in filesystem
libxaw: /usr/include/X11/Xaw/Paned.h exists in filesystem
libxaw: /usr/include/X11/Xaw/PanedP.h exists in filesystem
libxaw: /usr/include/X11/Xaw/Panner.h exists in filesystem
libxaw: /usr/include/X11/Xaw/PannerP.h exists in filesystem
libxaw: /usr/include/X11/Xaw/Porthole.h exists in filesystem
libxaw: /usr/include/X11/Xaw/PortholeP.h exists in filesystem
libxaw: /usr/include/X11/Xaw/Repeater.h exists in filesystem
libxaw: /usr/include/X11/Xaw/RepeaterP.h exists in filesystem
libxaw: /usr/include/X11/Xaw/Reports.h exists in filesystem
libxaw: /usr/include/X11/Xaw/Scrollbar.h exists in filesystem
libxaw: /usr/include/X11/Xaw/ScrollbarP.h exists in filesystem
libxaw: /usr/include/X11/Xaw/Simple.h exists in filesystem
libxaw: /usr/include/X11/Xaw/SimpleMenP.h exists in filesystem
libxaw: /usr/include/X11/Xaw/SimpleMenu.h exists in filesystem
libxaw: /usr/include/X11/Xaw/SimpleP.h exists in filesystem
libxaw: /usr/include/X11/Xaw/Sme.h exists in filesystem
libxaw: /usr/include/X11/Xaw/SmeBSB.h exists in filesystem
libxaw: /usr/include/X11/Xaw/SmeBSBP.h exists in filesystem
libxaw: /usr/include/X11/Xaw/SmeLine.h exists in filesystem
libxaw: /usr/include/X11/Xaw/SmeLineP.h exists in filesystem
libxaw: /usr/include/X11/Xaw/SmeP.h exists in filesystem
libxaw: /usr/include/X11/Xaw/StripCharP.h exists in filesystem
libxaw: /usr/include/X11/Xaw/StripChart.h exists in filesystem
libxaw: /usr/include/X11/Xaw/Template.c exists in filesystem
libxaw: /usr/include/X11/Xaw/Template.h exists in filesystem
libxaw: /usr/include/X11/Xaw/TemplateP.h exists in filesystem
libxaw: /usr/include/X11/Xaw/Text.h exists in filesystem
libxaw: /usr/include/X11/Xaw/TextP.h exists in filesystem
libxaw: /usr/include/X11/Xaw/TextSink.h exists in filesystem
libxaw: /usr/include/X11/Xaw/TextSinkP.h exists in filesystem
libxaw: /usr/include/X11/Xaw/TextSrc.h exists in filesystem
libxaw: /usr/include/X11/Xaw/TextSrcP.h exists in filesystem
libxaw: /usr/include/X11/Xaw/Tip.h exists in filesystem
libxaw: /usr/include/X11/Xaw/TipP.h exists in filesystem
libxaw: /usr/include/X11/Xaw/Toggle.h exists in filesystem
libxaw: /usr/include/X11/Xaw/ToggleP.h exists in filesystem
libxaw: /usr/include/X11/Xaw/Tree.h exists in filesystem
libxaw: /usr/include/X11/Xaw/TreeP.h exists in filesystem
libxaw: /usr/include/X11/Xaw/VendorEP.h exists in filesystem
libxaw: /usr/include/X11/Xaw/Viewport.h exists in filesystem
libxaw: /usr/include/X11/Xaw/ViewportP.h exists in filesystem
libxaw: /usr/include/X11/Xaw/XawImP.h exists in filesystem
libxaw: /usr/include/X11/Xaw/XawInit.h exists in filesystem
libxaw: /usr/lib/libXaw.so exists in filesystem
libxaw: /usr/lib/libXaw.so.6 exists in filesystem
libxaw: /usr/lib/libXaw6.so exists in filesystem
libxaw: /usr/lib/libXaw6.so.6 exists in filesystem
libxaw: /usr/lib/libXaw6.so.6.0.1 exists in filesystem
Errors occurred, no packages were upgraded.

Accordingly to the wiki i tried to use this command "sudo pacman -S --overwrite glob libxaw" conflicting Files Pacman Wiki
This still results in the same output as above

Last edited by Aka271 (2024-05-01 14:06:48)

Offline

#6 2024-05-01 14:16:53

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,365

Offline

#7 2024-05-01 14:21:36

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,193
Website

Re: [SOLVED] Broken libxaw

Alternatively

# rm -r /var/lib/pacman/local/libxaw-1.0.16-1/
# pacman -S --dbonly libxaw
# pacman -S libxaw

Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#8 2024-05-01 14:24:40

Aka271
Member
Registered: 2023-11-03
Posts: 9

Re: [SOLVED] Broken libxaw


Thank you! smile

Got Everything Fixed now.

Have a great Day! smile

Offline

#9 2024-05-01 14:26:03

Aka271
Member
Registered: 2023-11-03
Posts: 9

Re: [SOLVED] Broken libxaw

WorMzy wrote:

Alternatively

# rm -r /var/lib/pacman/local/libxaw-1.0.16-1/
# pacman -S --dbonly libxaw
# pacman -S libxaw

Would have been the easier solution. I just wasn't sure if i break my system by just rming the lib big_smile

Offline

Board footer

Powered by FluxBB