LinHES Forums http://forum.linhes.org/ |
|
Upgrade error http://forum.linhes.org/viewtopic.php?f=22&t=22040 |
Page 1 of 1 |
Author: | tophee [ Sun Feb 27, 2011 5:41 am ] |
Post subject: | Upgrade error |
Hi, Excitedly I have been waiting to try the latest roll out of LinHES. I was away on holiday, so this is the first opportunity I had, but it ended in failure to complete. A bit of a disappointment. Anyhoo, I tried to followed Cecil's instructions, like so: Code: sudo mythbackup sudo sv stop mythbackend sudo pacman -Syu sudo sv start mythbackend but it doesn't complete. I get this error message: Code: error: failed to commit transaction (conflicting files)
perl-time-hires: /usr/lib/perl5/core_perl/perllocal.pod exists in filesystem Errors occured, no packages were upgraded. Think I transcribed that correctly. Any help would be appreciated. Thanks in advance. |
Author: | mihanson [ Sun Feb 27, 2011 10:23 am ] |
Post subject: | Re: Upgrade error |
tophee wrote: Code: error: failed to commit transaction (conflicting files) perl-time-hires: /usr/lib/perl5/core_perl/perllocal.pod exists in filesystem Errors occured, no packages were upgraded. Specifically, what packages was pacman trying to upgrade? Find out what package owns that file: Code: $ sudo pacman -Qo /usr/lib/perl5/core_perl/perllocal.pod If no package owns it, move it out of the way and -Syu again. Code: $ sudo mv /usr/lib/perl5/core_perl/perllocal.pod /usr/lib/perl5/core_perl/perllocal.pod.save && sudo pacman -Syu
|
Author: | tophee [ Tue Mar 01, 2011 4:09 pm ] |
Post subject: | |
Thanks Mike, you sorted me right out there. The file did not have a owner. Using your line of code I was able to complete my upgrade smoothly. Much appreciated. Thanks. Chris |
Author: | Ozdemon [ Sat Mar 12, 2011 3:39 pm ] |
Post subject: | Install error |
Thanks Mike, I had the same problem which was instantly solved with your solution. |
Author: | stevenj [ Sun Jan 15, 2012 5:19 pm ] |
Post subject: | |
I'm getting the same error on one of my slave BE/FE machines when attempting to upgrade from R6.04 to R7.1. Doing a pacman -Sy lines-scripts gives me a: Code: error: failed to commit transaction (conflicting files) mencoder: /usr/bin/mencoder exists in filesystem Errors occurred, no packages were upgraded. error and won't continue. My question is whether it's safe to rename mencoder for this upgrade? I'm guessing it is since this is a major upgrade and will likely upgrade everything but just want to ask before proceeding. Thanks for any help. Steve |
Author: | jams [ Mon Jan 16, 2012 8:34 am ] |
Post subject: | |
yeah it's safe to rename mencode for the upgrade. |
Author: | mattbatt [ Mon Jan 16, 2012 1:35 pm ] |
Post subject: | |
the easiest way to upgrade is to start with a fresh drive install from disc and then import the backup. |
Author: | Golffies [ Thu Sep 20, 2012 2:53 pm ] |
Post subject: | Re: Upgrade error |
Upgrading from R6.04, I worked around the same issue by renaming the existing mencoder binary as you did. Code: sudo pacman -Sy linhes-scripts :: Synchronizing package databases... core 135.0K 65.6K/s 00:00:02 [#####################] 100% extra 82.7K 65.5K/s 00:00:01 [#####################] 100% resolving dependencies... looking for inter-conflicts... Targets (18): screen-4.0.3-12 recode-3.6-6 enca-1.13-1 libvpx-0.9.5-1 libdca-0.0.5-1 opencore-amr-0.1.2-1 orc-0.4.11-1 schroedinger-1.0.9-1 mpg123-1.12.3-1 libass-0.9.13-1 mencoder-33805-4 vorbis-tools-1.4.0-2 normalize-0.7.7-6 handbrake-cli-0.9.8-1 libebml-1.2.2-1 libmatroska-1.3.0-1 mkvtoolnix-5.0.1-1 linhes-scripts-7-45 Total Download Size: 0.00 MB Total Installed Size: 51.50 MB Proceed with installation? [Y/n] Y checking package integrity... (18/18) checking for file conflicts [#####################] 100% error: failed to commit transaction (conflicting files) mencoder: /usr/bin/mencoder exists in filesystem Errors occurred, no packages were upgraded. An entry on Archilinux Wiki gave me a first idea about the possible workaround: Code: The issue is usually trivial to solve. A safe way is to first check if another package owns the file (pacman -Qo /path/to/file). If the file is owned by another package, file a bug report. If the file is not owned by another package, rename the file which 'exists in filesystem' and re-issue the update command. If all goes well, the file may then be removed. Then Code: pacman -Qo /usr/bin/mencoder /usr/bin/mencoder is owned by mplayer 29438-1 sudo mv /usr/bin/mencoder /usr/bin/mencoder.exists Then Code: sudo pacman -Sy linhes-scripts :: Synchronizing package databases... core is up to date extra is up to date resolving dependencies... looking for inter-conflicts... Targets (18): screen-4.0.3-12 recode-3.6-6 enca-1.13-1 libvpx-0.9.5-1 libdca-0.0.5-1 opencore-amr-0.1.2-1 orc-0.4.11-1 schroedinger-1.0.9-1 mpg123-1.12.3-1 libass-0.9.13-1 mencoder-33805-4 vorbis-tools-1.4.0-2 normalize-0.7.7-6 handbrake-cli-0.9.8-1 libebml-1.2.2-1 libmatroska-1.3.0-1 mkvtoolnix-5.0.1-1 linhes-scripts-7-45 Total Download Size: 0.00 MB Total Installed Size: 51.50 MB Proceed with installation? [Y/n] Y checking package integrity... (18/18) checking for file conflicts [#####################] 100% ( 1/18) installing screen [#####################] 100% ( 2/18) installing recode [#####################] 100% ( 3/18) installing enca [#####################] 100% ( 4/18) installing libvpx [#####################] 100% ( 5/18) installing libdca [#####################] 100% ( 6/18) installing opencore-amr [#####################] 100% ( 7/18) installing orc [#####################] 100% ( 8/18) installing schroedinger [#####################] 100% ( 9/18) installing mpg123 [#####################] 100% Optional dependencies for mpg123 esound: for additional audio support sdl: for additional audio support (10/18) installing libass [#####################] 100% (11/18) installing mencoder [#####################] 100% (12/18) installing vorbis-tools [#####################] 100% (13/18) installing normalize [#####################] 100% (14/18) installing handbrake-cli [#####################] 100% (15/18) installing libebml [#####################] 100% (16/18) installing libmatroska [#####################] 100% (17/18) installing mkvtoolnix [#####################] 100% (18/18) upgrading linhes-scripts [#####################] 100% Applying ACL fix and remounting / Adding ACL Adding ACL A new mencoder binary actually got installed : Code: ls -lah /usr/bin/mencoder* -rwxr-xr-x 1 root root 11M 2012-07-31 04:24 /usr/bin/mencoder -rwxr-xr-x 1 root root 7.8M 2009-07-25 02:28 /usr/bin/mencoder.exists But... Upgrading with sudo upgrade_linhes.sh failed with unpleasant "unresolvable package conflicts" Here is a copy of the upper window displayed by the script in the console : Code: ==> Done. Removing misc outdated packages error: 'hauppauge-hvr-firmware': target not found Resyncing with repository Stopping the backend. Backing up Online Streams listings. Removing mythcontrol and mythphone if installed. Performing complete system upgrade. This may take some time depending on your connection speed. Server bandwidth utilization will also have an affect. Please be patient. Restoring Online Streams listings. removing portmap wget: error while loading shared libraries: libssl.so.0.9.8: cannot open shared object file: No such file or directory mv: cannot stat `/tmp/wallpaper.png': No such file or directory All done! Thanks for choosing LinHES! Press <ENTER> to reboot. Lower window: Code: 0 upgrade :: Replace pkgconfig with core/pkg-config? [Y/n] :: Replace policykit with extra/polkit? [Y/n] :: Replace portmap with core/rpcbind? [Y/n] :: Replace procinfo with core/procinfo-ng? [Y/n] :: Replace python with core/python2? [Y/n] :: Replace rt2500 with core/kernel26? [Y/n] :: Replace rt2x00-rt61-fw with core/linux-firmware? [Y/n] :: Replace rt2x00-rt71w-fw with core/linux-firmware? [Y/n] :: Replace spidermonkey with extra/js? [Y/n] :: Replace util-linux-ng with core/util-linux? [Y/n] :: Replace xf86-video-amd with core/xf86-video-geode? [Y/n] resolving dependencies... warning: dependency cycle detected: warning: fluxbox will be installed before its LinHES-system dependency warning: dependency cycle detected: warning: runit will be installed before its initscripts dependency warning: dependency cycle detected: warning: runit will be installed before its poweroff-scripts dependency warning: dependency cycle detected: warning: poweroff-scripts will be installed before its sysvinit dependency looking for inter-conflicts... error: failed to prepare transaction (conflicting dependencies) error: unresolvable package conflicts detected :: mythtv and mythvideo are in conflict 1 progress What might be my best next step ? Upgrade from the ISO ? Have the customizations I did previously on my LinHES box (squeezeboxserver, pcscd, lirc config files for my remote control) a chance to be preserved that way too ? |
Author: | mattbatt [ Thu Oct 11, 2012 8:48 pm ] |
Post subject: | Re: Upgrade error |
that's exactly what mine says even the libSSL bit. any ideas how to get around this? |
Author: | mattbatt [ Thu Oct 11, 2012 9:18 pm ] |
Post subject: | Re: Upgrade error |
Typing this live so that I don't forget what happened Saw this Code: [2012-10-11 22:47] >>> ATTENTION! ATTENTION! ATTENTION! [2012-10-11 22:47] >>> /etc/pacman.conf has changed. If you have customized your [2012-10-11 22:47] >>> pacman.conf file, please merge your changes into [2012-10-11 22:47] >>> /etc/pacman.conf.pacnew. Backup your old pacman.conf and [2012-10-11 22:47] >>> then move pacman.conf.pacnew to pacman.conf moved the correct pacman.conf.pacnew to pacman.conf so that it would pull from the correct repository The next lines don't matter what version the pacman.conf file is so I didn't have to re-do them. Code: [2012-10-11 22:47] >>> [2012-10-11 22:47] upgraded pacman (3.3.3-10 -> 3.5.3-5) [2012-10-11 22:48] Running 'pacman -R --noconfirm aufs-utils aufs' [2012-10-11 22:48] >>> Updating module dependencies. Please wait ... [2012-10-11 22:48] removed aufs (20081226-2) [2012-10-11 22:48] removed aufs-utils (20081226-3) [2012-10-11 22:48] Running 'pacman -R --noconfirm xf86-video-sis' [2012-10-11 22:48] removed xf86-video-sis (0.9.4-3) [2012-10-11 22:48] Running 'pacman -R --noconfirm madwifi' [2012-10-11 22:48] removed madwifi (0.9.4.3844-5) [2012-10-11 22:48] Running 'pacman -R --noconfirm hauppauge-hvr-firmware' [2012-10-11 22:48] Running 'pacman -R --noconfirm v4l-dvb' Here is the killer Code: [2012-10-11 22:48] Running 'pacman -Syyyy' [2012-10-11 22:48] synchronizing package lists [2012-10-11 22:48] Running 'pacman -Su --noconfirm' [2012-10-11 22:48] starting full system upgrade [2012-10-11 22:54] Running 'pacman -Sy libssl' [2012-10-11 22:54] synchronizing package lists None of these ran correctly because they were pulling from the wrong repository (I think) So I manually do them and on Code: pacman -Su --noconfirm I get Code: resolving dependencies...
warning: dependency cycle detected warning: fluxbox will be installed before its LinHES-system dependency warning: dependency cycle detected warning: runit will be installed befor eits initscripts dependency warning: dependency cycle detected warning: runit will be installed before its poweroff-scripts dependency warning: dependency cycle detected warning: poweroff-scripts will be installed before its sysvinit dependency looking for inter-conflicts... error: unresolvable package conflicts detected error: failed to prepare transaction (conflicting dependencies) :: mythtv and mythvideo are in conflict |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |