[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apt-get upgrade: dpkg error

On Sat, 27 Sep 2003, Jerome R. Acks wrote:

> Since you are essentially upgrading from stable to testing, what you
> should do is:
> apt-get update
> apt-get -u dist-upgrade

Did that. after 3 more nights, my testing packets should be up-to-date.

> >  Errors were encountered while processing:
> >   /var/cache/apt/archives/gettext-base_0.12.1-3_i386.deb
> Testing now has gettext-base_0.12.1-6_i386.deb, download that file and
> try again.

Did that too, but the same error message appeared.

> Or try putting the problem package on hold with:
> echo gettext-base hold | dpkg --set-selections

After that, the error message didn't appear any more. What do I now?
Simply forget the case? Or do something every now and then because
something is just hidden and not resolved?

After all that upgrade, the same message appeared with respect to
libxrender1_0.8.2-1_i386.deb. I did the same trick here too. After a

apt-get dist-upgrade

a lot of packages was substituted, installed, configurated, and an error
message was printed, containing the line

You might want to run `apt-get -f install'

When I did that, it printed the error message below. Any hint what to do

Reading Package Lists...
Building Dependency Tree...
Correcting dependencies... Done
The following extra packages will be installed:
The following NEW packages will be installed:
The following held packages will be changed:
0 upgraded, 1 newly installed, 0 to remove and 217 not upgraded.
430 not fully installed or removed.
Need to get 0B/20.3kB of archives.
After unpacking 90.1kB of additional disk space will be used.
Do you want to continue? [Y/n] (Reading database ... 98803 files and directories currently installed.)
Unpacking libxrender1 (from .../libxrender1_0.8.2-1_i386.deb) ...
dpkg-divert: `diversion of /usr/X11R6/lib/libXrender.so.1 to /usr/X11R6/lib/libXrender-1.1.so.1 by libxrender1' clashes with `diversion of /usr/X11R6/lib/libXrender.so.1 to /usr/share/libxrender1.1/diversions/libXrender.so.1 by libxrender1.1'
dpkg: error processing /var/cache/apt/archives/libxrender1_0.8.2-1_i386.deb (--unpack):
 subprocess pre-installation script returned error exit status 2
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)

Frank Hrebabetzky	Tel.:     +55 / 48 / 235 1106
Florianopolis			  +55 / 48 / 9998 7686
Brazil			email:	  frankh@terra.com.br

Reply to: