General :: Pass List Of Packages To Aptitude And Resolve Conflicts?
Jun 20, 2011How do I pass a list of packages to aptitude so that I can resolve the conflicts interactively?
View 1 RepliesHow do I pass a list of packages to aptitude so that I can resolve the conflicts interactively?
View 1 RepliesI'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)
I do have a problem on updating linux ubuntu 10 I'll show you the error and my sources.list.. Error in authenticating some packages: It was not possible to authenticate some packages. This may be a transient network problem. You may want to try again later. See below for a list of unauthenticated packages.
acpi-fakekey
acpi-support
acpi-support-base
acpid
[code]....
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)
I am attempting to write my first ever script from scratch and making some progress.
My first shell script file executes a list of commands contained in a second file. I need to pass a parameter to this command file how do I do this?
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?
I'm using a 64 bit Linux server (OEL 6.1):
I was trying to install Oracle Database on this server that I realized the installer requires some 32 bit libraries. For instance it was looking for libXp.so.6 which existed under /usr/lib64, but not /usr/lib. Even when I changed the installation script to look into lib64 for the library, it failed with an error from Java that it needs 32 bit and instead has found 64 bit.
I downloaded a bunch of 32 bit RPM packages and when I tried to install them, I got the error that a newer version of those packages is installed, which is not the case. Cause all previously installed packages are 64 bit. I was wondering why it thinks that 64 bit packages are newer version of 32 bit packages. And is there a way to solve this?
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.
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 RelatedHow 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 RelatedManual says: Forgets all internal information about what packages are �new�
What does it mean in plain English?
How do I use apt-get or aptitude to tell me what updated packages are available for my system? I'm moving over from Gentoo where I had a cron job that would run a command whose output was a list of available updates. I had this and other system related info emailed to me. I'd like to duplicate that under Ubuntu, but I can't find a way get the available updates.
View 2 Replies View RelatedI'm getting the following message when attempting to install or upgrade a package. Not sure if it's a bug or not, which is why I'm hesitating to file it as a bug.
For example (note line /bin/sh: 1: /usr/bin/apt-listdifferences: not found):
Code: Select alldebian@Debian:~$ sudo aptitude install angband zangband moria
The following NEW packages will be installed:
 angband angband-data{a} moria zangband zangband-data{a}
0 packages upgraded, 5 newly installed, 0 to remove and 49 not upgraded.
Need to get 5,240 kB of archives. After unpacking 13.0 MB will be used.
[Code] ....
OS: RHEL / CentOS If I use "yum" to add / erase packages, OS will log the info to file /var/log/yum.log.
But if use "rpm -e" to remove a package, there is no related log file to show which rpm package got earsed. I have to run "rpm -qa > /tmp/$TIME", and then diff the /tmp/$TIME file to get the difference.
Is there is command to show the erased packages (erased by using rpm -e)?
I am just too tired and am missing something in the man pages for aptitude and not getting my search terms right but I can't seem to find a way to make aptitude ignore a couple of supposed broken packages (they work just fine by the way). The only way I can find to remidy the situation is to remove those couple of packages or upgrade several things to their Squeeze counter parts. I really don't want to try and do the upgrade as at home I am stuck on a 56k connection. Removing the broken packages I guess won't be too bad if I can find the debs again after I install a couple of things I want to add to my system. I would however just like to make aptitude ignore the state of my system and try to install what I want anyway.
View 14 Replies View RelatedKDE 4.3 squeeze-SID
I've got a strange problem with my last "aptitude safe-upgrade". It had removed all my kde 4.3 and packages I have installed, I don't know why!
This is what aptitude removed :
$ dpkg -l | grep ^rc |awk '{print $2}' | xargs echo .....
I reinstalled kde-full (kde 4) but now with an aptitude safe-upgrade or dist-upgrade. It wants to remove my debian-multimedia keyrings and my wine-unstable and others each time.
# aptitude -s safe-upgrade
Les NOUVEAUX paquets suivants vont etre installs : <<<<<<<<< #new packages will be installed
libparted0debian1{a} libva1{a} libx264-92{a} libxklavier16{a} mysql-server-core-5.1{a}
Les paquets suivants seront ENLEVES : <<<<<<<< # packages will be remove .....
Here is my pref list :
Package: *
Pin: release o=apt-build
Pin-Priority: 989
Package: *
Pin: release o=Unofficial Multimedia Packages,a=unstable,l=Unofficial Multimedia Packages
Pin-Priority: 988
Package: *
Pin: release o=Debian,a=unstable,l=Debian
Pin-Priority: 987
Package: *
Pin: release o=volatile.debian.org,a=stable,l=debian-volatile
Pin-Priority: 986
Package: *
Pin: release o=Debian,a=stable,l=Debian-Security
Pin-Priority: 985
Package: *
Pin: release o=Unofficial Multimedia Packages,a=stable,l=Unofficial Multimedia Packages
Pin-Priority: 984
Package: *
Pin: release o=Debian,a=stable,l=Debian
Pin-Priority: 983
Package: *
Pin: release o=Debian,a=testing,l=Debian-Security
Pin-Priority: 982
Package: *
Pin: release o=Unofficial Multimedia Packages,a=testing,l=Unofficial Multimedia Packages
Pin-Priority: 981
Package: *
Pin: release o=Debian,a=testing,l=Debian
Pin-Priority: 980
And my sources.list:
# SID [URL]
# LENNY [URL]
# SQUEEZE [URL]
I am new to Debian (just used Gentoo until now), I run a little server for our company and clients. Unfortunately our hosting company switched us from a Gentoo system to a Debian Lenny box with Confixx and stopped maintaining it. So I will need to do the house keeping, which worries me a bit. Today I started and ran: aptitude update && aptitude safe-upgrade and got a huge list with packages to upgrade. Unfortunately, I am not confident, if I will break something upgrading (Confixx, apache) as I get the following warning message:
WARNING: untrusted versions of the following packages will be installed!
Untrusted packages could compromise your system's security.
You should only proceed with the installation if you are certain that this is what you want to do.
mysql-client mysql-server-5.1 mysql-client-5.1 mysql-common mysql-server-core-5.1 mysql-server libmysqlclient16
Do you want to ignore this warning and proceed anyway?
Is it safe to ignore it and upgrade the needed packages?
I use Jessie, with the Aptitude curses interface for package management. It seems that every time I successfully uninstall/purge a package (along with its dependencies), then the next time I try to install/uninstall anything else it wants to reinstall that package (and its dependencies). It takes several (I haven't counted) "don't install" instructions from me before it will forget about it.
View 3 Replies View RelatedI want to install aptitude using apt-get, but some problems happen like this:
The following packages have unmet dependencies:
aptitude : Depends: libapt-pkg-libc6.10-6-4.8
Depends: libept0 (>= 0.5.30) but it is not going to be installed
E: Broken packages
(before do this, I have used command apt-get update and apt-get upgrade)
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 RelatedI had been doing some removal of packages, and things went well, or so I thought. Now whenever I try and install any package using aptitude, some old state is lingering around and wants me to install packages that I do not want, and remove some packages that I am not sure about removing (did I actually select those to be removed??) I removed libvirt etc, and now it wants to come back? Also, like I mentioned, why remove those other four packages?
The following NEW packages will be installed:
aqemu gtkrsync libvirt-doc libvirt0 python-libvirt qemu qemu-kvm qemu-system qemu-user qemu-utils virt-top virt-viewer virtinst
The following packages will be removed:
dnsmasq-base{u} netcat-openbsd{u} python-gtk-vnc{u} python-vte{u}
0 packages upgraded, 13 newly installed, 4 to remove and 176 not upgraded.
Need to get 2,210kB/24.3MB of archives. After unpacking 72.7MB will be used.
Do you want to continue? [Y/n/?] ^C
Running squeeze, and enjoying it so far, apart from a broken out of the box synergy (compiled my own synergy-plus to fix that issue) and a buggy samba client.
Using Xubuntu,I have upgraded from Karmic to Lucid. Post upgrading when attempting to install a new package with aptitude, it is reported that cups is "BROKEN" and a host of packages are marked for removal.
View 1 Replies View RelatedIm having an issue with sudo aptitude install. If i attempt to install anything, it says it will remove all of the packages below. On the other hand,if i use the Synaptic Package Manager, it doesn't remove any packages what is going on here? Any ideas? I have added some karmic repositories, but i dont think that should do anything?
sudo aptitude install libossp-uuid-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
[code]....
Seems like always if I add a package with apt-get, next time I use aptitude to update packages on a server, the packages I added with apt-get are automatically marked for removal.
I must, in aptitude, "forget new packages" and "cancel pending actions" then update the package list, remark packages needing updating, THEN aptitude has forgotten it wanted to remove packages.
Why can aptitude and apt-get NOT get along!?
Currently I have 10.04 on all servers, thus where it still is a problem.
I have a system that will not boot as /usr has been destroyed and I would like to get a list of installed packages before re-installing. I know that it's possible to get this using dpkg or apt, but I cannot run those.
Where in the filesystem is this information stored and what's the best way to get a list of installed apps from the files?
Today I ran
aptitude update && aptitude safe-upgrade
Like I regularly do, and I see these two packages need to be upgraded:
login passwd
Since these packages seem kinda security-sensitive I would like to know exactly why I would need to upgrade them. I checked Debian's security list but couldn't find anything relevant, and the links to the changelog for both packages are broken:
The requested URL /changelogs/pool/main/s/shadow/shadow_4.1.4.2+svn3283-2+squeeze1/changelog was not found on this server.
Where can I see what is changed in these packages so I can safely upgrade?
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....
is there a way to install Ubuntu with up-to-date versions of all packages right away? To clarify: With the normal LiveCDs, in order to install an up-to-date Ubuntu Lucid, I have to download a 700 MB LiveCD, install Ubuntu, and then use the Update Manager (or apt-get) to upgrade all outdates packages, which by now should be another about 300 MB. Old versions of SUSE Linux had the option of downloading an ~40MB installer ISO which did not contain any packages itself, but would download and install the most recent versions of all necessary packages.
Is there such a facility for Ubuntu as well? Or a way of using an outdated Ubuntu LiveCD (e.g. Lucid Beta 1) to still install an up-to-date system in a single pass? I am *not* talking about netboot images such as netboot.me or boot.kernel.org, which AFAIK will download the full normal Ubuntu ISO during boot, so that I would still have to upgrade the system afterwards.
I just did an update on my Debian system and it was very long. I'd like to know now, after the upgrades have already been applied, which packages were upgraded and which were not.
View 2 Replies View Relatedhow do I save installed packages in a list and restore ...
rpm -qa > installed-software.log
yum install $(cat installed-software.log)
sorting rpm packages by size
rpm -qa --qf '%{SIZE} %{NAME}
' | sort -n