You are not logged in.

#1 2024-09-26 20:15:16

Strangiato
Member
Registered: 2020-01-10
Posts: 395

[Solved] Error after updating vlc player

Hello

Today I got this error after installing updates:

(5/5) Updating the vlc plugin cache...
/usr/lib/vlc/vlc-cache-gen: error while loading shared libraries: libvlc.so.5: cannot open shared object file: No such file or directory
error: command failed to execute correctly

Same result after reinstalling vlc.

$ sudo pacman -F libvlc.so.5
extra/vlc 3.0.21-3 [installed: 3.0.21-6]
    usr/lib/libvlc.so.5

And vlc does not run:

$ vlc
vlc: error while loading shared libraries: libvlc.so.5: cannot open shared object file: No such file or directory

How to fix vlc?
Thanks for reading.

Last edited by Strangiato (2024-09-27 01:12:04)

Offline

#2 2024-09-26 22:08:18

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,134

Re: [Solved] Error after updating vlc player

pacman -Qkk vlc

sounds like some lib got corrupted, should be fixable by simply reinstalling the vlc package.

FWIW assuming your disk isn't dying, what's your output for

sudo smartctl -a /dev/sdX

(install smartmontools) replace sdX with whatever the device node for your disk is

Offline

#3 2024-09-26 22:15:42

Strangiato
Member
Registered: 2020-01-10
Posts: 395

Re: [Solved] Error after updating vlc player

$ sudo smartctl -a /dev/sda
[sudo] password for user: 
smartctl 7.4 2023-08-01 r5530 [x86_64-linux-6.10.10-arch1-1] (local build)
Copyright (C) 2002-23, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Device Model:     Asgard AS1TS3-S7
Serial Number:    202209291131
LU WWN Device Id: 5 000000 00000281a
Firmware Version: SN09553
User Capacity:    1.024.209.543.168 bytes [1,02 TB]
Sector Size:      512 bytes logical/physical
Rotation Rate:    Solid State Device
Form Factor:      2.5 inches
TRIM Command:     Available, deterministic, zeroed
Device is:        Not in smartctl database 7.3/5528
ATA Version is:   ACS-4 (minor revision not indicated)
SATA Version is:  SATA 3.2, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Thu Sep 26 19:12:51 2024 -03
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x00) Offline data collection activity
                                        was never started.
                                        Auto Offline Data Collection: Disabled.
Self-test execution status:      (   0) The previous self-test routine completed
                                        without error or no self-test has ever 
                                        been run.
Total time to complete Offline 
data collection:                (   33) seconds.
Offline data collection
capabilities:                    (0x7b) SMART execute Offline immediate.
                                        Auto Offline data collection on/off support.
                                        Suspend Offline collection upon new
                                        command.
                                        Offline surface scan supported.
                                        Self-test supported.
                                        Conveyance Self-test supported.
                                        Selective Self-test supported.
SMART capabilities:            (0x0003) Saves SMART data before entering
                                        power-saving mode.
                                        Supports SMART auto save timer.
Error logging capability:        (0x01) Error logging supported.
                                        General Purpose Logging supported.
Short self-test routine 
recommended polling time:        (   2) minutes.
Extended self-test routine
recommended polling time:        (   2) minutes.
Conveyance self-test routine
recommended polling time:        (   2) minutes.
SCT capabilities:              (0x0031) SCT Status supported.
                                        SCT Feature Control supported.
                                        SCT Data Table supported.

SMART Attributes Data Structure revision number: 20
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  5 Reallocated_Sector_Ct   0x0013   100   100   050    Pre-fail  Always       -       0
  9 Power_On_Hours          0x0012   100   100   000    Old_age   Always       -       2964
 12 Power_Cycle_Count       0x0012   100   100   000    Old_age   Always       -       358
167 Unknown_Attribute       0x0022   100   100   000    Old_age   Always       -       0
168 Unknown_Attribute       0x0012   100   100   000    Old_age   Always       -       0
169 Unknown_Attribute       0x0013   100   100   010    Pre-fail  Always       -       0
171 Unknown_Attribute       0x0032   000   000   000    Old_age   Always       -       0
172 Unknown_Attribute       0x0032   000   000   000    Old_age   Always       -       0
173 Unknown_Attribute       0x0012   200   200   000    Old_age   Always       -       60142649432
174 Unknown_Attribute       0x0022   100   100   000    Old_age   Always       -       17
175 Program_Fail_Count_Chip 0x0022   100   100   010    Old_age   Always       -       0
180 Unused_Rsvd_Blk_Cnt_Tot 0x0033   100   100   000    Pre-fail  Always       -       510
187 Reported_Uncorrect      0x0032   100   000   000    Old_age   Always       -       0
192 Power-Off_Retract_Count 0x0012   100   100   000    Old_age   Always       -       47
194 Temperature_Celsius     0x0022   027   027   000    Old_age   Always       -       27 (Min/Max 22/35)
206 Unknown_SSD_Attribute   0x0032   200   200   000    Old_age   Always       -       14
207 Unknown_SSD_Attribute   0x0032   200   200   000    Old_age   Always       -       200
208 Unknown_SSD_Attribute   0x0032   200   200   000    Old_age   Always       -       88
209 Unknown_SSD_Attribute   0x0032   200   200   000    Old_age   Always       -       1
210 Unknown_Attribute       0x0032   200   200   000    Old_age   Always       -       1873
211 Unknown_Attribute       0x0032   200   200   000    Old_age   Always       -       1473
231 Unknown_SSD_Attribute   0x0023   095   095   005    Pre-fail  Always       -       5
241 Total_LBAs_Written      0x0032   100   100   000    Old_age   Always       -       9047
242 Total_LBAs_Read         0x0032   100   100   000    Old_age   Always       -       8818
243 Unknown_Attribute       0x0032   050   050   000    Old_age   Always       -       4294574073
245 Unknown_Attribute       0x0032   100   100   000    Old_age   Always       -       30

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
No self-tests have been logged.  [To run self-tests, use: smartctl -t]

SMART Selective self-test log data structure revision number 1
 SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
    1        0        0  Not_testing
    2        0        0  Not_testing
    3        0        0  Not_testing
    4        0        0  Not_testing
    5        0        0  Not_testing
Selective self-test flags (0x0):
  After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.

The above only provides legacy SMART information - try 'smartctl -x' for more

Offline

#4 2024-09-27 00:17:53

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,134

Re: [Solved] Error after updating vlc player

looks, fine, but I've recently noticed libvlc got split away from vlc... but the dependencies should actually resolve and load that properly, are you doing partial upgrades/ignoring dependencies? Is libvlc installed?

Offline

#5 2024-09-27 01:11:41

Strangiato
Member
Registered: 2020-01-10
Posts: 395

Re: [Solved] Error after updating vlc player

Yesterday I downgraded some packages from kde-unstable and testing repos and got many "file already exists in the file system" messages regarding the vlc package (solved with "pacman -Syyuu --overwrite usr/*").
libvlc is installed, I have just reinstalled it and got several warnings:

$ sudo pacman -S libvlc
[sudo] password for user: 
warning: libvlc-3.0.21-6 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Package (1)   Old Version  New Version  Net Change

extra/libvlc  3.0.21-6     3.0.21-6       0,00 MiB

Total Installed Size:  2,15 MiB
Net Upgrade Size:      0,00 MiB

