Apt-get :: Synaptic



I cant get Synaptic installed via apt-get using DSL 0.6, it says that there librarys that are not met, however I was able to do it with older versions. Any Ideas.

Joel

I got it by uncommenting lines in the sources.list.
I also wanted python and mysql.  Perl seemed to be a problem and it would not install either.  Eventually I did something. I think I did a restore and upgrade.

It seemed to upgrade everything (and more) and take ages with all sorts of downleds.  Then my hd install wouldn't boot anymore!!!


I think one needs to be a little more careful than that.

I would be nice if some knowledgeable person could tell us what we can and cant do with apt-get.  (and how to get unstable and testing stuff like later versions of python and mysql).

Just tried 6.1 on an old box this afternoon and apt-get synaptic produced

The following packages have unmet dependencies:
 synaptic: Depends: libapt-pkg-libc6.2-3-2-3.2

What did you uncomment sgall?
Coming from slackware I'm used to tarballs and synaptic gives me a chance to look at dependencies
Lazy I know :)

I haven't played much yet with the 0.6x releases, but I'm half expecting some problems with apt (and therefore synaptic). 0.6 and up now come without the dpkg and apt stuff installed, these are installed after a HDinstall and running dpkg-restore. Not sure yet if the restore script installs every lib needed for proper dependencies (for things like synaptic).

The 0.6x run also has switched to using busybox for most of the basic, shell-related functions. The potential drawback to this will be apt-get'ing something that depends on a specific program that's no longer installed on it's own. For example, if you apt-get install something-that-depends-on-tar, and busybox is the package providing tar, the dependency could fail since dpkg thinks tar isn't really there. (this is just an example, I don't really know for sure)

Sgall, if you ran 'apt-get upgrade' you basically replaced your DSL installation with a Debian install (not that that's a problem, it's just no longer damn small).

Hasty, try 'apt-get install libapt-pkg-libc6.2-3-2-3.2' or 'apt-get install libapt-pkg', then try to install synaptic. As slick as Apt is, there seem to be some instances that it doesn't follow dependencies as well as it could.

I figured out the problem with Synaptic.

Synaptic 0.16 is designed to work with apt 0.5.4 (contains libapt-pkg-libc6.2-3-2-3.2) and DSL 0.6 has already been upgraded to a newer version of apt.

So there are two solutions to the problem.

(1) Install a newer version of Synaptic from testing or unstable sources.list   Unfortunately, this will also require the installation of GTK2.0 and a bunch of other stuff.

(2) Use the dpkg utility to downgrade your apt back to version 0.5.4

I chose method #2 and included it in the latest version of my Synaptic install script.  This script will even let you use Synaptic and apt-get to install programs EVEN IF YOU ARE RUNNING FROM THE LIVECD, provided that you have a large enough ramdisk.

Here is the link to the post. The new script is located at the bottom of the page:

http://damnsmalllinux.org/cgi-bin....2;t=122

Next Page...
original here.