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

Re: apt-get complaining about dependencies, and other upgrade issues



I'll just answer you first question and I think that'll solve your second
as well. I had a similar problem and I fixed, quite brute force I must say
but all works fine now.

<THIS SOLUTION CAN CAUSE YOUR SYSTEM TO BE PRETTY MESSED UP, THEREFORE IT
COMES WITH ABSOLUTELY NO WARRANTY AND I CANNOT BE HELD RESPONSIBLE FOR ANY
DAMAGE AND/OR LOST DATA>

apt downloads all your deb packages in /var/cache/apt/archives, so I just
went there, to the main/base section and did: dpkg -i
--force-depend-versions,conflict * (in other words install everything and
don't worry about version depencies or conflicts (conflict are for perl
5.004 to 5.005), it still gives errors but just ignore them. Then go to
the main/lib and do the same, then do a dpkg -a --configure, then a
apt-get upgrade, if there are still errors repeat the first steps again
till it works, if it doesn't allow you to go any further install any
packages that apt complains about manually with dpkg -i <package> (apt has
already downloaded it for you).

Ron

On Fri, 24 Mar 2000, Jeronimo Pellegrini wrote:

> 
> Hello;
> 
> 
> I have 2 problems... I'm currently running slink, and:
> 
> 1) I wanted to upgrade bluefish. But I wnted the version which comes
>    with potato. So I thought, "Well, if apt-get handles dependencies
>    correctly, I just have to add frozen to my mirrors list, and it'll
>    get whatever packages are needed. If it asks me for a huge set of
>    packges, then it would probably mean I'd better upgrade to potato
>    first." I know it's probably not a good idea, but it sounded so
>    reasonable... Anyway... I did it, and apt-get told me just a few
>    packages would be messed with:
> 
> > socrates:~# apt-get install bluefish
> > Reading Package Lists... Done
> > Building Dependency Tree... Done
> > The following extra packages will be installed:
> >   libgtk1.2 gdk-imlib1 g++ g77 libstdc++2.10 cpp gcc zlib1g xlib6g imlib-base libc6-dev gobjc
> >   libstdc++2.10-dev libc6 binutils ldso 
> > The following packages will be REMOVED:
> >   timezones libstdc++2.9-dev egcc checker 
> > The following NEW packages will be installed:
> >   libstdc++2.10 libstdc++2.10-dev 
> > 15 packages upgraded, 2 newly installed, 4 to remove and 693 not upgraded.
> > Need to get 11.9MB of archives. After unpacking 6888kB will be freed.
> > Do you want to continue? [Y/n] 
> 
> But then, after downloading, it complained about some dependencies -
> this is what I get when I run the installation again
> (dpkg --configure --pending tells me sort of the same thing):
> 
> > Sorry, but the following packages have unmet dependencies:
> >   libgtk1.2: Depends: gconv-modules but it is not installable
> >              Depends: libc6 (>= 2.1) but 2.0.7.19981211-6 is installed
> >              Depends: libc6 (>= 2.1.2) but 2.0.7.19981211-6 is installed
> >   g77: Depends: libc6 (>= 2.1.2) but 2.0.7.19981211-6 is installed
> >        Depends: gcc (>= 1:2.95.2-4) but 2.7.2.3-7 is installed
> >   libstdc++2.10: Depends: libc6 (>= 2.1.2) but 2.0.7.19981211-6 is installed
> >   cpp: Depends: libc6 (>= 2.1.2) but 2.0.7.19981211-6 is installed
> >   gcc: Depends: cpp (< 2.7.2.4) but 1:2.95.2-7 is installed
> >   xlib6g: Depends: libc6 (>= 2.1.2) but 2.0.7.19981211-6 is installed
> >   gobjc: Depends: libc6 (>= 2.1.2) but 2.0.7.19981211-6 is installed
> >          Depends: gcc (>= 1:2.95.2-4) but 2.7.2.3-7 is installed
> >   binutils: Depends: libc6 (>= 2.1.2) but 2.0.7.19981211-6 is installed
> > E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
> 
> 
> And after that, Netscape stopped working:
> 
> > socrates Temp$ /usr/lib/netscape/netscape: error in loading shared libraries
> > /usr/X11R6/lib/libXt.so.6: undefined symbol: __rawmemchr
> 
> Did I do a too big mess?
> 
> Anyway, I don't know exactly what to do now... I do want to upgrade to
> potato, but I'm not sure if I should do it - which brings us to the
> second point:
> 
> 2) Since the version of XFree86 which comes with slink doesn't support
>    my video card - S3 Trio 3D/2X (Diamond Speedstar A55) - I decided
>    to upgrade right after installation. But as far as I remember,
>    potato also uses an old version of it... So I just downloaded the
>    files and installed them without using dpkg at all (and well, it
>    solved my problem!). So... dpkg thinks I have the old version. And
>    I tried an apt-get upgrade, and it told me it'd download X.
> 
>    So... Would it be safe to upgrade to potato and then just do that X
>    upgrade again? And may there be any other problems when upgrading?
> 
> 
> Thanks a lot... I have 2 huge books that don't usually help much, and
> I've done some searches in the web before attempting things, but I'm
> swamped, and also... Local telephone calls are charged per minute in
> Brazil, so I try not to stay too much time online. (I'd have to do the
> upgrades between 00:00 and 6:00 am, when calls are much cheaper)
> 
> 
> J.
> 
> 
> -- 
> Jeronimo Pellegrini
> Institute of Computing - Unicamp - Brazil
> http://www.dcc.unicamp.br/~jeronimo
> mailto:jeronimo@dcc.unicamp.br    mailto:pellegrini@iname.com
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
> 


Reply to: