Wonky system - comment on proposed CL for attempting a fix

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

Wonky system - comment on proposed CL for attempting a fix

Postby rAC » Jun 7th, '12, 13:37

https://forums.mageia.org/en/viewtopic.php?f=7&t=2685 Got me thinking as I had noticed that performance seemed to have slowed right down since moving from Mageia 1 to 2. In case its relevant that was (after a failed on line upgrade attempt) by a install from the DVD reformatting all Mageia partitions except for home, enabling the tainted and Nonfree repositories and installing the proprietary NVideia drivers (for a GTX 460).
So I ran
Code: Select all
rpm -V
and saw errors. The listing shows these:
Code: Select all
rpm -V bootsplash-3.3.9-1.mga2
S.5....T.  c /etc/sysconfig/bootsplash

rpm -V compositing-wm-common-2010.0-6.mga1
SM5....T.  c /etc/sysconfig/compositing-wm

rpm -V crontabs-1.10-15.mga1
.......T.  c /etc/crontab
 
rpm -V eterm-0.9.6-2.mga2
..5....T.    /usr/share/Eterm/pix/pixmaps.list

rpm -V filesystem-2.1.9-17.mga2
.M.......    /proc

rpm -V gdm-3.4.1-1.mga2
S.5....T.  c /etc/X11/gdm/custom.conf

rpm -V gnome-themes-standard-3.4.1-1.mga2
..5....T.    /usr/share/icons/HighContrast/icon-theme.cache

rpm -V harddrake-14.21-1.mga2
SM5....T.  c /etc/sysconfig/harddrake2/kernel
S.5....T.  c /etc/sysconfig/harddrake2/previous_hw

rpm -V icewm-light-1.3.7-8.mga2
S.5....T.    /usr/share/X11/icewm/menu

rpm -V indexhtml-1-7.mga2
S.5....T.    /usr/share/indexhtml/index.html

rpm -V info-install-4.13a-3.mga2
S.5....T.  c /etc/info-dir
rpm -V initscripts-9.34-20.mga2
..5....T.  c /etc/inittab
......G..    /etc/ppp/peers
S.5....T.  c /etc/sysctl.conf

rpm -V jpackage-utils-1.7.5-16.mga2
S.5....T.  c /etc/maven/maven2-depmap.xml

rpm -V kernel-desktop-3.3.6-2.mga2-1-1.mga2
S.5....T.    /lib/modules/3.3.6-desktop-2.mga2/modules.alias
S.5....T.    /lib/modules/3.3.6-desktop-2.mga2/modules.alias.bin
.......T.    /lib/modules/3.3.6-desktop-2.mga2/modules.builtin.bin
S.5....T.    /lib/modules/3.3.6-desktop-2.mga2/modules.dep
S.5....T.    /lib/modules/3.3.6-desktop-2.mga2/modules.dep.bin
.......T.    /lib/modules/3.3.6-desktop-2.mga2/modules.devname
.......T.    /lib/modules/3.3.6-desktop-2.mga2/modules.softdep
S.5....T.    /lib/modules/3.3.6-desktop-2.mga2/modules.symbols
S.5....T.    /lib/modules/3.3.6-desktop-2.mga2/modules.symbols.bin
rpm -V kernel-desktop-devel-3.3.6-2.mga2-1-1.mga2
.......T.    /usr/src/linux-3.3.6-desktop-2.mga2/.config
S.5....T.    /usr/src/linux-3.3.6-desktop-2.mga2/scripts/basic/fixdep
S.5....T.    /usr/src/linux-3.3.6-desktop-2.mga2/scripts/kconfig/conf

rpm -V kernel-server-3.3.6-2.mga2-1-1.mga2
S.5....T.    /lib/modules/3.3.6-server-2.mga2/modules.alias
S.5....T.    /lib/modules/3.3.6-server-2.mga2/modules.alias.bin
.......T.    /lib/modules/3.3.6-server-2.mga2/modules.builtin.bin
S.5....T.    /lib/modules/3.3.6-server-2.mga2/modules.dep
S.5....T.    /lib/modules/3.3.6-server-2.mga2/modules.dep.bin
.......T.    /lib/modules/3.3.6-server-2.mga2/modules.devname
.......T.    /lib/modules/3.3.6-server-2.mga2/modules.softdep
S.5....T.    /lib/modules/3.3.6-server-2.mga2/modules.symbols
S.5....T.    /lib/modules/3.3.6-server-2.mga2/modules.symbols.bin

rpm -V kmod-7-6.mga2
S.5....T.  c /etc/modprobe.conf
S.5....T.  c /etc/modprobe.preload


