On Sun, 2012-12-16 at 19:17 +0000, Dom wrote:
> On 16/12/12 18:49, Ross Boylan wrote:
> > On both a myth frontend only system and a be/fe system I ran into
> > problems while upgrading from myth 0.26.0-dmo6 to 0.26.0-dmo9.
> >
> > I think the problem is that the conflict in ownerership of one file
> > leaves mythtv-common unconfigured (in aptitude's opinion) and then that
> > messes up the packages depending on it.
> >
> > In both cases, repeating the instruction to upgrade resulted in
> > successful, or at least error-free, installation.
> >
> >
> > aptitude shows
> > Preparing to replace mythtv-common 0.26.0-dmo6 (using .../mythtv-common_0.26.0-dmo9_all.deb) ...
> > Unpacking replacement mythtv-common ...
> > dpkg: error processing /var/cache/apt/archives/mythtv-common_0.26.0-dmo9_all.deb (--unpack):
> > trying to overwrite '/usr/share/mythtv/metadata/Television/ttvdb.py', which is also in package mythtv-frontend 0.26.0-dmo6
> >
> > ....
> >
> > Errors were encountered while processing:
> > /var/cache/apt/archives/mythtv-common_0.26.0-dmo9_all.deb
> > E: Sub-process /usr/bin/dpkg returned an error code (1)
> > A package failed to install. Trying to recover:
> > dpkg: dependency problems prevent configuration of mythlogserver:
> > mythlogserver depends on mythtv-common (>= 0.26.0-dmo9); however:
> > Version of mythtv-common on system is 0.26.0-dmo6.
> >
> > dpkg: error processing mythlogserver (--configure):
> > dependency problems - leaving unconfigured
> > Setting up libmythavutil51 (0.26.0-dmo9) ...
> > Setting up libmythpostproc52 (0.26.0-dmo9) ...
> > Setting up mythtv-doc (0.26.0-dmo9) ...
> > dpkg: dependency problems prevent configuration of mythtv-frontend:
> > mythtv-frontend depends on mythtv-common (>= 0.26.0-dmo9); however:
> > Version of mythtv-common on system is 0.26.0-dmo6.
> > mythtv-frontend depends on mythlogserver; however:
> > Package mythlogserver is not configured yet.
> >
> > dpkg: error processing mythtv-frontend (--configure):
> > dependency problems - leaving unconfigured
> > dpkg: dependency problems prevent configuration of mythtv-database:
> > mythtv-database depends on mythtv-common (>= 0.26.0-dmo9); however:
> > Version of mythtv-common on system is 0.26.0-dmo6.
> >
> > dpkg: error processing mythtv-database (--configure):
> > dependency problems - leaving unconfigured
> > Setting up libmythqjson0 (0.26.0-dmo9) ...
> > Setting up libmythavcodec54 (0.26.0-dmo9) ...
> > Setting up libmythswscale2 (0.26.0-dmo9) ...
> > Setting up libgs9-common (9.05~dfsg-6.3) ...
> > Setting up libavutil51:i386 (7:1.0.1-dmo1) ...
> > Setting up python-mythtv (0.26.0-dmo9) ...
> > dpkg: dependency problems prevent configuration of mythtv:
> > mythtv depends on mythtv-database (>= 0.26.0-dmo9); however:
> > Package mythtv-database is not configured yet.
> > mythtv depends on mythtv-frontend (>= 0.26.0-dmo9); however:
> > Package mythtv-frontend is not configured yet.
> >
> > dpkg: error processing mythtv (--configure):
> > dependency problems - leaving unconfigured
> > Setting up libpostproc52:i386 (7:1.0.1-dmo1) ...
> > dpkg: dependency problems prevent configuration of mythtv-backend:
> > mythtv-backend depends on mythtv-common (>= 0.26.0-dmo9); however:
> > Version of mythtv-common on system is 0.26.0-dmo6.
> > mythtv-backend depends on mythlogserver; however:
> > Package mythlogserver is not configured yet.
> >
> > dpkg: error processing mythtv-backend (--configure):
> > dependency problems - leaving unconfigured
> > Setting up libpoppler19:i386 (0.18.4-4) ...
> > Setting up libavcodec54:i386 (7:1.0.1-dmo1) ...
> > Setting up libmythavformat54 (0.26.0-dmo9) ...
> > Setting up libswresample0:i386 (7:1.0.1-dmo1) ...
> > Setting up libswscale2:i386 (7:1.0.1-dmo1) ...
> > Setting up libmyth-0.26-0 (0.26.0-dmo9) ...
> > Setting up libgs9 (9.05~dfsg-6.3) ...
> > Setting up libavformat54:i386 (7:1.0.1-dmo1) ...
> > Setting up perl-modules (5.14.2-16) ...
> > Setting up perl (5.14.2-16) ...
> > Setting up libmythtv-perl (0.26.0-dmo9) ...
> > Errors were encountered while processing:
> > mythlogserver
> > mythtv-frontend
> > mythtv-database
> > mythtv
> > mythtv-backend
>
> I hit something like this using apt to upgrade, but apt-get -f install
> seemed to fix it.
> --
I didn't even need to force it. I think once the old packages were out
of the way, the ownership problem
for /usr/share/mythtv/metadata/Television/ttvdb.py
disappeared, and apt(itude) was able to install everything.
Ross
>