• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

Fehlerhaftes apt-Upgrade und ein komisches Verzeichnis

Stejo

Member
Hallo,

ja, so eine richtig gute Überschrift habe ich nicht gefunden...

Wenn ich mit apt eine Aktualisierung durchführen möchte, kommt oft eine Meldung wie z.B. bei amarok:
Code:
error: unpacking of archive failed on file /usr/share/locale/fr/LC_MESSAGES/libgpod.mo: cpio: rename failed - Die Operation ist nicht erlaubt

Wenn ich in das Verzeichnis gehe, sieht das für mich mehr als komisch aus und manche Dateien sind rot oder schwarz hinterlegt:

Code:
linux-home:/usr/share/locale/fr/LC_MESSAGES # ll
insgesamt 72871193605
?r-x-w-rw- 27769 1900652409 2524541257          2675536214 30. Apr 2030  a2ps.mo
-rw-r--r--     1 root       root                      8982 25. Nov 13:42 acl.mo
?r-x-w--wx 41849 1901259129 2977526099          3849941331  4. Jul 1932  apparmor-parser.mo
?r--rwx--x 45945 1899558009 3531174201          4000936249 10. Aug 1942  apparmor-utils.mo
?r-xr--r-x  1657 1902392185   58290533           796488037 13. Dez 1981  aspell.mo
-rw-r--r--     1 root       root                      5804 25. Nov 13:21 attr.mo
pr---wxrwT  6667  338037012  454760476           645464348 16. Nov 1975  beagle.mo
?r-srwsr-x 57721 2069482617 2809756210          2625207069 20. Jan 1908  bfd.mo
-rw-r--r--     1 root       root                       276 10. Sep 2005  binutils.mo
?r-xr-xr-x 17785 1903144057 4068045164          2625204589 27. Okt 2021  bison.mo
?r-xr-x-wx  7801 1902998393 3447288166          1870229866  7. Apr 1987  bison-runtime.mo
?r-x-w----   633 1901277561   24736080           913928528  9. Mai 1980  CheckHardware.mo
?rwSrwS--- 60537 2056374649 2927196903          1064925550 20. Jan 1908  coreutils.mo
-rw-r--r--     1 root       root                    237989 21. Jan 18:01 coreutils.mo;45b39c73
?-wS-wx--T 15993 2058127737 2423880349           158956184 29. Nov 1972  cpio.mo
-rw-r--r--     1 root       root                     18548 21. Jan 18:00 cpio.mo;45b39c42
-rw-r--r--     1 root       root                     18548 21. Jan 18:01 cpio.mo;45b39c51
-rw-r--r--     1 root       root                      9157 28. Nov 00:51 cpufrequtils.mo
-rw-r--r--     1 root       root                      1775 25. Nov 13:19 cracklib.mo
-rw-r--r--     1 root       root                    406819  6. Dez 14:32 desktop_translations.mo
-rw-r--r--     1 root       root                       745 25. Nov 13:19 dialog.mo
-rw-r--r--     1 root       root                     13375 10. Sep 2005  diffutils.mo
-rw-r--r--     1 root       root                     24395 21. Jan 18:00 diffutils.mo;45b39c2e
?-ws--x--t  9593 2049452665 2876865489           611941065 10. Jan 2000  e2fsprogs.mo
-rw-r--r--     1 root       root                     85768 21. Jan 18:00 e2fsprogs.mo;45b39c3d
-rw-r--r--     1 root       root                      8665 25. Nov 18:58 eject.mo
?r-x--xrwx 32377 1900986233 2188996943          2826531151  1. Nov 1912  enscript.mo
-rw-r--r--     1 root       root                     19366 25. Nov 13:31 findutils.mo
?r-xrw-rw- 59001 1902717049 3363402102           242839926  8. Dez 1964  flex.mo
-rw-r--r--     1 root       root                    214487 27. Nov 19:43 FontForge.mo
?r--rwx-w- 60025 1899831161  544829754           343503162 28. Aug 1968  freeciv.mo
?r-xr-x--x  7289 1902879097 2490986856          2457432425 13. Okt 2012  freetype.mo
?r--rwxrw-  3193 1899050873  729379134           746156350 28. Jan 1984  frozen-bubble.mo
?r-x--xr-x  6009 1900822649  410612045           997814605  3. Dez 1989  fvwm.mo
?r-x--x--x 19577 1900769913  192508232          1803120968 24. Mär 2020  FvwmScript.mo
?r-x--x-wx 27769 1900934265 1568239946          3581505867 16. Jun 1906  FvwmTaskBar.mo
-rw-r--r--     1 root       root                      1839 15. Jan 12:32 gas.mo
?r-Sr-s--x 35193 2055945593 3732503598           595164304 24. Aug 2035  gawk.mo
-rw-r--r--     1 root       root                      1374 15. Jan 12:32 gettext-runtime.mo
?r-x-wx-w- 45689 1901980793 2910417242          3883495770 24. Mär 1936  gettext-tools.mo
-rw-r--r--     1 root       root                     66453 27. Nov 20:33 gimp-print.mo
?r-x--xr-- 52345 1901002873 3380179276          4219040076 19. Jan 1950  gnokii.mo
c--xrws--t  2576  488049168  170272377               1, 14 12. Okt 1982  gnupg.mo
-rw-r--r--     1 root       root                       310 10. Sep 2005  gprof.mo
?rwSrwx-wt 13945 2075924089 2038004272          4252597607 24. Aug 1909  grep.mo
-rw-r--r--     1 root       root                     12487 21. Jan 18:01 grep.mo;45b39c63
p--Sr-SrwT 31004  505810204  219944221           370417446  1. Nov 1974  gutenprint.mo
-rw-r--r--     1 root       root                    124079 21. Jan 18:01 gutenprint.mo;45b39c59
?r--rwxrwx  2681 1899904889 1165586751           880374079  2. Sep 1985  hal.mo
-rw-r--r--     1 root       root                      4259 19. Jan 21:09 hal.mo;45b123d3
-rw-r--r--     1 root       root                      4259 20. Jan 10:03 hal.mo;45b1daed
-rw-r--r--     1 root       root                      4259 20. Jan 10:03 hal.mo;45b1daf0
-rw-r--r--     1 root       root                      4259 20. Jan 10:03 hal.mo;45b1daf1
-rw-r--r--     1 root       root                      4259 21. Jan 09:34 hal.mo;45b32580
-rw-r--r--     1 root       root                      4259 21. Jan 13:57 hal.mo;45b3632d
-rw-r--r--     1 root       root                      4259 21. Jan 14:02 hal.mo;45b36477
-rw-r--r--     1 root       root                      4259 27. Jan 08:32 hal.mo;45bb000a
-rw-r--r--     1 root       root                      4259 27. Jan 08:32 hal.mo;45bb000d
-rw-r--r--     1 root       root                      4259 27. Jan 15:56 hal.mo;45bb67b8
?-ws--xr-t 25209 2093878649  863599297          2843310797 30. Mär 1911  indent.mo
-rw-r--r--     1 root       root                     13693  2. Dez 22:48 ivman.mo
?r-Sr--r-t 24441 2054230905 4168710960          3229186853 29. Aug 1926  ld.mo
-rw-r--r--     1 root       root                    120888 25. Nov 11:59 libc.mo
-rw-r--r--     1 root       root                     23327 25. Nov 13:58 libexif-12.mo
-rw-r--r--     1 root       root                     14496 25. Nov 13:19 libgpg-error.mo
-rw-r--r--     1 root       root                     86634 22. Jan 12:16 libgphoto2-2.mo
-rw-r--r--     1 root       root                      5658 22. Jan 12:15 libgphoto2_port-0.mo
?--xrws--x 48249 2373566585 2356788601          3262759801 23. Dez 1931  libgpod.mo
?rwSrwx-wt 13945 2075924089 2038004272          4252597607 24. Aug 1909  libgpod.mo;45b123d3
-rw-r--r--     1 root       root                     10839 21. Jan 09:06 libgpod.mo;45b31efa
-rw-r--r--     1 root       root                     10839 21. Jan 09:35 libgpod.mo;45b32580
-rw-r--r--     1 root       root                     10839 21. Jan 13:57 libgpod.mo;45b3632d
-rw-r--r--     1 root       root                     10839 21. Jan 14:02 libgpod.mo;45b36477
-rw-r--r--     1 root       root                     10839 27. Jan 16:05 libgpod.mo;45bb67b8
-rw-r--r--     1 root       root                     10839  3. Feb 19:29 libgpod.mo;45c4d4a0
-rw-r--r--     1 root       root                     10839 11. Feb 10:21 libgpod.mo;45cee017
?r--rwxr-x 56185 1899762297  611938621           226062653  8. Dez 1964  libgtkhx.mo
?r-srwSr-t 29305 2051683449  209287950          2356772850  1. Mai 1946  libidn.mo
-rw-r--r--     1 root       root                     15214 25. Nov 16:49 libpq.mo
-rw-r--r--     1 root       root                      3056  4. Dez 22:58 libxine1.mo
-rw-r--r--     1 root       root                      6222 13. Nov 14:04 limal.mo
-rw-r--r--     1 root       root                      9118 25. Nov 13:46 Linux-PAM.mo
?r-s-wxr-t 22649 2110774393 1585019454          1920564060 28. Jan 1984  make.mo
?r-x-wxr-x 17785 1902090105  192508252          2205774173 12. Sep 2019  man-db.mo
?r--rw---x 59769 1898978169  779710769           276394289 11. Jun 1973  mc.mo
-rw-r--r--     1 root       root                     40920 26. Nov 00:02 net-tools.mo
---xrwx--- 32635 1283163000 1333492859 5294920875424383608 25. Aug 2035  NetworkManager.mo
?rwsr--rwT 14969 2099902585 2658762090          3514400106 13. Dez 1939  opcodes.mo
?r-x-w-r-- 61817 1901540217 4286148948           712601940  1. Mär 1977  pam_login.mo
-rw-r--r--     1 root       root                      6231 21. Jan 18:01 pam_login.mo;45b39c83
?rws--sr-- 34681 2056747129 2172222925          2373549517 12. Apr 1920  pam_pwcheck.mo
-rw-r--r--     1 root       root                      3302 21. Jan 18:01 pam_pwcheck.mo;45b39c77
?--s--xrwt 37497 2137897337  309951255          2574876662 25. Sep 1944  pam_unix2.mo
?r-xr-xrwx 38521 1903483769 1668903279          3615060335  5. Aug 1925  parted.mo
-rw-r--r--     1 root       root                     22216 21. Jan 18:01 parted.mo;45b39c7a
-rw-r--r--     1 root       root                      1952 25. Nov 12:32 popt.mo
?r--rwx-wx 54137 1899690873  729379131          4034490683 25. Nov 1955  power-management.mo
?r-xr----x 65401 1902132089 3581505889           863596897  1. Jun 1981  psmisc.mo
-rw-r--r--     1 root       root                       829 21. Jan 18:01 psmisc.mo;45b39c7c
?r-xr--rwx 13177 1901691513  930705766          1903784295 11. Jun 2015  quilt.mo
?r--rwxr-- 59513 1899958393 1333358908           158953788 28. Aug 1968  realplay.mo
?r-Sr----t 13945 2062912889  293174312          1383693089 16. Feb 1968  recode.mo
?r--rwx--- 42105 1899742329    7958840          3195629880 13. Jul 1924  rpm.mo
-rw-r--r--     1 root       root                     72995 21. Jan 18:02 rpm.mo;45b39c88
c----ws-wT  6182  219945496  372582009              31, 23 14. Apr 1990  sane-backends.mo
-rw-r--r--     1 root       root                     26743  9. Jan 05:18 sax.mo
?r-xr----- 34937 1902364025 3212407136          3212407136 30. Jun 1915  scpm.mo
?-wsrw--wt  9593 2090653561  276396854          1417247475  9. Jul 1907  sed.mo
-rw-r--r--     1 root       root                      9983 21. Jan 18:01 sed.mo;45b39c6f
?r-x-wxrwx 45433 1902051193 2524541279          4135154015 15. Jun 1948  shared-mime-info.mo
?r-x-wx--x 53625 1901794169 1752789337           226062681 10. Jan 1958  sharutils.mo
-rw-r--r--     1 root       root                     80341 15. Jan 23:27 smart.mo
?r-x---r-x 43385 1900344441 3027857733          3766055237 28. Okt 1937  subversion.mo
?r-s-----t 19065 2089907321 2407103297           343505620 19. Jan 1992  tar.mo
?r-xr---wx 24441 1902484601 1467576674          2306437475 28. Jan 2026  tcsh
?r-x-wx-wx  3961 1901745273 4202262875          1115255131 10. Aug 1984  texinfo.mo
?r-x---r-- 25465 1900451961 1098477895          2507764036 28. Mär 2037  util-linux.mo
?r-x-w-rwx 43385 1901519225 3044634967          3631837527 13. Dez 1939  vorbis-tools.mo
?rwSrwS-wx  2681 1903620217 1434022261           444169060 28. Okt 1979  wdiff.mo
?r-x-wxrw- 14201 1901100921 1316581713          1803120977  2. Apr 2012  wget.mo
-rw-r--r--     1 root       root                     90871 15. Dez 17:29 wxstd.mo
-rw-r--r--     1 root       root                     70226  3. Dez 18:00 xmms.mo
?r-x---rw- 62329 1899573881   58290502           796488006  7. Feb 1976  xmoto.mo
dr-xrwx--- 15480  209207416  259538296          1115177848  9. Jan 2000  xscreensaver.mo
c--xrws--t  2576  645466640  168830585              26, 27 17. Jul 1978  zen-updater.mo
-rw-r--r--     1 root       root                     11357 27. Nov 19:48 zvbi.mo
-r-xrwx--x 31864 1299742841 1282964856 6230826259563774841 18. Jan 2034  zypp.mo
-rw-r--r--     1 root       root                     43115 19. Jan 19:47 zypp.mo;45b11247
-rw-r--r--     1 root       root                     43115 19. Jan 19:47 zypp.mo;45b11251
-rw-r--r--     1 root       root                     13375 10. Sep 2005  zypp.mo;45b1125c
-rw-r--r--     1 root       root                     43115 19. Jan 21:11 zypp.mo;45b123d3

