rpm check

classic Classic list List threaded Threaded
20 messages Options
Reply | Threaded
Open this post in threaded view
|

rpm check

Carlos E. R.-2
Hi,

This machine crashed while YaST was updating it and installing things. Hard crash, the filesystem
became R/O (the disk is removable, it is in a caddy). Bad filesystem corruption, automatic fsck on
boot failed, had to fsck from another disk.

So some files are broken, and I find them now and then. Thunar had broken libraries, for instance.
Now there is another when I run VLC:

cer@linux-backup:/tmp/mozilla_cer0> vlc 27566544_559085681122620_5011855560279064576_n.mp4
vlc: error while loading shared libraries: /usr/lib64/libvlc.so.5: file too short


So, is there a way to check all rpms in the system?

I tried "rpm -qa V", but it lists all files, not rpms.


In the case of VLC I'm going to force update all installed packman packages. Brute force attack.

--
Cheers / Saludos,

                Carlos E. R.
                (from oS 42.3 "Malachite" (rescate 1))

--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: rpm check

Nick LeRoy-3
How about this:

# for name in $(rpm -qa) ; do if ! rpm --verify --quiet "${name}" ;
then  echo "${name}"; fi ; done

-Nick

On Thu, Feb 1, 2018 at 3:44 PM, Carlos E. R.
<[hidden email]> wrote:

> Hi,
>
> This machine crashed while YaST was updating it and installing things. Hard crash, the filesystem
> became R/O (the disk is removable, it is in a caddy). Bad filesystem corruption, automatic fsck on
> boot failed, had to fsck from another disk.
>
> So some files are broken, and I find them now and then. Thunar had broken libraries, for instance.
> Now there is another when I run VLC:
>
> cer@linux-backup:/tmp/mozilla_cer0> vlc 27566544_559085681122620_5011855560279064576_n.mp4
> vlc: error while loading shared libraries: /usr/lib64/libvlc.so.5: file too short
>
>
> So, is there a way to check all rpms in the system?
>
> I tried "rpm -qa V", but it lists all files, not rpms.
>
>
> In the case of VLC I'm going to force update all installed packman packages. Brute force attack.
>
> --
> Cheers / Saludos,
>
>                 Carlos E. R.
>                 (from oS 42.3 "Malachite" (rescate 1))
>
> --
> To unsubscribe, e-mail: [hidden email]
> To contact the owner, e-mail: [hidden email]
>

--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: rpm check

Marcus Meissner
In reply to this post by Carlos E. R.-2
On Thu, Feb 01, 2018 at 10:44:48PM +0100, Carlos E. R. wrote:

> Hi,
>
> This machine crashed while YaST was updating it and installing things. Hard crash, the filesystem
> became R/O (the disk is removable, it is in a caddy). Bad filesystem corruption, automatic fsck on
> boot failed, had to fsck from another disk.
>
> So some files are broken, and I find them now and then. Thunar had broken libraries, for instance.
> Now there is another when I run VLC:
>
> cer@linux-backup:/tmp/mozilla_cer0> vlc 27566544_559085681122620_5011855560279064576_n.mp4
> vlc: error while loading shared libraries: /usr/lib64/libvlc.so.5: file too short
>
>
> So, is there a way to check all rpms in the system?
>
> I tried "rpm -qa V", but it lists all files, not rpms.
>
>
> In the case of VLC I'm going to force update all installed packman packages. Brute force attack.

What about

rpm -Va

Ciao, Marcus

--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: rpm check

Carlos E. R.-2
On 2018-02-01 23:00, Marcus Meissner wrote:

>> So, is there a way to check all rpms in the system?
>>
>> I tried "rpm -qa V", but it lists all files, not rpms.
>>
>>
>> In the case of VLC I'm going to force update all installed packman packages. Brute force attack.
>
> What about
>
> rpm -Va

No, lists files:

linux-backup:~ # nice rpm -Va | tee rpm-verify-Va-2
S.5......    /usr/lib64/libtheora.so.0.3.10
S.5......    /usr/lib64/libwebrtc_audio_processing.so.1.0.0
S.5......  d /usr/share/doc/packages/libwebrtc_audio_processing1/AUTHORS
S.5......  d /usr/share/doc/packages/libwebrtc_audio_processing1/COPYING
S.5......  d /usr/share/doc/packages/libwebrtc_audio_processing1/NEWS
S.5......  d /usr/share/doc/packages/libwebrtc_audio_processing1/README.md
S.5......  d /usr/share/doc/packages/libwebrtc_audio_processing1/UPDATING.md
S.5......    /usr/lib64/libsigc-2.0.so.0.0.0
S.5......  d /usr/share/doc/packages/libsigc-2_0-0/AUTHORS

--
Cheers / Saludos,

                Carlos E. R.
                (from oS 42.3 "Malachite" (rescate 1))

--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: rpm check

Carlos E. R.-2
In reply to this post by Carlos E. R.-2
On 2018-02-01 22:44, Carlos E. R. wrote:

> Hi,
>
> This machine crashed while YaST was updating it and installing things. Hard crash, the filesystem
> became R/O (the disk is removable, it is in a caddy). Bad filesystem corruption, automatic fsck on
> boot failed, had to fsck from another disk.
>
> So some files are broken, and I find them now and then. Thunar had broken libraries, for instance.
> Now there is another when I run VLC:
>
> cer@linux-backup:/tmp/mozilla_cer0> vlc 27566544_559085681122620_5011855560279064576_n.mp4
> vlc: error while loading shared libraries: /usr/lib64/libvlc.so.5: file too short
>
>
> So, is there a way to check all rpms in the system?
>
> I tried "rpm -qa V", but it lists all files, not rpms.


Example:


S.5......    /usr/bin/padsp
S.5......    /usr/bin/pasuspender
S.5......    /usr/bin/pax11publish
S.5......    /usr/lib64/pulseaudio/libpulsedsp.so
S.5......  d /usr/share/man/man1/pacat.1.gz
S.5......  d /usr/share/man/man1/pacmd.1.gz
S.5......  d /usr/share/man/man1/pactl.1.gz
S.5......  d /usr/share/man/man1/padsp.1.gz
S.5......  d /usr/share/man/man1/pasuspender.1.gz
S.5......  d /usr/share/man/man1/pax11publish.1.gz
missing     /usr/lib/systemd/system/tmp.mount
S.5......    /usr/lib64/libzip.so.2.1.0
S.5......    /usr/lib64/libid3tag.so.0.3.0
S.5......    /usr/lib64/libraw1394.so.11.1.0
S.5......    /usr/lib64/qt4/plugins/sqldrivers/libqsqlite.so
S.5......  c /etc/xdg/xfce4/helpers.rc
S.5......    /usr/bin/rodent-diff
S.5......    /usr/share/appdata/Rodent-diff.appdata.xml
S.5......    /usr/share/applications/Rodent-diff.desktop
S.5......    /usr/share/icons/hicolor/scalable/apps/rodent-diff.svg
S.5......    /usr/share/icons/rfm/48x48/apps/rodent-diff.png
S.5......  d /usr/share/man/man1/rodent-diff.1.gz
...


The S means "different size" of the file. So I look:


inux-backup:~ # l /usr/share/icons/rfm/48x48/apps/rodent-diff.png /usr/lib64/qt4/plugins/sqldrivers/libqsqlite.so /usr/lib64/libzip.so.2.1.0
-rwxr-xr-x 1 root root 0 Sep 21 14:21 /usr/lib64/libzip.so.2.1.0*
-rwxr-xr-x 1 root root 0 Jun 26  2017 /usr/lib64/qt4/plugins/sqldrivers/libqsqlite.so*
-rw-r--r-- 1 root root 0 Jul 12  2017 /usr/share/icons/rfm/48x48/apps/rodent-diff.png
linux-backup:~ # rpm -qf /usr/share/icons/rfm/48x48/apps/rodent-diff.png /usr/lib64/qt4/plugins/sqldrivers/libqsqlite.so /usr/lib64/libzip.so.2.1.0
rodent-diff-5.3.16.0-5.2.x86_64
libqt4-sql-sqlite-4.8.6-16.6.x86_64
libzip2-0.11.1-9.1.x86_64
linux-backup:~ #


Many files have 0 bytes and should be installed! :-/

It is astonishing that the system is running.

--
Cheers / Saludos,
               
                Carlos E. R.
                (from oS 42.3 "Malachite" (rescate 1))

--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: rpm check

Carlos E. R.-2
In reply to this post by Nick LeRoy-3
On 2018-02-01 22:58, Nick LeRoy wrote:
> How about this:
>
> # for name in $(rpm -qa) ; do if ! rpm --verify --quiet "${name}" ;
> then  echo "${name}"; fi ; done
>
> -Nick

Thanks, I'm running that one now, seems to work. The list is long, though:

linux-backup:~ # for name in $(rpm -qa) ; do if ! rpm --verify --quiet "${name}" ; then  echo "${name}"; fi ; done | tee rpm-verify-for
libtheora0-1.1.1-31.3.x86_64
libwebrtc_audio_processing1-0.3-3.3.x86_64
libsigc-2_0-0-2.8.0-4.3.x86_64
libcaca0-0.99.beta19-6.7.x86_64
xfconf-4.12.1-42.2.x86_64
libupnp6-1.6.21-5.1.x86_64
libaa1-1.4.0-509.3.x86_64
libSDL_image-1_2-0-1.2.12-15.3.x86_64
libqt4-x11-4.8.6-16.6.x86_64
libvcdinfo0-0.7.24cvs-16.3.x86_64
libiso9660-10-0.93-7.3.x86_64
mpg123-pulse-1.25.7-10.1.x86_64
openSUSE-release-42.3-1.202.x86_64
SuSEfirewall2-3.6.312.333-7.1.noarch
libsoxr0-0.1.2-4.3.x86_64
wicked-service-0.6.40-9.1.x86_64
libatkmm-1_6-1-2.24.2-3.4.x86_64
postfix-3.2.0-1.4.x86_64
grub2-2.02-4.1.x86_64
libavc1394-0-0.5.4-18.3.x86_64
shadow-4.2.1-10.1.x86_64
gimp-plugin-aa-2.8.18-6.3.x86_64
yast2-branding-openSUSE-3.2.3-1.1.noarch
libdvbpsi10-1.3.0-6.3.x86_64
libmad0-0.15.1b-2.1.x86_64
libgtop-2_0-10-2.34.1-3.1.x86_64
libqt4-sql-4.8.6-16.6.x86_64
java-1_8_0-openjdk-plugin-1.6.2-4.1.x86_64
...

and continues...

I will have to run zypper something to force install them all again :-(

(reading man)

--
Cheers / Saludos,
               
                Carlos E. R.
                (from oS 42.3 "Malachite" (rescate 1))

--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: rpm check

Carlos E. R.-2
On 2018-02-01 23:20, Carlos E. R. wrote:

> On 2018-02-01 22:58, Nick LeRoy wrote:
>> How about this:
>>
>> # for name in $(rpm -qa) ; do if ! rpm --verify --quiet "${name}" ;
>> then  echo "${name}"; fi ; done
>>
>> -Nick
>
> Thanks, I'm running that one now, seems to work. The list is long, though:
>
> linux-backup:~ # for name in $(rpm -qa) ; do if ! rpm --verify --quiet "${name}" ; then  echo "${name}"; fi ; done | tee rpm-verify-for
> libtheora0-1.1.1-31.3.x86_64
> libwebrtc_audio_processing1-0.3-3.3.x86_64
> libsigc-2_0-0-2.8.0-4.3.x86_64
> libcaca0-0.99.beta19-6.7.x86_64
> xfconf-4.12.1-42.2.x86_64
> libupnp6-1.6.21-5.1.x86_64
> libaa1-1.4.0-509.3.x86_64
> libSDL_image-1_2-0-1.2.12-15.3.x86_64
> libqt4-x11-4.8.6-16.6.x86_64
> libvcdinfo0-0.7.24cvs-16.3.x86_64
> libiso9660-10-0.93-7.3.x86_64
> mpg123-pulse-1.25.7-10.1.x86_64
> openSUSE-release-42.3-1.202.x86_64
> SuSEfirewall2-3.6.312.333-7.1.noarch
> libsoxr0-0.1.2-4.3.x86_64
> wicked-service-0.6.40-9.1.x86_64
> libatkmm-1_6-1-2.24.2-3.4.x86_64
> postfix-3.2.0-1.4.x86_64
> grub2-2.02-4.1.x86_64
> libavc1394-0-0.5.4-18.3.x86_64
> shadow-4.2.1-10.1.x86_64
> gimp-plugin-aa-2.8.18-6.3.x86_64
> yast2-branding-openSUSE-3.2.3-1.1.noarch
> libdvbpsi10-1.3.0-6.3.x86_64
> libmad0-0.15.1b-2.1.x86_64
> libgtop-2_0-10-2.34.1-3.1.x86_64
> libqt4-sql-4.8.6-16.6.x86_64
> java-1_8_0-openjdk-plugin-1.6.2-4.1.x86_64
> ...
>
> and continues...
>
> I will have to run zypper something to force install them all again :-(
>
> (reading man)
>

Wait, not so fast... I should reinstall packages with files of different size on verification, not
all of them.


--
Cheers / Saludos,

                Carlos E. R.
                (from oS 42.3 "Malachite" (rescate 1))

--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: rpm check

Nick LeRoy-3
Carlos,

In that case, I think that you need to not use the --quiet argument,
and manually select the RPMs that you want to reinstall.

-Nick

On Thu, Feb 1, 2018 at 4:23 PM, Carlos E. R.
<[hidden email]> wrote:

> On 2018-02-01 23:20, Carlos E. R. wrote:
>> On 2018-02-01 22:58, Nick LeRoy wrote:
>>> How about this:
>>>
>>> # for name in $(rpm -qa) ; do if ! rpm --verify --quiet "${name}" ;
>>> then  echo "${name}"; fi ; done
>>>
>>> -Nick
>>
>> Thanks, I'm running that one now, seems to work. The list is long, though:
>>
>> linux-backup:~ # for name in $(rpm -qa) ; do if ! rpm --verify --quiet "${name}" ; then  echo "${name}"; fi ; done | tee rpm-verify-for
>> libtheora0-1.1.1-31.3.x86_64
>> libwebrtc_audio_processing1-0.3-3.3.x86_64
>> libsigc-2_0-0-2.8.0-4.3.x86_64
>> libcaca0-0.99.beta19-6.7.x86_64
>> xfconf-4.12.1-42.2.x86_64
>> libupnp6-1.6.21-5.1.x86_64
>> libaa1-1.4.0-509.3.x86_64
>> libSDL_image-1_2-0-1.2.12-15.3.x86_64
>> libqt4-x11-4.8.6-16.6.x86_64
>> libvcdinfo0-0.7.24cvs-16.3.x86_64
>> libiso9660-10-0.93-7.3.x86_64
>> mpg123-pulse-1.25.7-10.1.x86_64
>> openSUSE-release-42.3-1.202.x86_64
>> SuSEfirewall2-3.6.312.333-7.1.noarch
>> libsoxr0-0.1.2-4.3.x86_64
>> wicked-service-0.6.40-9.1.x86_64
>> libatkmm-1_6-1-2.24.2-3.4.x86_64
>> postfix-3.2.0-1.4.x86_64
>> grub2-2.02-4.1.x86_64
>> libavc1394-0-0.5.4-18.3.x86_64
>> shadow-4.2.1-10.1.x86_64
>> gimp-plugin-aa-2.8.18-6.3.x86_64
>> yast2-branding-openSUSE-3.2.3-1.1.noarch
>> libdvbpsi10-1.3.0-6.3.x86_64
>> libmad0-0.15.1b-2.1.x86_64
>> libgtop-2_0-10-2.34.1-3.1.x86_64
>> libqt4-sql-4.8.6-16.6.x86_64
>> java-1_8_0-openjdk-plugin-1.6.2-4.1.x86_64
>> ...
>>
>> and continues...
>>
>> I will have to run zypper something to force install them all again :-(
>>
>> (reading man)
>>
>
> Wait, not so fast... I should reinstall packages with files of different size on verification, not
> all of them.
>
>
> --
> Cheers / Saludos,
>
>                 Carlos E. R.
>                 (from oS 42.3 "Malachite" (rescate 1))
>
> --
> To unsubscribe, e-mail: [hidden email]
> To contact the owner, e-mail: [hidden email]
>

--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: rpm check

Carlos E. R.-2
In reply to this post by Carlos E. R.-2
On 2018-02-01 23:23, Carlos E. R. wrote:

> On 2018-02-01 23:20, Carlos E. R. wrote:
>> On 2018-02-01 22:58, Nick LeRoy wrote:
>>> How about this:
>>>
>>> # for name in $(rpm -qa) ; do if ! rpm --verify --quiet "${name}" ;
>>> then  echo "${name}"; fi ; done
>>>
>>> -Nick
>>
>> Thanks, I'm running that one now, seems to work. The list is long, though:

...

> Wait, not so fast... I should reinstall packages with files of different size on verification, not
> all of them.

Ok, I took the "rpm -qaV" list, and edited it manually leaving all the files that were missing or qrong size. Then wrote a small script:


#!/bin/bash

while read FILES  ; do
    rpm -qf $FILES
done < /root/rpm-verify-zero



And run it:

linux-backup:~ # encontrar_rpms | sort | uniq > rpm-verify-uniq
error: file /root/usr/share/icons/hicolor/32x32/status/ac-adapter.png: No such file or directory
error: file /root/usr/share/icons/hicolor/32x32/status/battery-caution-charging.png: No such file or directory
error: file /root/usr/share/icons/hicolor/32x32/status/battery-caution.png: No such file or directory
error: file /root/usr/share/icons/hicolor/32x32/status/battery-empty-charging.png: No such file or directory
error: file /root/usr/share/icons/hicolor/32x32/status/battery-empty.png: No such file or directory
error: file /root/usr/share/icons/hicolor/32x32/status/battery-full-charged.png: No such file or directory
error: file /root/usr/share/icons/hicolor/32x32/status/battery-full-charging.png: No such file or directory
error: file /root/usr/share/icons/hicolor/32x32/status/battery-full.png: No such file or directory
error: file /root/usr/share/icons/hicolor/32x32/status/battery-good-charging.png: No such file or directory
error: file /root/usr/share/icons/hicolor/32x32/status/battery-good.png: No such file or directory
error: file /root/usr/share/icons/hicolor/32x32/status/battery-low-charging.png: No such file or directory
error: file /root/usr/share/icons/hicolor/32x32/status/battery-low.png: No such file or directory
error: file /root/usr/share/icons/hicolor/32x32/status/battery-missing.png: No such file or directory
error: file /root/usr/share/icons/hicolor/32x32/status/input-keyboard.png: No such file or directory
error: file /root/usr/share/icons/hicolor/32x32/status/input-mouse.png: No such file or directory
error: file /root/usr/share/icons/hicolor/32x32/status/tablet.png: No such file or directory
error: file /root/usr/share/icons/hicolor/32x32/status/uninterruptible-power-supply.png: No such file or directory
error: file /root/usr/share/icons/hicolor/48x48/status/ac-adapter.png: No such file or directory
error: file /root/usr/share/icons/hicolor/48x48/status/battery-caution-charging.png: No such file or directory
error: file /root/usr/share/icons/hicolor/48x48/status/battery-caution.png: No such file or directory
error: file /root/usr/share/icons/hicolor/48x48/status/battery-empty-charging.png: No such file or directory
error: file /root/usr/share/icons/hicolor/48x48/status/battery-empty.png: No such file or directory
error: file /root/usr/share/icons/hicolor/48x48/status/battery-full-charged.png: No such file or directory
error: file /root/usr/share/icons/hicolor/48x48/status/battery-full-charging.png: No such file or directory
error: file /root/usr/share/icons/hicolor/48x48/status/battery-full.png: No such file or directory
error: file /root/usr/share/icons/hicolor/48x48/status/battery-good-charging.png: No such file or directory
error: file /root/usr/share/icons/hicolor/48x48/status/battery-good.png: No such file or directory
error: file /root/usr/share/icons/hicolor/48x48/status/battery-low-charging.png: No such file or directory
error: file /root/usr/share/icons/hicolor/48x48/status/battery-low.png: No such file or directory
error: file /root/usr/share/icons/hicolor/48x48/status/battery-missing.png: No such file or directory
error: file /root/usr/share/icons/hicolor/48x48/status/display-brightness.png: No such file or directory
error: file /root/usr/share/icons/hicolor/48x48/status/input-keyboard.png: No such file or directory
error: file /root/usr/share/icons/hicolor/48x48/status/input-mouse.png: No such file or directory
error: file /root/usr/share/icons/hicolor/48x48/status/keyboard-brightness.png: No such file or directory
error: file /root/usr/share/icons/hicolor/48x48/status/tablet.png: No such file or directory
error: file /root/usr/share/icons/hicolor/48x48/status/uninterruptible-power-supply.png: No such file or directory
error: file /root/usr/share/icons/hicolor/scalable/status/ac-adapter-symbolic.svg: No such file or directory
error: file /root/usr/share/icons/hicolor/scalable/status/ac-adapter.svg: No such file or directory
error: file /root/usr/share/icons/hicolor/scalable/status/battery-caution-charging-symbolic.svg: No such file or directory
error: file /root/usr/share/icons/hicolor/scalable/status/battery-caution-charging.svg: No such file or directory
error: file /root/usr/share/icons/hicolor/scalable/status/battery-caution-symbolic.svg: No such file or directory
error: file /root/usr/share/icons/hicolor/scalable/status/battery-caution.svg: No such file or directory
error: file /root/usr/share/icons/hicolor/scalable/status/battery-empty-charging-symbolic.svg: No such file or directory
error: file /root/usr/share/icons/hicolor/scalable/status/battery-empty-charging.svg: No such file or directory
error: file /root/usr/share/icons/hicolor/scalable/status/battery-empty-symbolic.svg: No such file or directory
error: file /root/usr/share/icons/hicolor/scalable/status/battery-empty.svg: No such file or directory
error: file /root/usr/share/icons/hicolor/scalable/status/battery-full-charged-symbolic.svg: No such file or directory
error: file /root/usr/share/icons/hicolor/scalable/status/battery-full-charged.svg: No such file or directory
error: file /root/usr/share/icons/hicolor/scalable/status/battery-full-charging-symbolic.svg: No such file or directory
error: file /root/usr/share/icons/hicolor/scalable/status/battery-full-charging.svg: No such file or directory
error: file /root/usr/share/icons/hicolor/scalable/status/battery-full-symbolic.svg: No such file or directory
error: file /root/usr/share/icons/hicolor/scalable/status/battery-full.svg: No such file or directory
error: file /root/usr/share/icons/hicolor/scalable/status/battery-good-charging-symbolic.svg: No such file or directory
error: file /root/usr/share/icons/hicolor/scalable/status/battery-good-charging.svg: No such file or directory
error: file /root/usr/share/icons/hicolor/scalable/status/battery-good-symbolic.svg: No such file or directory
error: file /root/usr/share/icons/hicolor/scalable/status/battery-good.svg: No such file or directory
error: file /root/usr/share/icons/hicolor/scalable/status/battery-low-charging-symbolic.svg: No such file or directory
error: file /root/usr/share/icons/hicolor/scalable/status/battery-low-charging.svg: No such file or directory
error: file /root/usr/share/icons/hicolor/scalable/status/battery-low-symbolic.svg: No such file or directory
error: file /root/usr/share/icons/hicolor/scalable/status/battery-low.svg: No such file or directory
error: file /root/usr/share/icons/hicolor/scalable/status/battery-missing-symbolic.svg: No such file or directory
error: file /root/usr/share/icons/hicolor/scalable/status/battery-missing.svg: No such file or directory
error: file /root/usr/share/icons/hicolor/scalable/status/display-brightness-symbolic.svg: No such file or directory
error: file /root/usr/share/icons/hicolor/scalable/status/display-brightness.svg: No such file or directory
error: file /root/usr/share/icons/hicolor/scalable/status/keyboard-brightness-symbolic.svg: No such file or directory
error: file /root/usr/share/icons/hicolor/scalable/status/keyboard-brightness.svg: No such file or directory
error: file /root/usr/share/icons/hicolor/scalable/status/tablet.svg: No such file or directory
error: file /root/usr/share/icons/hicolor/scalable/status/uninterruptible-power-supply.svg: No such file or directory
error: file /root/usr/share/icons/hicolor/scalable/status/xfce4-power-manager-settings.svg: No such file or directory
error: file /root/usr/lib/systemd/system/tmp.mount: No such file or directory
linux-backup:~ #

Those are missing files, rpm fails to find the package. I may find them from the "pin" output.


But those I find are these:


So I have to reinstall at least these 67 packages:


SuSEfirewall2-3.6.312.333-7.1.noarch
exo-branding-openSUSE-4.12.0-174.4.noarch
fontconfig-2.11.1-4.3.x86_64
fonts-config-20150424-6.3.noarch
gigolo-0.4.2-46.2.x86_64
gigolo-lang-0.4.2-46.2.noarch
gimp-plugin-aa-2.8.18-6.3.x86_64
grub2-2.02-4.1.x86_64
libSDL_image-1_2-0-1.2.12-15.3.x86_64
libaa1-1.4.0-509.3.x86_64
libatkmm-1_6-1-2.24.2-3.4.x86_64
libavc1394-0-0.5.4-18.3.x86_64
libcaca0-0.99.beta19-6.7.x86_64
libcairomm-1_0-1-1.12.0-4.5.x86_64
libdbh2-5.0.17-1.1.x86_64
libdc1394-22-2.2.3-5.3.x86_64
libdvbpsi10-1.3.0-6.3.x86_64
libebml4-1.3.5-5.1.x86_64
libftgl2-2.1.3~rc5-5.5.x86_64
libgiomm-2_4-1-2.48.1-3.3.x86_64
libglibmm-2_4-1-2.48.1-3.3.x86_64
libgtkmm-3_0-1-3.20.1-3.3.x86_64
libgtop-2_0-10-2.34.1-3.1.x86_64
libgtop-lang-2.34.1-3.1.noarch
libid3tag0-0.15.1b-187.3.x86_64
libiso9660-10-0.93-7.3.x86_64
libmad0-0.15.1b-2.1.x86_64
libpangomm-1_4-1-2.40.1-3.4.x86_64
libprojectM2-2.1.0-17.3.x86_64
libpulse-mainloop-glib0-9.0-5.1.x86_64
libqt4-4.8.6-16.6.x86_64
libqt4-sql-4.8.6-16.6.x86_64
libqt4-sql-sqlite-4.8.6-16.6.x86_64
libqt4-x11-4.8.6-16.6.x86_64
libraw1394-11-2.1.0-8.3.x86_64
librfm3-5.3.16.0-5.2.x86_64
libshout3-2.3.1-8.3.x86_64
libsigc-2_0-0-2.8.0-4.3.x86_64
libsoxr0-0.1.2-4.3.x86_64
libspeexdsp1-1.2~rc3-4.3.x86_64
libtheora0-1.1.1-31.3.x86_64
libtubo0-5.0.15-1.1.x86_64
libupnp6-1.6.21-5.1.x86_64
libvcdinfo0-0.7.24cvs-16.3.x86_64
libwebrtc_audio_processing1-0.3-3.3.x86_64
libwnck-3-0-3.20.1-3.3.x86_64
libwnck-lang-3.20.1-3.3.noarch
libxcb-composite0-1.11.1-9.1.x86_64
libxcb-xv0-1.11.1-9.1.x86_64
libzip2-0.11.1-9.1.x86_64
libzypp-16.17.7-18.1.x86_64
mpg123-pulse-1.25.7-10.1.x86_64
ntp-4.2.8p10-30.1.x86_64
postfix-3.2.0-1.4.x86_64
pulseaudio-9.0-5.1.x86_64
pulseaudio-bash-completion-9.0-5.1.x86_64
pulseaudio-lang-9.0-5.1.noarch
pulseaudio-utils-9.0-5.1.x86_64
rfm-5.3.16.0-5.2.x86_64
rodent-5.3.16.0-5.2.x86_64
rodent-diff-5.3.16.0-5.2.x86_64
rodent-fgr-5.3.16.0-5.2.x86_64
rodent-ps-5.3.16.0-5.2.x86_64
rtkit-0.11_git201205151338-13.4.x86_64
xfce4-power-manager-1.6.1-134.1.x86_64
xfce4-volumed-pulse-0.2.2-6.2.x86_64
xfconf-4.12.1-42.2.x86_64


Maybe edit that to a single line and feed to zypper. Or pipe. No, pipe doesn't work. Then edit the list, it is just once.

Try first with  --dry-run.

Finally:

linux-backup:~ # zypper  install --force SuSEfirewall2-3.6.312.333-7.1.noarch exo-branding-openSUSE-4.12.0-174.4.noarch fontconfig-2.11.1-4.3.x86_64 fonts-config-20150424-6.3.noarch gigolo-0.4.2-46.2.x86_64 gigolo-lang-0.4.2-46.2.noarch gimp-plugin-aa-2.8.18-6.3.x86_64 grub2-2.02-4.1.x86_64 libSDL_image-1_2-0-1.2.12-15.3.x86_64 libaa1-1.4.0-509.3.x86_64 libatkmm-1_6-1-2.24.2-3.4.x86_64 libavc1394-0-0.5.4-18.3.x86_64 libcaca0-0.99.beta19-6.7.x86_64 libcairomm-1_0-1-1.12.0-4.5.x86_64 libdbh2-5.0.17-1.1.x86_64 libdc1394-22-2.2.3-5.3.x86_64 libdvbpsi10-1.3.0-6.3.x86_64 libebml4-1.3.5-5.1.x86_64 libftgl2-2.1.3~rc5-5.5.x86_64 libgiomm-2_4-1-2.48.1-3.3.x ...
...
Loading repository data...
Reading installed packages...
Forcing installation of 'SuSEfirewall2-3.6.312.333-7.1.noarch' from repository 'Main Update Repository'.
Forcing installation of 'exo-branding-openSUSE-4.12.0-174.4.noarch' from repository 'OBS X11 Xfce'.
...
Resolving package dependencies...

The following 3 applications are going to be installed:
  "Difference tool based on GNU (or BSD) diff" "Rodent System Process Information plugin" "Search tool based on fgr"

The following NEW package is going to be installed:
  alsa-plugins-pulse

The following 67 packages are going to be reinstalled:
  SuSEfirewall2 exo-branding-openSUSE fontconfig fonts-config gigolo gigolo-lang gimp-plugin-aa grub2 libSDL_image-1_2-0 libaa1
  libatkmm-1_6-1 libavc1394-0 libcaca0 libcairomm-1_0-1 libdbh2 libdc1394-22 libdvbpsi10 libebml4 libftgl2 libgiomm-2_4-1
  libglibmm-2_4-1 libgtkmm-3_0-1 libgtop-2_0-10 libgtop-lang libid3tag0 libiso9660-10 libmad0 libpangomm-1_4-1 libprojectM2
  libpulse-mainloop-glib0 libqt4 libqt4-sql libqt4-sql-sqlite libqt4-x11 libraw1394-11 librfm3 libshout3 libsigc-2_0-0 libsoxr0
  libspeexdsp1 libtheora0 libtubo0 libupnp6 libvcdinfo0 libwebrtc_audio_processing1 libwnck-3-0 libwnck-lang libxcb-composite0
  libxcb-xv0 libzip2 libzypp mpg123-pulse ntp postfix pulseaudio pulseaudio-bash-completion pulseaudio-lang pulseaudio-utils rfm
  rodent rodent-diff rodent-fgr rodent-ps rtkit xfce4-power-manager xfce4-volumed-pulse xfconf

1 new package to install, 67 to reinstall.
Overall download size: 31.7 MiB. Already cached: 582.5 KiB. After the operation, additional 84.2 KiB will be used.
Continue? [y/n/...? shows all options] (y):
...

(17/68) Installing: libiso9660-10-0.93-7.3.x86_64 ...........................................................................[done]
Additional rpm output:
/sbin/ldconfig: File /usr/lib64/libgiomm-2.4.so.1 is empty, not checked.
/sbin/ldconfig: File /usr/lib64/libQtCore.so.4.8.6 is empty, not checked.
/sbin/ldconfig: File /usr/lib64/libtheora.so.0.3.10 is empty, not checked.
/sbin/ldconfig: File /usr/lib64/libthreadutil.so.6 is empty, not checked.

...

(18/68) Installing: libqt4-4.8.6-16.6.x86_64 ................................................................................[done]
Additional rpm output:
/sbin/ldconfig: File /usr/lib64/libgiomm-2.4.so.1 is empty, not checked.
/sbin/ldconfig: File /usr/lib64/libtheora.so.0.3.10 is empty, not checked.
/sbin/ldconfig: File /usr/lib64/libthreadutil.so.6 is empty, not checked.

...

64/68) Installing: rodent-5.3.16.0-5.2.x86_64 ..............................................................................[done]
Additional rpm output:
gtk-update-icon-cache: No theme index file.


(65/68) Installing: rodent-ps-5.3.16.0-5.2.x86_64 ...........................................................................[done]
(66/68) Installing: rodent-fgr-5.3.16.0-5.2.x86_64 ..........................................................................[done]
(67/68) Installing: rodent-diff-5.3.16.0-5.2.x86_64 .........................................................................[done]
(68/68) Installing: alsa-plugins-pulse-1.1.4-1.1.x86_64 .....................................................................[done]
Additional rpm output:
Enabling PulseAudio for ALSA...
Enabling PulseAudio for libao...
Default driver is pulse already in /etc/libao.conf
Enabling PulseAudio for mplayer...
Enabling PulseAudio for OSS...
Application aumix already setup for PulseAudio
Application sox already setup for PulseAudio
Enabling PulseAudio for SDL...
Enabling PulseAudio for Timidity...
Timidity already setup for using PulseAudio
Enabling PulseAudio for Phonon...
Enabling PulseAudio for Kmix...
Enabling PulseAudio for speech dispatcher...
Enabling PulseAudio for SoX...
Setting auto sink/src for gstreamer
Enabling PulseAudio for QEMU/KVM
Enabling PulseAudio autospawn...


Running: fonts-config-20150424-6.3-reconfigure-cjk-fonts  (fonts-config, /var/adm/update-scripts)
Running: fonts-config-20150424-6.3-reconfigure-cjk-fonts  (fonts-config, /var/adm/update-scripts) ...........................[done]
Running: fonts-config-20150424-6.3-reconfigure-fonts  (fonts-config, /var/adm/update-scripts)
Running: fonts-config-20150424-6.3-reconfigure-fonts  (fonts-config, /var/adm/update-scripts) ...............................[done]
linux-backup:~ #


Gosh.


--
Cheers / Saludos,
               
                Carlos E. R.
                (from oS 42.3 "Malachite" (rescate 1))

--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: rpm check

Carlos E. R.-2
On 2018-02-02 00:02, Carlos E. R. wrote:
> On 2018-02-01 23:23, Carlos E. R. wrote:
>> On 2018-02-01 23:20, Carlos E. R. wrote:
>>> On 2018-02-01 22:58, Nick LeRoy wrote:
>>>> How about this:

...
> Maybe edit that to a single line and feed to zypper. Or pipe. No, pipe doesn't work. Then edit the list, it is just once.
>
> Try first with  --dry-run.
>
> Finally:
>
> linux-backup:~ # zypper  install --force SuSEfirewall2-3.6.312.333-7.1.noarch exo-branding-openSUSE-4.12.0-174.4.noarch fontconfig-2.11.1-4.3.x86_64 fonts-config-

...


> Gosh.

Now verify again:

linux-backup:~ # rpm -Va | tee rpm-verify-Va-3-after
S.5....T.  c /etc/fonts/conf.d/10-rendering-options.conf
S.5....T.  c /etc/fonts/conf.d/58-family-prefer-local.conf
S.5......  c /etc/xdg/autostart/xfce4-volumed-pulse.desktop
.......T.  c /etc/YaST2/control.xml
.......T.  c /etc/sysconfig/network/ifcfg-lo
S.5....T.  c /etc/zypp/zypp.conf
.......T.  c /etc/login.defs
....L....    /usr/share/YaST2/theme/current/icons
....L....    /usr/lib64/browser-plugins/javaplugin.so
S.5......  c /etc/dbus-1/system.d/pulseaudio-system.conf
S.5......  c /etc/pulse/daemon.conf
S.5......  c /etc/pulse/daemon.conf.d/disable_flat_volumes.conf
S.5......  c /etc/pulse/default.pa
S.5......  c /etc/pulse/system.pa
S.5......  c /etc/sysconfig/SuSEfirewall2.d/services/pulseaudio-server
....L....  d /usr/share/man/man1/ftp.1.gz
....L....  c /etc/pam.d/common-account
....L....  c /etc/pam.d/common-auth
....L....  c /etc/pam.d/common-password
....L....  c /etc/pam.d/common-session
.......T.  c /etc/wicked/common.xml
S.5......  c /etc/xdg/xfce4/helpers.rc
S.5....T.  c /etc/default/grub
.....U...    /var/lib/mlocate
SM5....T.  c /etc/fonts/conf.d/30-metric-aliases.conf
S.5....T.  c /etc/ntp.conf
.....U...    /var/cache/cups
.......T.  c /etc/iscsi/ifaces/iface.example
.M.....T.  c /etc/iscsi/iscsid.conf
.......T.    /usr/lib64/gconv/gconv-modules.cache
S.5....T.  c /etc/postfix/main.cf
S.5....T.  c /etc/postfix/master.cf
missing     /usr/lib/systemd/system/tmp.mount
S.5....T.  c /etc/sysconfig/SuSEfirewall2
linux-backup:~ #

That's the entire list now. Phew!

This is much different, they are config files, which can be different in size for good reasons. But
I will have to look at them manually or something. If they are zero bytes they are very suspect.


And some services to restart (zypper ps says so). Can't reboot, I'm using this system to do a backup
of my normal system.


--
Cheers / Saludos,

                Carlos E. R.
                (from oS 42.3 "Malachite" (rescate 1))

--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: rpm check

Carlos E. R.-2
In reply to this post by Carlos E. R.-2
On 2018-02-02 00:02, Carlos E. R. wrote:
> On 2018-02-01 23:23, Carlos E. R. wrote:
>> On 2018-02-01 23:20, Carlos E. R. wrote:

...

>> Wait, not so fast... I should reinstall packages with files of different size on verification, not
>> all of them.
>
> Ok, I took the "rpm -qaV" list, and edited it manually leaving all the files that were missing or qrong size. Then wrote a small script:
>
>
> #!/bin/bash
>
> while read FILES  ; do
>     rpm -qf $FILES
> done < /root/rpm-verify-zero
>
>
>
> And run it:
>
> linux-backup:~ # encontrar_rpms | sort | uniq > rpm-verify-uniq
> error: file /root/usr/share/icons/hicolor/32x32/status/ac-adapter.png: No such file or directory
> error: file /root/usr/share/icons/hicolor/32x32/status/battery-caution-charging.png: No such file or directory
> error: file /root/usr/share/icons/hicolor/32x32/status/battery-caution.png: No such file or directory

Now, why do those have path "/root" in front? File
"/usr/share/icons/hicolor/32x32/status/ac-adapter.png" does exist now, but I have run zypper to
install many things.

Ok, time to rest and eat.

--
Cheers / Saludos,

                Carlos E. R.
                (from oS 42.3 "Malachite" (rescate 1))

--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: rpm check

Patrick Shanahan-2
In reply to this post by Carlos E. R.-2
* Carlos E. R. <[hidden email]> [02-01-18 17:23]:

> On 2018-02-01 22:58, Nick LeRoy wrote:
> > How about this:
> >
> > # for name in $(rpm -qa) ; do if ! rpm --verify --quiet "${name}" ;
> > then  echo "${name}"; fi ; done
> >
> > -Nick
>
> Thanks, I'm running that one now, seems to work. The list is long, though:
>
> linux-backup:~ # for name in $(rpm -qa) ; do if ! rpm --verify --quiet "${name}" ; then  echo "${name}"; fi ; done | tee rpm-verify-for
> libtheora0-1.1.1-31.3.x86_64
> libwebrtc_audio_processing1-0.3-3.3.x86_64
> libsigc-2_0-0-2.8.0-4.3.x86_64
> libcaca0-0.99.beta19-6.7.x86_64
> xfconf-4.12.1-42.2.x86_64
> libupnp6-1.6.21-5.1.x86_64
> libaa1-1.4.0-509.3.x86_64
> libSDL_image-1_2-0-1.2.12-15.3.x86_64
> libqt4-x11-4.8.6-16.6.x86_64
> libvcdinfo0-0.7.24cvs-16.3.x86_64
> libiso9660-10-0.93-7.3.x86_64
> mpg123-pulse-1.25.7-10.1.x86_64
> openSUSE-release-42.3-1.202.x86_64
> SuSEfirewall2-3.6.312.333-7.1.noarch
> libsoxr0-0.1.2-4.3.x86_64
> wicked-service-0.6.40-9.1.x86_64
> libatkmm-1_6-1-2.24.2-3.4.x86_64
> postfix-3.2.0-1.4.x86_64
> grub2-2.02-4.1.x86_64
> libavc1394-0-0.5.4-18.3.x86_64
> shadow-4.2.1-10.1.x86_64
> gimp-plugin-aa-2.8.18-6.3.x86_64
> yast2-branding-openSUSE-3.2.3-1.1.noarch
> libdvbpsi10-1.3.0-6.3.x86_64
> libmad0-0.15.1b-2.1.x86_64
> libgtop-2_0-10-2.34.1-3.1.x86_64
> libqt4-sql-4.8.6-16.6.x86_64
> java-1_8_0-openjdk-plugin-1.6.2-4.1.x86_64
> ...
>
> and continues...
>
> I will have to run zypper something to force install them all again :-(
>
> (reading man)

zypper -v in --force <package.list>

--
(paka)Patrick Shanahan       Plainfield, Indiana, USA          @ptilopteri
http://en.opensuse.org    openSUSE Community Member    facebook/ptilopteri
Registered Linux User #207535                    @ http://linuxcounter.net
Photos: http://wahoo.no-ip.org/piwigo                    paka @ IRCnet freenode

--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: rpm check

Carlos E. R.-2
On 2018-02-02 01:25, Patrick Shanahan wrote:
> * Carlos E. R. <> [02-01-18 17:23]:


>> and continues...
>>
>> I will have to run zypper something to force install them all again :-(
>>
>> (reading man)
>
> zypper -v in --force <package.list>

That's what I did, except for the -v. You can see that in a post I sent later.

The problem was that "package.list" can not be a file, but an actual list of packages in the command
line; so I had to edit the package list from one line per package to a single line, editing it.

--
Cheers / Saludos,

                Carlos E. R.
                (from oS 42.3 "Malachite" (rescate 1))

--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: rpm check

Tom Kacvinsky
Hi Carlos,

> On Feb 1, 2018, at 20:04:48, Carlos E. R. <[hidden email]> wrote:
>
> On 2018-02-02 01:25, Patrick Shanahan wrote:
>> * Carlos E. R. <> [02-01-18 17:23]:
>
>
>>> and continues...
>>>
>>> I will have to run zypper something to force install them all again :-(
>>>
>>> (reading man)
>>
>> zypper -v in --force <package.list>
>
> That's what I did, except for the -v. You can see that in a post I sent later.
>
> The problem was that "package.list" can not be a file, but an actual list of packages in the command
> line; so I had to edit the package list from one line per package to a single line, editing it.


xargs is your fried:

cat package.list | xargs rpm -v in --force

Tom
--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: rpm check

Tom Kacvinsky


> On Feb 1, 2018, at 20:11:15, Tom Kacvinsky <[hidden email]> wrote:
>
> Hi Carlos,
>
>> On Feb 1, 2018, at 20:04:48, Carlos E. R. <[hidden email]> wrote:
>>
>> On 2018-02-02 01:25, Patrick Shanahan wrote:
>>> * Carlos E. R. <> [02-01-18 17:23]:
>>
>>
>>>> and continues...
>>>>
>>>> I will have to run zypper something to force install them all again :-(
>>>>
>>>> (reading man)
>>>
>>> zypper -v in --force <package.list>
>>
>> That's what I did, except for the -v. You can see that in a post I sent later.
>>
>> The problem was that "package.list" can not be a file, but an actual list of packages in the command
>> line; so I had to edit the package list from one line per package to a single line, editing it.
>
>
> xargs is your fried:

friend.  sheesh.


--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: rpm check

Carlos E. R.-2
On 2018-02-02 02:11, Tom Kacvinsky wrote:

>
>
>> On Feb 1, 2018, at 20:11:15, Tom Kacvinsky <> wrote:
>>
>> Hi Carlos,
>>
>>> On Feb 1, 2018, at 20:04:48, Carlos E. R. <[hidden email]> wrote:
>>>
>>> On 2018-02-02 01:25, Patrick Shanahan wrote:
>>>> * Carlos E. R. <> [02-01-18 17:23]:
>>>
>>>
>>>>> and continues...
>>>>>
>>>>> I will have to run zypper something to force install them all again :-(
>>>>>
>>>>> (reading man)
>>>>
>>>> zypper -v in --force <package.list>
>>>
>>> That's what I did, except for the -v. You can see that in a post I sent later.
>>>
>>> The problem was that "package.list" can not be a file, but an actual list of packages in the command
>>> line; so I had to edit the package list from one line per package to a single line, editing it.
>>
>>
>> xargs is your fried:
>
> friend.  sheesh.

I figured that typo out :-)



Yes, I thought that some thing like xargs could do it, but finding that out was going to be slower
than editing the file and pasting the resulting long line ;-)


The system seems to be running quite fine now :-)

--
Cheers / Saludos,

                Carlos E. R.
                (from oS 42.3 "Malachite" (rescate 1))

--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: rpm check

Ken Schneider - openSUSE
In reply to this post by Carlos E. R.-2
On 02/01/2018 04:44 PM, Carlos E. R. wrote:

> Hi,
>
> This machine crashed while YaST was updating it and installing things. Hard crash, the filesystem
> became R/O (the disk is removable, it is in a caddy). Bad filesystem corruption, automatic fsck on
> boot failed, had to fsck from another disk.
>
> So some files are broken, and I find them now and then. Thunar had broken libraries, for instance.
> Now there is another when I run VLC:
>
> cer@linux-backup:/tmp/mozilla_cer0> vlc 27566544_559085681122620_5011855560279064576_n.mp4
> vlc: error while loading shared libraries: /usr/lib64/libvlc.so.5: file too short
>
>
> So, is there a way to check all rpms in the system?
>
> I tried "rpm -qa V", but it lists all files, not rpms.
>
>
> In the case of VLC I'm going to force update all installed packman packages. Brute force attack.
>

Hi Carlos,
Had similar issue this past weekend but in my case one of my ram modules
decided to go on vacation while while running zypper dup. After
reseating all of the ram modules and rebooting I ended up opening
YaST-->Software Manager. I selected the repo view and forced an update
of "All in this list". I let it run overnight and after a reboot all
seems to be well since. I haven't run a mem test yet but I will if I
have problems again with the system seizing.

--
Ken Schneider
SuSe since Version 5.2, June 1998

--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: rpm check

David Haller-4
In reply to this post by Carlos E. R.-2
Hello,

On Thu, 01 Feb 2018, Carlos E. R. wrote:
>On 2018-02-01 23:00, Marcus Meissner wrote:
>> What about
>>
>> rpm -Va
>
>No, lists files:

$ rpm -qa | while read p ; do \
    rpm --quiet -V "$p" || echo "$p"; \
  done | tee /tmp/brocken_pkgs

# zypper in -f $(</tmp/broken_pkgs)

HTH,
-dnh

--
printk(KERN_EMERG "This is not a software problem!\n");
        linux-2.6.19/arch/x86_64/kernel/mce.c

--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: rpm check

Carlos E. R.-2
In reply to this post by Ken Schneider - openSUSE
On 2018-02-02 23:04, Ken Schneider - openSUSE wrote:

> On 02/01/2018 04:44 PM, Carlos E. R. wrote:
>> Hi,
>>
>> This machine crashed while YaST was updating it and installing things.
>> Hard crash, the filesystem
>> became R/O (the disk is removable, it is in a caddy). Bad filesystem
>> corruption, automatic fsck on
>> boot failed, had to fsck from another disk.
>>
>> So some files are broken, and I find them now and then. Thunar had
>> broken libraries, for instance.
>> Now there is another when I run VLC:
>>
>> cer@linux-backup:/tmp/mozilla_cer0> vlc
>> 27566544_559085681122620_5011855560279064576_n.mp4
>> vlc: error while loading shared libraries: /usr/lib64/libvlc.so.5:
>> file too short
>>
>>
>> So, is there a way to check all rpms in the system?
>>
>> I tried "rpm -qa V", but it lists all files, not rpms.
>>
>>
>> In the case of VLC I'm going to force update all installed packman
>> packages. Brute force attack.
>>
>
> Hi Carlos,
> Had similar issue this past weekend but in my case one of my ram modules
> decided to go on vacation while while running zypper dup. After
> reseating all of the ram modules and rebooting I ended up opening
> YaST-->Software Manager. I selected the repo view and forced an update
> of "All in this list". I let it run overnight and after a reboot all
> seems to be well since. I haven't run a mem test yet but I will if I
> have problems again with the system seizing.
I did that on the packman repo, for testing the procedure. Did not on
the XFCE repo, the other one that was selected when the system crashed.
But my "verify" found other packages that were not apparently from
either one. From instance, SuSEfirewall2 or grub2 were damaged.

--
Cheers / Saludos,

                Carlos E. R.

  (from 42.3 x86_64 "Malachite" (Minas Tirith))


signature.asc (220 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: rpm check

Carlos E. R.-2
In reply to this post by David Haller-4
On 2018-02-02 23:18, David Haller wrote:

> Hello,
>
> On Thu, 01 Feb 2018, Carlos E. R. wrote:
>> On 2018-02-01 23:00, Marcus Meissner wrote:
>>> What about
>>>
>>> rpm -Va
>>
>> No, lists files:
>
> $ rpm -qa | while read p ; do \
>     rpm --quiet -V "$p" || echo "$p"; \
>   done | tee /tmp/brocken_pkgs
>
> # zypper in -f $(</tmp/broken_pkgs)

Interesting - next time :-)


--
Cheers / Saludos,

                Carlos E. R.
                (from oS 42.3 "Malachite" (rescate 1))

--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]