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


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 :: 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

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 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 :: Package Management - Can't Install Its Nb Pdf Reader / Fix It?

Aug 10, 2011

I am new to Debian but a long term user of various other Linux distros, most commonly Ubuntu at home and Xubuntu for my old work computer. I tried Debian 6 LXDE the other day on the older PC, from a live LXF disc. It picked up all my hardware automatically and was so stable (more so than the Xubuntu LXDE distro on the HD) that I decided to install it.

Now that it is on the HD it is still very stable, but I am struggling with package management and installing "stuff".

I am fairly comfortable with the CLI and have managed to get myself into the sudoers group, install grub and add the old Xubuntu to grub manually (I was not impressed that Debian didn't pick up the other two distros on the machine, even after a grub install and update grub and all the other tricks I could think of).

Anyway, back to package mngt:

First, why is there no pdf viewer/reader by default? How do you start building if you can't read the many helpful articles in pdf?

But more annoying, when I try to install pdfedit, epdfview, evince, okular, pdf-viewer, osso-pdf-viewer or kpdf (at least one of which MUST work in Debian LXDE) using "apt-get install" or "aptitude install", as root or as sudo in the Terminal, why do I get "Couldn't find any package whose name or description matched" "Couldn't find package" or "Unable to locate package"? I can't even install synaptic to help!

Then I found that my sources.lst only listed the install CD as a repository (how stupid is that?) so added some repositories to it (eg deb http://http.us.debian.org/debian stable main contrib non-free) and did a sudo apt-get update. And apt STILL can't find anything.

And what is that Debian Installer in the >Menu>System Tools? It asks for a password then nothing opens that I can detect. Is there a GUI for package mngt?

View 1 Replies View Related

General :: How Debian Package Management Works

Jun 29, 2010

How does package management in Debian work?

What are all these commands like apt-get, apt-cache, dpkg, dpkg-deb, dpkg-query, etc? What are their roles?

how to install software in Ubuntu.

View 11 Replies View Related

Software :: Flag For The Cvs Command To Check The Latest Tag Of A Certain Package?

Nov 4, 2010

Is there a flag for the cvs command to check the latest tag of a certain package

View 1 Replies View Related

General :: Flag - Option To Discard Case Sensitivity To Find Package Installed Or Not?

Aug 25, 2009

Is there a flag or option to discard case sensitivity to find whether package is installed or not?

from http://www.rpm.org/max-rpm/s1-rpm-query-parts.html

Quote:

Note, however, that RPM is a bit picky about specifying package names. Here are some queries for the C library that won't work:

Code:
rpm -q libc-5.2.1
Let say I want to find out whether PyQt is installed or not but not sure the exact case, i.e. pyqt or Pyqt or ....

is there a way to find whether a package is installed or not without knowing its case exactly?

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

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

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

Software :: Force Synaptic/update Manager/aptitude To Accept A Broken Package?

Nov 9, 2010

I forced the install of graph-tool package [URL]. Now it is of course tagged as broken, so update manager wont do anything. But I want to accept it, I know it is not really broken. (In fact, graph-tool_xxx.deb asks for libcgal4. squeeze only has libcgal5, so I am betting this is not an issue, as far as graph-tool is concerned.)

View 2 Replies View Related

General :: Package Management Using The Yum?

Sep 18, 2010

I'm looking to upgrade a few packages but noticed that the version available through Yum isn't necessarily the most up-to-date version as per the package website. One such example is Mysql:

[root@localhost ~]# yum info mysql-server
Loading "installonlyn" plugin
Setting up repositories

[code]....

If you look on the mysql website, the latest community edition is 5.1.50. I suspect the answer might be to do a distribution upgrade via media (i.e.: burn a CD) however was wondering if there's any ways around that?

View 6 Replies View Related

OpenSUSE :: Package Management Locked / What To Do?

Feb 28, 2010

When I run zypper dup I get this message :
System management is locked by the application with pid 3787 (/usr/sbin/packagekitd).
Close this application before trying again.

How do I do this?

View 7 Replies View Related

Fedora :: Other Graphical Interface For Package Management?

Apr 12, 2011

I've gone though the system purging/removing what I don't require on my Fedora install using the graphical tool in gnome 3. I then used package-cleanup --leaves to clean up some cruft left behind. yum list installed shows I still have 1031 packages installed, which is about 400 more than similar setups I used to have on Debian, and truthfully on Debian I have more stuff installed that I've still got to install here (gimp, nvidia drivers, etc).

I see a buch of stuff in yum list installed I don't need, so I can use yum remove foo to cleanup some more, but I'm wondering if there's another graphical interface or perhaps and advacned option in the add/remove software application I've been using thus far.

View 2 Replies View Related

OpenSUSE :: Zypper And Package Management (Yast GUI)

Jul 16, 2010

I might switch to OpenSUSE from Debian, but I have my doubts still about package management with OpenSUSE. I'm glad to see that zypper now has the --clean-deps option. Is there a YAST GUI for this as well? I don't like the command line very much. Additionally, is there any way to remove a package with all its config files? In Debian with the Synaptic front end, you can right click on package and click "remove" and it will just uninstall the package but leave its configuration files intact.

But if you select "Completely Remove" it will remove all the configuration files so that if you later install the package again it will use the default settings once again. Is there any way to do this with OpenSUSE? Again, I'd prefer a GUI. Does 11.3 offer Delta RPM updates, and are there many repos that offer delta RPMs? Does Zypper cache downloaded packages by default? And using the YAST package management GUI are packages caches by default? If so, where? Does the YAST GUI try to refresh the package cache all the time, or can I do it manually?

View 4 Replies View Related

Ubuntu :: Package Management System Is Broken

Nov 12, 2010

I JUST got back on my laptop now that I have my new A/C adapter, and guess what? The package management system is broken! Which sucks, because I have quite a bit of updates to install.

Here's the details provided by Synaptic when installing the new version of AWN:

Code:

View 5 Replies View Related

SUSE :: Accessing The Package Management Failed?

Feb 10, 2010

I finally convinced my wife to remove Windows from her Acer Aspire 5680 and instead to use OpenSuse, but unfortunately I am having some major trouble for no reason.

You see as soon as I installed the OS, I tried to add some new programs, like Thunderbird, etc but I keep getting an Accessing the Package Management failed error message. It says that it can't continue because process 9172 is blocking it. But I opened the System Monitor and can't find the **** 9172! My OpenSuse installation doesn't have this problem.

how to fix it? I can't install or update any software at all!

View 3 Replies View Related

OpenSUSE :: Access Package Management Failed / Solve This?

Feb 10, 2010

I finally convinced my wife to remove Windows from her Acer Aspire 5680 and instead to use OpenSuse, but unfortunately I am having some major trouble for no reason.

You see as soon as I installed the OS, I tried to add some new programs, like Thunderbird, etc but I keep getting an Accessing the Package Management failed error message. It says that it can't continue because process 9172 is blocking it. But I opened the System Monitor and can't find the **** 9172! My OpenSuse installation doesn't have this problem.

View 9 Replies View Related







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