rpm -V libgcc1-4.6.3-2.mga2
missing     /usr/lib/libgcc_s.so.1

rpm -V mageia-release-common-2-4.mga2
.M.......  c /etc/sysconfig/system

rpm -V man-1.6g-6.mga2
missing     /var/cache/man/X11R6/cat1
missing     /var/cache/man/X11R6/cat2
missing     /var/cache/man/X11R6/cat3
missing     /var/cache/man/X11R6/cat4
missing     /var/cache/man/X11R6/cat5
missing     /var/cache/man/X11R6/cat6
missing     /var/cache/man/X11R6/cat7
missing     /var/cache/man/X11R6/cat8
missing     /var/cache/man/X11R6/cat9
missing     /var/cache/man/X11R6/catn
missing     /var/cache/man/cat1
missing     /var/cache/man/cat2
missing     /var/cache/man/cat3
missing     /var/cache/man/cat4
missing     /var/cache/man/cat5
missing     /var/cache/man/cat6
missing     /var/cache/man/cat7
missing     /var/cache/man/cat8
missing     /var/cache/man/cat9
missing     /var/cache/man/catn
missing     /var/cache/man/local/cat1
missing     /var/cache/man/local/cat2
missing     /var/cache/man/local/cat3
missing     /var/cache/man/local/cat4
missing     /var/cache/man/local/cat5
missing     /var/cache/man/local/cat6
missing     /var/cache/man/local/cat7
missing     /var/cache/man/local/cat8
missing     /var/cache/man/local/cat9
missing     /var/cache/man/local/catn

rpm -V mgaonline-2.77.33-1.mga2
SM5....T.  c /etc/sysconfig/mgaapplet

rpm -V msec-0.80.10-10.mga2
S.5....T.  c /etc/X11/xinit.d/msec
.......T.  c /etc/security/msec/perms.conf
SM5....T.  c /etc/security/msec/security.conf
.M5....T.    /usr/share/msec/config.pyo
.M5....T.    /usr/share/msec/libmsec.pyo
SM5....T.    /usr/share/msec/plugins/audit.pyo
SM5....T.    /usr/share/msec/plugins/msec.pyo
SM5....T.    /usr/share/msec/plugins/network.pyo
SM5....T.    /usr/share/msec/plugins/pam.pyo
SM5....T.    /usr/share/msec/plugins/sectool.pyo
.M5....T.    /usr/share/msec/version.pyo
.M....G..    /var/log/security
rpm -V msec-gui-0.80.10-10.mga2
.M5....T.    /usr/share/msec/help.pyo
rpm -V mtools-4.0.17-2.mga2
S.5....T.  c /etc/mtools.conf

rpm -V nfs-utils-clients-1.2.5-1.mga2
SM5....T.    /var/lib/nfs/state

rpm -V ntp-4.2.6p5-5.mga2
S.5....T.  c /etc/ntp.conf
S.5....T.  c /etc/ntp/step-tickers

rpm -V pam-1.1.5-1.mga2
S.5....T.  c /etc/pam.d/system-auth

rpm -V perl-XML-SAX-0.990.0-2.mga2
S.5....T.    /usr/lib/perl5/vendor_perl/5.14.2/XML/SAX/ParserDetails.ini

rpm -V php-pear-1.9.4-3.mga2
S.5....T.    /usr/share/pear/.depdb
.......T.    /usr/share/pear/.depdblock
S.5....T.    /usr/share/pear/.filemap
.......T.    /usr/share/pear/.lock

rpm -V plymouth-0.8.4-0.20111214.3.mga2
S.5....T.  c /etc/plymouth/plymouthd.conf

rpm -V ppp-2.4.5-6.mga2
missing     /var/run/ppp/resolv.conf

rpm -V pulseaudio-2.0-1.mga2
.......T.  c /etc/pulse/default.pa
.......T.  c /etc/sysconfig/pulseaudio
rpm -V pulseaudio-client-config-2.0-1.mga2
S.5....T.  c /etc/pulse/client.conf

rpm -V resolvconf-1.46-1.mga1
.......T.  c /var/run/resolvconf/enable-updates
....L....  c /var/run/resolvconf/resolv.conf

rpm -V rpm-4.9.1.3-2.mga2
S.5....T.  c /etc/rpm/macros
.....UG..    /usr/lib/rpm/fileattrs

rpm -V samba-common-3.6.5-2.mga2
.......T.  c /etc/samba/smb.conf

rpm -V setup-2.7.20-1.mga2
S.5....T.  c /etc/host.conf
S.5....T.  c /etc/shells
 
