Debian :: Why Aptitude Can't Resolve Conflicts That Apt-get Can
Sep 23, 2015
I'm using Debian Testing (I know it doesn't happen in Stable)
Words isn't required here. I'll show examples:
# aptitude dist-upgrade
Code: Select allThe following NEW packages will be installed:
 appstream{a} coinor-libcoinutils3v5{ab} coinor-libosi1v5{ab} cpp-5{a}
 g++-5{a} gcc-5{a} gcj-5-jre{a} gcj-5-jre-headless{a} gcj-5-jre-lib{a}
 geoip-database-extra{a} gnuplot5-data{a} gnuplot5-qt{a} icoutils{a}
 kded5{a} kinit{a} kio{a} libapt-inst1.7{a} libapt-pkg4.16{a} libasan2{a}
[Code] ....
Why apt-get can while aptitude can't?
I've searched on web, and all I can tell is that aptitude is "safer" than apt-get because it taking account the packages on hold.
But I don't have any package on hold! (I've tested dpkg --get-selections | grep hold)
View 11 Replies
ADVERTISEMENT
Jun 20, 2011
How do I pass a list of packages to aptitude so that I can resolve the conflicts interactively?
View 1 Replies
View Related
Sep 18, 2010
I've been trying to use aptitude for package management, but nothing happens in response to my commands, even as root.
Let's say for example I want to purge popcon. According to the helpfile, I should start aptitude, become root (or vice-versa), select the package in the list and press '_' (underscore), and then it will be marked with something in the left column and a different color in the list. Then later, another command will actually do the purge.
But nothing happens. It doesn't get marked or change color or anything, and 'g' just gets the message 'No packages are scheduled to be installed, removed, or upgraded.'
What am i doing incorrectly?
View 6 Replies
View Related
Jul 11, 2010
I am trying to upgrade an amd64 lenny system to squeeze.I've got a 2.6.32 kernel running, done aptitude update and aptitude install aptitude.When I try "aptitude safe-upgrade", it sits forever resolving dependencies.it seems to search with the resolver counting up more and more open/conflict/ whatever.I stopped it once it got over 100,000)Is it possible to get aptitude to do a safe-upgrade, perhaps using a command line option?
View 2 Replies
View Related
Nov 21, 2010
In Ubuntu 10.10 am trying to install Aptitude and have been through installing and un-installing but keep getting the same msg
Failed to execute child process "su-to-root" (No such file or directory)
how to resolve this issue.
View 2 Replies
View Related
Aug 29, 2011
I have the following packages of openjdk and icedtea installed.
i openjdk-6-jre - OpenJDK Java runtime, using Hotspot JIT
i openjdk-6-jre-headless - OpenJDK Java runtime, using Hotspot JIT (headless)
i openjdk-6-jre-lib - OpenJDK Java runtime (architecture independent libraries)
i icedtea-6-jre-cacao - Alternative JVM for OpenJDK, using Cacao
i A icedtea-6-jre-jamvm - Alternative JVM for OpenJDK, using JamVM
Now I am not a developer or anything just a user. My use-case are two :-
a. Running java programs on the desktop
b. Running java in the web-browser.
I *think* both of them get installed by default. Openjdk via the default-jre virtual package while icedtea due to some of the openjdk headless packages.
~$ aptitude why openjdk-6-jre
i default-jre Depends openjdk-6-jre (>= 6b23~pre8-2~)
~$ aptitude why icedtea-6-jre-jamvm
i openjdk-6-jre-headless Recommends icedtea-6-jre-jamvm (= 6b23~pre8-2)
~$ aptitude why openjdk-6-jre-headless
i openjdk-6-jre-lib Depends openjdk-6-jre-headless (>= 6b17)
$ aptitude why openjdk-6-jre-lib
i openjdk-6-jre-headless Depends openjdk-6-jre-lib (>= 6b23~pre8-2)
Notice the circular dependency at the end. From what I read the headless packages are basically for those systems where a server is running which does not have have a monitor, in which case I wonder why its installed in my system? My actual issue is of having the java for iceweasel. I did search for having java plugins and did not find anything except for icedtea-plugin to run java on my browser.
Trying to install it through gave conflicts :-
$ sudo aptitude install icedtea-plugin
[sudo] password for shirish:
The following NEW packages will be installed:
icedtea-netx{a} icedtea-plugin xulrunner-1.9.1{ab}
0 packages upgraded, 3 newly installed, 0 to remove and 4 not upgraded.
Need to get 8,642 kB/9,103 kB of archives. After unpacking 26.5 MB will be used.
The following packages have unmet dependencies:
openjdk-6-jre-headless: Conflicts: icedtea-netx (< 1.1.1-2~) but 1.1-1 is to be installed.
xulrunner-1.9.1: Depends: libmozjs2d (= 1.9.1.16-6) but 1.9.1.16-9 is installed.
The following actions will resolve these dependencies:
Keep the following packages at their current version:
1) icedtea-netx [Not Installed]
2) icedtea-plugin [Not Installed]
3) xulrunner-1.9.1 [Not Installed]
Accept this solution? [Y/n/q/?] q
Abandoning all efforts to resolve these dependencies.
Abort.
I did see the other solutions but most of them recommend downgrading both the openjdk and icedtea packages to the ones in testing rather than in unstable.
View 2 Replies
View Related
May 22, 2010
I'm fairly new to debian, but not to Linux overall. And it seems that I can not install anything using the "apt-get" or "aptitude" commands. Here is what it says when I try to install synaptic:
apt-get install synaptic
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package synaptic is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or is only available from another source.
E: Package synaptic has no installation candidate
View 3 Replies
View Related
Aug 19, 2011
From what I understand aptitude and apt-get are both valid package management tools and it should not matter which one you use (of course the user interface is different, but the basic functionality is the same). I found something which makes me believe there are differences: I ran aptitude install gnome-themes-more and it did nothing because the package was already installed. Then I ran apt-get install gnome-themes-more just to see the difference, and it also did not install anything, but it marked the package as manually installed.
The I ran again apt-get install gnome-themes-more and this time the package was not marked as manually install (obviously because it's already marked). This makes me believe that aptitude did not mark my package as manually installed (I would have pasted the command output as well, but I don't have it anymore). So, is the core functionality of those tools the same or not?
I used until now apt-get and wonder if I should have used aptitude. I have found some wikis which recommend the usage of aptitude but I could not find out if this reccomendation is based only on the UI improvements or are there also improvements in the core functionality. I'd like some hints from more seasoned debianers about which one to use, or whether it matters. I'm maily using command line, so user interface is not an issue,
View 14 Replies
View Related
Mar 6, 2016
How to find packages with aptitude. If I use the shell to type "aptitude search nethack" then I get a list of several nethack versions from which to choose. If I use the aptitude GUI and type Ctrl-T and then arrow over to the search option and type in "nethack" and hit Enter, the only option that I see is nethack-spoilers. Why do I not see all of the other nethack options?
View 2 Replies
View Related
Apr 3, 2011
Just today saw that for some reason aptitude seems broken. Dunno the reason. I don't know if its do with aptitude or some other update which introduced the issue. The issue is simple.
Before I could do something like $sudo aptitude purge linux-image [TAB]
Putting down the tab it would autocomplete or/and give other options if there were multiple options (it would do some kinda grep)
Now after the update of aptitude few days ago and other things I get something like this : sudo aptitude purge linux-image [TAB]grep-status: /var/lib/dpkg/status:14651: expected a colon
View 5 Replies
View Related
Jul 5, 2011
I was running today's udpate and saw this :-
[code]...
View 2 Replies
View Related
Jan 20, 2015
Running testing
There were some grave bugs being showed by listbugs for apt dpkg etc
So ran aptitude hold for these buggy packages and upgraded others
Now unable to 'unhold' dpkg. ie
synaptic shows it as 1.17.13 both installed and latest and no upgradation possible
[URL] .... shows it as 1.17.23
Code: Select all# aptitude dist-upgrade
The following NEW packages will be installed:
dpkg:i386{ab} libbz2-1.0:i386{a} libjpeg62-turbo:i386{a} libsystemd0:i386{a}
some other stuff
Code: Select allThe following packages have unmet dependencies:
 dpkg : Conflicts: dpkg:i386 but 1.17.23 is to be installed.
 dpkg:i386 : Conflicts: dpkg but 1.17.13 is installed.
So I can only conclude that aptitude sees the need to upgrade from .13 to .23 but for some reason it cant 'get out' of the installed dpkg:amd64
View 14 Replies
View Related
Feb 7, 2016
Normally I use apt-get for to upgrade my Debian system. Today i tried to compare apt-get and aptitude with respect to system upgrade. Surprisingly I got different results.
Code: Select allsudo apt-get upgrade
Reading package lists... Done
Building dependency tree   Â
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
openjdk-7-jre openjdk-7-jre-headless
The following packages will be upgraded:
 libtiff5
1 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
Need to get 213 kB of archives.
After this operation, 44.0 kB disk space will be freed.
Code: Select allsudo aptitude safe-upgrade
Resolving dependencies...       Â
The following NEW packages will be installed:
 libsctp1{a} lksctp-tools{a}
The following packages will be upgraded:
libtiff5 openjdk-7-jre openjdk-7-jre-headless
3 packages upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 45.9 MB/45.9 MB of archives. After unpacking 9,130 kB will be used.
What is behind these results? Which method is safer?
View 5 Replies
View Related
Mar 11, 2010
I tried synaptic "aptitude install synaptic". Got this:
[Code]....
View 1 Replies
View Related
Apr 25, 2010
To:Squeeze penguins who chokes when aptitude (Segmentation fault) Possible reasonThere are several apt packages(.deb). As of Sun Apr 25 09:05:24 UTC 2010. When something screws up, apt-get and aptitude choke. SolutionReinstall one of them by "dpkg -i" At least, I was able to resuscitate my penguin.
View 1 Replies
View Related
Jan 29, 2010
I've build a package using dpkg-buildpackage but whenever I run aptitude safe-upgrade it upgrades the package I compiled as well even though it's the same version is there a way to tell it to leave it alone?
View 3 Replies
View Related
Apr 30, 2010
I've been looking for an aptitude command to search for security updates. This information is being shown when running the screen. So far I reached to this command: aptitude search '~S ~VCANDIDATE ~Asecurity ~U' It looks like producing the correct results, but I still don't quite understand the how the filter (~S) command works.
View 3 Replies
View Related
Jun 12, 2010
thought I saw this the other day in the forum as part of a purge command. when I used it the command removed older versions of packages, for example libx264, i had -94 -96 and -98 it removed the 2 older versions. Does anyone know what command I am talking about?
View 1 Replies
View Related
Jun 21, 2010
On running aptitude update and then aptitude upgrade following warning notedfollowing packages have been kept back:
[code]...
View 7 Replies
View Related
Jun 20, 2011
I tend to use commands like 'aptitude search $something' or 'dpkg -S /usr/bin/command' (some command/variable in both) or 'apt-file search $something' and all/or many of its brethen. I do run updatedb every now and then but that command is for the overall health of the system similar to tracker perhaps (but not running continously like tracker and the daemon).
What I'm looking for is, if there is a way to get the package list (installed and otherwise) updated aggressively so that whenever I use any combination of aptitude or dpkg I get better response from the system. From what little I understand, aptitude or dpkg or somewhere there would be some sort of index/database where the current state of package availability and system state would be recorded. If there is a way that this could be improved upon would be nice to know. If there is some experimental package or road which the debian folks are looking for in the future so this latency can come down.
View 5 Replies
View Related
Sep 7, 2011
Sometimes when I use aptitude to install or update packages I get an SSH screen such as the below that is mostly unreadable:
Package configuration:
When it happens it looks like there is a selection of options I cannot read, one of which is highlighted, for which I am expected to choose one of. In the above example "+ee-_c¦--e++" was the highlighted option in the list.
How is this fixed to be made readable every time?
When I invoke aptitude without any arguments the screen is readable and looks just like it should.
The SSH window is displayed by my local Windows XP. The remote OS is Debian 5.
View 9 Replies
View Related
Feb 26, 2010
get a GUI working after installing Debian. Now, I have another set of problems so I decided to create a new thread. the first thing going wrong is that when I type aptitude update I get the following output:
[Code]....
I want to download the driver for mi wireless, get openoffice and a bunch of other things, but with this not working, I'm guessing there's not much I can do now... I have the driver of the wireless, which I downloaded before the installation of Debian, and that I now copied to my new Debian desktop, but I cannot open it... it is a tar.gz file. I'm currently connected through wired connection by the way.
View 14 Replies
View Related
Jul 11, 2011
I have installed two softwares manually, from the source code downloaded from their official websites: Stellarium, and the Linux Kernel. The version of these is not the same as the one found in the official repos. My question is: does aptitude have knowledge of the existance of these softwares? Can it do any damage to them, in case, for example, I run automatic aptitude tasks, such as autoclean and dist-upgrade?
View 2 Replies
View Related
Mar 25, 2011
I have had this problem repeatedly with aptitude recently. I run Debian Squeeze but in a somewhat unusual fashion - I create a custom live image using the builder on the Debian Live website and then run the live image in persistent mode off a flash drive. For all intents and purposes this has never behaved any differently from a standard Debian install and has given me a great deal of flexibility and power, for which I'm grateful.
However there's been one strange phenomenon that keeps occurring. After a certain point - not before - aptitude stops removing dependencies when I remove packages, though in the ncurses interface the option is shown as switched on (and my .aptitude/config file does not switch it off, nor does any other configuration file that I can find, though maybe I'm missing something). This occurs even in the case of dependencies which I know cannot be depended upon by any other package. e.g. the e17 package in unstable brings in libecore, libevas etc. which are depended on only by e17 as I have no other Enlightenment packages installed. But removing e17 removes only the e17 package and not the dependencies.
The other odd thing is that this does not occur at first. Aptitude works fine for a while on a clean system. At some point though it simply changes in behaviour.
View 1 Replies
View Related
Jul 14, 2010
I'm using squeeze and my updates are all updated. Aptitude-gtk is at 0.6.3-2 . My menu icons, like 'Update', 'Packages', and 'Preview' don't work. Luckily the buttons at the bottom of the screen, like 'Fix Manually' and 'Upgrade', still work. In this way the application is still useful. I can still search for things, and I can right-click with the mouse to mark packages for installation or removal. Then I use the buttons at the bottom of the screen to finish the work. BUT the menu icons , and come to think of it, options in the menus, don't work. Does anyone else have this problem? I went through the bug page on the debian site but I cannot find my problem.
View 2 Replies
View Related
Mar 16, 2011
I've installed Debian6 Testing KDE4 using a net-inst CD when it is recently released. Today , I did a aptitude clean && aptitude update && aptitude upgrade and got a weird output.
aptitude clean && aptitude update
...
...
Current status: 62 updates [+61], 1561 new [+270].
There are 7 newly obsolete packages: librasqal2, libwpd8c2a, libwpg-0.1-1, libwps-0.1-1, openoffice.org-base-core, openoffice.org-core, openoffice.org-report-builder-bin
aptitude upgrade
Resolving dependencies...
open: 42543; closed: 32760; defer: 49; conflict: 8
The open/closed figures is still running (higher) after 10 minutes.
Believe I am not the only one using Debian Testing with KDE4.
View 6 Replies
View Related
Aug 14, 2010
I have Lenny with Gnome installed. Does Synaptic Package Manager use apt-get or aptitude?
View 2 Replies
View Related
May 1, 2014
For some time now I've been unable to see changelogs for packages to be upgraded in Wheezy,even trying with different mirrors in sources.list all I'm getting is this:
Code: Select allaptitude changelog iceweasel
Err Changelog of iceweasel                                                  Â
E: Changelog download failed: 404Â Not Found [IP: 185.31.16.185 80]
Err Changelog of iceweasel                                                  Â
E: Changelog download failed: 404Â Not Found [IP: 185.31.16.185 80]
E: Couldn't find a changelog for iceweasel
[Code] ....
Is there maybe some specific reasons why I can't get changelogs before applying the updates? I know I can review them afterwards,it's just that I would find convenient to have a look before updating.
View 14 Replies
View Related
May 22, 2015
Using Debian Jessie 32 bit and Wheezy 32 bit on 2 separate computers.
For the pass few days, received the following message on both computers when doing a aptitude update or apt-get update results in the following error message:
W: Failed to fetch http://security.debian.org/dists/jes...ource/Sources: Hash Sum mismatch
W: Failed to fetch http://security.debian.org/dists/jes...i386/Packages: Hash Sum mismatch
W: Failed to fetch http://security.debian.org/dists/jes...ranslation-en: Hash Sum mismatch
View 7 Replies
View Related
Jul 9, 2015
Im trying to update the system packages list by doing "aptitude update", but I got a error like this:
W: Failed to fetch http://download.virtualbox.org/virtualb ... 4/Packages: Hash Sum mismatch
E: Some index files failed to download. They have been ignored, or old ones used instead.
E: Couldn't rebuild package cache
After searching the Web, I saw that many foruns seems to suggest to erase the reference list of packages using the command " rm -rf /var/lib/apt/lists/" and then run "aptitude update" again. I did that but the error still pops up.
My source.list:
### Debian Jessie
deb http://ftp.us.debian.org/debian/ jessie main contrib non-free
deb-src http://ftp.us.debian.org/debian/ jessie main contrib non-free
deb http://security.debian.org/ jessie/updates main contrib non-free
deb-src http://security.debian.org/ jessie/updates main contrib non-free
[Code] ....
View 7 Replies
View Related