:: Proceed with installation? [Y/n] 
](0/1) checking keys in keyring                                                          [C o  o  o  o  o  o  o  o  o  o  o  o  o  o  o  o  ]   0(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%
warning: could not get file information for usr/include/vlc/deprecated.h
warning: could not get file information for usr/include/vlc/libvlc.h
warning: could not get file information for usr/include/vlc/libvlc_dialog.h
warning: could not get file information for usr/include/vlc/libvlc_events.h
warning: could not get file information for usr/include/vlc/libvlc_media.h
warning: could not get file information for usr/include/vlc/libvlc_media_discoverer.h
warning: could not get file information for usr/include/vlc/libvlc_media_library.h
warning: could not get file information for usr/include/vlc/libvlc_media_list.h
warning: could not get file information for usr/include/vlc/libvlc_media_list_player.h
warning: could not get file information for usr/include/vlc/libvlc_media_player.h
warning: could not get file information for usr/include/vlc/libvlc_renderer_discoverer.h
warning: could not get file information for usr/include/vlc/libvlc_version.h
warning: could not get file information for usr/include/vlc/libvlc_vlm.h
warning: could not get file information for usr/include/vlc/plugins/vlc_about.h
warning: could not get file information for usr/include/vlc/plugins/vlc_access.h
warning: could not get file information for usr/include/vlc/plugins/vlc_actions.h
warning: could not get file information for usr/include/vlc/plugins/vlc_addons.h
warning: could not get file information for usr/include/vlc/plugins/vlc_aout.h
warning: could not get file information for usr/include/vlc/plugins/vlc_aout_volume.h
warning: could not get file information for usr/include/vlc/plugins/vlc_arrays.h
warning: could not get file information for usr/include/vlc/plugins/vlc_atomic.h
warning: could not get file information for usr/include/vlc/plugins/vlc_avcodec.h
warning: could not get file information for usr/include/vlc/plugins/vlc_bits.h
warning: could not get file information for usr/include/vlc/plugins/vlc_block.h
warning: could not get file information for usr/include/vlc/plugins/vlc_block_helper.h
warning: could not get file information for usr/include/vlc/plugins/vlc_boxes.h
warning: could not get file information for usr/include/vlc/plugins/vlc_charset.h
warning: could not get file information for usr/include/vlc/plugins/vlc_codec.h
warning: could not get file information for usr/include/vlc/plugins/vlc_common.h
warning: could not get file information for usr/include/vlc/plugins/vlc_config.h
warning: could not get file information for usr/include/vlc/plugins/vlc_config_cat.h
warning: could not get file information for usr/include/vlc/plugins/vlc_configuration.h
warning: could not get file information for usr/include/vlc/plugins/vlc_cpu.h
warning: could not get file information for usr/include/vlc/plugins/vlc_demux.h
warning: could not get file information for usr/include/vlc/plugins/vlc_dialog.h
warning: could not get file information for usr/include/vlc/plugins/vlc_epg.h
warning: could not get file information for usr/include/vlc/plugins/vlc_es.h
warning: could not get file information for usr/include/vlc/plugins/vlc_es_out.h
warning: could not get file information for usr/include/vlc/plugins/vlc_events.h
warning: could not get file information for usr/include/vlc/plugins/vlc_filter.h
warning: could not get file information for usr/include/vlc/plugins/vlc_fingerprinter.h
warning: could not get file information for usr/include/vlc/plugins/vlc_fourcc.h
warning: could not get file information for usr/include/vlc/plugins/vlc_fs.h
warning: could not get file information for usr/include/vlc/plugins/vlc_gcrypt.h
warning: could not get file information for usr/include/vlc/plugins/vlc_http.h
warning: could not get file information for usr/include/vlc/plugins/vlc_httpd.h
warning: could not get file information for usr/include/vlc/plugins/vlc_image.h
warning: could not get file information for usr/include/vlc/plugins/vlc_inhibit.h
warning: could not get file information for usr/include/vlc/plugins/vlc_input.h
warning: could not get file information for usr/include/vlc/plugins/vlc_input_item.h
warning: could not get file information for usr/include/vlc/plugins/vlc_interface.h
warning: could not get file information for usr/include/vlc/plugins/vlc_interrupt.h
warning: could not get file information for usr/include/vlc/plugins/vlc_keystore.h
warning: could not get file information for usr/include/vlc/plugins/vlc_main.h
warning: could not get file information for usr/include/vlc/plugins/vlc_md5.h
warning: could not get file information for usr/include/vlc/plugins/vlc_media_library.h
warning: could not get file information for usr/include/vlc/plugins/vlc_memstream.h
warning: could not get file information for usr/include/vlc/plugins/vlc_messages.h
warning: could not get file information for usr/include/vlc/plugins/vlc_meta.h
warning: could not get file information for usr/include/vlc/plugins/vlc_meta_fetcher.h
warning: could not get file information for usr/include/vlc/plugins/vlc_mime.h
warning: could not get file information for usr/include/vlc/plugins/vlc_modules.h
warning: could not get file information for usr/include/vlc/plugins/vlc_mouse.h
warning: could not get file information for usr/include/vlc/plugins/vlc_mtime.h
warning: could not get file information for usr/include/vlc/plugins/vlc_network.h
warning: could not get file information for usr/include/vlc/plugins/vlc_objects.h
warning: could not get file information for usr/include/vlc/plugins/vlc_opengl.h
warning: could not get file information for usr/include/vlc/plugins/vlc_picture.h
warning: could not get file information for usr/include/vlc/plugins/vlc_picture_fifo.h
warning: could not get file information for usr/include/vlc/plugins/vlc_picture_pool.h
warning: could not get file information for usr/include/vlc/plugins/vlc_playlist.h
warning: could not get file information for usr/include/vlc/plugins/vlc_plugin.h
warning: could not get file information for usr/include/vlc/plugins/vlc_probe.h
warning: could not get file information for usr/include/vlc/plugins/vlc_rand.h
warning: could not get file information for usr/include/vlc/plugins/vlc_renderer_discovery.h
warning: could not get file information for usr/include/vlc/plugins/vlc_services_discovery.h
warning: could not get file information for usr/include/vlc/plugins/vlc_sout.h
warning: could not get file information for usr/include/vlc/plugins/vlc_spu.h
warning: could not get file information for usr/include/vlc/plugins/vlc_stream.h
warning: could not get file information for usr/include/vlc/plugins/vlc_stream_extractor.h
warning: could not get file information for usr/include/vlc/plugins/vlc_strings.h
warning: could not get file information for usr/include/vlc/plugins/vlc_subpicture.h
warning: could not get file information for usr/include/vlc/plugins/vlc_text_style.h
warning: could not get file information for usr/include/vlc/plugins/vlc_threads.h
warning: could not get file information for usr/include/vlc/plugins/vlc_timestamp_helper.h
warning: could not get file information for usr/include/vlc/plugins/vlc_tls.h
warning: could not get file information for usr/include/vlc/plugins/vlc_url.h
warning: could not get file information for usr/include/vlc/plugins/vlc_variables.h
warning: could not get file information for usr/include/vlc/plugins/vlc_video_splitter.h
warning: could not get file information for usr/include/vlc/plugins/vlc_viewpoint.h
warning: could not get file information for usr/include/vlc/plugins/vlc_vlm.h
warning: could not get file information for usr/include/vlc/plugins/vlc_vout.h
warning: could not get file information for usr/include/vlc/plugins/vlc_vout_display.h
warning: could not get file information for usr/include/vlc/plugins/vlc_vout_osd.h
warning: could not get file information for usr/include/vlc/plugins/vlc_vout_window.h
warning: could not get file information for usr/include/vlc/plugins/vlc_xlib.h
warning: could not get file information for usr/include/vlc/plugins/vlc_xml.h
warning: could not get file information for usr/include/vlc/vlc.h
warning: could not get file information for usr/lib/libvlc.so
warning: could not get file information for usr/lib/libvlc.so.5
warning: could not get file information for usr/lib/libvlc.so.5.6.1
warning: could not get file information for usr/lib/libvlccore.so
warning: could not get file information for usr/lib/libvlccore.so.9
warning: could not get file information for usr/lib/libvlccore.so.9.0.1
warning: could not get file information for usr/lib/pkgconfig/libvlc.pc
:: Processing package changes...
(1/1) reinstalling libvlc                                                               [--------------------------------------------------] 100%
:: Running post-transaction hooks...
(1/2) Arming ConditionNeedsUpdate...
(2/2) Refreshing PackageKit...

The reinstall fixed my vlc. \o/
Thanks for your help, V1del.

Last edited by Strangiato (2024-09-27 01:14:28)

Offline

Board footer

Powered by FluxBB