Apt-get doesn't work properly


Forum: Apt-get
Topic: Apt-get doesn't work properly
started by: tico

Posted by tico on Sep. 20 2007,23:57
I've installed DSL in my HD, have enabled apt-get, have done an update and an upgrade. Then, I've tried to use apt-get, but I always get error messages concerning dependencies. For instance, when I try to install aptitude, I get the following error:

Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using unstable distribution that some required packages have not yet been created or been moved out of Incoming.
Since you only requested a single operation it is extremely likely that the package is simply not installable and a bug report against that package should be filed.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
aptitude: Depends: libapt-pkg-libc6.2-3-2-3.2
E: Broken packages

I get this message and cannot install the packages. libapt-pkg-libc6.2-3-2-3.2 is already installed.

What can I do? I'm using DSL 3.3.

Posted by ^thehatsrule^ on Sep. 21 2007,00:38
I think upgrade will break the installation.  Did you check wiki page on apt-get?
Posted by tico on Sep. 21 2007,14:59
Quote (^thehatsrule^ @ Sep. 20 2007,20:38)
I think upgrade will break the installation.  Did you check wiki page on apt-get?

The only apt-get info I've found in the DSL winki page is about enabling it. And I did exact what is described there. Any other idea?
Posted by ^thehatsrule^ on Sep. 21 2007,15:22
Right, and it gives you warnings and notes, on things such as trying to use upgrade...
Posted by tico on Sep. 21 2007,18:54
Quote (^thehatsrule^ @ Sep. 21 2007,11:22)
Right, and it gives you warnings and notes, on things such as trying to use upgrade...

Ok, I've download and installed DSL RC4 and haven't upgraded it. I've just enabled apt-get. I still get the same error message. What could be causing that?
Posted by ^thehatsrule^ on Sep. 21 2007,19:00
heh, read the above posts again...

If you wish to force it, you can try that as well...

Posted by tico on Sep. 22 2007,19:21
Quote (^thehatsrule^ @ Sep. 21 2007,15:00)
heh, read the above posts again...

If you wish to force it, you can try that as well...

Sorry, can't understand your point. Could you please explain it to me?
Thanks.

Posted by Juanito on Sep. 23 2007,03:51
If a debian package does not want to load due to dependency problems, you can force it to load by typing something like "dpkg -i --force-all mypackage.deb"
Posted by tico on Sep. 23 2007,20:51
Quote (Juanito @ Sep. 22 2007,23:51)
If a debian package does not want to load due to dependency problems, you can force it to load by typing something like "dpkg -i --force-all mypackage.deb"

Thanks. But in this case I could break something in the system or package install. Am I wrong? Anyway, you can force using dpkg. What about apt-get?

Posted by Juanito on Sep. 24 2007,03:31
The beauty of dsl is that if you break something, you can just reboot and everything will be OK (except on a traditional hd install).

If you use apt-get and the installation fails, the deb package will be somewhere in /var/apt/cache (or something like that) and you can use "dpkg -i force-all" on it. Otherwise, the apt command should be "apt-get -o APT::Get::force-yes install packagename", but I don't remember if this works or not.

Posted by linuxlizard on Sep. 29 2007,21:09
huh... Maybe dsl shouldn't advertise as "Transform into a Debian OS with a traditional hard drive install"  considering debian packages can break the system...:rock:
Posted by roberts on Oct. 01 2007,15:52
As time passes so does Debian...
Perhaps it should say Debian Woody to acknowledge time sensitivity.

I suppose you could break any traditional hard drive installation by forcing and/or loading foriegn packages. It is what I call system rot and is why I have little interest in traditional hard drive installed systems. Trying to support such is nearly impossible when you don't really know what has been done to the system. DSL's design goal is to easily be able to have a know pristine starting point.

Posted by chaostic on Oct. 01 2007,17:50
One, you need to find a debian WOODY archive. Which is the Old "Old Stable".

Then you add it to the sources.lst file.

Then you can try installing stuff that most likely won't break it. That's how I enabled kernel-nfs-server in DSL 3.3r2

Posted by roberts on Oct. 01 2007,18:57
The default Debain repository used by the mydsl dsl-dpkg.dsl which is used/called by the enable apt menu item does already indeed point to Woody. No need to try to find it. When the woody archive was created it was discussed here in the forums and an announcement was made to indicate a new dsl-dpkg.dsl was created for that very purpose.
Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.