LinHES Forums
http://forums.linhes.org/

LinHES R6 - pacman -Syu problem
http://forums.linhes.org/viewtopic.php?f=11&t=20344
Page 1 of 1

Author:  rod821 [ Tue Oct 06, 2009 7:33 pm ]
Post subject:  LinHES R6 - pacman -Syu problem

I have been running a front end R6 release for a couple of months now on a Atom-Ion board. The last time I tried to update LinHES it failed to update with:

Code:
# pacman -Syu
:: Synchronizing package databases...
 core-testing             116.2K  193.0K/s 00:00:01 [#####################] 100%
 extra-testing             54.4K  122.8K/s 00:00:00 [#####################] 100%
:: Starting full system upgrade...
resolving dependencies...
looking for inter-conflicts...

Targets (13): mythinstall-1-13  LinHES-config-2.1-1  LinHES-system-1.0-70
              filesystem-2009.01-2  libjpeg-7-7  linhes-scripts-1-35
              linhes-theme-1-10  libjpeg6-6b-11  mjpegtools-1.9.0-11
              php-5.2.6-23  mythappletrailers-0.04.3-35  pil-1.1.6-11
              mytharchive-0.21-10

Total Download Size:    16.68 MB
Total Installed Size:   47.12 MB

Proceed with installation? [Y/n] y
:: Retrieving packages from core-testing...
 libjpeg-7-7-i686         302.7K  304.3K/s 00:00:01 [#####################] 100%
 libjpeg6-6b-11-i686      207.1K  257.5K/s 00:00:01 [#####################] 100%
 mjpegtools-1.9.0-11...  1156.3K  552.3K/s 00:00:02 [#####################] 100%
 pil-1.1.6-11-i686        418.6K  339.4K/s 00:00:01 [#####################] 100%
 mytharchive-0.21-10...    14.6M  712.0K/s 00:00:21 [#####################] 100%
checking package integrity...
(13/13) checking for file conflicts                 [#####################] 100%
error: could not prepare transaction
error: failed to commit transaction (conflicting files)
/etc/issue exists in both 'LinHES-config' and 'filesystem'
Errors occurred, no packages were upgraded.


Any ideas on how to recover the updates?

Rod

Author:  manicmike [ Tue Oct 06, 2009 8:49 pm ]
Post subject:  Re: LinHES R6 - pacman -Syu problem

I had the same problem a few days ago. Possibly the wrong way to do it, but I resolved it by adding the force flag (-f) to pacman. The file in question, /etc/issue, isn't very important (it contains the text that gets printed to your terminal when you log into your machine).

Mike

Author:  paulsid [ Wed Oct 07, 2009 9:55 am ]
Post subject: 

Happened to see this yesterday when I was reading up on Arch in preparation for an R6 upgrade. See question #3:

http://wiki.archlinux.org/index.php/Pac ... ement_FAQs

Author:  graysky [ Wed Oct 07, 2009 1:25 pm ]
Post subject: 

Same thing happened to me when I upgraded my pre R6.01.00 box to R6.01.00 as well. Simply adding the force flag worked. (pacman -Syuf). I dare say that this is a small but harmless bug. I opened a ticket on it a few days ago.

@rod - please go to that ticket I started and post your result there so the devs can see that it's more than on box.

Author:  rod821 [ Wed Oct 07, 2009 3:43 pm ]
Post subject: 

Thanks, the "force" option did the trick.
I will comment on your ticket as well graysky.

Code:
# pacman -Syuf
:: Synchronizing package databases...
 core-testing is up to date
 extra-testing is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for inter-conflicts...

Targets (13): mythinstall-1-13  LinHES-config-2.1-1  LinHES-system-1.0-70
              filesystem-2009.01-2  libjpeg-7-7  linhes-scripts-1-35
              linhes-theme-1-10  libjpeg6-6b-11  mjpegtools-1.9.0-11
              php-5.2.6-23  mythappletrailers-0.04.3-35  pil-1.1.6-11
              mytharchive-0.21-10

Total Download Size:    0.00 MB
Total Installed Size:   47.12 MB

Proceed with installation? [Y/n] y
checking package integrity...
( 1/13) upgrading mythinstall                       [#####################] 100%
( 2/13) upgrading LinHES-config                     [#####################] 100%
status 1
( 3/13) upgrading LinHES-system                     [#####################] 100%
ln: creating symbolic link `/etc/cron.daily/myth_mtc.sh': File exists
( 4/13) upgrading filesystem                        [#####################] 100%
warning: extracting /etc/shadow as /etc/shadow.pacnew
warning: extracting /etc/ld.so.conf as /etc/ld.so.conf.pacnew
warning: extracting /etc/fstab as /etc/fstab.pacnew
warning: extracting /etc/group as /etc/group.pacnew
warning: extracting /etc/passwd as /etc/passwd.pacnew
warning: directory permissions differ on root/
filesystem: 755  package: 750
warning: directory permissions differ on tmp/
filesystem: 777  package: 1777
( 5/13) upgrading libjpeg                           [#####################] 100%
( 6/13) upgrading linhes-scripts                    [#####################] 100%
( 7/13) upgrading linhes-theme                      [#####################] 100%
( 8/13) installing libjpeg6                         [#####################] 100%
( 9/13) upgrading mjpegtools                        [#####################] 100%
(10/13) upgrading php                               [#####################] 100%
sed: -e expression #1, char 40: unknown option to `s'

    ==> Review your php.ini

    Your php installation has been updated. You should review your current
    php.ini and check any upstream changes according to the default
    configuration which can be found at php.ini.pacnew.

Optional dependencies for php
    bzip2: bz2
    curl: curl
    gdbm: dba
    libpng: gd
    libjpeg: gd
    freetype2: gd
    pam: imap
    libldap: ldap
    mcrypt: mcrypt
    libtool: mcrypt
    libmysqlclient: mysql/mysqli
    unixodbc: odbc/pdo_odbc
    openssl: openssl
    postgresql-libs: pgsql/pdo_pgsql
    aspell: pspell
    net-snmp: snmp
    sqlite3: sqlite
    tidyhtml: tidy
    libxslt: xsl
(11/13) upgrading mythappletrailers                 [#####################] 100%
(12/13) upgrading pil                               [#####################] 100%
(13/13) upgrading mytharchive                       [#####################] 100%


Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/