Debian :: Use Aptitude To Check For An Installed Provided Package?

Jan 15, 2011

I 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?

View 2 Replies


ADVERTISEMENT

Debian Installation :: Aptitude Update And Aptitude Install Aptitude?

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

Debian :: Just Installed - Aptitude Won't Install Anything

Mar 11, 2010

I tried synaptic "aptitude install synaptic". Got this:

[Code]....

View 1 Replies View Related

Debian :: Stopping Aptitude Upgrading A Package?

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

Debian :: Does Synaptic Package Manager Use Apt-get Or Aptitude

Aug 14, 2010

I have Lenny with Gnome installed. Does Synaptic Package Manager use apt-get or aptitude?

View 2 Replies View Related

Debian :: Apt, Aptitude And Other Package Managers Fail To Work

Jun 27, 2011

I had debian squeeze on my personal computer at home, 3 days ago i've upgraded it to the debian testing. last day i've installed virtualbox which i've gotten from virtualbox.org . today non of package managers work. an example of installing sumthin new with apt:

root@fairyland:/home/timmy# apt-get install clamav
Reading package lists... Done
Segmentation faulty tree... 50%
root@fairyland:/home/timmy#

also synaptic can't be started. i've run apt-get clean and removed /var/lib/apt/list i also tried apt-get update but these don't work sum useful info:

root@fairyland:/home/timmy# tail -n 40 /var/log/dpkg.log
2011-06-26 11:58:07 status half-installed virtualbox-ose 3.2.12-dfsg-1
2011-06-26 11:58:07 status config-files virtualbox-ose 3.2.12-dfsg-1

[code]....

just don't tell me i've to refresh its base, shit i hate to do this, i'd never done that about debian, this is one of the reasons i luv debian.

View 3 Replies View Related

Debian Installation :: Aptitude And Dpkg Cannot Install Any Package

Jan 26, 2011

I am running Debian Sid unstable , from one day apt-get, aptitude and dpkg cannot install any package.

View 1 Replies View Related

Debian Configuration :: Apt / Aptitude - Encountered Section With No Package

Apr 18, 2011

I changed to testing repository in my Debian 6.0 and I used command "apt-get update". Now, everytime I want to do something with apt-get or aptitude, I receive this:

With apt-get:
Reading package lists... Error!
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/ftp.cz.debian.org_debian_dists_squeeze_main_i18n_Translation-cs
E: The package lists or status file could not be parsed or opened.

or with aptitude:
[ ERR] Reading package lists
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/ftp.cz.debian.org_debian_dists_squeeze_main_i18n_Translation-cs
E: The package lists or status file could not be parsed or opened.
E: Couldn't rebuild package cache
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/ftp.cz.debian.org_debian_dists_squeeze_main_i18n_Translation-cs
E: The package lists or status file could not be parsed or opened.....

View 2 Replies View Related

Ubuntu :: Check If A Package Is Installed Via Command Line?

Aug 20, 2010

After sifting through numerous apt-get apt-cache apt-file tutorials I still can't find a command to check if a package is installed via the terminal command/line.

I know there must be some way to do it.

Say I want to check if any package from the libavcodec*.deb family is installed how could I do this without a gui eg synaptic?

View 5 Replies View Related

Ubuntu Installation :: Check The Configuration Of A Self-installed Package?

Jan 22, 2011

I'd love to know how to check the original configuration of a self-installed package? For example, I would like to install the package XXXXX. I did:

./configure
make
make install

After the installation, I would like to know what the configuration I used for XXXXX's installation. Maybe some dependencies (for example, A,B,C...) were not found so that XXXXX was installed without depending on A,B,C.... However, now, I would like XXXXX depend on A,B,C... How to check whether the current installed XXXXX's original configuration?

View 1 Replies View Related

Debian :: Aptitude Remove For All Packages Installed In Past Hour?

Nov 14, 2010

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 Related

Debian :: Export A List Of All Installed Packages In Aptitude Or Synaptic?

Feb 23, 2011

Can 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)

View 3 Replies View Related

Debian :: Name Of Package That Prints Ncurses Style Dialogs During 'aptitude Safe-upgrade'

Mar 1, 2010

I'm running Debian squeeze and my packages are all up to date. I usually do my updates by typing 'aptitude update' and 'aptitude safe-upgrade' at the command line as root.Sometimes when doing regular updates aptitude, or the package that's being updated, shows a ncurses-style dialog box on the screen, usually to have the user 'OK' a change, or to select which version of a configuration file to keep. Recently I've found these dialog boxes to be slightly messed up... in that the spot at the bottom where I would expect the 'OK' button to be is replaced by nonsensical characters.

