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.
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?
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?
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:
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.....
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?
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.
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?
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?
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.
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.
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.
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.
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?
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].
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.)
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?
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.
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.
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?
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:
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!
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.