Debian :: Just Installed - Aptitude Won't Install Anything
Mar 11, 2010I tried synaptic "aptitude install synaptic". Got this:
[Code]....
I tried synaptic "aptitude install synaptic". Got this:
[Code]....
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 RelatedI regularly compile something from a source repository that has a certain set of dependencies. Some of these dependencies are dev libraries that are provided via other libraries but are not considered installed packages in themselves, so I cannot test for some dependencies directly.
I am currently parsing an "apt-cache showpkg" output to check for some of these provided dependencies. This is somewhat kludge-y and messy, and I was looking for a more elegant solution.
Is there an APTITUDE option that will directly test for the presence of a library that is part of some other package without having to know the name of the package that the library is part of?
Is it possible to do an aptitude remove for all packages installed in, say, the past hour? I'm looking for an easy way to keep track of lots of installed packages without having to look through the logs and write them all down.
View 4 Replies View RelatedCan I keep the old 32bit_testing /home with all the hidden directories there when moving to 64bit_testing?
Is there a way to export a list of all installed packages in aptitude or synaptic, so that when reinstalling, it can be easily imported? (reinstalling the same system)
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
I am running Debian Sid unstable , from one day apt-get, aptitude and dpkg cannot install any package.
View 1 Replies View RelatedI have downloaded the package but i dont know how to install and start the program.
View 10 Replies View RelatedI see that the backports now is officiel. My question is rather simpel: Is it possible to upgrade with (and how to) the backported packages without to much work? Is is needed to install all backported packages individually? I want to upgrade to any backported package with the command:
apitutude safe-upgrade - if it is possible.
Can anyone explain why aptitude install libgl1-mesa-dri actually removes a lot of packages? I just ran it without checking and the job was done...
aptitude install libgl1-mesa-dri
The following packages will be REMOVED:
bsh{u} bsh-gcj{u} gcj-4.4-jre{u} gcj-jre{u} libcolamd2.7.1{u}
libcommons-beanutils-java{u} libcommons-collections3-java{u}
libcommons-compress-java{u} libcommons-digester-java{u}
libcommons-logging-java{u} libdb-je-java{u} libdb4.7-java{u}
libdb4.7-java-gcj{u} libgcj10-awt{u} libgraphite3{u} libhsqldb-java{u}
code....
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,
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)
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 RelatedJust 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
I was running today's udpate and saw this :-
[code]...
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
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?
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?
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 RelatedI'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 RelatedI'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 Relatedthought 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 RelatedOn running aptitude update and then aptitude upgrade following warning notedfollowing packages have been kept back:
[code]...
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.
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.
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.
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 RelatedI 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.
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 RelatedI'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.