There seems to be no problem with the way that the program functions, as I can press the tab key and then the return key, or just the return key alone, and the dialog goes away, seemingly doing it's job. But I would like to know what this program is. It's likely been updated recently, but looking through /var/log/aptitude and /var/log/aptitude.1.gz I cannot figure out which one it is. I'd like to file a bug report, or simply be able to follow the progress of someone else's bug. That's all.

View 10 Replies View Related

Debian :: Apt/aptitude Package Management "auto" Flag?

Jun 14, 2010

Background: An [old] x86-based server running Debian Squeeze screwed up one of its SCSI hardware raids. Since the problem seemed more related to the raid controller than the disks (the disks still responded and I was able to restore their contents with some trickery), I got myself a QNAP NAS TS-119 as a replacement, installed Debian on it and wanted to install the original set of packages to the new platform.Instead of simply installing all packages on the QNAP that were on the old x86 box, I wanted to maintain the status of automatically installed packages in aptitude.

After looking at /var/lib/aptitude/pkgstates and a bit of confusionI looked at the aptitude source code and found the following rather simple explanation:Aptitude merges the package status information from apt and aptitude without storing redundant information in its own status file (which is good). This means the information aboutckages that were automatically installed is tracked in /var/lib/apt/extended_states.This may seem trivial but I couldn't find this information on the Internet I thought I'd submit a dummy question here in case others are havng similar problems.For the sake of completeness: There seem to be situations (like pending actions) where aptitude will store auto-install information in its own state file, /var/lib/aptitude/pkgstates.

View 1 Replies View Related

Ubuntu :: Aptitude A Next To Package Status?

Apr 6, 2011

Aptitude a next to package status?

View 1 Replies View Related

Ubuntu :: Keep Aptitude From Deleting A Package?

Dec 15, 2010

I'm trying to install Apache2+PHP5+MySQL-cluster on a Ubuntu 10.10 server. I've done many installs like this but with just plain MySQL so this is my first time using mysql-cluster. After getting mysql-cluster working I went back and installed the packages for apache and php5, but somehow I forgot to install the php5-mysql package (not sure how I missed that!) so when I got back to install it it tells me it wants to uninstall mysql-cluster. The "error" I see is:

mysql-cluster-client will be automatically removed because of dependency errors:

* mysql-cluster-client depends on mysql-cluster-client-5.1 [universe]

I put a lot of time in to get mysql-cluster working and don't want to lose it. How do I tell aptitude to just leave it alone and install the php5-mysql package?

View 1 Replies View Related

Debian :: Forbidding A Package From Being Installed

Jan 24, 2016

Is this method the correct one if I want to forbid a foo package from being installed, even if this foo package is a dependency of another package? For example, geoclue is a dependency of Steam. However, I still want to install Steam, but not geoclue.

The method:

nano /etc/apt/preferences

Package: geoclue
Pin: origin ""
Pin-Priority: -1

View 3 Replies View Related

Debian :: Find Name Of An Package Installed?

Sep 18, 2010

Debian 504 64-bit

I have emacs and ess running on this box code...

View 5 Replies View Related

Debian :: Find A Package That's Not Yet Installed

Feb 15, 2010

I need a particular include file. I know the file name. I don't know which package would install it. apt-cache seems to only search names and descriptions. dpkg -S seems to only search through installed packages. I need to find a package that's not yet installed. I probably just missed the option in the man page... or I don't know which program to man.

View 10 Replies View Related

General :: Tell Aptitude To Ignore Broken Package?

Jan 13, 2010

I installed a Amsynth from Lucid in Karmic using:

dpkg --force-depends-version -i amsynth_1.2.2-1_i386.deb

The reason for installing the Lucid version is because Karmic version is 3 years old and crashes on my machine. The Lucid Amsynth package depends on newer versions of libatk1 and libjack0 than Karmic has, but I thought I would take a risk, and turns out Amsynth runs fine. However aptitude tries to uninstall Amsynth every time I do an upgrade. I think I've managed to put it on hold but now aptitude aborts. How can I tell aptitude to ignore the broken package and carry on.

View 3 Replies View Related

Ubuntu Installation :: Aptitude Wants To Remove A Package?

Jan 19, 2010