rpm -V sgml-common-0.6.3-19.mga1
S.5....T.  c /etc/xml/catalog
S.5....T.  c /usr/share/sgml/docbook/xmlcatalog

rpm -V shorewall-4.4.23.1-9.mga2
S.5....T.  c /etc/shorewall/interfaces
S.5....T.  c /etc/shorewall/masq
S.5....T.  c /etc/shorewall/policy
S.5....T.  c /etc/shorewall/rules
.......T.  c /etc/shorewall/shorewall.conf
S.5....T.  c /etc/shorewall/start
S.5....T.  c /etc/shorewall/stop
S.5....T.  c /etc/shorewall/zones

rpm -V texlive-20110705-5.mga2
....L....    /usr/bin/platex

rpm -V userdrake-1.13.6-1.mga2
SM5....T.  c /etc/sysconfig/userdrake

rpm -V x11-font-alias-1.0.3-2.mga1
S.5....T.    /usr/share/fonts/100dpi/fonts.dir
S.5....T.    /usr/share/fonts/100dpi/fonts.scale
S.5....T.    /usr/share/fonts/75dpi/fonts.dir
S.5....T.    /usr/share/fonts/75dpi/fonts.scale
S.5....T.    /usr/share/fonts/OTF/fonts.dir
S.5....T.    /usr/share/fonts/OTF/fonts.scale
S.5....T.    /usr/share/fonts/Speedo/fonts.dir
S.5....T.    /usr/share/fonts/Speedo/fonts.scale
S.5....T.    /usr/share/fonts/TTF/fonts.dir
S.5....T.    /usr/share/fonts/TTF/fonts.scale
S.5....T.    /usr/share/fonts/Type1/fonts.dir
S.5....T.    /usr/share/fonts/Type1/fonts.scale
S.5....T.    /usr/share/fonts/cyrillic/fonts.dir
S.5....T.    /usr/share/fonts/cyrillic/fonts.scale
S.5....T.    /usr/share/fonts/misc/fonts.dir
S.5....T.    /usr/share/fonts/misc/fonts.scale

rpm -V x11-font-encodings-1.0.4-1.mga1
S.5....T.    /usr/share/fonts/encodings/encodings.dir

rpm -V xinit-1.3.2-3.mga2
S.5....T.    /usr/bin/startx
rpm -V xinitrc-2.4.21-4.mga2
S.5....T.  c /etc/X11/xdm/Xservers

rpm -V xscreensaver-common-5.15-4.mga2
.......T.  c /etc/X11/app-defaults/XScreenSaver



I assume that I should
Code: Select all
urpmi -- replacefiles
for all the above listed packages
I am not very familiar with the command line would someone be kind enough to advise if there is an easy way to 'strip' these package names out of this file and into urpmi?
I am thinking
Code: Select all
cat errorlist | xarg -n 1 | urpmi --replacepaackage
but am very uncertain and I don't want to damage my system more:-)
Last edited by rAC on Jun 10th, '12, 07:47, edited 1 time in total.
rAC
 
Posts: 20
Joined: Sep 28th, '11, 11:23

Re: Wonky system - comment on proposed CL for attempting a f

Postby wintpe » Jun 7th, '12, 13:47

im not a fan of xargs, but a similar way using awk would be

cat errorlist|grep rpm | awk '{print $3}'|while read LINE
do
urpmi --replacepaackage ${LINE}
done


theres a dozen ways to do everything in programing, so pick what ever works for you.

regards peter
Redhat 6 Certified Engineer (RHCE)
Sometimes my posts will sound short, or snappy, however its realy not my intention to offend, so accept my apologies in advance.
wintpe
 
Posts: 1204
Joined: May 22nd, '11, 17:08
Location: Rayleigh,, Essex , UK

Re: Wonky system - comment on proposed CL for attempting a f

Postby isadora » Jun 7th, '12, 15:01

Please be so kind putting any output between [CODE]-tags to keep the forum readable, thanks.
..........bird from paradise..........

Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
—Antoine de Saint-Exupéry
User avatar
isadora
 
Posts: 2766
Joined: Mar 25th, '11, 16:03
Location: Netherlands

Re: Wonky system - comment on proposed CL for attempting a f

Postby rAC » Jun 10th, '12, 07:49

Sorry used List instead - have now changed to code.
rAC
 
Posts: 20
Joined: Sep 28th, '11, 11:23

Re: Wonky system - comment on proposed CL for attempting a f

Postby isadora » Jun 10th, '12, 08:58

Thanks, looks great now.
..........bird from paradise..........

Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
—Antoine de Saint-Exupéry
User avatar
isadora
 
Posts: 2766
Joined: Mar 25th, '11, 16:03
Location: Netherlands


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest