General :: Install A Package And Its Dependencies With Dpkg?
Aug 14, 2011
dpkg -i package.deb
Doesn't install package if it has not-installed dependencies.
What parameters do I miss to install that package with its dependencies from repository?
View 2 Replies
ADVERTISEMENT
Jun 16, 2010
Is there any way to make this:
sudo dpkg -i *.deb
Also install dependencies for a deb file in the same way as GDebi does? Basically I have the above in a script, which I can right click in any folder and have it automatically install all debs in it. So much easier and quicker than using GDebi for each one. However, as of now, it doesn't seem to be installing dependencies, and causes broken packages.
View 7 Replies
View Related
Jan 3, 2010
I'm using a new Distro and after installing it and randomly searching for help on websites on how to install a .Deb file using dpkg at the konsole/terminal it says Bash : dpkg: Command not found . how is this possible ? Do I have to know about all the packages in the package manager to install this. slight difference for me ... knowing what I have and knowing if I need Apr93-323? (whatever) installed first or not ? The only thing I know is that I have the Iso image installed ... which is my linux distro . Where to go from here? because I usually go to a website site to find Software to install ...if I need it .back to the basics
View 14 Replies
View Related
May 22, 2011
i want to install package say PHP5 i have all the dependencies packages of php5 in a folder.or say i have all the packages in a folder and i want to install using dpkg
but when i try to install the main package it say these dependencies are missing.there are more than 40-50 packages so its not possible to install manully first one package and then another..
[Code]...
View 1 Replies
View Related
Aug 16, 2010
I am working on a project that sets up packages on the cloud.
For example, If i want to setup Drupal, i need seperate machines to maintain separate tasks, like mysql in one machine(cloud instance/node 1), apache server in another machine(cloud instance/node 2), etc.
So if drupal.rpm has dependencies apache.rpm(has deps too) and mysql.rpm(has deps too)
Is it possible in rpm package manager(yum) to handle such customizations & above requirement?
View 4 Replies
View Related
Mar 5, 2011
what do I need to add to /etc/apt/sources.list? can't really understand the howtos and tutorials
View 7 Replies
View Related
Dec 5, 2010
I want to rescue my system. After a faulty installation of linux-firmware_1.38_all.deb (subprocess /usr/bin/dpkg returned an error code (1))
the system does not boot, even in recovery mode. Using a live cd, I downloaded the linux-firmware version I had previously, and try to install it with dpkg but I can't direct it to the directories I need:
dpkg -i linux-firmware_1.26_all.deb
Segmentation fault
dpkg -i --instdir=/mnt/sdb1 linux-firmware_1.26_all.deb
dpkg: unrecognized option '--instdir=/mnt/sdb1
I cannot get the correct parameters even by reading the man page. What am I missing?
View 6 Replies
View Related
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
Sep 18, 2010
When I tried to upgrade my xubuntu 10.04 , I got this error
dpkg: parse error, in file '/var/lib/dpkg/available' near line 2 package 'x11proto-core-dev': value for `status' field not allowed in this context E: Sub-process /usr/bin/dpkg returned an error code (2)
View 5 Replies
View Related
Dec 9, 2009
I am trying to install tilp, a program for the link between a computer and a Texas Instruments calculator. I have downloaded all the packages to a local directory. I tried telling yum to install all the packages at the same time, though, the dependencies still fail to resolve (though they are all in the directory). I don't know if it would be safe to force install without the dependencies (even though I would install them later).
View 4 Replies
View Related
Jan 26, 2011
I want to remove Evolution and install Thunderbird. I have a general question. WRT any given package, how can I determine if that package is required by any other packages so that I wouldn't want to remove it?
View 9 Replies
View Related
Jan 17, 2011
I have a fairly old debian distribution running on the linux Kernel 2.6.18-4-686 and I did something silly which has broken multiple packages. I use the manual package installation command (sudo dpkg -i filename.deb) to install a single package (gcc base) however I did this using the latest version of the package which seems to have broken my GCC package completely and I am unable to compile c++ anymore.
When I now load the Synaptic Package Manager it tells me that I have 10 broken packages and when I use the fix feature it tells me I need to update other packages to fix the depencies (it selects almost every single package on my system to be removed at this point!).
I cant change the system too much because the software packages are set up specifically to run a certain application and I don't want to change anything incase I make it stop working!
So my question is this:
If I go to the synaptic Package Manager and uninstall the broken packages (they are all gcc related), will I be able to use the aptitude command to install GCC again? If so will it automatically install the version of GCC that will work with my system? or will it try and install the latest version and then update the rest of my system?
View 1 Replies
View Related
Aug 24, 2010
If I open synaptic pckg mng always have announced an error occurred the following details are provide:
E:dpkg was interrupted, you must manually run dpkg --configure -a to correct the problem.
E:_CACHE->OPEN()FAILED, PLEASE REPORT
View 1 Replies
View Related
Oct 9, 2010
I have a trouble with the installation the libapreq2 package to configure mod_perl and Template Toolkit on Centos Linux with Apache 2.2.3 I obtained the following error message:
This error message appears when it tries to configure apxs.
View 3 Replies
View Related
May 6, 2010
When I try to install Acidrip I get this message: Package Dependencies Cannot Be Resolved.
Trying to install Acidrip from Synaptic I'm told: Could not intsall or upgrade package. With this additional information:
Depends: mplayer but it is not going to be installed
Depends: mencoder but it is not going to be installed
So, I try to install mplayer and get this message:
Depends: mplayer-nogui but it is not going to be installed
Depends: libx264-67 (>=1:0.svn20090502) but it is not installable
I try to install mplayer-nogui and get:
Depends: libx264-67 (>=1:0.svn20090502) but it is not installable
Now I'm stuck in a point where I can go no further. I really like AcidRip and have been using it for more than two years through all of the upgrades until Lucid.
I've tried installing all of the non-free codecs, both audio and video with no result.
View 1 Replies
View Related
Sep 1, 2010
I am in fc13, have installed a package, realise lately that its not really useful. that package install a lot of package for dependency.How can i erase all the package together that was downloaded and installed together with the target package as dependency via yum? actually i have done it using #yum erase `cat /var/log/yum.log |grep "Aug 31 22" |awk '{print $5}'|`as I know when I have installed them.....but is there ant safer and better way?
View 1 Replies
View Related
Aug 11, 2010
I have installed a package having almost 145 dependencies. Now when I want to remove the package (yum remove packagename) only the single package is removed.. Is there a way to remove the package including all its dependencies?
View 4 Replies
View Related
Jun 8, 2011
apt-cache show <package> shows also it's dependencies.yum info <package> does not show dependencies, but it obviously know them.How to ask yum for dependencies of specified package?
View 1 Replies
View Related
Feb 10, 2010
I want to find out what is the size of a package including its' dependencies.
PACKAGE_SIZE + ALL_DEPENDENCIES_SIZE = WHAT_I_WANT
View 3 Replies
View Related
Sep 27, 2010
how do i know the dependencies of the program upon downloading the source code of this application?
View 3 Replies
View Related
Nov 9, 2010
I am currently using SUSE ENT x64 v11 SP1. While trying to install various packages I keep getting dependencies error. I tried reinstalling the rpm packages(listed below) and use various versions but seems like no matter what I try it doesn't go away.
Code:
--> Missing Dependency: liby2storage.so.2()(64bit) is needed by package smis-providers-1.0.0-10.29.x86_64 (installed)
Error: Missing Dependency: librpmio-4.4.so()(64bit) is needed by package libsnmp15-5.4.2.1-8.1.x86_64 (installed)
Error: Missing Dependency: librpmio-4.4.so()(64bit) is needed by package kdebase4-SLED-11-25.1.x86_64 (installed) .....
Code:
rpm-python-4.4.2.3-37.2
rpm-4.4.2.3-60.2
rpm-32bit-4.4.2.3-37.8
deltarpm-3.4-103.22
rpm-devel-4.4.2.3-27.1
no broken libs or whatsoever. What am i missing here?
View 5 Replies
View Related
Oct 28, 2009
While loading a rpm package its showing error of failed dependencies so wat to do for dat pls guide me
n in another case its showing cant create transaction lock on /var/lib/rpm/_db.000
View 1 Replies
View Related
May 29, 2010
Is there an easier way (without using a package manager) to upgrade programs? For example, I just want to upgrade Amarok. In order to do this, I've had to upgrade every one of it's dependencies because they've all had minor upgrades from the versions I already have installed.
Is there an easier way to compile programs and their dependencies manually or are package managers the only way?
View 1 Replies
View Related
May 3, 2010
I have two RH workstation.When I run the up2date -u command in my Red hat workstation, Im getting the following error.
Workstation 1:
Testing package set / solving RPM inter-dependencies...
kernel-2.6.9-89.0.23.EL.x86 Done.
kernel-devel-2.6.9-89.0.23. Done.
code....
error: unpacking of archive failed on file /boot/System.map-2.6.9-89.0.23.ELxenU;4bdef4c2: cpio: write
There was a fatal RPM install error. The message was:
There was a rpm unpack error installing the package: kernel-xenU-2.6.9-89.0.23.EL
Workstation 2:
Fetching rpm headers...
Name Version Rel Arch
----------------------------------------------------------------------------------------
kernel 2.6.9 89.0.23.EL x86_64
kernel-devel 2.6.9 89.0.23.EL x86_64
kernel-largesmp 2.6.9 89.0.23.EL x86_64
kernel-smp 2.6.9 89.0.23.EL x86_64
php 4.3.9 3.29 x86_64
Testing package set / solving RPM inter-dependencies...There was a package dependency problem. The message was:
Unresolvable chain of dependencies:
php-devel-4.3.9-3.26 requires php = 4.3.9-3.26
php-domxml-4.3.9-3.26 requires php = 4.3.9-3.26
php-gd-4.3.9-3.26 requires php = 4.3.9-3.26
code....
View 15 Replies
View Related
Sep 23, 2010
When i try installing anything i get errors, for example when i try to install somthing from ubuntu software center i get this.
Code: installArchives() failed: Preconfiguring packages ... Preconfiguring packages ... Selecting previously deselected package ttf-symbol-replacement. (Reading database ... dpkg: warning: files list file for package `libsdl-image1.2' missing, assuming package has no files currently installed.
[Code]....
View 4 Replies
View Related
Mar 20, 2010
Debian 5.04 64bitGnome advise which package provides dpkg-reconfigure
View 3 Replies
View Related
Oct 10, 2010
I'm trying to install wine1.3 but I don't want the (recommended) package ttf-mscorefonts-installer.In previous releases, I can run this to 'hold' the package and prevent it's installation:
Code:
echo ttf-mscorefonts-installer hold | sudo dpkg --set-selections.However, this command doesn't prevent ttf-mscorefonts-installer from being installed along with wine1.3 in maverick.[code]....
it's just that dpkg isn't picking it up.What is going on here, and how can I place a package on permanent hold?
Note: I ended up installing wine1.3 by running:
Code:
sudo aptitude install wine1.3 ttf-mscorefonts-installer= but I don't believe that the package is actually on permanent hold.
View 2 Replies
View Related
Jun 4, 2011
Theres a package I'm going to install that is available only in 32-bit, but I have its dependencies installed as regular 64-bit. Since I'm multilib, will the 32-bit package be able to work with the 64-bit deps?
If not, can 32-bit versions of the deps be installed side by side with the 64 bit?
View 1 Replies
View Related
Nov 2, 2015
After receiving no response either here or on IRC, I copied 80 package files to a temporary directory and ran dpkg-scanpackages . /dev/null > Packages with the expected result. The curious part is the delay when output redirection is not used: nothing appears until the script completes, when the result is dumped to the screen. It therefore appears that there is an upper limit to the number of packages that the script can handle, somewhere between 80 and 42,474.
Is this an undocumented feature, or just a peculiarity of my system?
I'm new to Debian and wanting to set up a local repository on my work drive. After following instructions online and copying all packages (~43,000) from the DVD set into /work/Debian/8.2/packages/ I ran dpkg-scan-packages as instructed:
Code: Select all# dpkg-scan-packages . /dev/null | gzip -9c > Packages.gz
This produced an empty file. I then ran dpkg-scanpackages with no output redirection expecting to see a flood of text on the screen, but all I got were error messages suggesting that it can see the .deb packages but is not parsing them:
Code: Select allroot@qbx:~# dpkg-scanpackages /work/Debian/8.2/packages
dpkg-deb: error: invalid character ' ' in archive '/work/Debian/8.2/packages/libshhopt1_1.1.7-3_i386.deb' member 'debian-binary' size
dpkg-scanpackages: error: couldn't parse control information from /work/Debian/8.2/packages/libshhopt1_1.1.7-3_i386.deb
[Code] ....
This all seems in accord with the man page, and it's so simple I'm wondering what I'm missing.
View 1 Replies
View Related
Mar 31, 2010
I'm running ubuntu 9.04 and was happy because I finally got the screen resolution to be a good size, but now I can't update anything or even upgrade ubuntu.The message I get is
Quote:
Could Not Initialize Package Information
An unresolvable problem occured while initializing the package information.Please report this bug against the 'update-manager' package and include the following error message:
'E:Unable to parse package file /var/lib/dpkg/status (1), E:The package lists or status file could not be parsed or opened.'
I've also had issues with installing new programs (specifically tried Boxee (64bit ver) and Last.fm Scrobbler), but was thinking these issues might be related to the updage-manager error.
View 4 Replies
View Related