Z.B. hat die Datei sed.mo ein Dateidatum von 1907 :D

Kann ich das Problem beheben, indem ich alle Berechtigungen auf -rw-r--r-- setze?
Ich nutze openSuse 10.2 Kernel 2.6.18.2-34-default mit KDE 3.5.6

Stejo
 

oc2pus

Ultimate Guru
das sieht eher nach einem "kaputten" Filesystem aus.

du solltest schleunigst mal fsck für die betroffene Partition durchführen.
 
OP
Stejo

Stejo

Member
Ich habe versucht, mit der Reparaturfunktion der Suse-DVD die Fehler zu beheben. Es wurde mir auch ein Fehler auf hdb5 angezeigt. Leider übersprang das Programm die Fehlerbehebung. Ich habe dann in meinem jugendlichen Leichtsinn auf Abbrechen gedrückt. Nun öffnet sich das DVD-Laufwerk nicht mehr (das gilt auch für Windows). Beim Booten wird das Laufwerk auch nicht mehr beachtet. Ich habe mich nun dazu entschlossen, das Betriebssystem neu aufzuspielen (da scheint auch etwas beim Update von 10.1 auf 10.2 schief gegangen zu sein), wenn ich mal etwas Zeit habe.

Nur wie komme ich an meine DVD im Laufwerk?

Stejo
 

Grothesk

Ultimate Guru
Über den Notauswurf.
Da müsste ein kleines Loch in der Schublade sein, da mit einer Büroklammer reinstechen, CD kommt raus. Das ganze am besten im ausgeschalteten Zustand.
 
OP
Stejo

Stejo

Member
Den Notauswurf habe ich noch nie gebraucht - man lernt eben nicht aus :D .

Ich habe im Reparaturmodus mal e2fsck -p /dev/hdb5 eingegeben. Da kommt nur die Meldung "clean" :?

Was passiert, wenn ich diesen Befehl über das gemountete Verzeichnis laufen lasse? Aushängen geht nicht, da immer die Meldung kommt, dass darauf noch zugegriffen wird.

Stejo
 
OP
Stejo

Stejo

Member
Ich habe fsck und e2fsck ausgeführt. Das Verzeichnis ist immer noch total daneben. Ich kann als root keine Dateirechte ändern oder die Dateien entfernen.
Gibt es noch eine Möglichkeit?

Stejo

PS: Vielleicht kann mal ein Admin den Thread verschieben, da er nun mit apt nicht mehr viel zu tun hat.
 
Oben