i installed a package with dpkg --install and told it to ignore an unmet dependency because the package it depended on could not be installed with apt-get (it was a perl module) and i have manually installed the perl module, it works... however every time i do "apt-get upgrade" or anything like that it wants to remove the package i forced to install because it still thinks there are unmet dependencies, is there a way to either tell it to ignore that the package has unmet dependencies (i mean ignore that always, not something i will have to add every time i use aptitude) or is there a way to convince it that the package it thinks is missing (the unmet dependency) is actually met.

View 3 Replies View Related

Ubuntu :: Long Package Descriptions In Aptitude?

Nov 16, 2010

I was wondering if anyone knew how to get long package descriptions which searching for packages with aptitude.my search results have package descriptions that are truncated even if the terminal is expanded to allow longer one-line package descriptions.

View 1 Replies View Related

Ubuntu :: Aptitude No Longer A Default Package In 10.10?

Nov 26, 2010

I stopped using ubuntu for a while at 9.04 (went to mint and came back) because it was not installing properly. I thought it had aptitude in it then, but I did not have it after installing 10.10 (installed it twice it is not on either). I am just wondering why, even debian includes aptitude.

View 3 Replies View Related

Software :: Error When Install Package Aptitude?

Apr 26, 2011

rosy84@rosy84:~$ apt-get install packagename aptitude

E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?

View 7 Replies View Related

Debian :: Find The Full Name Of An Installed Package?

Sep 18, 2010

Debian 504 64-bit I have emacs and ess running on this box

[code].....

how to find the full name of "ess" installed? How to find whether there is the latest version available on backports?

View 4 Replies View Related

Debian :: Package Database Not Showing Up As Installed

Oct 17, 2010

I know I've got inotify-tools installed; I've got a daemon that runs and it's using inotifywait to move some files around.

This thing is:
12:20:16 /home/barrie $ >> dpkg --get-selections | grep inotify*
12:20:29 /home/barrie $ >> aptitude show inotify-tools
Package: inotify-tools
New: yes
State: not installed
Version: 3.12-1
Priority: optional
Section: misc
Maintainer: Peter Makholm <peter@makholm.net>
Uncompressed Size: 115k
Depends: libc6 (>= 2.6-1), libinotifytools0
Description: command-line programs providing a simple interface to inotify
inotify-tools is a set of command-line programs for Linux providing a simple interface to inotify. These programs can be used to monitor and act upon filesystem events. inotify-tools consists of two utilities:
inotifywait simply blocks for inotify events, making it appropriate for use in shell scripts.
inotifywatch collects filesystem usage statistics and outputs counts of each inotify event.

12:20:40 /home/barrie $ >>
It's not showing up as installed! If not how to get the list of installed packages 'reloaded'. I've googled for hours and reloading the installed packages doesn't look promising!

View 3 Replies View Related

Debian :: Changing A Package's Dependencies After It's Installed

Aug 1, 2010

I did a compile and checkinstall of a Debian package (and then deleted the temporary directory tree I compiled in), and had to redo the compile and checkinstall since I screwed up on the dependencies (I think it's item #10) on the checkinstall "menu".

Looking for a quick and dirty shortcut, I was wondering where the post-install dependencies for the packages are stored. Is it in /var/lib/dpkg/status ?

If not, where is the dependency information for installed packages stored?

View 1 Replies View Related

Ubuntu :: Apt-get (use Aptitude Purge To Remove All Associated Files Of A Package)?

May 2, 2010

Did a fresh install of 10.04 Desktop 86_64 this weekend. One of the first issues I noticed right away was that apt was not function properly. Say for example you install the packages tor and vidalia (assume I'm running everything from root). #apt-get install tor vidalia This command will check and install necessary dependencies, for example 'privoxy'. Now if you decide that you don't want to use privoxy and instead use polipo, you would probably feel inclined to remove privoxy. Well I found that apt-get autoremove, apt-get remove, apt-get purge WILL NOT remove all the files/directories associated with the package. You'll find that after running each of these commands, there will still be directories, scripts, etc. in /etc/init, /etc, and /etc/rc*.d. The only solution I've found to completely removing a package is aptitude purge [package].

View 1 Replies View Related

Ubuntu :: Aptitude Package Manager Good As Synpatic?

Oct 7, 2010

Is Aptitude Package Manager good as Synpatic?

View 5 Replies View Related

Debian :: Which Package Needs To Be Installed In Order To Support ISO Image

May 7, 2010

Recently I did a Debian Squeeze fresh install.I want to make an ISO of a CD but if I right-click the CD icon and choose copy disk only cue and toc options are available.Which package needs to be installed in order to support ISO image?

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved