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 ?