You are not logged in.

#1 2003-09-28 03:51:57

kritoke
Member
From: Texas, USA
Registered: 2003-08-01
Posts: 211
Website

The Huge Update Today Caused Pacman to Crash

Pacman crashed during the update of all the packages today, it finished updating it all the files and then it did a Segmentation Fault, so I wonder if there is some type of bug dealing with large amounts of updates in one time period.  Anyone else have this problem?

Here is my log of the update:

[root@archlinux kritoke]# pacman -Syu
:: Synchronizing package databases...
 current.db.tar.gz        [####################################] 100% |     34K
 unofficial.db.tar.gz     [####################################] 100% |     65K
 unstable.db.tar.gz       [####################################] 100% |      0K
:: replace sh-utils with coreutils from "current"? [Y/n] y
:: replace fileutils with coreutils from "current"? [Y/n] y
:: replace textutils with coreutils from "current"? [Y/n] y
 
Remove:  sh-utils fileutils textutils
 
Targets: coreutils-5.0-1 gcombust-0.1.55-1 gtk-xfce-engine-2.1.6-1
         libxfce4mcs-4.0.0-1 libxfce4util-4.0.0-1 libxfcegui4-4.0.0-1
         menumaker-0.13.1-1 openal-20032409-1 openoffice-1.1rc5-1
         xfce-mcs-manager-4.0.0-1 xfce-mcs-plugins-4.0.0-1 xfce-utils-4.0.0-1
         xfce4-iconbox-4.0.0-1 xfce4-mixer-4.0.0-1 xfce4-panel-4.0.0-1
         xfce4-systray-4.0.0-1 xfce4-themes-4.0.0-1 xfce4-toys-4.0.0-1
         xfce4-trigger-launcher-4.0.0-1 xfdesktop-4.0.0-1 xffm-4.0.0-1
         xffm-icons-4.0.0-1 xfprint-4.0.0-1 xfwm4-4.0.0-1 xfwm4-themes-4.0.0-1
 
Proceed with upgrade? [Y/n] y
 
:: Retrieving packages from current...
 coreutils-5.0-1.pkg.tar. [####################################] 100% |   2078K
 gtk-xfce-engine-2.1.6-1. [####################################] 100% |     23K
 libxfce4mcs-4.0.0-1.pkg. [####################################] 100% |     31K
 libxfce4util-4.0.0-1.pkg [####################################] 100% |     13K
 libxfcegui4-4.0.0-1.pkg. [####################################] 100% |    204K
 xfce-mcs-manager-4.0.0-1 [####################################] 100% |    106K
 xfce-mcs-plugins-4.0.0-1 [####################################] 100% |    171K
 xfce-utils-4.0.0-1.pkg.t [####################################] 100% |    288K
 xfce4-iconbox-4.0.0-1.pk [####################################] 100% |     44K
 xfce4-mixer-4.0.0-1.pkg. [####################################] 100% |     36K
 xfce4-panel-4.0.0-1.pkg. [####################################] 100% |    625K
 xfce4-systray-4.0.0-1.pk [####################################] 100% |     10K
 xfce4-themes-4.0.0-1.pkg [####################################] 100% |    320K
 xfce4-toys-4.0.0-1.pkg.t [####################################] 100% |     40K
 xfce4-trigger-launcher-4 [####################################] 100% |     18K
 xfdesktop-4.0.0-1.pkg.ta [####################################] 100% |   1627K
 xffm-4.0.0-1.pkg.tar.gz  [####################################] 100% |    636K
 xffm-icons-4.0.0-1.pkg.t [####################################] 100% |   4596K
 xfprint-4.0.0-1.pkg.tar. [####################################] 100% |     86K
 xfwm4-4.0.0-1.pkg.tar.gz [####################################] 100% |    357K
 xfwm4-themes-4.0.0-1.pkg [####################################] 100% |    426K
 
:: Retrieving packages from unofficial...
 gcombust-0.1.55-1.pkg.ta [####################################] 100% |    293K
 menumaker-0.13.1-1.pkg.t [####################################] 100% |     44K
 openal-20032409-1.pkg.ta [####################################] 100% |    206K
 openoffice-1.1rc5-1.pkg. [####################################] 100% |  83308K
 
removing sh-utils... done.
removing fileutils... done.
removing textutils... done.
loading package data... done.
checking for file conflicts... done.
installing coreutils... done.
upgrading gcombust... done.
upgrading gtk-xfce-engine... done.
upgrading libxfce4mcs... done.
upgrading libxfce4util... done.
upgrading libxfcegui4... done.
upgrading menumaker... done.
upgrading openal... done.
upgrading openoffice... done.
>>
>>  Run /opt/openoffice/setup to setup OpenOffice for a regular user
>>
>>  Run ~/OpenOffice.org1.1.0/soffice to start OpenOffice
>>
upgrading xfce-mcs-manager... done.
upgrading xfce-mcs-plugins... done.
upgrading xfce-utils... done.
upgrading xfce4-iconbox... done.
upgrading xfce4-mixer... done.
upgrading xfce4-panel... done.
upgrading xfce4-systray... done.
upgrading xfce4-themes... done.
upgrading xfce4-toys... done.
upgrading xfce4-trigger-launcher... done.
upgrading xfdesktop... done.
upgrading xffm... done.
upgrading xffm-icons... done.
upgrading xfprint... done.
upgrading xfwm4... done.
upgrading xfwm4-themes... done.
Segmentation fault

Kritoke


http://counter.li.org/ Registered Linux User #318963 kritoke@jabber.org

Offline

#2 2003-09-28 05:44:04

sud_crow
Member
From: Argentina
Registered: 2003-06-30
Posts: 546
Website

Re: The Huge Update Today Caused Pacman to Crash

Mine had a similar, didnt crash but wont update coreutils:

[root@archcrow crow]# pacman -S coreutils

Targets: coreutils-5.0-1

Proceed with upgrade? [Y/n] y

loading package data... done.
checking for file conflicts...
error: the following file conflicts were found:
  /bin/cat: exists in filesystem
  /bin/chgrp: exists in filesystem
  /bin/chmod: exists in filesystem
  /bin/chown: exists in filesystem
  /bin/cp: exists in filesystem
  /bin/date: exists in filesystem
  /bin/dd: exists in filesystem
  /bin/df: exists in filesystem
  /bin/dir: exists in filesystem
  /bin/dircolors: exists in filesystem
  /bin/du: exists in filesystem
  /bin/echo: exists in filesystem
  /bin/false: exists in filesystem
  /bin/install: exists in filesystem
  /bin/ln: exists in filesystem
  /bin/ls: exists in filesystem
  /bin/mkdir: exists in filesystem
  /bin/mkfifo: exists in filesystem
  /bin/mknod: exists in filesystem
  /bin/mv: exists in filesystem
  /bin/pwd: exists in filesystem
  /bin/rm: exists in filesystem
  /bin/rmdir: exists in filesystem
  /bin/shred: exists in filesystem
  /bin/stty: exists in filesystem
  /bin/sync: exists in filesystem
  /bin/touch: exists in filesystem
  /bin/true: exists in filesystem
  /bin/uname: exists in filesystem
  /bin/vdir: exists in filesystem
  /usr/bin/: exists in filesystem
  /usr/bin/basename: exists in filesystem
  /usr/bin/cksum: exists in filesystem
  /usr/bin/comm: exists in filesystem
  /usr/bin/csplit: exists in filesystem
  /usr/bin/cut: exists in filesystem
  /usr/bin/dirname: exists in filesystem
  /usr/bin/env: exists in filesystem
  /usr/bin/expand: exists in filesystem


I cant do a full pacman -Syu because i wont download all those pkgs i dont need. And if i dont do it that way, seems that this step is not taken:

:: replace sh-utils with coreutils from "current"? [Y/n]
:: replace fileutils with coreutils from "current"? [Y/n]
:: replace textutils with coreutils from "current"? [Y/n]

solutions please?? should i remove with pacman -R sh-utils etc...??


Leonardo Andrés Gallego
www.archlinux-es.org || Comunidad Hispana de Arch Linux

Offline

#3 2003-09-28 07:38:37

sarah31
Member
From: Middle of Canada
Registered: 2002-08-20
Posts: 2,975
Website

Re: The Huge Update Today Caused Pacman to Crash

pacman -Sf coreutils or pacman -Syuf

if you have gotten a segfault likely you will get an error about pacman being locked (i got that on my other box). if that is the case you will likely not be able to use rm (as it has been uninstalled) to get rid of the pacman.lck file. so you will have to reboot (and get lots of errors). then pacman -Sf coreutils on reboot. then reboot again.

everything should be ok then you can pacman -Syu like normal.

the only other conflict you may get is with readlink, which is provided by tetex (if you have that installed), both readlinks perform the same function and i have yet to find out if there is any problem for tetex by replacing its readlink with coreutils' readlink.


AKA uknowme

I am not your friend

Offline

#4 2003-09-28 08:17:32

sud_crow
Member
From: Argentina
Registered: 2003-06-30
Posts: 546
Website

Re: The Huge Update Today Caused Pacman to Crash

Crap... now im worried:

[root@archcrow root]# pacman -Sf coreutils
:: coreutils-5.0-1: is up to date.  Upgrade anyway? [Y/n] y

Targets: coreutils-5.0-1

Proceed with upgrade? [Y/n] y

loading package data... done.
checking for file conflicts... done.
upgrading coreutils... could not extract usr/share/locale/da/LC_MESSAGES/coreutils.mo: Too many levels of symbolic links
errors occurred while upgrading coreutils
done.
[root@archcrow root]#


Leonardo Andrés Gallego
www.archlinux-es.org || Comunidad Hispana de Arch Linux

Offline

#5 2003-09-28 09:59:42

Mork II
Member
From: Visby, Sweden
Registered: 2003-05-14
Posts: 87

Re: The Huge Update Today Caused Pacman to Crash

I got a segfault as well (upgraded coreutils, gcombust, icewm and openoffice). It came last, after upgrading Open Office. Everything appears to be working though.

//Edit: Oh, and I had to rm /tmp/pacman.lck //

Offline

#6 2003-09-28 21:59:14

apeiro
Daddy
From: Victoria, BC, Canada
Registered: 2002-08-12
Posts: 771
Website

Re: The Huge Update Today Caused Pacman to Crash

don't worry about the segfault, it should be occuring after all the normal pacman stuff, so your packages are still upgraded properly.  The segfault is tied to the new replaces code somehow, I'll take a look at it soon.

sud_crow: If you really want to install coreutils without --sysupgrade, you should do it as follows:

# pacman -Rd sh-utils fileutils textutils
# pacman -S coreutils

Offline

#7 2003-09-29 18:10:06

jlowell
Member
Registered: 2003-08-10
Posts: 270

Re: The Huge Update Today Caused Pacman to Crash

I noticed the same phenomenon when running pacman -Syu two nights ago, lots of upgrades plus the option to replace sh-utils and one other package with coreutils. Frankly, not knowing the full import of making changes of this kind and working on the principal if-it-ain't-broke-don't-fix-it, I simply elected "no" and pacman finished it's work. There was no freeze or any other negative result. But maybe now is the right time to ask this question: What would have been the advantage of replacing the relevant packages with coreutils anyway? Might someone address that point?

jlowell

Offline

#8 2003-09-29 20:45:03

sarah31
Member
From: Middle of Canada
Registered: 2002-08-20
Posts: 2,975
Website

Re: The Huge Update Today Caused Pacman to Crash

i am just guessing with this ...but coreutils replaces a large number of once separate core utility packages. therefore, for example, when coreutils upgrades you wil get a new sh-utils (or whatever it is called in coreutils) while the person who stuck with the current sh-utils will no longer get any upgrades anymore as this package no longer is a separate package.

this is just a guess as i have not really investigated whether or not sh-utils, etc were actually removed from the repository.


AKA uknowme

I am not your friend

Offline

#9 2003-09-29 21:39:45

contrasutra
Member
From: New Jersey
Registered: 2003-07-26
Posts: 507

Re: The Huge Update Today Caused Pacman to Crash

The upgrade worked fine here.

Except at the very end, after it said it was done upgrading everything, it froze.


"Contrary to popular belief, penguins are not the salvation of modern technology.  Neither do they throw parties for the urban proletariat."

Offline

#10 2003-09-29 22:00:33

marin_linuxer
Member
From: San Rafael, CA U.S.A.
Registered: 2003-09-03
Posts: 111
Website

Re: The Huge Update Today Caused Pacman to Crash

Same, here.  When finished, last item ...=DONE, but froze.

I did a CTRL-C and all seemed OK(!?).


-- Linux!  Isn't it time?

Offline

Board footer

Powered by FluxBB